Searched refs:getBatteryLevelFromXEventVsc (Results 1 – 2 of 2) sorted by relevance
473 Assert.assertEquals(42, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 8))); in testGetBatteryLevelFromXEventVsc()475 100, RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(10, 11))); in testGetBatteryLevelFromXEventVsc()478 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(1, 1))); in testGetBatteryLevelFromXEventVsc()481 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(3, 1))); in testGetBatteryLevelFromXEventVsc()484 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, 1))); in testGetBatteryLevelFromXEventVsc()487 RemoteDevices.getBatteryLevelFromXEventVsc(getXEventArray(-1, -1))); in testGetBatteryLevelFromXEventVsc()
1479 batteryPercent = getBatteryLevelFromXEventVsc(args); in onVendorSpecificHeadsetEvent()1558 static int getBatteryLevelFromXEventVsc(Object[] args) { in getBatteryLevelFromXEventVsc() method in RemoteDevices