/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/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/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/test/connectivity/acts/framework/acts/metrics/loggers/ |
D | usage_metadata_logger.py | 102 for usage in _usage_map: 103 method_count = data.usage.add() 104 method_count.test_context = usage.test_context 105 method_count.method_identifier = usage.method_name 106 method_count.count = _usage_map[usage]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_data_utils.py | 596 usage = round((usage_level - usage_level_at_start)/1024/1024, 2) 597 if usage < pass_threshold_in_mb: 600 usage, pass_threshold_in_mb)) 603 ad.log.info("Usage of browsing: %s MB" % usage) 607 usage = "unknown" 608 ad.log.info("Usage of browsing: %s MB" % usage)
|
/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/metalava/src/main/java/com/android/tools/metalava/ |
D | Options.kt | 1573 val usage = getUsage(includeHeader = false, colorize = color) in <lambda>() constant in com.android.tools.metalava.Options 1574 throw DriverException(stderr = "Invalid argument $arg\n\n$usage") in <lambda>() 2178 val usage = StringWriter() in <lambda>() constant 2179 val printWriter = PrintWriter(usage) in <lambda>() 2180 usage(printWriter, includeHeader, colorize) in <lambda>() 2181 return usage.toString() in <lambda>() 2184 private fun usage(out: PrintWriter, includeHeader: Boolean = true, colorize: Boolean = color) { in <lambda>() method in com.android.tools.metalava.Options
|
D | ApiAnalyzer.kt | 1062 usage: String in <lambda>() 1076 …(cl.isHiddenOrRemoved()) "hidden" else "not public"} but was referenced ($usage) from public ${fro… in <lambda>()
|
/tools/acloud/public/ |
D | acloud_main.py | 163 usage = ",".join([ 174 usage="acloud {" + usage + "} ...") 178 subparsers = parser.add_subparsers(metavar="{" + usage + "}")
|
/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";;
|
/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/tradefederation/core/atest/tools/ |
D | updatedb_darwin.sh | 21 function usage() { function 64 *) usage; exit 0;;
|
/tools/asuite/atest/tools/ |
D | updatedb_darwin.sh | 21 function usage() { function 64 *) usage; exit 0;;
|
/tools/test/connectivity/acts/framework/tests/metrics/loggers/ |
D | usage_metadata_logger_test.py | 141 method_invocation = usage_metadata_proto.usage.add() 145 method_invocation = usage_metadata_proto.usage.add()
|
/tools/apksig/ |
D | README.md | 45 `apksigner sign` for usage information. 47 supported by the APK. Run `apksigner verify` for usage information.
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help.txt | 26 help Show this usage page and exit
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/ |
D | acts_usage_metadata.proto | 25 repeated ActsMethodUsageMetadata usage = 1; field
|
/tools/currysrc/scripts/ |
D | repackage-common.sh | 110 UNSUPPORTED_APP_USAGE_FILE=${PROJECT_DIR}/srcgen/unsupported-app-usage.json
|
/tools/tradefederation/core/ |
D | tradefed_win.bat | 92 :: usage: call:commandResult "command" result
|