Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java41 private RemoteDevices mRemoteDevices;
55 mRemoteDevices = new RemoteDevices(mAdapterService, mHandlerThread.getLooper()); in setUp()
365 Assert.assertEquals(42, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 8))); in testGetBatteryLevelFromXEventVsc()
367 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(10, 11))); in testGetBatteryLevelFromXEventVsc()
369 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(1, 1))); in testGetBatteryLevelFromXEventVsc()
371 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 1))); in testGetBatteryLevelFromXEventVsc()
373 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, 1))); in testGetBatteryLevelFromXEventVsc()
375 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, -1))); in testGetBatteryLevelFromXEventVsc()
380 Assert.assertEquals(10, RemoteDevices.getBatteryLevelFromAppleBatteryVsc(new Object[]{ in testGetBatteryLevelFromAppleBatteryVsc()
383 Assert.assertEquals(100, RemoteDevices.getBatteryLevelFromAppleBatteryVsc(new Object[]{ in testGetBatteryLevelFromAppleBatteryVsc()
[all …]
DBondStateMachineTest.java59 private RemoteDevices mRemoteDevices;
62 private RemoteDevices.DeviceProperties mDeviceProperties;
75 mRemoteDevices = new RemoteDevices(mAdapterService, mHandlerThread.getLooper()); in setUp()
95 RemoteDevices.DeviceProperties deviceProperties1, deviceProperties2; in testCreateBondAfterRemoveBond()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DJniCallbacks.java21 private RemoteDevices mRemoteDevices;
31 void init(BondStateMachine bondStateMachine, RemoteDevices remoteDevices) { in init()
DBondStateMachine.java34 import com.android.bluetooth.btservice.RemoteDevices.DeviceProperties;
73 private RemoteDevices mRemoteDevices;
84 RemoteDevices remoteDevices) { in BondStateMachine()
96 RemoteDevices remoteDevices) { in make()
DAdapterProperties.java51 import com.android.bluetooth.btservice.RemoteDevices.DeviceProperties;
99 private RemoteDevices mRemoteDevices;
187 public void init(RemoteDevices remoteDevices) { in init()
DRemoteDevices.java48 final class RemoteDevices { class
112 RemoteDevices(AdapterService service, Looper looper) { in RemoteDevices() method in RemoteDevices
DAdapterService.java84 import com.android.bluetooth.btservice.RemoteDevices.DeviceProperties;
198 private RemoteDevices mRemoteDevices;
433 mRemoteDevices = new RemoteDevices(this, Looper.getMainLooper()); in onCreate()