Home
last modified time | relevance | path

Searched refs:objectPath (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/server/
DBluetoothInputProfileHandler.java66 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectInputDevice() local
67 if (objectPath == null || in connectInputDevice()
83 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectInputDeviceInternal() local
85 if (!mBluetoothService.connectInputDeviceNative(objectPath)) { in connectInputDeviceInternal()
94 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectInputDevice() local
95 if (objectPath == null || in disconnectInputDevice()
110 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectInputDeviceInternal() local
112 if (!mBluetoothService.disconnectInputDeviceNative(objectPath)) { in disconnectInputDeviceInternal()
DBluetoothEventLoop.java534 private String checkPairingRequestAndGetAddress(String objectPath, int nativeData) { in checkPairingRequestAndGetAddress() argument
535 String address = mBluetoothService.getAddressFromObjectPath(objectPath); in checkPairingRequestAndGetAddress()
566 private void onRequestPairingConsent(String objectPath, int nativeData) { in onRequestPairingConsent() argument
567 String address = checkPairingRequestAndGetAddress(objectPath, nativeData); in onRequestPairingConsent()
602 private void onRequestPasskeyConfirmation(String objectPath, int passkey, int nativeData) { in onRequestPasskeyConfirmation() argument
603 String address = checkPairingRequestAndGetAddress(objectPath, nativeData); in onRequestPasskeyConfirmation()
625 private void onRequestPasskey(String objectPath, int nativeData) { in onRequestPasskey() argument
626 String address = checkPairingRequestAndGetAddress(objectPath, nativeData); in onRequestPasskey()
647 private void onRequestPinCode(String objectPath, int nativeData) { in onRequestPinCode() argument
648 String address = checkPairingRequestAndGetAddress(objectPath, nativeData); in onRequestPinCode()
[all …]
DBluetoothPanProfileHandler.java131 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectPanDevice() local
132 if (DBG) Log.d(TAG, "connect PAN(" + objectPath + ")"); in connectPanDevice()
152 if (mBluetoothService.connectPanDeviceNative(objectPath, "nap")) { in connectPanDevice()
171 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectPanServerDevices() local
176 if (!mBluetoothService.disconnectPanServerDeviceNative(objectPath, in disconnectPanServerDevices()
219 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectPanDevice() local
220 debugLog("disconnect PAN(" + objectPath + ")"); in disconnectPanDevice()
238 if (!mBluetoothService.disconnectPanServerDeviceNative(objectPath, device.getAddress(), in disconnectPanDevice()
245 if (!mBluetoothService.disconnectPanDeviceNative(objectPath)) { in disconnectPanDevice()
DBluetoothService.java1202 String objectPath = getObjectPathFromAddress(address); in getRemoteDeviceProperties()
1203 return (String [])getDevicePropertiesNative(objectPath); in getRemoteDeviceProperties()
2039 /*package*/ String getAddressFromObjectPath(String objectPath) { in getAddressFromObjectPath() argument
2041 if (adapterObjectPath == null || objectPath == null) { in getAddressFromObjectPath()
2043 " or deviceObjectPath:" + objectPath + " is null"); in getAddressFromObjectPath()
2046 if (!objectPath.startsWith(adapterObjectPath)) { in getAddressFromObjectPath()
2048 " is not a prefix of deviceObjectPath:" + objectPath + in getAddressFromObjectPath()
2052 String address = objectPath.substring(adapterObjectPath.length()); in getAddressFromObjectPath()
2862 private native Object[] getDevicePropertiesNative(String objectPath); in getDevicePropertiesNative() argument
2875 private native boolean removeDeviceNative(String objectPath); in removeDeviceNative() argument
[all …]
DBluetoothHealthProfileHandler.java346 String objectPath = in getMainChannelFd() local
348 if (objectPath == null) return null; in getMainChannelFd()
350 String mainChannelPath = mBluetoothService.getMainChannelNative(objectPath); in getMainChannelFd()