/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_hfp.cpp | 258 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) { 295 if ( (status = sBluetoothHfpInterface->init(&sBluetoothHfpCallbacks)) != BT_STATUS_SUCCESS) { 339 if ((status = sBluetoothHfpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 343 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 358 if ( (status = sBluetoothHfpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 362 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 378 BT_STATUS_SUCCESS) { 382 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 398 BT_STATUS_SUCCESS) { 402 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE [all...] |
com_android_bluetooth_avrcp.cpp | 149 BT_STATUS_SUCCESS) { 185 songLen, songPos)) != BT_STATUS_SUCCESS) { 189 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 249 BT_STATUS_SUCCESS) { 255 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 268 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { 272 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 296 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { 301 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 314 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { [all...] |
com_android_bluetooth_a2dp.cpp | 128 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) { 164 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) { 208 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 212 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 227 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { 231 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
|
com_android_bluetooth_hdp.cpp | 123 if ( (status = sBluetoothHdpInterface->init(&sBluetoothHdpCallbacks)) != BT_STATUS_SUCCESS) { 160 if ( (status = sBluetoothHdpInterface->init(&sBluetoothHdpCallbacks)) != BT_STATUS_SUCCESS) { 213 BT_STATUS_SUCCESS) { 227 if ((status = sBluetoothHdpInterface->unregister_application(app_id)) != BT_STATUS_SUCCESS) { 230 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 248 BT_STATUS_SUCCESS) { 262 BT_STATUS_SUCCESS) {
|
com_android_bluetooth_hid.cpp | 168 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { 206 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { 254 BT_STATUS_SUCCESS) { 276 BT_STATUS_SUCCESS) { 299 BT_STATUS_SUCCESS) { 320 BT_STATUS_SUCCESS) { 357 BT_STATUS_SUCCESS) { 384 BT_STATUS_SUCCESS) { 410 BT_STATUS_SUCCESS) { 434 BT_STATUS_SUCCESS) { [all...] |
com_android_bluetooth_btservice_AdapterService.cpp | 125 if (status != BT_STATUS_SUCCESS) { 182 if (status != BT_STATUS_SUCCESS) { 273 remote_device_properties_callback(BT_STATUS_SUCCESS, (bt_bdaddr_t *)properties[addr_index].val, 517 if (ret != BT_STATUS_SUCCESS) { 551 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 577 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 588 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 608 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 628 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; 648 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE [all...] |
com_android_bluetooth_pan.cpp | 138 if ( (status = sPanIf->init(&sBluetoothPanCallbacks)) != BT_STATUS_SUCCESS) { 172 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE; 201 BT_STATUS_SUCCESS) { 223 BT_STATUS_SUCCESS) {
|
/external/bluetooth/bluedroid/btif/src/ |
btif_gatt.c | 71 return BT_STATUS_SUCCESS;
|
btif_dm.c | 172 return BT_STATUS_SUCCESS; 244 &remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 265 if (btif_storage_get_remote_device_property((bt_bdaddr_t *)remote_bdaddr, &prop_name) == BT_STATUS_SUCCESS) 283 &prop_name) == BT_STATUS_SUCCESS) 348 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote version", status); 372 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device name", status); 386 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device class", status); 394 ASSERTC(status == BT_STATUS_SUCCESS, "failed to save remote device type", status); 439 bond_state_changed(BT_STATUS_SUCCESS, &remote_bd, BT_BOND_STATE_BONDED); 471 bond_state_changed(BT_STATUS_SUCCESS, bd_addr, BT_BOND_STATE_BONDING) [all...] |
btif_hf.c | 439 ASSERTC(status == BT_STATUS_SUCCESS, "context transfer failed", status); 499 return BT_STATUS_SUCCESS; 520 return BT_STATUS_SUCCESS; 548 return BT_STATUS_SUCCESS; 574 return BT_STATUS_SUCCESS; 596 return BT_STATUS_SUCCESS; 623 return BT_STATUS_SUCCESS; 656 return BT_STATUS_SUCCESS; 688 return BT_STATUS_SUCCESS; 719 return BT_STATUS_SUCCESS; [all...] |
btif_storage.c | 458 ** Returns BT_STATUS_SUCCESS if successful, BT_STATUS_FAIL otherwise 532 return BT_STATUS_SUCCESS; 580 ** Returns BT_STATUS_SUCCESS if the fetch was successful, 595 return BT_STATUS_SUCCESS; 612 return BT_STATUS_SUCCESS; 654 return BT_STATUS_SUCCESS; 662 return BT_STATUS_SUCCESS; 672 ** Returns BT_STATUS_SUCCESS if the store was successful, 678 return prop2cfg(NULL, property) ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; 690 ** Returns BT_STATUS_SUCCESS if the fetch was successful [all...] |
btif_sm.c | 145 ** Returns BT_STATUS_SUCCESS on success 153 bt_status_t status = BT_STATUS_SUCCESS; 177 ** Returns BT_STATUS_SUCCESS on success 184 bt_status_t status = BT_STATUS_SUCCESS;
|
btif_core.c | 222 return BT_STATUS_SUCCESS; 490 return BT_STATUS_SUCCESS; 509 return BT_STATUS_SUCCESS; 538 return BT_STATUS_SUCCESS; 595 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, &prop); 685 return BT_STATUS_SUCCESS; 769 return BT_STATUS_SUCCESS; 793 return BT_STATUS_SUCCESS; 822 ** Returns BT_STATUS_SUCCESS on success 840 return BT_STATUS_SUCCESS; [all...] |
btif_sock.c | 77 if(handle >= 0 && btsock_rfc_init(handle) == BT_STATUS_SUCCESS) 80 return BT_STATUS_SUCCESS;
|
btif_hh.c | 606 return BT_STATUS_SUCCESS; 681 return BT_STATUS_SUCCESS; [all...] |
btif_pan.c | 162 return BT_STATUS_SUCCESS; 209 return BT_STATUS_SUCCESS; 223 return BT_STATUS_SUCCESS; 239 callback.connection_state_cb(BTPAN_STATE_DISCONNECTING, BT_STATUS_SUCCESS, 259 return BT_STATUS_SUCCESS; 521 bt_status_t status = p_data->set_role.status == BTA_PAN_SUCCESS ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; 540 callback.connection_state_cb(BTPAN_STATE_CONNECTING, BT_STATUS_SUCCESS, 558 status = BT_STATUS_SUCCESS;
|
btif_profile_queue.c | 103 return BT_STATUS_SUCCESS; 132 ** Returns BT_STATUS_SUCCESS if successful
|
btif_rc.c | 308 bt_status_t result = BT_STATUS_SUCCESS; 321 if(result == BT_STATUS_SUCCESS) [all...] |
btif_hl.c | [all...] |
btif_av.c | 739 return BT_STATUS_SUCCESS; 786 return BT_STATUS_SUCCESS; 947 ** Returns BT_STATUS_SUCCESS on success, BT_STATUS_FAIL otherwise [all...] |
bluetooth.c | 128 return BT_STATUS_SUCCESS;
|
btif_sock_rfc.c | 148 return BT_STATUS_SUCCESS; 340 status = BT_STATUS_SUCCESS; 375 status = BT_STATUS_SUCCESS; 389 status = BT_STATUS_SUCCESS; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AbstractionLayer.java | 68 public static final int BT_STATUS_SUCCESS = 0;
|
/external/bluetooth/bluedroid/test/bluedroidtest/ |
bluedroidtest.c | 170 CASE_RETURN_STR(BT_STATUS_SUCCESS) 452 if (status != BT_STATUS_SUCCESS) 597 if (status != BT_STATUS_SUCCESS)
|
/hardware/libhardware/include/hardware/ |
bluetooth.h | 76 BT_STATUS_SUCCESS,
|