/tools/loganalysis/src/com/android/loganalysis/item/ |
D | AnrItem.java | 55 CpuUsageCategory.TOTAL.toString(), 56 CpuUsageCategory.USER.toString(), 57 CpuUsageCategory.KERNEL.toString(), 58 CpuUsageCategory.IOWAIT.toString(), 59 LoadCategory.LOAD_1.toString(), 60 LoadCategory.LOAD_5.toString(), 61 LoadCategory.LOAD_15.toString(), 76 return (Double) getAttribute(category.toString()); in getCpuUsage() 83 setAttribute(category.toString(), usage); in setCpuUsage() 90 return (Double) getAttribute(category.toString()); in getLoad() [all …]
|
D | MonkeyLogItem.java | 79 DroppedCategory.KEYS.toString(), 80 DroppedCategory.POINTERS.toString(), 81 DroppedCategory.TRACKBALLS.toString(), 82 DroppedCategory.FLIPS.toString(), 83 DroppedCategory.ROTATIONS.toString())); 323 return (Integer) getAttribute(category.toString()); in getDroppedCount() 330 setAttribute(category.toString(), count); in setDroppedCount()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/ |
D | SystraceExtractorTest.kt | 37 assertEquals("one", result[0].toString()) in <lambda>() 45 assertEquals("first", result[0].toString()) in <lambda>() 46 assertEquals("second", result[1].toString()) in <lambda>() 47 assertEquals("third", result[2].toString()) in <lambda>() 53 .joinToString(separator = "").asIterable().map { it.toString() } in <lambda>() 56 assertEquals("1", result[0].toString()) in <lambda>() 57 assertEquals("2", result[1].toString()) in <lambda>() 58 assertEquals("3", result[2].toString()) in <lambda>() 59 assertEquals("4", result[3].toString()) in <lambda>() 60 assertEquals("5", result[4].toString()) in <lambda>() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParameterItemTest.kt | 28 assertThat(bounds(null).toString()).isEqualTo("[]") in testTypeParameterNames() 29 assertThat(bounds("").toString()).isEqualTo("[]") in testTypeParameterNames() 30 assertThat(bounds("X").toString()).isEqualTo("[]") in testTypeParameterNames() 31 assertThat(bounds("DEF extends T").toString()).isEqualTo("[T]") in testTypeParameterNames() 32 assertThat(bounds("T extends java.lang.Comparable<? super T>").toString()) in testTypeParameterNames() 34 assertThat(bounds("T extends java.util.List<Number> & java.util.RandomAccess").toString()) in testTypeParameterNames() 55 assertThat(bounds("D", method).toString()).isEqualTo("[androidx.navigation.NavDestination]") in testTypeParameterNames()
|
D | TextTypeParameterListTest.kt | 25 … Truth.assertThat(TextTypeParameterList.typeParameterStrings(null).toString()).isEqualTo("[]") in testTypeParameterStrings() 26 Truth.assertThat(TextTypeParameterList.typeParameterStrings("").toString()).isEqualTo("[]") in testTypeParameterStrings() 27 … Truth.assertThat(TextTypeParameterList.typeParameterStrings("<X>").toString()).isEqualTo("[X]") in testTypeParameterStrings() 28 … Truth.assertThat(TextTypeParameterList.typeParameterStrings("<ABC,DEF extends T>").toString()) in testTypeParameterStrings() 30 …xtTypeParameterList.typeParameterStrings("<T extends java.lang.Comparable<? super T>>").toString()) in testTypeParameterStrings()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | ConsoleResultReporterTest.java | 56 Truth.assertThat(mOutput.toString()).contains("FooTest#testFoo"); in testPassed() 63 Truth.assertThat(mOutput.toString()).hasLength(0); in testPassed_suppressedPassed() 72 Truth.assertThat(mOutput.toString()).contains("FooTest#testFoo"); in testFailed() 73 Truth.assertThat(mOutput.toString()).contains("this is a trace"); in testFailed() 83 Truth.assertThat(mOutput.toString()).contains("FooTest#testFoo"); in testFailed_suppressPassed() 84 Truth.assertThat(mOutput.toString()).contains("this is a trace"); in testFailed_suppressPassed() 91 Truth.assertThat(mOutput.toString()).contains("1 Tests [1 Passed]"); in testSummary() 100 Truth.assertThat(mOutput.toString()).contains("runName: metricKey=metricValue"); in testRunMetrics() 107 Truth.assertThat(mOutput.toString()).doesNotContain("runName"); in testRunMetrics_empty()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/logger/ |
D | InvocationMetricLogger.java | 62 public String toString() { in toString() method in InvocationMetricLogger.InvocationMetricKey 88 String existingVal = getInvocationMetrics().get(key.toString()); in addInvocationMetrics() 96 key.toString(), existingVal); in addInvocationMetrics() 101 addInvocationMetrics(key.toString(), Long.toString(value)); in addInvocationMetrics() 112 String existingVal = getInvocationMetrics().get(key.toString()); in addInvocationMetrics() 117 addInvocationMetrics(key.toString(), value); in addInvocationMetrics()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtilTest.java | 234 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 254 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 285 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 304 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 323 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 342 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartipUnzip() 395 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartialUnzipWithUseZip64() 415 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartialUnzipWithUseZip64() 446 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartialUnzipWithUseZip64() 465 targetFile = new File(Paths.get(tmpDir.toString(), zipEntry.getFileName()).toString()); in testPartialUnzipWithUseZip64() [all …]
|
D | StreamUtilTest.java | 183 assertEquals(text, baos.toString()); in testCopyStreams() 197 ByteArrayInputStream bais = new ByteArrayInputStream(builder.toString().getBytes()); in testCopyStreams_partialSuccess() 203 assertEquals(builder.toString().substring(1024, 21 * 1024), baos.toString()); in testCopyStreams_partialSuccess() 235 assertEquals(text, baos.toString()); in testCopyStreamToWriter() 251 assertEquals(text, outStream.toString()); in testCopyFileToStream() 273 return sb.toString(); in getLargeText()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessEventHelper.java | 106 public String toString() { in toString() method in SubprocessEventHelper.TestRunStartedEventInfo 124 return tags.toString(); in toString() 194 public String toString() { in toString() method in SubprocessEventHelper.TestRunFailedEventInfo 213 return tags.toString(); in toString() 236 mRunMetrics.put(key, jsonObject.get(key).toString()); in TestRunEndedEventInfo() 241 public String toString() { in toString() method in SubprocessEventHelper.TestRunEndedEventInfo 255 return tags.toString(); in toString() 337 public String toString() { in toString() method in SubprocessEventHelper.InvocationFailedEventInfo 354 tags.put(CAUSE_KEY, sw.toString()); in toString() 359 return tags.toString(); in toString() [all …]
|
D | QuotationAwareTokenizer.java | 86 log(String.format("Finished token '%s'", token.toString()), logging); in tokenizeLine() 87 tokens.add(token.toString()); in tokenizeLine() 110 log(String.format("Finished final token '%s'", token.toString()), logging); in tokenizeLine() 111 tokens.add(token.toString()); in tokenizeLine() 169 return sb.toString(); in combineTokens()
|
D | RegexTrie.java | 88 return mPattern.toString().equals(otherPat.toString()); in equals() 93 return mPattern.toString().hashCode(); in hashCode() 97 public String toString() { in toString() method in RegexTrie.CompPattern 98 return String.format("CP(%s)", mPattern.toString()); in toString() 289 public String toString() { in toString() method in RegexTrie
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceLineTest.kt | 38 assertEquals("sched_switch", line.function.toString()) in <lambda>() 54 assertEquals("sched_blocked_reason", line.function.toString()) in <lambda>() 71 assertEquals("sched_switch", line.function.toString()) in <lambda>() 87 assertEquals("sched_switch", line.function.toString()) in <lambda>() 101 assertEquals("sched_wakeup", line.function.toString()) in <lambda>() 116 assertEquals("sched_wakeup", line.function.toString()) in <lambda>() 131 assertEquals("tracing_mark_write", line.function.toString()) in <lambda>()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | MultiFailureDescription.java | 79 return toString(); in getErrorMessage() 112 public String toString() { in toString() method in MultiFailureDescription 115 return mFailures.get(0).toString(); in toString() 120 sb.append(String.format("\n %s", f.toString())); in toString() 122 return sb.toString(); in toString()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | ExecutionFiles.java | 74 return mFiles.put(key.toString(), value); in put() 88 File f = mFiles.put(key.toString(), value); in put() 90 mShouldNotDelete.add(key.toString()); in put() 92 mShouldNotDelete.remove(key.toString()); in put() 161 return mFiles.get(key.toString()); in get()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | UiAutomatorRunner.java | 141 return commandBuilder.toString(); in getArgsCommand() 172 setClassName(classArgBuilder.toString()); in setClassNames() 229 addInstrumentationArg(name, Boolean.toString(value)); in addBooleanArg() 324 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber())); in run() 326 mParser.handleTestRunFailed(e.toString()); in run() 330 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run() 339 mParser.handleTestRunFailed(e.toString()); in run() 343 e.toString(), getPackageName(), mRemoteDevice.getSerialNumber()); in run() 344 mParser.handleTestRunFailed(e.toString()); in run()
|
/tools/tradefederation/contrib/src/com/android/uicd/tests/ |
D | UiConductorTest.java | 138 String runId = UUID.randomUUID().toString(); in run() 139 baseFilePath = Paths.get(baseFilePath, runId).toString(); in run() 140 String jarFileDir = Paths.get(baseFilePath, BINARY_RELATIVE_PATH).toString(); in run() 141 String testFilesDir = Paths.get(baseFilePath, TESTS_RELATIVE_PATH).toString(); in run() 142 String binaryFilesDir = Paths.get(baseFilePath).toString(); in run() 198 String testId = UUID.randomUUID().toString(); in runTest() 212 .toString()); in runTest() 279 copyFile(file.getAbsolutePath(), Paths.get(destDirPath, file.getName()).toString()); in copyFile() 286 File destFile = new File(Paths.get(destDir.toString(), srcFile.getName()).toString()); in copyFile() 303 Paths.get(destDirPath, file.getName()).toString())); in copyFile() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerTest.java | 85 out.toString()); in testProcessClientOperations_invalidAction() 101 assertEquals("{}\n", out.toString()); in testProcessClientOperations_initHandover() 120 assertEquals("{}\n", out.toString()); in testProcessClientOperations_addCommand() 136 assertEquals("{\"error\":\"Failed to add command\"}\n", out.toString()); in testProcessClientOperations_addCommand_fail() 157 out.toString()); in testProcessClientOperations_addCommand_config() 171 assertEquals("{\"error\":\"Failed to allocate device testserial\"}\n", out.toString()); in testProcessClientOperations_allocateDevice_fail() 188 assertEquals("{}\n", out.toString()); in testProcessClientOperations_allocateDevice() 205 assertEquals("{\"error\":\"Could not find device to free testserial\"}\n", out.toString()); in testProcessClientOperations_processFree_notFound() 226 assertEquals("{}\n", out.toString()); in testProcessClientOperations_processFree() 250 assertEquals("{}\n", out.toString()); in testProcessClientOperations_processFree_wildcard()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackTestHelper.java | 84 public String toString() { in toString() method in AudioLoopbackTestHelper.StatisticsData 288 public String toString() { in toString() method in AudioLoopbackTestHelper.ResultData 296 sb.append("logs=").append(Arrays.toString(mLogs.values().toArray())).append(NL); in toString() 302 return sb.toString(); in toString() 509 CLog.i("Latency: " + mLatencyStats.toString()); in processTestData() 510 CLog.i("Confidence: " + mConfidenceStats.toString()); in processTestData() 562 writer.println(sb.toString()); in writeAllResultsToCSVFile() 621 metrics.put(resultKeyPrefix + "total_nr_of_tests", Integer.toString(mAllResults.size())); in populateStressTestMetrics() 622 metrics.put(resultKeyPrefix + "nr_of_good_tests", Integer.toString(mGoodResults.size())); in populateStressTestMetrics() 623 metrics.put(resultKeyPrefix + "latency_max", Double.toString(mLatencyStats.mMax)); in populateStressTestMetrics() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/ |
D | InvocationMetricLoggerTest.java | 37 assertEquals("TEST", result.get(InvocationMetricKey.FETCH_BUILD.toString())); in testLogMetrics() 42 .get(InvocationMetricKey.FETCH_BUILD.toString())); in testLogMetrics() 52 result.get(InvocationMetricKey.STAGE_TESTS_INDIVIDUAL_DOWNLOADS.toString())); in testLogMetrics_appendString() 57 String uuid = UUID.randomUUID().toString(); in logMetric()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | JavaCrashParser.java | 108 addMessageStack(jc, message.toString(), stack.toString()); in parse() 120 addMessageStack(jc, message.toString(), stack.toString()); in parse()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/ |
D | PrettyTestEventLogger.java | 54 test.toString(), date.toString()); in testStarted() 70 test.toString(), date.toString()); in testEnded()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | NullabilityAnnotationsValidator.kt | 55 override fun toString(): String { in <lambda>() method in com.android.tools.metalava.NullabilityAnnotationsValidator.Error 69 override fun toString(): String { in <lambda>() method in com.android.tools.metalava.NullabilityAnnotationsValidator.Warning 95 … checkItem(parameter.containingMethod(), parameter.toString(), parameter.type(), parameter) in <lambda>() 187 errors.sortBy { it.toString() } in <lambda>() 188 warnings.sortBy { it.toString() } in <lambda>() 210 …Issues.forEach { reporter.report(Issues.INVALID_NULLABILITY_ANNOTATION, it.method, it.toString()) } in <lambda>()
|
/tools/loganalysis/src/com/android/loganalysis/util/ |
D | RegexTrie.java | 88 return mPattern.toString().equals(otherPat.toString()); in equals() 93 return mPattern.toString().hashCode(); in hashCode() 97 public String toString() { in toString() method in RegexTrie.CompPattern 98 return String.format("CP(%s)", mPattern.toString()); in toString() 289 public String toString() { in toString() method in RegexTrie
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | TypeParameterList.kt | 31 override fun toString(): String in toString() method 45 override fun toString(): String = "" in toString() method
|