Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfpclient.cpp460 if (status != BT_STATUS_SUCCESS) { in initializeNative()
499 if (status != BT_STATUS_SUCCESS) { in connectNative()
503 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative()
518 if (status != BT_STATUS_SUCCESS) { in disconnectNative()
522 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative()
537 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
541 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
556 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
560 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
575 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_hfp.cpp475 if (status != BT_STATUS_SUCCESS) { in initializeNative()
523 if (status != BT_STATUS_SUCCESS) { in connectHfpNative()
527 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative()
545 if (status != BT_STATUS_SUCCESS) { in disconnectHfpNative()
549 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative()
567 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
571 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
590 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
594 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
612 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_hid_host.cpp227 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 …]
Dcom_android_bluetooth_btservice_AdapterService.cpp122 if (status != BT_STATUS_SUCCESS) { in adapter_properties_callback()
176 if (status != BT_STATUS_SUCCESS) { in remote_device_properties_callback()
258 remote_device_properties_callback(BT_STATUS_SUCCESS, in device_found_callback()
545 jint ret = BT_STATUS_SUCCESS; in acquire_wake_lock_callout()
570 jint ret = BT_STATUS_SUCCESS; in release_wake_lock_callout()
704 if (ret != BT_STATUS_SUCCESS) { in initNative()
710 if (ret != BT_STATUS_SUCCESS) { in initNative()
761 return (ret == BT_STATUS_SUCCESS || ret == BT_STATUS_DONE) ? JNI_TRUE in enableNative()
784 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in startDiscoveryNative()
793 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in cancelDiscoveryNative()
[all …]
Dcom_android_bluetooth_a2dp.cpp311 if (status != BT_STATUS_SUCCESS) { in initNative()
361 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
365 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
386 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
390 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
413 if (status != BT_STATUS_SUCCESS) { in setSilenceDeviceNative()
417 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setSilenceDeviceNative()
439 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
443 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
469 if (status != BT_STATUS_SUCCESS) { in setCodecConfigPreferenceNative()
[all …]
Dcom_android_bluetooth_hid_device.cpp200 if ((status = sHiddIf->init(&sHiddCb)) != BT_STATUS_SUCCESS) { in initNative()
296 if (ret == BT_STATUS_SUCCESS) { in registerAppNative()
326 if (ret == BT_STATUS_SUCCESS) { in unregisterAppNative()
356 if (ret == BT_STATUS_SUCCESS) { in sendReportNative()
391 if (ret == BT_STATUS_SUCCESS) { in replyReportNative()
417 if (ret == BT_STATUS_SUCCESS) { in reportErrorNative()
440 if (ret == BT_STATUS_SUCCESS) { in unplugNative()
469 if (ret == BT_STATUS_SUCCESS) { in connectNative()
492 if (ret == BT_STATUS_SUCCESS) { in disconnectNative()
Dcom_android_bluetooth_avrcp_controller.cpp851 if (status != BT_STATUS_SUCCESS) { in initNative()
900 if (status != BT_STATUS_SUCCESS) { in sendPassThroughCommandNative()
905 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendPassThroughCommandNative()
928 if (status != BT_STATUS_SUCCESS) { in sendGroupNavigationCommandNative()
933 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendGroupNavigationCommandNative()
977 if (status != BT_STATUS_SUCCESS) { in setPlayerApplicationSettingValuesNative()
1003 if (status != BT_STATUS_SUCCESS) { in sendAbsVolRspNative()
1026 if (status != BT_STATUS_SUCCESS) { in sendRegisterAbsVolRspNative()
1048 if (status != BT_STATUS_SUCCESS) { in getPlaybackStateNative()
1068 if (status != BT_STATUS_SUCCESS) { in getNowPlayingListNative()
[all …]
Dcom_android_bluetooth_sdp.cpp124 if (ret != BT_STATUS_SUCCESS) { in sdpSearchNative()
130 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sdpSearchNative()
263 if (ret != BT_STATUS_SUCCESS) { in sdpCreateMapMasRecordNative()
300 if (ret != BT_STATUS_SUCCESS) { in sdpCreateMapMnsRecordNative()
331 if (ret != BT_STATUS_SUCCESS) { in sdpCreatePbapPceRecordNative()
370 if (ret != BT_STATUS_SUCCESS) { in sdpCreatePbapPseRecordNative()
417 if (ret != BT_STATUS_SUCCESS) { in sdpCreateOppOpsRecordNative()
452 if (ret != BT_STATUS_SUCCESS) { in sdpCreateSapsRecordNative()
468 if (ret != BT_STATUS_SUCCESS) { in sdpRemoveSdpRecordNative()
Dcom_android_bluetooth_a2dp_sink.cpp141 if (status != BT_STATUS_SUCCESS) { in initNative()
183 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
187 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
203 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
207 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
Dcom_android_bluetooth_pan.cpp146 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()
Dbluetooth_socket_manager.cc49 if (status != BT_STATUS_SUCCESS) { in connectSocket()
89 if (status != BT_STATUS_SUCCESS) { in createSocketChannel()
Dcom_android_bluetooth_gatt.cpp910 if (status != BT_STATUS_SUCCESS) { in initializeNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java252 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMasRecordFoundCallback()
278 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMnsRecordFoundCallback()
303 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpPseRecordFoundCallback()
330 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpOppOpsRecordFoundCallback()
355 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpSapsRecordFoundCallback()
380 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpRecordFoundCallback()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAbstractionLayer.java75 public static final int BT_STATUS_SUCCESS = 0; field in AbstractionLayer
DBondStateMachine.java582 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) { in getUnbondReasonFromHALCode()