Searched refs:batteryLevel (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelChecker.java | 111 Integer batteryLevel = checkBatteryLevel(mTestDevice); in run() local 113 if (batteryLevel == null) { in run() 117 } else if (batteryLevel < mMaxBattery) { in run() 120 "to level %d", batteryLevel, mMaxBattery, mTestDevice.getSerialNumber(), in run() 124 CLog.d("Battery level %d is above the minimum of %d; %s is good to go.", batteryLevel, in run() 151 while (batteryLevel != null && batteryLevel < mResumeLevel) { in run() 172 } else if (newLevel < batteryLevel) { in run() 175 "%.02f minutes.", batteryLevel, newLevel, mTestDevice.getSerialNumber(), in run() 181 batteryLevel = newLevel; in run() 184 mTestDevice.getSerialNumber(), batteryLevel); in run()
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | DeviceDescriptor.java | 45 String batteryLevel) { in DeviceDescriptor() argument 47 batteryLevel, "", "", "", ""); in DeviceDescriptor() 52 String batteryLevel, String deviceClass, String macAddress, String simState, in DeviceDescriptor() argument 63 batteryLevel, in DeviceDescriptor() 80 String batteryLevel, in DeviceDescriptor() argument 94 mBatteryLevel = batteryLevel; in DeviceDescriptor()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | BatteryDischargeItem.java | 58 public BatteryDischargeInfoItem(Calendar clockTime, long elapsedTime, int batteryLevel) { in BatteryDischargeInfoItem() argument 63 setAttribute(BATTERY_LEVEL, batteryLevel); in BatteryDischargeInfoItem() 95 public void addBatteryDischargeInfo(Calendar clockTime, long elapsedTime, int batteryLevel) { in addBatteryDischargeInfo() argument 97 elapsedTime, batteryLevel)); in addBatteryDischargeInfo()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | BatteryStatsSummaryInfoParser.java | 88 final int batteryLevel = Integer.parseInt(dischargeMatcher.group(6)); in parse() local 89 if (batteryLevel == 0) { in parse() 95 previousBatteryLevel = batteryLevel; in parse() 97 } else if (!batteryDischargedFully && previousBatteryLevel != batteryLevel) { in parse() 103 (elapsedTime - previousDischargeElapsedTime), batteryLevel); in parse() local 105 previousBatteryLevel = batteryLevel; in parse()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 533 Integer batteryLevel = device.getBattery(500, TimeUnit.MILLISECONDS).get(); in logDeviceBatteryLevel() local 534 CLog.v("%s - %s - %d%%", BATT_TAG, event, batteryLevel); in logDeviceBatteryLevel() 541 batteryLevel.toString()); in logDeviceBatteryLevel()
|