MEDIA_ATTIRBUTE_STRING_LENGTH);
break;
case BTRC_MEDIA_ATTR_ID_NUM_TRACKS:
- if (p_attrs[idx].text != NULL) {
track_info->total_track = g_ascii_strtoll(
(const gchar *)p_attrs[idx].text, NULL, 10);
event_data->total_track = track_info->total_track;
- }
break;
case BTRC_MEDIA_ATTR_ID_TRACK_NUM:
- if (p_attrs[idx].text != NULL) {
track_info->track_number = g_ascii_strtoll(
(const gchar *)p_attrs[idx].text, NULL, 10);
event_data->track_number = track_info->track_number;
- }
break;
case BTRC_MEDIA_ATTR_ID_PLAYING_TIME:
track_info->playing_time = g_ascii_strtoll(
return BLUETOOTH_ERROR_NONE;
}
-dpm_result_t _bt_dpm_activate_bluetoooth_uuid_restriction(dpm_status_t value)
+int _bt_dpm_activate_bluetoooth_uuid_restriction(dpm_status_t value)
{
int allow_bt = DPM_BT_ERROR;
return BLUETOOTH_ERROR_NONE;
}
-dpm_status_t _bt_dpm_is_bluetooth_uuid_restriction_active(int *value)
+int _bt_dpm_is_bluetooth_uuid_restriction_active(int *value)
{
int allow_bt = DPM_BT_ERROR;
return BLUETOOTH_ERROR_NONE;
}
-dpm_result_t _bt_dpm_add_bluetooth_devices_to_blocklist(bluetooth_device_address_t *bd_addr)
+int _bt_dpm_add_bluetooth_devices_to_blocklist(bluetooth_device_address_t *bd_addr)
{
char device_address[BT_ADDRESS_STRING_SIZE] = { 0 };
char *dev_addr = NULL;