/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | LogcatParser.java | 108 public LogcatData(Integer pid, Integer tid, Date time, String level, String tag, in LogcatData() argument 113 mLevel = level; in LogcatData() 226 String level = null; in parseLine() local 236 level = m.group(4); in parseLine() 241 level = tm.group(2); in parseLine() 255 if ("I".equals(level) && "ShutdownThread".equals(tag) && in parseLine() 278 if ("E".equals(level) && "ActivityManager".equals(tag)) { in parseLine() 279 String key = encodeLine(pid, tid, level, tag); in parseLine() 282 data = new LogcatData(pid, tid, time, level, tag, mPreambleUtil.getLastTail(), in parseLine() 295 if (anyNativeCrashTagMatches(level, tag)) { in parseLine() [all …]
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 1317 my $level = 0; 1346 if ($level == 0 && substr($blk, $off) =~ /^.\s*#\s*define/) { 1347 $level++; 1359 push(@stack, [ $type, $level ]); 1361 ($type, $level) = @{$stack[$#stack - 1]}; 1363 ($type, $level) = @{pop(@stack)}; 1368 if ($level == 0 && $c eq ';') { 1373 if ($level == 0 && $coff_set == 0 && 1384 $level++; 1388 $level--; [all …]
|
D | cpplint.py | 892 def SetVerboseLevel(self, level): argument 895 self.verbose_level = level 987 def _SetVerboseLevel(level): argument 989 return _cpplint_state.SetVerboseLevel(level) 992 def _SetCountingStyle(level): argument 994 _cpplint_state.SetCountingStyle(level)
|
/tools/test/connectivity/acts/framework/acts/libs/ |
D | version_selector.py | 134 return self.list[index].level 137 def __init__(self, level, func, direction): argument 146 self.level = level 176 min_boundary = entry.level 178 ranges.append(str([entry.level, entry.level])) 180 ranges.append(str([min_boundary, entry.level])) 202 if not (min_version <= max_version < right_neighbor.level and 233 level = self.get_version(self.instance, *args, **kwargs) 235 level = self.get_version(*args, **kwargs) 236 if not isinstance(level, numbers.Number): [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/android_lib/ |
D | logcat_test.py | 64 level = logcat._get_log_level(BASE_TIMESTAMP + 'V') 66 self.assertEqual(level, logging.DEBUG) 70 level = logcat._get_log_level(BASE_TIMESTAMP + 'D') 72 self.assertEqual(level, logging.DEBUG) 76 level = logcat._get_log_level(BASE_TIMESTAMP + 'I') 78 self.assertEqual(level, logging.INFO) 82 level = logcat._get_log_level(BASE_TIMESTAMP + 'W') 84 self.assertEqual(level, logging.WARNING) 88 level = logcat._get_log_level(BASE_TIMESTAMP + 'E') 90 self.assertEqual(level, logging.ERROR) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 479 val level = run { in <lambda>() constant 488 if (level is Int) { in <lambda>() 489 addApiLevelDocumentation(level, item) in <lambda>() 763 private fun addApiLevelDocumentation(level: Int, item: Item) { in <lambda>() 764 if (level > 0) { in <lambda>() 770 val code: String = if (currentCodeName != null && level > options.currentApiLevel) { in <lambda>() 773 level.toString() in <lambda>() 778 … val description = if (code == currentCodeName) currentCodeName else describeApiLevel(level) in <lambda>() 796 private fun addDeprecatedDocumentation(level: Int, item: Item) { in <lambda>() 797 if (level > 0) { in <lambda>() [all …]
|
D | ApiAnalyzer.kt | 716 val level = codebase.getPermissionLevel(perm) in <lambda>() constant 717 if (level == null) { in <lambda>() 729 if (level.contains("normal") || level.contains("dangerous") || in <lambda>() 730 level.contains("ephemeral") in <lambda>()
|
D | Options.kt | 1336 val level = LanguageLevel.parse(value) in <lambda>() constant 1338 … level == null -> throw DriverException("$value is not a valid or supported Java language level") in <lambda>() 1339 … level.isLessThan(LanguageLevel.JDK_1_7) -> throw DriverException("$arg must be at least 1.7") in <lambda>() 1340 else -> javaLanguageLevel = level in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/libs/logging/ |
D | log_stream.py | 282 for level in LogStyles.LOG_LEVELS: 283 if log_style & level: 284 levels_dict[level] = levels_dict.get(level, LogStyles.NONE) 289 if log_location & levels_dict[level]: 293 (log_location, level)) 295 levels_dict[level] |= log_location 298 locations = levels_dict[level] & LogStyles.ALL_FILE_LOGS 305 'TESTCASE_LOG is set for log level %s.' % level) 354 def __create_handler(self, creator, level, location): argument 367 base_name = '%s_%s.txt' % (self.name, LogStyles.LEVEL_NAMES[level]) [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | smbv100.py | 129 def set_rfout_level(self, level): argument 140 if not isinstance(level, numbers.Number): 144 self._send(':SOUR:POW:LEV:IMM:AMPL ' + str(level)) 146 infmsg = 'set SMBV100 RF level to {} dBm'.format(level) 158 level = float(resp.split(';')[0]) 160 infmsg = 'get SMBV100 RF level as {} dBm'.format(level) 163 return level
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/ |
D | DeflateExecutionCompressor.java | 38 private final int level; field in DeflateExecutionCompressor 56 int level) { in DeflateExecutionCompressor() argument 59 this.level = level; in DeflateExecutionCompressor() 68 Deflater deflater = new Deflater(level, true); in immediateCompress()
|
/tools/test/connectivity/acts/framework/acts/ |
D | tracelogger.py | 29 def _get_trace_info(level=1, offset=2): argument 33 for i in range(level): 45 trace_info = TraceLogger._get_trace_info(level=trace_level, offset=3) 80 level = logging.getLevelName(level_name) 81 return lambda *args, **kwargs: self._logger.log(level, *args, **kwargs)
|
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 230 level = common_util.logging.DEBUG 233 level=level, format=log_format, datefmt=datefmt)) 235 level = common_util.logging.INFO 238 level=level, format=log_format, datefmt=datefmt))
|
D | common_util.py | 453 level = logging.DEBUG if verbose else logging.INFO 456 logging.basicConfig(level=level, format=log_format, datefmt=datefmt)
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | BatteryRechargeDeviceRecovery.java | 38 Integer level = device.getBattery(); in shouldSkip() local 40 if (level == null || level == 0 || level >= mMinBattery) { in shouldSkip()
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 441 def set_output_level(self, level, sg=1): argument 452 cmd = "SOUR{}:POW {}".format(sg, level) 647 def set_arb_level_aorb(self, a_or_b, level, sg=1): argument 659 cmd = "SOUR{}:RAD:ARB:WM{}:POW {}".format(sg, a_or_b, level)
|
D | md8475a.py | 1846 def output_level(self, level): argument 1856 while float(level) != float(self.output_level): 1859 cmd = "OLVL {},{}".format(level, self._bts_number) 1878 def input_level(self, level): argument 1888 while float(level) != float(self.input_level): 1891 cmd = "RFLVL {},{}".format(level, self._bts_number)
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 193 Integer level = device.getBattery().get(); in checkMinBatteryLevel() local 194 if (level == null) { in checkMinBatteryLevel() 201 } else if (level < mRequiredMinBattery) { in checkMinBatteryLevel() 204 level, mRequiredMinBattery), device.getSerialNumber()); in checkMinBatteryLevel()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 234 Integer level = batteryFuture.get(500, TimeUnit.MILLISECONDS); in testFastboot() local 235 CLog.d("Battery level value reading is: '%s'", level); in testFastboot() 236 if (level == null) { in testFastboot()
|
/tools/metalava/ |
D | README.md | 16 * Extracting source level annotations into external annotations file (such as 17 the typedef annotations, which cannot be stored in the SDK as .class level 279 level, so it can resolve references and map them back to the original field 296 SDK data for each API level.) 308 level concepts like packages, classes and inner classes, methods, fields, and
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_utils_test.py | 397 logging.NullHandler(level=lvl) 405 any(handler.level == logging.DEBUG 408 any(handler.level in (logging.INFO, logging.ERROR)
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/ |
D | apollo_qa.proto | 58 /* data[0] = new volume level (int16 stored in uint32) 59 data[1] = new volume level in dB (int16 stored in uint32) 60 data[2] = previous volume level (int16 stored in uint32)
|
/tools/test/connectivity/acts/framework/tests/libs/logging/ |
D | log_stream_test.py | 201 self.assertEqual(log.handlers[1].level, logging.DEBUG) 286 level = _LogStream._LogStream__get_lowest_log_level( 288 self.assertEqual(level, LogStyles.LOG_DEBUG)
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ModifierList.kt | 190 fun checkLevel(level: DocLevel): Boolean { in <lambda>() 191 if (level == HIDDEN) { in <lambda>() 196 return when (level) { in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | shell_commands_lib.py | 26 def set_battery_level(self, level): argument 31 self.dut.adb.shell("dumpsys battery set level {}".format(level))
|