Searched refs:mRemoteDevices (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 41 private RemoteDevices mRemoteDevices; field in RemoteDevicesTest 55 mRemoteDevices = new RemoteDevices(mAdapterService, mHandlerThread.getLooper()); in setUp() 67 mRemoteDevices.updateUuids(mDevice1); in testSendUuidIntent() 82 Assert.assertNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_normalSequence() 85 mRemoteDevices.updateBatteryLevel(mDevice1, batteryLevel); in testUpdateBatteryLevel_normalSequence() 91 Assert.assertNotNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_normalSequence() 92 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), in testUpdateBatteryLevel_normalSequence() 96 mRemoteDevices.updateBatteryLevel(mDevice1, batteryLevel); in testUpdateBatteryLevel_normalSequence() 101 mRemoteDevices.updateBatteryLevel(mDevice1, batteryLevel); in testUpdateBatteryLevel_normalSequence() 108 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), in testUpdateBatteryLevel_normalSequence() [all …]
|
D | BondStateMachineTest.java | 59 private RemoteDevices mRemoteDevices; field in BondStateMachineTest 75 mRemoteDevices = new RemoteDevices(mAdapterService, mHandlerThread.getLooper()); in setUp() 76 mRemoteDevices.reset(); in setUp() 80 mAdapterProperties.init(mRemoteDevices); in setUp() 82 mRemoteDevices); in setUp() 94 mRemoteDevices.reset(); in testCreateBondAfterRemoveBond() 96 deviceProperties1 = mRemoteDevices.addDeviceProperties(TEST_BT_ADDR_BYTES); in testCreateBondAfterRemoveBond() 97 deviceProperties2 = mRemoteDevices.addDeviceProperties(TEST_BT_ADDR_BYTES_2); in testCreateBondAfterRemoveBond() 99 device1 = mRemoteDevices.getDevice(TEST_BT_ADDR_BYTES); in testCreateBondAfterRemoveBond() 100 device2 = mRemoteDevices.getDevice(TEST_BT_ADDR_BYTES_2); in testCreateBondAfterRemoveBond() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 73 private RemoteDevices mRemoteDevices; field in BondStateMachine 88 mRemoteDevices = remoteDevices; in BondStateMachine() 109 mRemoteDevices = null; in cleanup() 183 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(dev); in processMessage() 297 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(dev); in removeBond() 348 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevices.getDevice(address)); in sendDisplayPinIntent() 361 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(device); in sendIntent() 426 BluetoothDevice device = mRemoteDevices.getDevice(address); in bondStateChangeCallback() 455 BluetoothDevice bdDevice = mRemoteDevices.getDevice(address); in sspRequestCallback() 457 mRemoteDevices.addDeviceProperties(address); in sspRequestCallback() [all …]
|
D | JniCallbacks.java | 21 private RemoteDevices mRemoteDevices; field in JniCallbacks 32 mRemoteDevices = remoteDevices; in init() 37 mRemoteDevices = null; in cleanup() 53 mRemoteDevices.devicePropertyChangedCallback(address, types, val); in devicePropertyChangedCallback() 57 mRemoteDevices.deviceFoundCallback(address); in deviceFoundCallback() 69 mRemoteDevices.aclStateChangeCallback(status, address, newState); in aclStateChangeCallback()
|
D | AdapterService.java | 198 private RemoteDevices mRemoteDevices; field in AdapterService 433 mRemoteDevices = new RemoteDevices(this, Looper.getMainLooper()); in onCreate() 434 mRemoteDevices.init(); in onCreate() 569 mRemoteDevices.reset(); in bringUpBle() 570 mAdapterProperties.init(mRemoteDevices); in bringUpBle() 573 mBondStateMachine = BondStateMachine.make(this, mAdapterProperties, mRemoteDevices); in bringUpBle() 575 mJniCallbacks.init(mBondStateMachine, mRemoteDevices); in bringUpBle() 739 if (mRemoteDevices != null) { in cleanup() 740 mRemoteDevices.cleanup(); in cleanup() 1423 DeviceProperties deviceProp = service.mRemoteDevices.getDeviceProperties(device); in cancelBondProcess() [all …]
|
D | AdapterProperties.java | 99 private RemoteDevices mRemoteDevices; field in AdapterProperties 189 mRemoteDevices = remoteDevices; in init() 229 mRemoteDevices = null; in cleanup() 521 DeviceProperties prop = mRemoteDevices.getDeviceProperties(device); in onBondStateChanged() 523 prop = mRemoteDevices.addDeviceProperties(addrByte); in onBondStateChanged()
|