Lines Matching refs:status

589   bt_status_t status =  in initNative()  local
591 if (status != BT_STATUS_SUCCESS) { in initNative()
592 ALOGE("Failed to initialize Bluetooth Avrcp, status: %d", status); in initNative()
632 bt_status_t status = sBluetoothAvrcpInterface->get_play_status_rsp( in getPlayStatusRspNative() local
634 if (status != BT_STATUS_SUCCESS) { in getPlayStatusRspNative()
635 ALOGE("Failed get_play_status_rsp, status: %d", status); in getPlayStatusRspNative()
638 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getPlayStatusRspNative()
696 bt_status_t status = in getElementAttrRspNative() local
698 if (status != BT_STATUS_SUCCESS) { in getElementAttrRspNative()
699 ALOGE("Failed get_element_attr_rsp, status: %d", status); in getElementAttrRspNative()
705 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getElementAttrRspNative()
760 bt_status_t status = sBluetoothAvrcpInterface->get_item_attr_rsp( in getItemAttrRspNative() local
762 if (status != BT_STATUS_SUCCESS) in getItemAttrRspNative()
763 ALOGE("Failed get_item_attr_rsp, status: %d", status); in getItemAttrRspNative()
769 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getItemAttrRspNative()
784 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspPlayStatusNative() local
786 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspPlayStatusNative()
787 ALOGE("Failed register_notification_rsp play status, status: %d", status); in registerNotificationRspPlayStatusNative()
790 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspPlayStatusNative()
818 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspTrackChangeNative() local
820 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspTrackChangeNative()
821 ALOGE("Failed register_notification_rsp track change, status: %d", status); in registerNotificationRspTrackChangeNative()
825 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspTrackChangeNative()
839 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspPlayPosNative() local
841 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspPlayPosNative()
842 ALOGE("Failed register_notification_rsp play position, status: %d", status); in registerNotificationRspPlayPosNative()
845 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspPlayPosNative()
857 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspNowPlayingChangedNative() local
860 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspNowPlayingChangedNative()
862 status); in registerNotificationRspNowPlayingChangedNative()
864 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspNowPlayingChangedNative()
879 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspUIDsChangedNative() local
881 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspUIDsChangedNative()
882 ALOGE("Failed register_notification_rsp, uids changed status: %d", status); in registerNotificationRspUIDsChangedNative()
885 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspUIDsChangedNative()
899 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspAddrPlayerChangedNative() local
901 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspAddrPlayerChangedNative()
903 status); in registerNotificationRspAddrPlayerChangedNative()
906 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspAddrPlayerChangedNative()
918 bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp( in registerNotificationRspAvalPlayerChangedNative() local
920 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspAvalPlayerChangedNative()
924 status); in registerNotificationRspAvalPlayerChangedNative()
927 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspAvalPlayerChangedNative()
936 bt_status_t status = sBluetoothAvrcpInterface->set_volume((uint8_t)volume); in setVolumeNative() local
937 if (status != BT_STATUS_SUCCESS) { in setVolumeNative()
938 ALOGE("Failed set_volume, status: %d", status); in setVolumeNative()
941 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setVolumeNative()
1026 bt_status_t status = sBluetoothAvrcpInterface->get_folder_items_list_rsp( in mediaPlayerListRspNative() local
1028 if (status != BT_STATUS_SUCCESS) { in mediaPlayerListRspNative()
1029 ALOGE("Failed get_folder_items_list_rsp, status: %d", status); in mediaPlayerListRspNative()
1045 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in mediaPlayerListRspNative()
1161 bt_status_t status = sBluetoothAvrcpInterface->get_folder_items_list_rsp( in getFolderItemsRspNative() local
1163 if (status != BT_STATUS_SUCCESS) in getFolderItemsRspNative()
1164 ALOGE("Failed get_folder_items_list_rsp, status: %d", status); in getFolderItemsRspNative()
1181 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getFolderItemsRspNative()
1199 bt_status_t status = sBluetoothAvrcpInterface->set_addressed_player_rsp( in setAddressedPlayerRspNative() local
1201 if (status != BT_STATUS_SUCCESS) { in setAddressedPlayerRspNative()
1202 ALOGE("Failed set_addressed_player_rsp, status: %d", status); in setAddressedPlayerRspNative()
1206 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setAddressedPlayerRspNative()
1253 bt_status_t status = sBluetoothAvrcpInterface->set_browsed_player_rsp( in setBrowsedPlayerRspNative() local
1256 if (status != BT_STATUS_SUCCESS) { in setBrowsedPlayerRspNative()
1257 ALOGE("%s: Failed set_browsed_player_rsp, status: %d", __func__, status); in setBrowsedPlayerRspNative()
1265 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setBrowsedPlayerRspNative()
1284 bt_status_t status = sBluetoothAvrcpInterface->change_path_rsp( in changePathRspNative() local
1286 if (status != BT_STATUS_SUCCESS) { in changePathRspNative()
1287 ALOGE("Failed change_path_rsp, status: %d", status); in changePathRspNative()
1291 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in changePathRspNative()
1310 bt_status_t status = sBluetoothAvrcpInterface->search_rsp( in searchRspNative() local
1312 if (status != BT_STATUS_SUCCESS) { in searchRspNative()
1313 ALOGE("Failed search_rsp, status: %d", status); in searchRspNative()
1318 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in searchRspNative()
1335 bt_status_t status = in playItemRspNative() local
1337 if (status != BT_STATUS_SUCCESS) { in playItemRspNative()
1338 ALOGE("Failed play_item_rsp, status: %d", status); in playItemRspNative()
1342 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in playItemRspNative()
1361 bt_status_t status = sBluetoothAvrcpInterface->get_total_num_of_items_rsp( in getTotalNumOfItemsRspNative() local
1363 if (status != BT_STATUS_SUCCESS) { in getTotalNumOfItemsRspNative()
1364 ALOGE("Failed get_total_num_of_items_rsp, status: %d", status); in getTotalNumOfItemsRspNative()
1368 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getTotalNumOfItemsRspNative()
1385 bt_status_t status = sBluetoothAvrcpInterface->add_to_now_playing_rsp( in addToNowPlayingRspNative() local
1387 if (status != BT_STATUS_SUCCESS) { in addToNowPlayingRspNative()
1388 ALOGE("Failed add_to_now_playing_rsp, status: %d", status); in addToNowPlayingRspNative()
1392 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in addToNowPlayingRspNative()