/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_hfpclient.cpp | 409 if (status != BT_STATUS_SUCCESS) { in initializeNative() 448 if (status != BT_STATUS_SUCCESS) { in connectNative() 452 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative() 467 if (status != BT_STATUS_SUCCESS) { in disconnectNative() 471 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative() 486 if (status != BT_STATUS_SUCCESS) { in connectAudioNative() 490 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative() 505 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative() 509 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative() 524 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative() [all …]
|
D | com_android_bluetooth_hfp.cpp | 438 if (status != BT_STATUS_SUCCESS) { in initializeNative() 483 if (status != BT_STATUS_SUCCESS) { in connectHfpNative() 487 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative() 502 if (status != BT_STATUS_SUCCESS) { in disconnectHfpNative() 506 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative() 521 if (status != BT_STATUS_SUCCESS) { in connectAudioNative() 525 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative() 541 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative() 545 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative() 561 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative() [all …]
|
D | com_android_bluetooth_avrcp.cpp | 591 if (status != BT_STATUS_SUCCESS) { in initNative() 634 if (status != BT_STATUS_SUCCESS) { in getPlayStatusRspNative() 638 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getPlayStatusRspNative() 698 if (status != BT_STATUS_SUCCESS) { in getElementAttrRspNative() 705 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getElementAttrRspNative() 762 if (status != BT_STATUS_SUCCESS) in getItemAttrRspNative() 769 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getItemAttrRspNative() 786 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspPlayStatusNative() 790 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspPlayStatusNative() 820 if (status != BT_STATUS_SUCCESS) { in registerNotificationRspTrackChangeNative() [all …]
|
D | com_android_bluetooth_btservice_AdapterService.cpp | 105 if (status != BT_STATUS_SUCCESS) { in adapter_properties_callback() 159 if (status != BT_STATUS_SUCCESS) { in remote_device_properties_callback() 241 remote_device_properties_callback(BT_STATUS_SUCCESS, in device_found_callback() 528 jint ret = BT_STATUS_SUCCESS; in acquire_wake_lock_callout() 553 jint ret = BT_STATUS_SUCCESS; in release_wake_lock_callout() 663 if (ret != BT_STATUS_SUCCESS) { in initNative() 669 if (ret != BT_STATUS_SUCCESS) { in initNative() 706 return (ret == BT_STATUS_SUCCESS || ret == BT_STATUS_DONE) ? JNI_TRUE in enableNative() 729 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in startDiscoveryNative() 738 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in cancelDiscoveryNative() [all …]
|
D | com_android_bluetooth_hid.cpp | 227 if (status != BT_STATUS_SUCCESS) { in initializeNative() 269 if (status != BT_STATUS_SUCCESS) { in connectHidNative() 291 if (status != BT_STATUS_SUCCESS) { in disconnectHidNative() 315 if (status != BT_STATUS_SUCCESS) { in getProtocolModeNative() 337 if (status != BT_STATUS_SUCCESS) { in virtualUnPlugNative() 373 if (status != BT_STATUS_SUCCESS) { in setProtocolModeNative() 401 if (status != BT_STATUS_SUCCESS) { in getReportNative() 426 if (status != BT_STATUS_SUCCESS) { in setReportNative() 452 if (status != BT_STATUS_SUCCESS) { in sendDataNative() 473 if (status != BT_STATUS_SUCCESS) { in getIdleTimeNative() [all …]
|
D | com_android_bluetooth_avrcp_controller.cpp | 698 if (status != BT_STATUS_SUCCESS) { in initNative() 743 if (status != BT_STATUS_SUCCESS) { in sendPassThroughCommandNative() 748 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendPassThroughCommandNative() 769 if (status != BT_STATUS_SUCCESS) { in sendGroupNavigationCommandNative() 774 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendGroupNavigationCommandNative() 816 if (status != BT_STATUS_SUCCESS) { in setPlayerApplicationSettingValuesNative() 839 if (status != BT_STATUS_SUCCESS) { in sendAbsVolRspNative() 859 if (status != BT_STATUS_SUCCESS) { in sendRegisterAbsVolRspNative() 878 if (status != BT_STATUS_SUCCESS) { in getPlaybackStateNative() 896 if (status != BT_STATUS_SUCCESS) { in getNowPlayingListNative() [all …]
|
D | com_android_bluetooth_hidd.cpp | 200 if ((status = sHiddIf->init(&sHiddCb)) != BT_STATUS_SUCCESS) { in initNative() 291 if (ret == BT_STATUS_SUCCESS) { in registerAppNative() 316 if (ret == BT_STATUS_SUCCESS) { in unregisterAppNative() 340 if (ret == BT_STATUS_SUCCESS) { in sendReportNative() 370 if (ret == BT_STATUS_SUCCESS) { in replyReportNative() 391 if (ret == BT_STATUS_SUCCESS) { in reportErrorNative() 409 if (ret == BT_STATUS_SUCCESS) { in unplugNative() 433 if (ret == BT_STATUS_SUCCESS) { in connectNative() 451 if (ret == BT_STATUS_SUCCESS) { in disconnectNative()
|
D | com_android_bluetooth_hdp.cpp | 115 if (status != BT_STATUS_SUCCESS) { in initializeNative() 173 if (status != BT_STATUS_SUCCESS) { in registerHealthAppNative() 188 if (status != BT_STATUS_SUCCESS) { in unregisterHealthAppNative() 191 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in unregisterHealthAppNative() 207 if (status != BT_STATUS_SUCCESS) { in connectChannelNative() 221 if (status != BT_STATUS_SUCCESS) { in disconnectChannelNative()
|
D | com_android_bluetooth_a2dp.cpp | 283 if (status != BT_STATUS_SUCCESS) { in initNative() 323 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative() 327 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative() 341 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative() 345 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative() 356 if (status != BT_STATUS_SUCCESS) { in setCodecConfigPreferenceNative() 359 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setCodecConfigPreferenceNative()
|
D | com_android_bluetooth_sdp.cpp | 140 if (ret != BT_STATUS_SUCCESS) { in sdpSearchNative() 146 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sdpSearchNative() 279 if (ret != BT_STATUS_SUCCESS) { in sdpCreateMapMasRecordNative() 316 if (ret != BT_STATUS_SUCCESS) { in sdpCreateMapMnsRecordNative() 355 if (ret != BT_STATUS_SUCCESS) { in sdpCreatePbapPseRecordNative() 402 if (ret != BT_STATUS_SUCCESS) { in sdpCreateOppOpsRecordNative() 437 if (ret != BT_STATUS_SUCCESS) { in sdpCreateSapsRecordNative() 453 if (ret != BT_STATUS_SUCCESS) { in sdpRemoveSdpRecordNative()
|
D | com_android_bluetooth_a2dp_sink.cpp | 141 if (status != BT_STATUS_SUCCESS) { in initNative() 181 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative() 185 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative() 199 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative() 203 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
|
D | com_android_bluetooth_pan.cpp | 146 if (status != BT_STATUS_SUCCESS) { in initializeNative() 180 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE; in enablePanNative() 204 if (status != BT_STATUS_SUCCESS) { in connectPanNative() 225 if (status != BT_STATUS_SUCCESS) { in disconnectPanNative()
|
D | com_android_bluetooth_gatt.cpp | 905 if (status != BT_STATUS_SUCCESS) { in initializeNative()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 247 if(status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMasRecordFoundCallback() 278 if(status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMnsRecordFoundCallback() 307 if(status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpPseRecordFoundCallback() 338 if(status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpOppOpsRecordFoundCallback() 365 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpSapsRecordFoundCallback() 388 if(status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpRecordFoundCallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AbstractionLayer.java | 72 public static final int BT_STATUS_SUCCESS = 0; field in AbstractionLayer
|
D | BondStateMachine.java | 528 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) in getUnbondReasonFromHALCode()
|