Home
last modified time | relevance | path

Searched refs:BT_STATUS_SUCCESS (Results 1 – 25 of 102) sorted by relevance

12345

/packages/modules/Bluetooth/system/test/mock/
Dmock_bluetooth_interface.cc30 return BT_STATUS_SUCCESS; in init()
33 static int enable() { return BT_STATUS_SUCCESS; } in enable()
35 static int disable(void) { return BT_STATUS_SUCCESS; } in disable()
42 int get_common_criteria_config_compare_result() { return BT_STATUS_SUCCESS; } in get_common_criteria_config_compare_result()
46 static int get_adapter_properties(void) { return BT_STATUS_SUCCESS; } in get_adapter_properties()
49 return BT_STATUS_SUCCESS; in get_adapter_property()
53 return BT_STATUS_SUCCESS; in set_adapter_property()
57 return BT_STATUS_SUCCESS; in get_remote_device_properties()
62 return BT_STATUS_SUCCESS; in get_remote_device_property()
67 return BT_STATUS_SUCCESS; in set_remote_device_property()
[all …]
Dmock_btif_storage.cc67 return BT_STATUS_SUCCESS; in btif_storage_add_ble_bonding_key()
72 return BT_STATUS_SUCCESS; in btif_storage_add_ble_local_key()
78 return BT_STATUS_SUCCESS; in btif_storage_add_bonded_device()
86 return BT_STATUS_SUCCESS; in btif_storage_add_hid_device_info()
92 return BT_STATUS_SUCCESS; in btif_storage_add_remote_device()
96 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
103 return BT_STATUS_SUCCESS; in btif_storage_get_ble_bonding_key()
108 return BT_STATUS_SUCCESS; in btif_storage_get_ble_local_key()
113 return BT_STATUS_SUCCESS; in btif_storage_get_remote_addr_type()
118 return BT_STATUS_SUCCESS; in btif_storage_get_remote_device_property()
[all …]
Dmock_btif_core.cc74 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
78 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
82 return BT_STATUS_SUCCESS; in btif_set_dynamic_audio_buffer_size()
88 return BT_STATUS_SUCCESS; in btif_transfer_context()
93 return BT_STATUS_SUCCESS; in do_in_jni_thread()
99 return BT_STATUS_SUCCESS; in do_in_jni_thread()
/packages/modules/Bluetooth/system/test/suite/adapter/
Dadapter_unittest.cc40 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
44 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
54 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
58 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
67 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
77 BT_STATUS_SUCCESS); in TEST_F()
90 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
103 BT_STATUS_SUCCESS); in TEST_F()
111 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
119 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/service/
Dbluetooth_interface.cc187 return BT_STATUS_SUCCESS; in init()
194 return BT_STATUS_SUCCESS; in enable()
201 return BT_STATUS_SUCCESS; in disable()
223 return BT_STATUS_SUCCESS; in get_adapter_properties()
233 return BT_STATUS_SUCCESS; in get_adapter_property()
257 return BT_STATUS_SUCCESS; in set_adapter_property()
265 return BT_STATUS_SUCCESS; in get_remote_device_properties()
274 return BT_STATUS_SUCCESS; in get_remote_device_property()
288 return BT_STATUS_SUCCESS; in set_remote_device_property()
296 return BT_STATUS_SUCCESS; in get_remote_services()
[all …]
Dadapter.cc253 if (status != BT_STATUS_SUCCESS) { in Enable()
278 if (status != BT_STATUS_SUCCESS) { in Disable()
343 if (status != BT_STATUS_SUCCESS) { in SetScanEnable()
350 if (status != BT_STATUS_SUCCESS) { in SetScanEnable()
368 if (status != BT_STATUS_SUCCESS) { in SspReply()
386 if (status != BT_STATUS_SUCCESS) { in CreateBond()
425 if (status != BT_STATUS_SUCCESS) { in GetBondedDevices()
443 if (status != BT_STATUS_SUCCESS) { in RemoveBond()
462 if (status != BT_STATUS_SUCCESS) { in GetRemoteDeviceProperties()
533 if (status != BT_STATUS_SUCCESS) { in AdapterPropertiesCallback()
[all …]
Davrcp_target.cc135 song_len, song_pos) == BT_STATUS_SUCCESS); in GetPlayStatusResponse()
153 BT_STATUS_SUCCESS); in ListPlayerAppAttrResponse()
175 BT_STATUS_SUCCESS); in GetPlayerAppValueResponse()
187 BT_STATUS_SUCCESS); in GetPlayerAppAttrTextResponse()
199 BT_STATUS_SUCCESS); in GetPlayerAppValueTextResponse()
211 BT_STATUS_SUCCESS); in GetElementAttrResponse()
222 BT_STATUS_SUCCESS); in SetPlayerAppValueResponse()
235 &param_copy) == BT_STATUS_SUCCESS); in RegisterNotificationResponse()
242 volume) == BT_STATUS_SUCCESS); in SetVolume()
/packages/modules/Bluetooth/system/service/test/
Dgatt_server_unittest.cc235 .WillOnce(Return(BT_STATUS_SUCCESS)); in SetUp()
239 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_SUCCESS, in SetUp()
246 .WillOnce(Return(BT_STATUS_SUCCESS)); in TearDown()
254 .WillOnce(Return(BT_STATUS_SUCCESS)); in SetUpTestService()
289 BT_STATUS_SUCCESS, kDefaultServerId, service_with_handles); in SetUpTestService()
308 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
346 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
356 fake_hal_gatt_iface_->NotifyRegisterServerCallback(BT_STATUS_SUCCESS, in TEST_F()
369 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
463 SendResponse(kConnId0, kReqId0, BT_STATUS_SUCCESS, _)) in TEST_F()
[all …]
Dlow_energy_client_unittest.cc138 .WillOnce(Return(BT_STATUS_SUCCESS)); in TearDown()
159 .WillOnce(Return(BT_STATUS_SUCCESS)); in RegisterTestClient()
179 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
217 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
227 fake_hal_gatt_iface_->NotifyRegisterClientCallback(BT_STATUS_SUCCESS, in TEST_F()
240 .WillOnce(Return(BT_STATUS_SUCCESS)); in TEST_F()
280 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
282 Return(BT_STATUS_SUCCESS))); in TEST_F()
295 connId, BT_STATUS_SUCCESS, client_id, bd_addr); in TEST_F()
297 Return(BT_STATUS_SUCCESS))); in TEST_F()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfp.cpp469 if (status != BT_STATUS_SUCCESS) { in initializeNative()
517 if (status != BT_STATUS_SUCCESS) { in connectHfpNative()
521 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative()
539 if (status != BT_STATUS_SUCCESS) { in disconnectHfpNative()
543 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative()
561 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
565 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
584 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
588 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
607 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in isNoiseReductionSupportedNative()
[all …]
Dcom_android_bluetooth_hfpclient.cpp501 if (status != BT_STATUS_SUCCESS) { in initializeNative()
544 if (status != BT_STATUS_SUCCESS) { in connectNative()
548 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative()
564 if (status != BT_STATUS_SUCCESS) { in disconnectNative()
568 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative()
584 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
588 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
604 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
608 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
624 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_hid_host.cpp232 if (status != BT_STATUS_SUCCESS) { in initializeNative()
275 if (status != BT_STATUS_SUCCESS && status != BT_STATUS_BUSY) { in connectHidNative()
297 if (status != BT_STATUS_SUCCESS) { in disconnectHidNative()
321 if (status != BT_STATUS_SUCCESS) { in getProtocolModeNative()
343 if (status != BT_STATUS_SUCCESS) { in virtualUnPlugNative()
379 if (status != BT_STATUS_SUCCESS) { in setProtocolModeNative()
407 if (status != BT_STATUS_SUCCESS) { in getReportNative()
432 if (status != BT_STATUS_SUCCESS) { in setReportNative()
458 if (status != BT_STATUS_SUCCESS) { in sendDataNative()
479 if (status != BT_STATUS_SUCCESS) { in getIdleTimeNative()
[all …]
Dcom_android_bluetooth_a2dp_sink.cpp140 if (status != BT_STATUS_SUCCESS) { in initNative()
182 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
186 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
202 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
206 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
236 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
241 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
Dcom_android_bluetooth_a2dp.cpp341 if (status != BT_STATUS_SUCCESS) { in initNative()
391 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
395 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
416 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
420 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
443 if (status != BT_STATUS_SUCCESS) { in setSilenceDeviceNative()
447 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setSilenceDeviceNative()
466 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
470 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
496 if (status != BT_STATUS_SUCCESS) { in setCodecConfigPreferenceNative()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbluetooth.cc214 return BT_STATUS_SUCCESS; in init()
221 return BT_STATUS_SUCCESS; in enable()
228 return BT_STATUS_SUCCESS; in disable()
250 return BT_STATUS_SUCCESS; in get_adapter_properties()
260 return BT_STATUS_SUCCESS; in get_adapter_property()
284 return BT_STATUS_SUCCESS; in set_adapter_property()
292 return BT_STATUS_SUCCESS; in get_remote_device_properties()
301 return BT_STATUS_SUCCESS; in get_remote_device_property()
315 return BT_STATUS_SUCCESS; in set_remote_device_property()
323 return BT_STATUS_SUCCESS; in get_remote_services()
[all …]
Dbtif_storage.cc302 btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) { in prop2cfg()
451 BT_STATUS_SUCCESS) && in btif_in_fetch_bonded_device()
455 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_device()
514 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_devices()
528 key_len) == BT_STATUS_SUCCESS) { in btif_read_le_key()
602 return (ret == BT_STATUS_SUCCESS) ? (uint8_t)(*(int*)property.val) in btif_storage_get_io_cap_property()
667 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
682 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
743 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
750 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
[all …]
Dbtif_dm.cc372 return BT_STATUS_SUCCESS; in btif_in_execute_service_request()
439 &p_search_data->inq_res.bd_addr, &prop_name) == BT_STATUS_SUCCESS) { in check_cached_remote_name()
458 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in get_cod()
503 BT_STATUS_SUCCESS) { in check_sdp_bl()
594 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", in btif_update_remote_version_property()
617 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", in btif_update_remote_properties()
647 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", in btif_update_remote_properties()
658 BT_STATUS_SUCCESS) { in btif_update_remote_properties()
670 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device type", in btif_update_remote_properties()
719 bond_state_changed(BT_STATUS_SUCCESS, bd_addr, BT_BOND_STATE_BONDING); in btif_dm_cb_create_bond()
[all …]
Dbtif_hf_client.cc280 return BT_STATUS_SUCCESS; in init()
333 return BT_STATUS_SUCCESS; in disconnect()
366 return BT_STATUS_SUCCESS; in connect_audio()
385 return BT_STATUS_SUCCESS; in disconnect_audio()
405 return BT_STATUS_SUCCESS; in start_voice_recognition()
427 return BT_STATUS_SUCCESS; in stop_voice_recognition()
459 return BT_STATUS_SUCCESS; in volume_control()
483 return BT_STATUS_SUCCESS; in dial()
502 return BT_STATUS_SUCCESS; in dial_memory()
592 return BT_STATUS_SUCCESS; in handle_call_action()
[all …]
Dbtif_core.cc155 return BT_STATUS_SUCCESS; in btif_transfer_context()
168 return BT_STATUS_SUCCESS; in do_in_jni_thread()
188 BT_STATUS_SUCCESS); in post_on_bt_jni()
253 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
303 invoke_adapter_properties_cb(BT_STATUS_SUCCESS, 1, &prop); in btif_enable_bluetooth_evt()
348 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
424 if (status == BT_STATUS_SUCCESS) { in btif_in_get_adapter_properties()
473 invoke_adapter_properties_cb(BT_STATUS_SUCCESS, num_props, properties); in btif_in_get_adapter_properties()
474 return BT_STATUS_SUCCESS; in btif_in_get_adapter_properties()
518 invoke_remote_device_properties_cb(BT_STATUS_SUCCESS, *bd_addr, num_props, in btif_in_get_remote_device_properties()
[all …]
Dbtif_hf.cc652 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hf_evt()
697 return BT_STATUS_SUCCESS; in connect_int()
805 return BT_STATUS_SUCCESS; in Init()
826 return BT_STATUS_SUCCESS; in Disconnect()
847 return BT_STATUS_SUCCESS; in ConnectAudio()
863 return BT_STATUS_SUCCESS; in DisconnectAudio()
876 return BT_STATUS_SUCCESS; in isNoiseReductionSupported()
889 return BT_STATUS_SUCCESS; in isVoiceRecognitionSupported()
912 return BT_STATUS_SUCCESS; in StartVoiceRecognition()
936 return BT_STATUS_SUCCESS; in StopVoiceRecognition()
[all …]
Dbtif_hd.cc344 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hd_evt()
364 return BT_STATUS_SUCCESS; in init()
438 return BT_STATUS_SUCCESS; in register_app()
472 return BT_STATUS_SUCCESS; in unregister_app()
500 return BT_STATUS_SUCCESS; in connect()
528 return BT_STATUS_SUCCESS; in disconnect()
571 return BT_STATUS_SUCCESS; in send_report()
599 return BT_STATUS_SUCCESS; in report_error()
627 return BT_STATUS_SUCCESS; in virtual_cable_unplug()
657 return BT_STATUS_SUCCESS; in btif_hd_execute_service()
/packages/modules/Bluetooth/system/test/suite/gatt/
Dgatt_unittest.cc33 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
45 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
57 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
92 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; in TEST_F()
99 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error stopping server."; in TEST_F()
107 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error deleting service."; in TEST_F()
/packages/modules/Bluetooth/system/tools/bdtool/
Dbdtool.c165 if (error != BT_STATUS_SUCCESS) { in main()
186 if (error != BT_STATUS_SUCCESS) { in main()
193 if (error != BT_STATUS_SUCCESS) { in main()
220 if (error != BT_STATUS_SUCCESS) { in main()
228 if (error != BT_STATUS_SUCCESS) { in main()
254 if (error != BT_STATUS_SUCCESS) { in main()
266 if (error != BT_STATUS_SUCCESS) { in main()
/packages/modules/Bluetooth/system/service/hal/
Dfake_bluetooth_interface.cc29 return g_hal_manager.enable_succeed ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in FakeHALEnable()
33 return g_hal_manager.disable_succeed ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in FakeHALDisable()
36 int FakeHALGetAdapterProperties() { return BT_STATUS_SUCCESS; } in FakeHALGetAdapterProperties()
40 return (g_hal_manager.set_property_succeed ? BT_STATUS_SUCCESS in FakeHALSetAdapterProperty()
109 observer.AdapterPropertiesCallback(BT_STATUS_SUCCESS, num_properties, in NotifyAdapterPropertiesChanged()
/packages/modules/Bluetooth/system/osi/src/
Dwakelock.cc114 if (status != BT_STATUS_SUCCESS) in wakelock_acquire()
117 return (status == BT_STATUS_SUCCESS); in wakelock_acquire()
145 return BT_STATUS_SUCCESS; in wakelock_acquire_native()
160 return (status == BT_STATUS_SUCCESS); in wakelock_release()
181 return BT_STATUS_SUCCESS; in wakelock_release_native()
268 if (acquired_status != BT_STATUS_SUCCESS) { in update_wakelock_acquired_stats()
298 if (released_status != BT_STATUS_SUCCESS) { in update_wakelock_released_stats()

12345