Searched refs:BT_STATUS_SUCCESS (Results 1 – 13 of 13) sorted by relevance
336 if (status != BT_STATUS_SUCCESS) { in initializeNative()379 … if ((status = sBluetoothHfpClientInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in connectNative()383 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectNative()398 … ( (status = sBluetoothHfpClientInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in disconnectNative()402 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectNative()418 BT_STATUS_SUCCESS) { in connectAudioNative()422 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()438 BT_STATUS_SUCCESS) { in disconnectAudioNative()442 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()449 if ( (status = sBluetoothHfpClientInterface->start_voice_recognition()) != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()[all …]
479 max_hf_clients)) != BT_STATUS_SUCCESS) { in initializeNative()523 if ((status = sBluetoothHfpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in connectHfpNative()527 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectHfpNative()542 if ( (status = sBluetoothHfpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in disconnectHfpNative()546 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectHfpNative()562 BT_STATUS_SUCCESS) { in connectAudioNative()566 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectAudioNative()582 BT_STATUS_SUCCESS) { in disconnectAudioNative()586 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectAudioNative()601 != BT_STATUS_SUCCESS) { in startVoiceRecognitionNative()[all …]
134 if (status != BT_STATUS_SUCCESS) { in adapter_properties_callback()191 if (status != BT_STATUS_SUCCESS) { in remote_device_properties_callback()282 remote_device_properties_callback(BT_STATUS_SUCCESS, (bt_bdaddr_t *)properties[addr_index].val, in device_found_callback()555 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in acquire_wake_lock_callout()586 return ret ? BT_STATUS_SUCCESS : BT_STATUS_FAIL; in release_wake_lock_callout()609 if (status != BT_STATUS_SUCCESS) { in remote_mas_instances_callback()747 if (ret != BT_STATUS_SUCCESS) { in initNative()753 if (ret != BT_STATUS_SUCCESS) { in initNative()769 if ( (sBluetoothMceInterface->init(&sBluetoothMceCallbacks)) != BT_STATUS_SUCCESS) { in initNative()801 result = (ret == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in enableNative()[all …]
210 BT_STATUS_SUCCESS) { in initNative()246 songLen, songPos)) != BT_STATUS_SUCCESS) { in getPlayStatusRspNative()250 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getPlayStatusRspNative()310 BT_STATUS_SUCCESS) { in getElementAttrRspNative()316 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in getElementAttrRspNative()329 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { in registerNotificationRspPlayStatusNative()333 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspPlayStatusNative()357 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { in registerNotificationRspTrackChangeNative()362 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in registerNotificationRspTrackChangeNative()375 (btrc_notification_type_t)type, ¶m)) != BT_STATUS_SUCCESS) { in registerNotificationRspPlayPosNative()[all …]
261 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) { in initializeNative()309 BT_STATUS_SUCCESS) { in connectHidNative()331 BT_STATUS_SUCCESS) { in disconnectHidNative()354 BT_STATUS_SUCCESS) { in getProtocolModeNative()375 BT_STATUS_SUCCESS) { in virtualUnPlugNative()412 BT_STATUS_SUCCESS) { in setProtocolModeNative()439 BT_STATUS_SUCCESS) { in getReportNative()465 BT_STATUS_SUCCESS) { in setReportNative()489 BT_STATUS_SUCCESS) { in sendDataNative()
160 if ( (status = sBluetoothHdpInterface->init(&sBluetoothHdpCallbacks)) != BT_STATUS_SUCCESS) { in initializeNative()213 BT_STATUS_SUCCESS) { in registerHealthAppNative()227 if ((status = sBluetoothHdpInterface->unregister_application(app_id)) != BT_STATUS_SUCCESS) { in unregisterHealthAppNative()230 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in unregisterHealthAppNative()248 BT_STATUS_SUCCESS) { in connectChannelNative()262 BT_STATUS_SUCCESS) { in disconnectChannelNative()
164 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) { in initNative()208 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in connectA2dpNative()212 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()227 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in disconnectA2dpNative()231 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
170 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) { in initNative()214 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in connectA2dpNative()218 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in connectA2dpNative()233 if ( (status = sBluetoothA2dpInterface->disconnect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) { in disconnectA2dpNative()237 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in disconnectA2dpNative()
138 if ( (status = sPanIf->init(&sBluetoothPanCallbacks)) != BT_STATUS_SUCCESS) { in initializeNative()172 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE; in enablePanNative()201 BT_STATUS_SUCCESS) { in connectPanNative()223 BT_STATUS_SUCCESS) { in disconnectPanNative()
132 BT_STATUS_SUCCESS) { in initNative()178 (uint8_t)key_code, (uint8_t)key_state))!= BT_STATUS_SUCCESS) { in sendPassThroughCommandNative()183 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE; in sendPassThroughCommandNative()
906 if ( (status = sGattIf->init(&sGattCallbacks)) != BT_STATUS_SUCCESS) { in initializeNative()
71 public static final int BT_STATUS_SUCCESS = 0; field in AbstractionLayer
465 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) in getUnbondReasonFromHALCode()