/tools/loganalysis/src/com/android/loganalysis/rule/ |
D | ProcessUsageRule.java | 58 for (ProcessUsageInfoItem usage : processUsageItem.getProcessUsage()) { in applyRule() 59 if (usage.getAlarmWakeups() > 0) { in applyRule() 60 addAlarmAnalysis(usage); in applyRule() 62 if (usage.getSensorUsage() != null && usage.getSensorUsage().size() > 0) { in applyRule() 63 addSensorAnalysis(usage); in applyRule() 69 private void addAlarmAnalysis(ProcessUsageInfoItem usage) { in addAlarmAnalysis() argument 70 final long alarmsPerMs = getTimeOnBattery()/usage.getAlarmWakeups(); in addAlarmAnalysis() 72 mOffendingAlarmList.add(usage); in addAlarmAnalysis() 76 private void addSensorAnalysis(ProcessUsageInfoItem usage) { in addSensorAnalysis() argument 79 for (SensorInfoItem sensorInfo : usage.getSensorUsage()) { in addSensorAnalysis() [all …]
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | BatteryUsageParserTest.java | 45 BatteryUsageItem usage = new BatteryUsageParser().parse(inputBlock); in testBatteryUsageParser() local 47 assertEquals(3220, usage.getBatteryCapacity()); in testBatteryUsageParser() 48 assertEquals(7, usage.getBatteryUsage().size()); in testBatteryUsageParser() 50 assertEquals("Screen", usage.getBatteryUsage().get(0).getName()); in testBatteryUsageParser() 51 assertEquals(8.93, usage.getBatteryUsage().get(0).getUsage(), EPSILON); in testBatteryUsageParser() 52 assertEquals("Uid u0a16", usage.getBatteryUsage().get(6).getName()); in testBatteryUsageParser() 53 assertEquals(0.0441, usage.getBatteryUsage().get(6).getUsage()); in testBatteryUsageParser()
|
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
D | BatteryUsageItemTest.java | 44 JSONArray usage = output.getJSONArray(BatteryUsageItem.BATTERY_USAGE); in testToJson() local 46 assertEquals(2, usage.length()); in testToJson() 47 assertTrue(usage.getJSONObject(0).has(BatteryUsageInfoItem.NAME)); in testToJson() 48 assertTrue(usage.getJSONObject(0).has(BatteryUsageInfoItem.USAGE)); in testToJson() 50 assertTrue(usage.getJSONObject(1).has(BatteryUsageInfoItem.NAME)); in testToJson() 51 assertTrue(usage.getJSONObject(1).has(BatteryUsageInfoItem.USAGE)); in testToJson()
|
/tools/test/graphicsbenchmark/dist/ |
D | run_gamecore.sh | 18 usage() { function 31 OPTS=`getopt -o ah -l all,help,apk-info:,apk-dir: -- "$@"` || usage 46 usage;; 51 usage
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | BatteryUsageItem.java | 58 public BatteryUsageInfoItem(String name, double usage) { in BatteryUsageInfoItem() argument 61 setAttribute(USAGE, usage); in BatteryUsageInfoItem() 85 public void addBatteryUsage(String name, double usage) { in addBatteryUsage() argument 86 mBatteryUsage.add(new BatteryUsageInfoItem(name, usage)); in addBatteryUsage() 127 for (BatteryUsageInfoItem usage : mBatteryUsage) { in toJson() 128 usageInfo.put(usage.toJson()); in toJson()
|
D | AnrItem.java | 82 public void setCpuUsage(CpuUsageCategory category, Double usage) { in setCpuUsage() argument 83 setAttribute(category.toString(), usage); in setCpuUsage() local 96 public void setLoad(LoadCategory category, Double usage) { in setLoad() argument 97 setAttribute(category.toString(), usage); in setLoad() local
|
D | ProcessUsageItem.java | 135 for (SensorInfoItem usage : getSensorUsage()) { in toJson() 136 sensorUsage.put(usage.toJson()); in toJson() 189 for (ProcessUsageInfoItem usage : mProcessUsage) { in toJson() 190 processUsage.put(usage.toJson()); in toJson()
|
/tools/loganalysis/tests/src/com/android/loganalysis/rule/ |
D | ProcessUsageRuleTest.java | 70 ProcessUsageRule usage = new ProcessUsageRule(mBugreport); in testAlarmAnalysis() local 71 usage.applyRule(); in testAlarmAnalysis() 72 JSONObject analysis = usage.getAnalysis(); in testAlarmAnalysis() 99 ProcessUsageRule usage = new ProcessUsageRule(mBugreport); in testSensorAnalysis() local 100 usage.applyRule(); in testSensorAnalysis() 101 JSONObject analysis = usage.getAnalysis(); in testSensorAnalysis()
|
/tools/repohooks/tools/ |
D | cpplint.py-update | 21 usage() { function 40 -h|--help) usage;; 42 *) usage "Unknown option: $1";;
|
D | checkpatch.pl-update | 21 usage() { function 75 -h|--help) usage;; 77 -*) usage "Unknown option: $1";;
|
D | spelling.txt | 1210 usege||usage
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | AnrParser.java | 99 Double usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse() local 100 anr.setCpuUsage(AnrItem.CpuUsageCategory.USER, usage); in parse() 103 usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse() 104 anr.setCpuUsage(AnrItem.CpuUsageCategory.KERNEL, usage); in parse() 107 usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse() 108 anr.setCpuUsage(AnrItem.CpuUsageCategory.IOWAIT, usage); in parse()
|
/tools/asuite/atest/tools/ |
D | updatedb_darwin.sh | 21 function usage() { function 64 *) usage; exit 0;;
|
/tools/metalava/ |
D | .gitignore | 8 /.idea/usage.statistics.xml
|
/tools/acloud/public/ |
D | acloud_main.py | 147 usage = ",".join([ 158 usage="acloud {" + usage + "} ...") 159 subparsers = parser.add_subparsers(metavar="{" + usage + "}")
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help.txt | 26 help Show this usage page and exit
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationContext.java | 349 Map<String, Long> usage = TfObjectTracker.getUsage(); in logInvocationMetrics() local 350 if (!usage.isEmpty()) { in logInvocationMetrics() 352 TfObjectTracker.TF_OBJECTS_TRACKING_KEY, Joiner.on(",").join(usage.entrySet())); in logInvocationMetrics()
|
/tools/apksig/ |
D | README.md | 45 `apksigner sign` for usage information. 47 supported by the APK. Run `apksigner verify` for usage information.
|
/tools/ndkports/ |
D | .gitignore | 22 .idea/**/usage.statistics.xml
|
/tools/currysrc/scripts/ |
D | repackage-common.sh | 109 UNSUPPORTED_APP_USAGE_FILE=${PROJECT_DIR}/srcgen/unsupported-app-usage.json
|
/tools/tradefederation/core/ |
D | tradefed_win.bat | 92 :: usage: call:commandResult "command" result
|
/tools/treble/build/sandbox/ |
D | nsjail.cfg | 14 # Limits memory usage
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 109 usage=('aidegen [module_name1 module_name2... '
|
/tools/carrier_settings/proto/ |
D | carrier_settings.proto | 204 // Google's internal usage.
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 91 usage='aidegen_functional_test [-c | -u | -b | -a] -v -r')
|