Home
last modified time | relevance | path

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

12345

/packages/modules/Bluetooth/system/test/suite/adapter/
Dadapter_unittest.cc39 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
43 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
53 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
57 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
66 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
76 BT_STATUS_SUCCESS); in TEST_F()
89 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); in TEST_F()
102 BT_STATUS_SUCCESS); in TEST_F()
110 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); in TEST_F()
118 EXPECT_EQ(bt_interface()->enable(), BT_STATUS_SUCCESS); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_storage.cc90 bt_status_t btif_in_fetch_bonded_ble_device::return_value = BT_STATUS_SUCCESS;
91 bt_status_t btif_in_fetch_bonded_device::return_value = BT_STATUS_SUCCESS;
93 bt_status_t btif_storage_add_ble_bonding_key::return_value = BT_STATUS_SUCCESS;
94 bt_status_t btif_storage_add_ble_local_key::return_value = BT_STATUS_SUCCESS;
95 bt_status_t btif_storage_add_bonded_device::return_value = BT_STATUS_SUCCESS;
96 bt_status_t btif_storage_add_remote_device::return_value = BT_STATUS_SUCCESS;
97 bt_status_t btif_storage_get_adapter_prop::return_value = BT_STATUS_SUCCESS;
98 bt_status_t btif_storage_get_adapter_property::return_value = BT_STATUS_SUCCESS;
99 bt_status_t btif_storage_get_ble_bonding_key::return_value = BT_STATUS_SUCCESS;
100 bt_status_t btif_storage_get_ble_local_key::return_value = BT_STATUS_SUCCESS;
[all …]
Dmock_btif_sock_rfc.cc62 bt_status_t btsock_rfc_connect::return_value = BT_STATUS_SUCCESS;
63 bt_status_t btsock_rfc_control_req::return_value = BT_STATUS_SUCCESS;
64 bt_status_t btsock_rfc_disconnect::return_value = BT_STATUS_SUCCESS;
65 bt_status_t btsock_rfc_init::return_value = BT_STATUS_SUCCESS;
66 bt_status_t btsock_rfc_listen::return_value = BT_STATUS_SUCCESS;
Dmock_jni_thread.cc40 return BT_STATUS_SUCCESS; in btif_transfer_context()
45 return BT_STATUS_SUCCESS; in do_in_jni_thread()
51 return BT_STATUS_SUCCESS; in do_in_jni_thread()
Dmock_btif_core.cc42 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
46 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
51 return BT_STATUS_SUCCESS; in btif_set_dynamic_audio_buffer_size()
/packages/modules/Bluetooth/system/btif/src/
Dbluetooth.cc305 return BT_STATUS_SUCCESS; in toggleProfile()
448 return BT_STATUS_SUCCESS; in init()
476 return BT_STATUS_SUCCESS; in enable()
483 return BT_STATUS_SUCCESS; in disable()
520 return BT_STATUS_SUCCESS; in get_adapter_properties()
530 return BT_STATUS_SUCCESS; in get_adapter_property()
552 return BT_STATUS_SUCCESS; in set_adapter_property()
560 return BT_STATUS_SUCCESS; in get_remote_device_properties()
569 return BT_STATUS_SUCCESS; in get_remote_device_property()
583 return BT_STATUS_SUCCESS; in set_remote_device_property()
[all …]
Dbtif_storage.cc436 BT_STATUS_SUCCESS) && in btif_in_fetch_bonded_device()
440 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_device()
502 return BT_STATUS_SUCCESS; in btif_in_fetch_bonded_devices()
517 key_len) == BT_STATUS_SUCCESS) { in btif_read_le_key()
612 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
626 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
689 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
696 return BT_STATUS_SUCCESS; in btif_storage_get_adapter_property()
711 return prop2cfg(NULL, property) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in btif_storage_set_adapter_property()
739 return cfg2prop(remote_bd_addr, property) ? BT_STATUS_SUCCESS in btif_storage_get_remote_device_property()
[all …]
Dbtif_hf_client.cc283 return BT_STATUS_SUCCESS; in init()
336 return BT_STATUS_SUCCESS; in disconnect()
369 return BT_STATUS_SUCCESS; in connect_audio()
388 return BT_STATUS_SUCCESS; in disconnect_audio()
408 return BT_STATUS_SUCCESS; in start_voice_recognition()
430 return BT_STATUS_SUCCESS; in stop_voice_recognition()
462 return BT_STATUS_SUCCESS; in volume_control()
485 return BT_STATUS_SUCCESS; in dial()
504 return BT_STATUS_SUCCESS; in dial_memory()
594 return BT_STATUS_SUCCESS; in handle_call_action()
[all …]
Dbtif_dm.cc341 return BT_STATUS_SUCCESS; in btif_in_execute_service_request()
494 BT_STATUS_SUCCESS) { in get_cached_remote_name()
513 (RawAddress*)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) { in get_cod()
563 BT_STATUS_SUCCESS) { in check_sdp_bl()
682 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", in btif_update_remote_version_property()
701 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", in btif_update_remote_properties()
721 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", in btif_update_remote_properties()
730 BT_STATUS_SUCCESS) { in btif_update_remote_properties()
739 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device type", in btif_update_remote_properties()
821 bond_state_changed(BT_STATUS_SUCCESS, bd_addr, BT_BOND_STATE_BONDING); in btif_dm_cb_create_bond()
[all …]
Dbtif_sock.cc97 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
103 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
116 if (status != BT_STATUS_SUCCESS) { in btif_sock_init()
122 return BT_STATUS_SUCCESS; in btif_sock_init()
193 if (status != BT_STATUS_SUCCESS) { in btsock_listen()
245 if (status != BT_STATUS_SUCCESS) { in btsock_connect()
290 if (rfc_status == BT_STATUS_SUCCESS) { in btsock_disconnect_all()
Dbtif_hd.cc338 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hd_evt()
358 return BT_STATUS_SUCCESS; in init()
432 return BT_STATUS_SUCCESS; in register_app()
465 return BT_STATUS_SUCCESS; in unregister_app()
492 return BT_STATUS_SUCCESS; in connect()
519 return BT_STATUS_SUCCESS; in disconnect()
561 return BT_STATUS_SUCCESS; in send_report()
588 return BT_STATUS_SUCCESS; in report_error()
615 return BT_STATUS_SUCCESS; in virtual_cable_unplug()
645 return BT_STATUS_SUCCESS; in btif_hd_execute_service()
Dbtif_hf.cc751 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); in bte_hf_evt()
799 return BT_STATUS_SUCCESS; in connect_int()
910 return BT_STATUS_SUCCESS; in Init()
930 return BT_STATUS_SUCCESS; in Disconnect()
955 return BT_STATUS_SUCCESS; in ConnectAudio()
970 return BT_STATUS_SUCCESS; in DisconnectAudio()
983 return BT_STATUS_SUCCESS; in isNoiseReductionSupported()
996 return BT_STATUS_SUCCESS; in isVoiceRecognitionSupported()
1018 return BT_STATUS_SUCCESS; in StartVoiceRecognition()
1041 return BT_STATUS_SUCCESS; in StopVoiceRecognition()
[all …]
Dbtif_core.cc165 return BT_STATUS_SUCCESS; in btif_init_bluetooth()
207 BT_STATUS_SUCCESS, 1, &prop); in btif_enable_bluetooth_evt()
266 return BT_STATUS_SUCCESS; in btif_cleanup_bluetooth()
327 if (status == BT_STATUS_SUCCESS) { in btif_in_get_adapter_properties()
365 BT_STATUS_SUCCESS, num_props, properties); in btif_in_get_adapter_properties()
366 return BT_STATUS_SUCCESS; in btif_in_get_adapter_properties()
411 BT_STATUS_SUCCESS, *bd_addr, num_props, remote_properties); in btif_in_get_remote_device_properties()
413 return BT_STATUS_SUCCESS; in btif_in_get_remote_device_properties()
460 bt_status_t status = BT_STATUS_SUCCESS; in btif_get_adapter_property()
752 return BT_STATUS_SUCCESS; in btif_set_dynamic_audio_buffer_size()
Dbtif_sdp.cc128 return BT_STATUS_SUCCESS; in init()
138 return BT_STATUS_SUCCESS; in deinit()
143 return BT_STATUS_SUCCESS; in search()
172 return BT_STATUS_SUCCESS; in btif_sdp_execute_service()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfp.cpp460 if (status != BT_STATUS_SUCCESS) { in initializeNative()
508 if (status != BT_STATUS_SUCCESS) { in connectHfpNative()
512 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative()
530 if (status != BT_STATUS_SUCCESS) { in disconnectHfpNative()
534 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative()
553 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
558 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
577 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
582 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
602 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in isNoiseReductionSupportedNative()
[all …]
Dcom_android_bluetooth_hfpclient.cpp463 if (status != BT_STATUS_SUCCESS) { in initializeNative()
509 if (status != BT_STATUS_SUCCESS) { in connectNative()
513 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative()
529 if (status != BT_STATUS_SUCCESS) { in disconnectNative()
533 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative()
549 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
554 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
570 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
575 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
591 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_hid_host.cpp237 if (status != BT_STATUS_SUCCESS) { in initializeNative()
284 if (status != BT_STATUS_SUCCESS && status != BT_STATUS_BUSY) { in connectHidNative()
311 if (status != BT_STATUS_SUCCESS) { in disconnectHidNative()
338 if (status != BT_STATUS_SUCCESS) { in getProtocolModeNative()
362 if (status != BT_STATUS_SUCCESS) { in virtualUnPlugNative()
400 if (status != BT_STATUS_SUCCESS) { in setProtocolModeNative()
430 if (status != BT_STATUS_SUCCESS) { in getReportNative()
458 if (status != BT_STATUS_SUCCESS) { in setReportNative()
486 if (status != BT_STATUS_SUCCESS) { in sendDataNative()
510 if (status != BT_STATUS_SUCCESS) { in getIdleTimeNative()
[all …]
Dcom_android_bluetooth_a2dp_sink.cpp144 if (status != BT_STATUS_SUCCESS) { in initNative()
188 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
192 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
208 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
212 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
242 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
248 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
Dcom_android_bluetooth_hid_device.cpp181 if ((status = sHiddIf->init(&sHiddCb)) != BT_STATUS_SUCCESS) { in initNative()
277 if (ret == BT_STATUS_SUCCESS) { in registerAppNative()
307 if (ret == BT_STATUS_SUCCESS) { in unregisterAppNative()
337 if (ret == BT_STATUS_SUCCESS) { in sendReportNative()
372 if (ret == BT_STATUS_SUCCESS) { in replyReportNative()
399 if (ret == BT_STATUS_SUCCESS) { in reportErrorNative()
422 if (ret == BT_STATUS_SUCCESS) { in unplugNative()
452 if (ret == BT_STATUS_SUCCESS) { in connectNative()
475 if (ret == BT_STATUS_SUCCESS) { in disconnectNative()
Dcom_android_bluetooth_a2dp.cpp305 if (status != BT_STATUS_SUCCESS) { in initNative()
395 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
399 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
421 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
425 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
450 if (status != BT_STATUS_SUCCESS) { in setSilenceDeviceNative()
455 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setSilenceDeviceNative()
475 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
480 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
507 if (status != BT_STATUS_SUCCESS) { in setCodecConfigPreferenceNative()
[all …]
/packages/modules/Bluetooth/system/test/suite/gatt/
Dgatt_unittest.cc35 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
48 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
61 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) in TEST_F()
99 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; in TEST_F()
106 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error stopping server."; in TEST_F()
114 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error deleting service."; in TEST_F()
/packages/modules/Bluetooth/system/osi/src/
Dwakelock.cc109 if (status != BT_STATUS_SUCCESS) in wakelock_acquire()
112 return (status == BT_STATUS_SUCCESS); in wakelock_acquire()
140 return BT_STATUS_SUCCESS; in wakelock_acquire_native()
155 return (status == BT_STATUS_SUCCESS); in wakelock_release()
175 return BT_STATUS_SUCCESS; in wakelock_release_native()
261 if (acquired_status != BT_STATUS_SUCCESS) { in update_wakelock_acquired_stats()
291 if (released_status != BT_STATUS_SUCCESS) { in update_wakelock_released_stats()
/packages/modules/Bluetooth/system/bta/test/
Dbta_ag_test.cc154 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
264 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
315 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
322 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
353 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
360 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
391 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(true, &addr)); in TEST_F_WITH_FLAGS()
413 ASSERT_EQ(BT_STATUS_SUCCESS, enable_aptx_swb_codec(false, &addr)); in TEST_F_WITH_FLAGS()
/packages/modules/Bluetooth/system/test/common/
Dmain_handler.cc47 return BT_STATUS_SUCCESS; in do_in_main_thread()
56 return BT_STATUS_SUCCESS; in do_in_main_thread_delayed()
63 BT_STATUS_SUCCESS, in post_on_bt_main()
/packages/modules/Bluetooth/system/stack/btu/
Dmain_thread.cc48 return BT_STATUS_SUCCESS; in do_in_main_thread()
58 return BT_STATUS_SUCCESS; in do_in_main_thread_delayed()
67 BT_STATUS_SUCCESS, in post_on_bt_main()

12345