/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | ManifestGenerationTest.java | 63 text = text.trim(); in elementaryManifestGeneration() 67 assertEquals("Manifest-Version: 1.0", lines[0].trim()); in elementaryManifestGeneration() 71 linesSet.add(l.trim()); in elementaryManifestGeneration() 99 text = text.trim(); in manifestGenerationOnHalfWrittenFile() 103 assertEquals("Manifest-Version: 1.0", lines[0].trim()); in manifestGenerationOnHalfWrittenFile() 107 linesSet.add(l.trim()); in manifestGenerationOnHalfWrittenFile() 137 text = text.trim(); in manifestGenerationOnExistingFile() 141 assertEquals("Manifest-Version: 1.0", lines[0].trim()); in manifestGenerationOnExistingFile() 145 linesSet.add(l.trim()); in manifestGenerationOnExistingFile()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteTestFilter.java | 100 sb.append(mAbi.trim()); in toString() 104 sb.append(mName.trim()); in toString() 108 sb.append(mTest.trim()); in toString()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | DumpsysProcStatsParser.java | 45 item.put(m.group(2).trim(), m.group(1).trim()); in parse()
|
D | TracesParser.java | 79 traces.setStack(stack.toString().trim()); in parse() 86 traces.setStack(stack.toString().trim()); in parse()
|
D | BugreportParser.java | 83 if (bugreport == null && !"".equals(line.trim())) { 92 String argString = m.group(1).trim(); 137 if (!mParsedInput && !"".equals(line.trim())) { in parse() 156 if (!mParsedInput && !"".equals(line.trim())) { in parse() 246 item.setStack("Last boot reason: " + bootreason.trim()); in commit() 255 item.setStack("Last boot reason: " + bootreason.trim()); in commit()
|
D | BatteryStatsDetailedInfoParser.java | 67 if (detailedInfo == null && !"".equals(line.trim())) { 116 if (!mParsedInput && !"".equals(line.trim())) { in parse()
|
D | ActivityServiceParser.java | 49 if (!mParsedInput && !"".equals(line.trim())) { in parse()
|
D | SystemPropsParser.java | 39 final String text = ArrayUtil.join("\n", lines).trim(); in parse()
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | audio_test_utils.py | 181 trim = numpy.array([[trim_start, trim_end]]) 182 trim = trim * fs 184 for elem in trim:
|
/tools/tradefederation/contrib/tests/src/com/android/continuous/ |
D | SmokeTestTest.java | 37 TrimListener trim = new TrimListener(mListener); in testRewrite() local 47 trim.testStarted(in); in testRewrite()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/log/ |
D | FileLoggerTest.java | 69 String expectedText1 = LogUtil.getLogFormatString(LogLevel.INFO, LOG_TAG, Text1).trim(); in testLogToLogger() 72 LogUtil.getLogFormatString(LogLevel.VERBOSE, LOG_TAG, Text2).trim(); in testLogToLogger() 75 LogUtil.getLogFormatString(LogLevel.ASSERT, LOG_TAG, Text3).trim(); in testLogToLogger() 81 String actualLogString = logFileReader.readLine().trim(); in testLogToLogger() 84 actualLogString = logFileReader.readLine().trim(); in testLogToLogger() 87 actualLogString = logFileReader.readLine().trim(); in testLogToLogger()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 166 if (!resultAggregatorMap.containsKey(metric[0].trim())) { in aggregateMetrics() 168 resultStats.add(Double.parseDouble(metric[1].trim())); in aggregateMetrics() 169 resultAggregatorMap.put(metric[0].trim(), resultStats); in aggregateMetrics() 171 resultAggregatorMap.get(metric[0].trim()).add( in aggregateMetrics() 172 Double.parseDouble(metric[1].trim())); in aggregateMetrics()
|
/tools/tradefederation/contrib/src/com/android/graphics/tests/ |
D | FlatlandTest.java | 163 String[] items = lines[i].trim().split("\\|"); in parseResult() 165 String schemaKey = String.format("%s %s", items[0].trim(), items[1].trim()); in parseResult() 170 String renderTime = items[2].trim(); in parseResult()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTestResultParser.java | 298 message = line.substring(Prefixes.START_TEST_MARKER.length()).trim(); in parse() 307 .trim(); in parse() 319 Prefixes.OK_TEST_MARKER.length()).trim(); in parse() 331 Prefixes.ALT_OK_MARKER.length()).trim(); in parse() 340 Prefixes.FAILED_TEST_MARKER.length()).trim(); in parse() 351 Prefixes.TIMEOUT_MARKER.length()).trim(); in parse() 359 message = line.substring(Prefixes.TEST_RUN_MARKER.length()).trim(); in parse() 366 message = line.substring(Prefixes.TEST_RUN_MARKER.length()).trim(); in parse() 487 identifier = identifier.substring(0, identifier.lastIndexOf(discardPortion)).trim(); in parseTestDescription()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 893 KeyguardControllerState.create(Arrays.asList(output.trim().split("\n"))); in getKeyguardState() 1217 return Integer.parseInt(commandOutput.substring(commandOutput.lastIndexOf(" ")).trim()); in getMaxNumberOfUsersSupported() 1231 return Integer.parseInt(commandOutput.substring(commandOutput.lastIndexOf(" ")).trim()); in getMaxNumberOfRunningUsersSupported() 1277 return Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()); in createUser() 1399 int userId = Integer.parseInt(output.trim()); in getCurrentUser() 1571 return getSettingInternal("", namespace.trim(), key.trim()); in getSetting() 1580 return getSettingInternal(String.format("--user %d", userId), namespace.trim(), key.trim()); in getSetting() 1597 return output.trim(); in getSettingInternal() 1606 return getAllSettingsInternal(namespace.trim()); in getAllSettings() 1619 String[] pair = line.trim().split("=", -1); in getAllSettingsInternal() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SimplePerfResult.java | 60 commandRawOutput = s.trim(); in setCommandRawOutput() 79 simplePerfRawOutput = s.trim(); in setSimplePerfRawOutput()
|
D | BluetoothUtils.java | 113 line = line.trim(); in getBluetoothMac() 162 Matcher m = BONDED_MAC_HEADER.matcher(line.trim()); in parseBondedDeviceInstrumentationOutput() 321 return settingItems[1].trim(); in getBtSnoopLogFilePath()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/ |
D | NativeBridgeModuleController.java | 43 if ("0".equals(bridge.trim())) { in shouldRun() 50 String deviceArch = AbiUtils.getBaseArchForAbi(primaryAbiString.trim()); in shouldRun()
|
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/ |
D | YamlTestDependencies.java | 49 mApkDependencies.add(apk.trim()); in YamlTestDependencies() 54 mFileDependencies.add(apk.trim()); in YamlTestDependencies()
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
D | LogTailUtil.java | 106 return ArrayUtil.join("\n", tail).trim(); in getLastTail() 136 return ArrayUtil.join("\n", tail).trim(); in getIdTail()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | VideoMultimeterTest.java | 308 Matcher m = p.matcher(numFrames.trim()); in extractNumberOfCollectedDataPoints() 322 String filename = videoInfo[0].trim(); in runMultimeterTest() 323 String keyPrefix = videoInfo[1].trim(); in runMultimeterTest() 324 float fps = Float.parseFloat(videoInfo[2].trim()); in runMultimeterTest() 325 long duration = Long.parseLong(videoInfo[3].trim()); in runMultimeterTest() 382 m = p.matcher(lines[i].trim()); in parseResult() 452 m = pLip.matcher(lines[i].trim()); in parseResult()
|
/tools/loganalysis/src/com/android/loganalysis/rule/ |
D | ProcessUsageRule.java | 113 usageAnalysis.put(ALARM_USAGE_ANALYSIS, alarmAnalysis.toString().trim()); in getAnalysis() 114 usageAnalysis.put(SENSOR_USAGE_ANALYSIS, sensorAnalysis.toString().trim()); in getAnalysis()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | RunUtilFuncTest.java | 107 assertTrue(result.getStdout().trim().equals("hello")); in testRunTimedCmd_repeatedOutput() 173 assertEquals("foo", result.getStdout().trim()); in testUnsetEnvVariable() 180 assertEquals("", result.getStdout().trim()); in testUnsetEnvVariable()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | AbiUtils.java | 259 String trimmedAbi = abi.trim(); in parseAbiList() 276 String trimmedAbi = abi.trim(); in parseAbiListFromProperty() 287 String mainAbi = commandResult.getStdout().trim(); in getHostAbi()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | HermeticMemoryTest.java | 215 String dataSplit[] = line[lineCount].trim().split(SEPARATOR); in parseDumpsysInfo() 242 String line = lineSplit[lineCount].replace(":", "").trim(); in parseProcInfo() 299 String procDetails[] = processInfo[0].trim().split(SEPARATOR); in calculateFreeMem() 302 + Integer.parseInt(procDetails[2].trim()) in calculateFreeMem()
|