/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() 229 String level = null; in parseLine() local 239 level = m.group(4); in parseLine() 244 level = tm.group(2); in parseLine() 258 if ("I".equals(level) && "ShutdownThread".equals(tag) && in parseLine() 281 if ("E".equals(level) && "ActivityManager".equals(tag)) { in parseLine() 282 String key = encodeLine(pid, tid, level, tag); in parseLine() 285 data = new LogcatData(pid, tid, time, level, tag, mPreambleUtil.getLastTail(), in parseLine() 298 if (anyNativeCrashTagMatches(level, tag)) { in parseLine() [all …]
|
/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/netsim/rust/common/src/util/ |
D | netsim_logger.rs | 38 let level = level_to_string(record.level()); in init() localVariable 42 level, in init() 60 let level = level_to_string(record.level()); in init_for_test() localVariable 62 format!("{} {} \t| netsim-test: {}", level, log_current_time(), record.args()); in init_for_test() 87 fn level_to_string(level: Level) -> &'static str { in level_to_string() 88 match level { in level_to_string()
|
/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/netsim/src/util/ |
D | log.cc | 48 std::string level; in BtsLogDefault() local 51 level = "E"; in BtsLogDefault() 54 level = "W"; in BtsLogDefault() 57 level = "I"; in BtsLogDefault() 60 level = "D"; in BtsLogDefault() 63 fprintf(stderr, "netsimd %s %s %s:%d - %s\n", level.c_str(), prefix, in BtsLogDefault()
|
/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/repohooks/tools/ |
D | checkpatch.pl | 197 my $level = $types{$type}; 198 if ($level eq "ERROR") { 200 } elsif ($level eq "WARN") { 202 } elsif ($level eq "CHK") { 1642 my $level = 0; 1671 if ($level == 0 && substr($blk, $off) =~ /^.\s*#\s*define/) { 1672 $level++; 1684 push(@stack, [ $type, $level ]); 1686 ($type, $level) = @{$stack[$#stack - 1]}; 1688 ($type, $level) = @{pop(@stack)}; [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/performance/ |
D | BtInterferenceStaticTest.py | 47 for level in list( 50 arg_set = [(level, channels)] 56 def create_test_name(self, level, channels): argument 61 'channel_{}'.format(level, str_channel_test)) 64 def bt_range_with_static_wifi_interference(self, level, channels): argument 72 inject_static_wifi_interference(self.wifi_int_pairs, level, channels)
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | BatteryRechargeDeviceRecovery.java | 43 Integer level = device.getBattery(); in shouldSkip() local 45 if (level == null || level == 0 || level >= mMinBattery) { in shouldSkip()
|
/tools/netsim/rust/cli/ |
D | netsim-cli.md | 50 * `--tx-power-level <LEVEL>`: Set the beacon's transmission power level 61 …* `--include-tx-power-level`: Set whether the transmit power level should be included in the adver… 78 … * `--tx-power-level <LEVEL>`: Change the beacon's transmission power level 89 …* `--include-tx-power-level`: Change whether the transmit power level should be included in the ad…
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/ |
D | DocAnalyzer.kt | 515 val level = run { in <lambda>() constant 526 if (level is Int) { in <lambda>() 527 addApiLevelDocumentation(level, item) in <lambda>() 758 private fun addApiLevelDocumentation(level: Int, item: Item) { in <lambda>() 759 if (level > 0) { in <lambda>() 768 level > options.currentApiLevel in <lambda>() 778 if (currentCodeName != null && level > options.currentApiLevel) { in <lambda>() 781 level.toString() in <lambda>() 819 private fun addDeprecatedDocumentation(level: Int, item: Item) { in <lambda>() 820 if (level > 0) { in <lambda>() [all …]
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiEnvironmentManager.kt | 176 val level = LanguageLevel.parse(value) in javaLanguageLevelFromString() constant 178 level == null -> in javaLanguageLevelFromString() 182 level.isLessThan(LanguageLevel.JDK_1_7) -> in javaLanguageLevelFromString() 184 else -> return level in javaLanguageLevelFromString()
|
/tools/test/connectivity/acts/framework/acts/ |
D | tracelogger.py | 26 def _get_trace_info(level=1, offset=2): argument 30 for i in range(level): 42 trace_info = TraceLogger._get_trace_info(level=trace_level, offset=3)
|
/tools/netsim/proto/netsim/ |
D | model.proto | 121 // Advertise using the lowest transmission (TX) power level. Low 125 // Advertise using low TX power level. This is the default 127 // Advertise using medium TX power level 129 // Advertise using high TX power level. This corresponds to largest 142 // Transmission power level. 169 // Whether the transmission power level should be included in the
|
/tools/security/fuzzing/orphans/android_logger/ |
D | android_logger_fuzzer.rs | 100 for (name, level) in &self.filters { in get_filter() 101 builder.filter(name.as_deref(), level.into()); in get_filter() 140 .level(record_input.log_level.into())
|
/tools/test/connectivity/acts_tests/acts_contrib/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))
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | mg3710a.py | 438 def set_output_level(self, level, sg=1): argument 449 cmd = "SOUR{}:POW {}".format(sg, level) 644 def set_arb_level_aorb(self, a_or_b, level, sg=1): argument 656 cmd = "SOUR{}:RAD:ARB:WM{}:POW {}".format(sg, a_or_b, level)
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiJsonPrinter.kt | 59 private fun nameForVersion(level: Int) = apiVersionNames[level - 1]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceBatteryLevelCheckerTest.java | 285 private void expectBattLevel(Integer level) throws Exception { in expectBattLevel() argument 286 if (level == null) { in expectBattLevel() 287 level = -99; in expectBattLevel() 289 mBatteryLevel.set(level); in expectBattLevel()
|
/tools/asuite/atest/bazel/resources/rules/ |
D | tradefed_test.sh.template | 33 --log-level-display VERBOSE \ 34 --log-level VERBOSE \
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | tako_trace_logger.py | 31 level = logging.getLevelName(level_name) 32 return lambda *args, **kwargs: self._logger.log(level, *args, **kwargs)
|
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 231 level = common_util.logging.DEBUG 234 level=level, format=log_format, datefmt=datefmt)) 236 level = common_util.logging.INFO 239 level=level, format=log_format, datefmt=datefmt))
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WaitDeviceRecovery.java | 200 Integer level = device.getBattery().get(); in checkMinBatteryLevel() local 201 if (level == null) { in checkMinBatteryLevel() 208 } else if (level < mRequiredMinBattery) { in checkMinBatteryLevel() 211 level, mRequiredMinBattery), device.getSerialNumber()); in checkMinBatteryLevel()
|