Searched refs:mRemoteDevices (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 43 private RemoteDevices mRemoteDevices; field in RemoteDevicesTest 57 mRemoteDevices = new RemoteDevices(mAdapterService, mHandlerThread.getLooper()); in setUp() 69 mRemoteDevices.updateUuids(mDevice1); in testSendUuidIntent() 84 Assert.assertNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_normalSequence() 87 mRemoteDevices.updateBatteryLevel(mDevice1, batteryLevel); in testUpdateBatteryLevel_normalSequence() 94 Assert.assertNotNull(mRemoteDevices.getDeviceProperties(mDevice1)); in testUpdateBatteryLevel_normalSequence() 95 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), in testUpdateBatteryLevel_normalSequence() 99 mRemoteDevices.updateBatteryLevel(mDevice1, batteryLevel); in testUpdateBatteryLevel_normalSequence() 104 mRemoteDevices.updateBatteryLevel(mDevice1, batteryLevel); in testUpdateBatteryLevel_normalSequence() 111 Assert.assertEquals(mRemoteDevices.getDeviceProperties(mDevice1).getBatteryLevel(), in testUpdateBatteryLevel_normalSequence() [all …]
|
D | BondStateMachineTest.java | 61 private RemoteDevices mRemoteDevices; field in BondStateMachineTest 77 mRemoteDevices = new RemoteDevices(mAdapterService, mHandlerThread.getLooper()); in setUp() 78 mRemoteDevices.reset(); in setUp() 82 mAdapterProperties.init(mRemoteDevices); in setUp() 84 mRemoteDevices); in setUp() 96 mRemoteDevices.reset(); in testCreateBondAfterRemoveBond() 98 deviceProperties1 = mRemoteDevices.addDeviceProperties(TEST_BT_ADDR_BYTES); in testCreateBondAfterRemoveBond() 99 deviceProperties2 = mRemoteDevices.addDeviceProperties(TEST_BT_ADDR_BYTES_2); in testCreateBondAfterRemoveBond() 101 device1 = mRemoteDevices.getDevice(TEST_BT_ADDR_BYTES); in testCreateBondAfterRemoveBond() 102 device2 = mRemoteDevices.getDevice(TEST_BT_ADDR_BYTES_2); in testCreateBondAfterRemoveBond() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 84 private RemoteDevices mRemoteDevices; field in BondStateMachine 100 mRemoteDevices = remoteDevices; in BondStateMachine() 121 mRemoteDevices = null; in cleanup() 198 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(dev); in processMessage() 311 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(dev); in removeBond() 366 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevices.getDevice(address)); in sendDisplayPinIntent() 382 DeviceProperties devProp = mRemoteDevices.getDeviceProperties(device); in sendIntent() 448 BluetoothDevice device = mRemoteDevices.getDevice(address); in bondStateChangeCallback() 477 BluetoothDevice bdDevice = mRemoteDevices.getDevice(address); in sspRequestCallback() 479 mRemoteDevices.addDeviceProperties(address); in sspRequestCallback() [all …]
|
D | JniCallbacks.java | 23 private RemoteDevices mRemoteDevices; field in JniCallbacks 34 mRemoteDevices = remoteDevices; in init() 39 mRemoteDevices = null; in cleanup() 55 mRemoteDevices.devicePropertyChangedCallback(address, types, val); in devicePropertyChangedCallback() 59 mRemoteDevices.deviceFoundCallback(address); in deviceFoundCallback() 71 mRemoteDevices.aclStateChangeCallback(status, address, newState, hciReason); in aclStateChangeCallback()
|
D | AdapterService.java | 244 private RemoteDevices mRemoteDevices; field in AdapterService 499 mRemoteDevices = new RemoteDevices(this, Looper.getMainLooper()); in onCreate() 500 mRemoteDevices.init(); in onCreate() 652 mRemoteDevices.reset(); in bringUpBle() 653 mAdapterProperties.init(mRemoteDevices); in bringUpBle() 656 mBondStateMachine = BondStateMachine.make(this, mAdapterProperties, mRemoteDevices); in bringUpBle() 658 mJniCallbacks.init(mBondStateMachine, mRemoteDevices); in bringUpBle() 854 if (mRemoteDevices != null) { in cleanup() 855 mRemoteDevices.cleanup(); in cleanup() 1602 DeviceProperties deviceProp = service.mRemoteDevices.getDeviceProperties(device); in cancelBondProcess() [all …]
|
D | AdapterProperties.java | 106 private RemoteDevices mRemoteDevices; field in AdapterProperties 202 mRemoteDevices = remoteDevices; in init() 243 mRemoteDevices = null; in cleanup() 593 DeviceProperties prop = mRemoteDevices.getDeviceProperties(device); in onBondStateChanged() 595 prop = mRemoteDevices.addDeviceProperties(addrByte); in onBondStateChanged()
|