Home
last modified time | relevance | path

Searched refs:mBluetoothService (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/server/
DBluetoothEventLoop.java54 private final BluetoothService mBluetoothService; field in BluetoothEventLoop
81 mBluetoothService.setPairingConfirmation(address, true);
87 String[] devices = mBluetoothService.listInState(BluetoothDevice.BOND_BONDING);
95 mBluetoothService.setBondState(address,
109 mBluetoothService = bluetoothService; in BluetoothEventLoop()
180 mBluetoothService.getDeviceProperties(); in addDevice()
242 String address = mBluetoothService.getAddressFromObjectPath(deviceObjectPath); in onDeviceDisconnectRequested()
261 mBluetoothService.onCreatePairedDeviceResult(address, result); in onCreatePairedDeviceResult()
270 String address = mBluetoothService.getAddressFromObjectPath(deviceObjectPath); in onDeviceCreated()
276 if (!mBluetoothService.isRemoteDeviceInCache(address)) { in onDeviceCreated()
[all …]
DBluetoothAdapterStateMachine.java130 private BluetoothService mBluetoothService; field in BluetoothAdapterStateMachine
158 mBluetoothService = bluetoothService; in BluetoothAdapterStateMachine()
262 if (mBluetoothService.enableNative() != 0) { in prepareBluetooth()
289 mBluetoothService.disableNative(); in prepareBluetooth()
294 if (!mBluetoothService.prepareBluetooth()) { in prepareBluetooth()
296 mBluetoothService.disableNative(); in prepareBluetooth()
381 mBluetoothService.switchConnectable(true); in processMessage()
403 mBluetoothService.switchConnectable(true); in processMessage()
413 mBluetoothService.switchConnectable(true); in processMessage()
452 mBluetoothService.setPairable(); in processMessage()
[all …]
DBluetoothA2dpService.java68 private final BluetoothService mBluetoothService; field in BluetoothA2dpService
112 String path = mBluetoothService.getObjectPathFromAddress(address);
149 mBluetoothService = bluetoothService; in BluetoothA2dpService()
150 if (mBluetoothService == null) { in BluetoothA2dpService()
168 if (mBluetoothService.isEnabled()) in BluetoothA2dpService()
171 mBluetoothService.setA2dpService(this); in BluetoothA2dpService()
196 ParcelUuid[] uuids = mBluetoothService.getRemoteUuids(device.getAddress()); in isSinkDevice()
210 String devices = mBluetoothService.getProperty("Devices", true); in onBluetoothEnable()
214 String address = mBluetoothService.getAddressFromObjectPath(path); in onBluetoothEnable()
216 ParcelUuid[] remoteUuids = mBluetoothService.getRemoteUuids(address); in onBluetoothEnable()
[all …]
DBluetoothInputProfileHandler.java46 private BluetoothService mBluetoothService; field in BluetoothInputProfileHandler
52 mBluetoothService = service; in BluetoothInputProfileHandler()
66 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectInputDevice()
83 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectInputDeviceInternal()
85 if (!mBluetoothService.connectInputDeviceNative(objectPath)) { in connectInputDeviceInternal()
94 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectInputDevice()
110 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectInputDeviceInternal()
112 if (!mBluetoothService.disconnectInputDeviceNative(objectPath)) { in disconnectInputDeviceInternal()
195 mBluetoothService.sendConnectionStateChange(device, BluetoothProfile.INPUT_DEVICE, state, in handleInputDeviceStateChange()
DBluetoothHealthProfileHandler.java51 private BluetoothService mBluetoothService; field in BluetoothHealthProfileHandler
95 path = mBluetoothService.registerHealthApplicationNative(
98 path = mBluetoothService.registerHealthApplicationNative(
126 boolean result = mBluetoothService.unregisterHealthApplicationNative(
141 mBluetoothService.getObjectPathFromAddress(chan.mDevice.getAddress());
145 if (!mBluetoothService.createChannelNative(deviceObjectPath, configPath,
158 mBluetoothService = service; in BluetoothHealthProfileHandler()
208 mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectChannel()
275 mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectChannel()
277 mBluetoothService.releaseChannelFdNative(chan.mChannelPath); in disconnectChannel()
[all …]
DBluetoothPanProfileHandler.java61 private BluetoothService mBluetoothService; field in BluetoothPanProfileHandler
69 mBluetoothService = service; in BluetoothPanProfileHandler()
103 if (mBluetoothService.getBluetoothState() != BluetoothAdapter.STATE_ON && value) { in setBluetoothTethering()
131 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in connectPanDevice()
152 if (mBluetoothService.connectPanDeviceNative(objectPath, "nap")) { in connectPanDevice()
171 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectPanServerDevices()
176 if (!mBluetoothService.disconnectPanServerDeviceNative(objectPath, in disconnectPanServerDevices()
219 String objectPath = mBluetoothService.getObjectPathFromAddress(device.getAddress()); in disconnectPanDevice()
238 if (!mBluetoothService.disconnectPanServerDeviceNative(objectPath, device.getAddress(), in disconnectPanDevice()
245 if (!mBluetoothService.disconnectPanDeviceNative(objectPath)) { in disconnectPanDevice()
[all …]
/frameworks/base/services/java/com/android/server/input/
DInputManagerService.java111 private BluetoothService mBluetoothService; field in InputManagerService
243 mBluetoothService = bluetoothService; in systemReady()
1387 if (mBluetoothService != null && in getDeviceAlias()
1389 return mBluetoothService.getRemoteAlias(uniqueId); in getDeviceAlias()