Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfpclient.cpp409 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 …]
Dcom_android_bluetooth_hfp.cpp438 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 …]
Dcom_android_bluetooth_avrcp.cpp591 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 …]
Dcom_android_bluetooth_btservice_AdapterService.cpp105 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 …]
Dcom_android_bluetooth_hid.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_avrcp_controller.cpp698 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 …]
Dcom_android_bluetooth_hidd.cpp200 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()
Dcom_android_bluetooth_hdp.cpp115 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()
Dcom_android_bluetooth_a2dp.cpp283 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()
Dcom_android_bluetooth_sdp.cpp140 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()
Dcom_android_bluetooth_a2dp_sink.cpp141 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()
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()
Dcom_android_bluetooth_gatt.cpp905 if (status != BT_STATUS_SUCCESS) { in initializeNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java247 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/
DAbstractionLayer.java72 public static final int BT_STATUS_SUCCESS = 0; field in AbstractionLayer
DBondStateMachine.java528 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) in getUnbondReasonFromHALCode()