/system/bt/test/suite/adapter/ |
adapter_unittest.cpp | 41 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); 45 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); 55 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); 59 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); 68 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); 78 BT_STATUS_SUCCESS); 90 EXPECT_EQ(bt_interface()->set_adapter_property(new_name), BT_STATUS_SUCCESS); 103 EXPECT_EQ(bt_interface()->set_adapter_property(old_name_property), BT_STATUS_SUCCESS); 110 EXPECT_EQ(bt_interface()->disable(), BT_STATUS_SUCCESS); 118 EXPECT_EQ(bt_interface()->enable(false), BT_STATUS_SUCCESS); [all...] |
/system/bt/test/suite/gatt/ |
gatt_unittest.cpp | 46 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 68 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 74 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 80 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 93 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 106 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 127 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error adding service."; 134 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 141 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) 147 EXPECT_TRUE(status() == BT_STATUS_SUCCESS) << "Error starting server." [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hfpclient.cpp | 336 if (status != BT_STATUS_SUCCESS) { 378 if ((status = sBluetoothHfpClientInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 382 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 397 if ( (status = sBluetoothHfpClientInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 401 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 417 BT_STATUS_SUCCESS) { 421 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 437 BT_STATUS_SUCCESS) { 441 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 448 if ( (status = sBluetoothHfpClientInterface->start_voice_recognition()) != BT_STATUS_SUCCESS) { [all...] |
com_android_bluetooth_avrcp.cpp | 231 BT_STATUS_SUCCESS) { 267 songLen, songPos)) != BT_STATUS_SUCCESS) { 271 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 331 BT_STATUS_SUCCESS) { 337 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 350 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { 354 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 378 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { 383 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 395 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { [all...] |
com_android_bluetooth_hfp.cpp | 486 max_hf_clients)) != BT_STATUS_SUCCESS) { 529 if ((status = sBluetoothHfpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 533 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 548 if ( (status = sBluetoothHfpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 552 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 568 BT_STATUS_SUCCESS) { 572 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 588 BT_STATUS_SUCCESS) { 592 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 607 != BT_STATUS_SUCCESS) { [all...] |
com_android_bluetooth_a2dp.cpp | 145 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) { 186 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 190 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 205 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 209 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
|
com_android_bluetooth_hdp.cpp | 134 if ( (status = sBluetoothHdpInterface->init(&sBluetoothHdpCallbacks)) != BT_STATUS_SUCCESS) { 189 BT_STATUS_SUCCESS) { 203 if ((status = sBluetoothHdpInterface->unregister_application(app_id)) != BT_STATUS_SUCCESS) { 206 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 224 BT_STATUS_SUCCESS) { 238 BT_STATUS_SUCCESS) {
|
/system/bt/service/test/ |
gatt_server_unittest.cpp | 211 .WillOnce(Return(BT_STATUS_SUCCESS)); 217 BT_STATUS_SUCCESS, 225 .WillOnce(Return(BT_STATUS_SUCCESS)); 233 .WillOnce(Return(BT_STATUS_SUCCESS)); 236 .WillOnce(Return(BT_STATUS_SUCCESS)); 239 .WillOnce(Return(BT_STATUS_SUCCESS)); 242 .WillOnce(Return(BT_STATUS_SUCCESS)); 272 BT_STATUS_SUCCESS, kDefaultServerId, hal_srvc_id, srvc_handle_); 274 BT_STATUS_SUCCESS, kDefaultServerId, hal_uuid1, 277 BT_STATUS_SUCCESS, kDefaultServerId, hal_uuid2 [all...] |
gatt_client_unittest.cpp | 97 .WillOnce(Return(BT_STATUS_SUCCESS)); 135 .WillOnce(Return(BT_STATUS_SUCCESS)); 148 BT_STATUS_SUCCESS, client_id0, hal_uuid); 160 .WillOnce(Return(BT_STATUS_SUCCESS)); 179 .WillOnce(Return(BT_STATUS_SUCCESS)); 183 .WillOnce(Return(BT_STATUS_SUCCESS));
|
low_energy_client_unittest.cpp | 42 .WillByDefault(Return(BT_STATUS_SUCCESS)); 143 return BT_STATUS_SUCCESS; 210 .WillOnce(Return(BT_STATUS_SUCCESS)); 213 .WillOnce(Return(BT_STATUS_SUCCESS)); 234 .WillOnce(Return(BT_STATUS_SUCCESS)); 251 .WillOnce(Return(BT_STATUS_SUCCESS)); 255 .WillOnce(Return(BT_STATUS_SUCCESS)); 264 le_client_->GetInstanceId(), BT_STATUS_SUCCESS); 266 le_client_->GetInstanceId(), BT_STATUS_SUCCESS); 278 le_client_->GetInstanceId(), BT_STATUS_SUCCESS); [all...] |
/system/bt/service/hal/ |
fake_bluetooth_interface.cpp | 27 return g_hal_manager.enable_succeed ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; 31 return g_hal_manager.disable_succeed ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; 35 return BT_STATUS_SUCCESS; 40 return (g_hal_manager.set_property_succeed ? BT_STATUS_SUCCESS : 102 AdapterPropertiesCallback(BT_STATUS_SUCCESS, num_properties, properties));
|
/system/bt/btif/src/ |
btif_gatt.c | 65 return BT_STATUS_SUCCESS;
|
btif_sdp.c | 134 return BT_STATUS_SUCCESS; 145 return BT_STATUS_SUCCESS; 156 return BT_STATUS_SUCCESS; 180 ** Returns BT_STATUS_SUCCESS on success, BT_STATUS_FAIL otherwise 195 return BT_STATUS_SUCCESS;
|
btif_storage.c | 260 if (btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) { 388 ** Returns BT_STATUS_SUCCESS if successful, BT_STATUS_FAIL otherwise 410 if((btif_in_fetch_bonded_ble_device(bdstr, FALSE, NULL) != BT_STATUS_SUCCESS) 423 return BT_STATUS_SUCCESS; 433 ** Returns BT_STATUS_SUCCESS if successful, BT_STATUS_FAIL otherwise 493 return BT_STATUS_SUCCESS; 505 if (btif_storage_get_ble_bonding_key(&bd_addr, key_type, buffer, key_len) == BT_STATUS_SUCCESS) 575 ** Returns BT_STATUS_SUCCESS if the fetch was successful, 589 return BT_STATUS_SUCCESS; 606 return BT_STATUS_SUCCESS; [all...] |
btif_hf_client.c | 204 return BT_STATUS_SUCCESS; 227 return BT_STATUS_SUCCESS; 254 return BT_STATUS_SUCCESS; 288 return BT_STATUS_SUCCESS; 310 return BT_STATUS_SUCCESS; 333 return BT_STATUS_SUCCESS; 356 return BT_STATUS_SUCCESS; 387 return BT_STATUS_SUCCESS; 412 return BT_STATUS_SUCCESS; 430 return BT_STATUS_SUCCESS; [all...] |
btif_mce.c | 132 return BT_STATUS_SUCCESS; 143 return BT_STATUS_SUCCESS; 164 ** Returns BT_STATUS_SUCCESS on success, BT_STATUS_FAIL otherwise 179 return BT_STATUS_SUCCESS;
|
btif_dm.c | 350 return BT_STATUS_SUCCESS; 422 &remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 442 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 470 &prop_name) == BT_STATUS_SUCCESS) 514 &prop_name) != BT_STATUS_SUCCESS) 594 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", status); 617 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", status); 640 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", status); 648 if (btif_storage_get_remote_device_property(&bdaddr, &prop_name) == BT_STATUS_SUCCESS) 656 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device type", status) [all...] |
btif_sock.c | 68 if (status != BT_STATUS_SUCCESS) { 74 if (status != BT_STATUS_SUCCESS) { 87 if (status != BT_STATUS_SUCCESS) { 93 return BT_STATUS_SUCCESS;
|
bluetooth.c | 141 return BT_STATUS_SUCCESS; 153 return BT_STATUS_SUCCESS; 161 return BT_STATUS_SUCCESS; 293 return BT_STATUS_SUCCESS; 336 return BT_STATUS_SUCCESS; 459 return BT_STATUS_SUCCESS; 464 return BT_STATUS_SUCCESS; 469 return btif_config_clear() ? BT_STATUS_SUCCESS : BT_STATUS_FAIL;
|
btif_sm.c | 126 ** Returns BT_STATUS_SUCCESS on success 134 bt_status_t status = BT_STATUS_SUCCESS; 158 ** Returns BT_STATUS_SUCCESS on success 165 bt_status_t status = BT_STATUS_SUCCESS;
|
btif_hf.c | 344 ** Description Returns BT_STATUS_SUCCESS if SLC is up for any HF 365 return BT_STATUS_SUCCESS; 680 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); 749 return BT_STATUS_SUCCESS; 784 return BT_STATUS_SUCCESS; 820 return BT_STATUS_SUCCESS; 848 if (btif_hf_check_if_slc_connected() != BT_STATUS_SUCCESS) 858 return BT_STATUS_SUCCESS; 888 return BT_STATUS_SUCCESS; 924 return BT_STATUS_SUCCESS; [all...] |
/system/bt/tools/bdtool/ |
bdtool.c | 158 if (error != BT_STATUS_SUCCESS) { 178 if (error != BT_STATUS_SUCCESS) { 183 if (error != BT_STATUS_SUCCESS) { 205 if (error != BT_STATUS_SUCCESS) { 212 if (error != BT_STATUS_SUCCESS) { 233 if (error != BT_STATUS_SUCCESS) { 244 if (error != BT_STATUS_SUCCESS) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AbstractionLayer.java | 71 public static final int BT_STATUS_SUCCESS = 0;
|
/system/bt/service/ |
gatt_client.cpp | 77 if (hal_iface->register_client(&app_uuid) != BT_STATUS_SUCCESS) 97 bool success = (status == BT_STATUS_SUCCESS);
|
low_energy_client.cpp | 346 if (status != BT_STATUS_SUCCESS) { 372 if (status != BT_STATUS_SUCCESS) { 399 if (status != BT_STATUS_SUCCESS) { 425 if (status != BT_STATUS_SUCCESS) { 442 if (status != BT_STATUS_SUCCESS) { 497 if (status != BT_STATUS_SUCCESS) { 534 if (status != BT_STATUS_SUCCESS) { 665 if (status != BT_STATUS_SUCCESS) { 688 if (status != BT_STATUS_SUCCESS) { 711 if (status == BT_STATUS_SUCCESS) { [all...] |