Home
last modified time | relevance | path

Searched refs:getByteAddress (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java241 return atResponseCodeNative(responseCode, errorCode, Utils.getByteAddress(device)); in atResponseCode()
253 return atResponseStringNative(responseString, Utils.getByteAddress(device)); in atResponseString()
264 return connectHfpNative(Utils.getByteAddress(device)); in connectHfp()
275 return disconnectHfpNative(Utils.getByteAddress(device)); in disconnectHfp()
286 return connectAudioNative(Utils.getByteAddress(device)); in connectAudio()
297 return disconnectAudioNative(Utils.getByteAddress(device)); in disconnectAudio()
308 return startVoiceRecognitionNative(Utils.getByteAddress(device)); in startVoiceRecognition()
320 return stopVoiceRecognitionNative(Utils.getByteAddress(device)); in stopVoiceRecognition()
333 return setVolumeNative(volumeType, volume, Utils.getByteAddress(device)); in setVolume()
353 batteryCharge, Utils.getByteAddress(device)); in cindResponse()
[all …]
DAtPhonebook.java155 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() method in AtPhonebook
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java271 mNativeInterface.queryCurrentCalls(getByteAddress(mCurrentDevice)); in queryCallsStart()
494 if (mNativeInterface.handleCallAction(getByteAddress(mCurrentDevice), action, 0)) { in acceptCall()
533 if (mNativeInterface.handleCallAction(getByteAddress(mCurrentDevice), action, 0)) { in rejectCall()
558 if (mNativeInterface.handleCallAction(getByteAddress(mCurrentDevice), action, 0)) { in holdCall()
579 if (mNativeInterface.handleCallAction(getByteAddress(mCurrentDevice), action, 0)) { in terminateCall()
597 if (mNativeInterface.handleCallAction(getByteAddress(mCurrentDevice), in enterPrivateMode()
613 if (mNativeInterface.handleCallAction(getByteAddress(mCurrentDevice), in explicitCallTransfer()
752 mNativeInterface.disconnect(getByteAddress(mCurrentDevice)); in doQuit()
838 if (!mNativeInterface.connect(getByteAddress(device))) { in processMessage()
885 mNativeInterface.disconnect(getByteAddress(device)); in processConnectionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpNativeInterface.java98 return connectA2dpNative(getByteAddress(device)); in connectA2dp()
108 return disconnectA2dpNative(getByteAddress(device)); in disconnectA2dp()
118 return setSilenceDeviceNative(getByteAddress(device), silence); in setSilenceDevice()
128 return setActiveDeviceNative(getByteAddress(device)); in setActiveDevice()
141 return setCodecConfigPreferenceNative(getByteAddress(device), in setCodecConfigPreference()
149 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() method in A2dpNativeInterface
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java154 if (!connectHidNative(Utils.getByteAddress(device))) {
164 if (!disconnectHidNative(Utils.getByteAddress(device))) {
188 virtualUnPlugNative(Utils.getByteAddress(device));
204 if (!getProtocolModeNative(Utils.getByteAddress(device))) {
218 if (!virtualUnPlugNative(Utils.getByteAddress(device))) {
227 if (!setProtocolModeNative(Utils.getByteAddress(device), protocolMode)) {
238 if (!getReportNative(Utils.getByteAddress(device), reportType, reportId,
263 if (!setReportNative(Utils.getByteAddress(device), reportType, report)) {
272 if (!sendDataNative(Utils.getByteAddress(device), report)) {
285 if (!getIdleTimeNative(Utils.getByteAddress(device))) {
[all …]
DHidDeviceNativeInterface.java156 return connectNative(getByteAddress(device)); in connect()
255 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() method in HidDeviceNativeInterface
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterface.java93 return connectHearingAidNative(getByteAddress(device)); in connectHearingAid()
104 return disconnectHearingAidNative(getByteAddress(device)); in disconnectHearingAid()
115 return addToWhiteListNative(getByteAddress(device)); in addToWhiteList()
131 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() method in HearingAidNativeInterface
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java177 if (!connectPanNative(Utils.getByteAddress(device),
190 if (!disconnectPanNative(Utils.getByteAddress(device))) {
592 disconnectPanNative(Utils.getByteAddress(device)); in handlePanDeviceStateChange()
601 disconnectPanNative(Utils.getByteAddress(device)); in handlePanDeviceStateChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java66 mDeviceAddress = Utils.getByteAddress(mDevice); in A2dpSinkStateMachine()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java97 public static byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() method in Utils
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java271 mRemoteDevices.aclStateChangeCallback(0, Utils.getByteAddress(mDevice1), in testResetBatteryLevel_testAclStateChangeCallback()
DAdapterServiceTest.java713 return hmac256.doFinal(Utils.getByteAddress(device)); in obfuscateInJava()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java2300 mRemoteDevices.setBondingInitiatedLocally(Utils.getByteAddress(device)); in createBond()
3064 return obfuscateAddressNative(Utils.getByteAddress(device)); in obfuscateAddress()
3077 return getMetricIdNative(Utils.getByteAddress(device)); in getMetricId()
DAdapterProperties.java538 byte[] addrByte = Utils.getByteAddress(device); in onBondStateChanged()
DRemoteDevices.java424 deviceProperties = addDeviceProperties(Utils.getByteAddress(device)); in updateBatteryLevel()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java176 getCurrentMetadataNative(Utils.getByteAddress(device)); in getCurrentMetadataIfNoCoverArt()
DAvrcpControllerStateMachine.java143 mDeviceAddress = Utils.getByteAddress(mDevice); in AvrcpControllerStateMachine()