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.cpp477 if (status != BT_STATUS_SUCCESS) { in initializeNative()
516 if (status != BT_STATUS_SUCCESS) { in connectNative()
520 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative()
535 if (status != BT_STATUS_SUCCESS) { in disconnectNative()
539 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative()
554 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
558 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
573 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
577 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
592 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_hfp.cpp474 if (status != BT_STATUS_SUCCESS) { in initializeNative()
522 if (status != BT_STATUS_SUCCESS) { in connectHfpNative()
526 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative()
544 if (status != BT_STATUS_SUCCESS) { in disconnectHfpNative()
548 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative()
566 if (status != BT_STATUS_SUCCESS) { in connectAudioNative()
570 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()
589 if (status != BT_STATUS_SUCCESS) { in disconnectAudioNative()
593 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()
611 if (status != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()
[all …]
Dcom_android_bluetooth_hid_host.cpp234 if (status != BT_STATUS_SUCCESS) { in initializeNative()
277 if (status != BT_STATUS_SUCCESS) { in connectHidNative()
299 if (status != BT_STATUS_SUCCESS) { in disconnectHidNative()
323 if (status != BT_STATUS_SUCCESS) { in getProtocolModeNative()
345 if (status != BT_STATUS_SUCCESS) { in virtualUnPlugNative()
381 if (status != BT_STATUS_SUCCESS) { in setProtocolModeNative()
409 if (status != BT_STATUS_SUCCESS) { in getReportNative()
434 if (status != BT_STATUS_SUCCESS) { in setReportNative()
460 if (status != BT_STATUS_SUCCESS) { in sendDataNative()
481 if (status != BT_STATUS_SUCCESS) { in getIdleTimeNative()
[all …]
Dcom_android_bluetooth_btservice_AdapterService.cpp121 if (status != BT_STATUS_SUCCESS) { in adapter_properties_callback()
175 if (status != BT_STATUS_SUCCESS) { in remote_device_properties_callback()
257 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()
723 if (ret != BT_STATUS_SUCCESS) { in initNative()
729 if (ret != BT_STATUS_SUCCESS) { in initNative()
776 return (ret == BT_STATUS_SUCCESS || ret == BT_STATUS_DONE) ? JNI_TRUE in enableNative()
799 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in startDiscoveryNative()
808 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in cancelDiscoveryNative()
[all …]
Dcom_android_bluetooth_a2dp_sink.cpp140 if (status != BT_STATUS_SUCCESS) { in initNative()
182 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
186 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
202 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
206 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
236 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
241 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
Dcom_android_bluetooth_a2dp.cpp343 if (status != BT_STATUS_SUCCESS) { in initNative()
393 if (status != BT_STATUS_SUCCESS) { in connectA2dpNative()
397 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()
418 if (status != BT_STATUS_SUCCESS) { in disconnectA2dpNative()
422 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
445 if (status != BT_STATUS_SUCCESS) { in setSilenceDeviceNative()
449 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setSilenceDeviceNative()
471 if (status != BT_STATUS_SUCCESS) { in setActiveDeviceNative()
475 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in setActiveDeviceNative()
501 if (status != BT_STATUS_SUCCESS) { in setCodecConfigPreferenceNative()
[all …]
Dcom_android_bluetooth_hid_device.cpp199 if ((status = sHiddIf->init(&sHiddCb)) != BT_STATUS_SUCCESS) { in initNative()
295 if (ret == BT_STATUS_SUCCESS) { in registerAppNative()
325 if (ret == BT_STATUS_SUCCESS) { in unregisterAppNative()
355 if (ret == BT_STATUS_SUCCESS) { in sendReportNative()
390 if (ret == BT_STATUS_SUCCESS) { in replyReportNative()
416 if (ret == BT_STATUS_SUCCESS) { in reportErrorNative()
439 if (ret == BT_STATUS_SUCCESS) { in unplugNative()
468 if (ret == BT_STATUS_SUCCESS) { in connectNative()
491 if (ret == BT_STATUS_SUCCESS) { in disconnectNative()
Dcom_android_bluetooth_avrcp_controller.cpp908 if (status != BT_STATUS_SUCCESS) { in initNative()
957 if (status != BT_STATUS_SUCCESS) { in sendPassThroughCommandNative()
962 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendPassThroughCommandNative()
985 if (status != BT_STATUS_SUCCESS) { in sendGroupNavigationCommandNative()
990 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendGroupNavigationCommandNative()
1034 if (status != BT_STATUS_SUCCESS) { in setPlayerApplicationSettingValuesNative()
1060 if (status != BT_STATUS_SUCCESS) { in sendAbsVolRspNative()
1083 if (status != BT_STATUS_SUCCESS) { in sendRegisterAbsVolRspNative()
1105 if (status != BT_STATUS_SUCCESS) { in getCurrentMetadataNative()
1126 if (status != BT_STATUS_SUCCESS) { in getPlaybackStateNative()
[all …]
Dcom_android_bluetooth_sdp.cpp123 if (ret != BT_STATUS_SUCCESS) { in sdpSearchNative()
129 return (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sdpSearchNative()
262 if (ret != BT_STATUS_SUCCESS) { in sdpCreateMapMasRecordNative()
299 if (ret != BT_STATUS_SUCCESS) { in sdpCreateMapMnsRecordNative()
330 if (ret != BT_STATUS_SUCCESS) { in sdpCreatePbapPceRecordNative()
369 if (ret != BT_STATUS_SUCCESS) { in sdpCreatePbapPseRecordNative()
416 if (ret != BT_STATUS_SUCCESS) { in sdpCreateOppOpsRecordNative()
451 if (ret != BT_STATUS_SUCCESS) { in sdpCreateSapsRecordNative()
467 if (ret != BT_STATUS_SUCCESS) { in sdpRemoveSdpRecordNative()
Dcom_android_bluetooth_pan.cpp145 if (status != BT_STATUS_SUCCESS) { in initializeNative()
179 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE; in enablePanNative()
203 if (status != BT_STATUS_SUCCESS) { in connectPanNative()
224 if (status != BT_STATUS_SUCCESS) { in disconnectPanNative()
Dcom_android_bluetooth_gatt.cpp909 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.java585 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) { in getUnbondReasonFromHALCode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DBondStateMachineTest.java120 mBondStateMachine.bondStateChangeCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testCreateBondAfterRemoveBond()
123 mBondStateMachine.bondStateChangeCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testCreateBondAfterRemoveBond()