Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 176) sorted by relevance

12345678

/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DAppStartupHelperTest.java134 assertEquals(1, appLaunchMetrics.get(coldLaunchMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
135 assertEquals(1, Integer.parseInt(appLaunchMetrics.get(coldLaunchCountPkgKey).toString())); in testSingleColdLaunchMetric()
137 .toString())); in testSingleColdLaunchMetric()
145 appLaunchMetrics.get(coldLaunchTransitionMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
154 appLaunchMetrics.get(coldLaunchProcessMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
156 Integer.parseInt(appLaunchMetrics.get(coldLaunchProcessCountPkgKey).toString())); in testSingleColdLaunchMetric()
161 .toString())); in testSingleColdLaunchMetric()
168 appLaunchMetrics.get(sourceEventDelayMetricKey).toString().split(",").length); in testSingleColdLaunchMetric()
191 assertEquals(2, appLaunchMetrics.get(coldLaunchMetricKey).toString().split(",").length); in testMultipleColdLaunchMetric()
192 assertEquals(2, Integer.parseInt(appLaunchMetrics.get(coldLaunchCountPkgKey).toString())); in testMultipleColdLaunchMetric()
[all …]
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DICamera2Helper.java45 public String toString() { in toString() method in ICamera2Helper.ModeType
56 if (mode.toString().equals(name)) return mode; in fromString()
76 public String toString() { in toString() method in ICamera2Helper.CameraType
87 if (camera.toString().equals(name)) return camera; in fromString()
109 public String toString() { in toString() method in ICamera2Helper.TestOptionKey
DIGoogleHelper.java38 public String toString() { in toString() method in IGoogleHelper.NavigationTab
60 public String toString() { in toString() method in IGoogleHelper.SearchResultTab
DIChromeHelper.java38 public String toString() { in toString() method in IChromeHelper.MenuItem
57 public String toString() { in toString() method in IChromeHelper.ClearRange
/platform_testing/libraries/audio-test-harness/utilities/src/com/android/media/audiotestharness/utilities/
DAudioSystemDiagnostic.java54 diagnosticStringBuilder.append("Mixers Array = " + Arrays.toString(mixers) + "\n"); in buildAudioSystemDiagnosticString()
61 "----- Start Mixer (#" + Integer.toString(i) + ") -----\n"); in buildAudioSystemDiagnosticString()
68 "----- End Mixer (#" + Integer.toString(i) + ") -----\n"); in buildAudioSystemDiagnosticString()
71 return diagnosticStringBuilder.toString(); in buildAudioSystemDiagnosticString()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DGoldenImagePathManager.kt170 File(context.filesDir, "platform_screenshots").toString() in getDeviceOutputDirectory()
189 public fun getAPIVersion() = "API" + Build.VERSION.SDK_INT.toString() in getAPIVersion()
192 context.resources.displayMetrics.densityDpi.toString() + "dpi" in getAPIVersion()
195 context.resources.configuration.orientation.toString() in getAPIVersion()
198 val heightdp = context.resources.configuration.screenHeightDp.toString() in getAPIVersion()
199 val widthdp = context.resources.configuration.screenWidthDp.toString() in getAPIVersion()
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java53 Log.e(LOG_TAG, e.toString()); in startCollecting()
65 Log.e(LOG_TAG, e.toString()); in startCollecting()
81 Log.e(LOG_TAG, e.toString()); in stopCollecting()
87 Log.e(LOG_TAG, e.toString()); in stopCollecting()
131 Log.e(LOG_TAG, e.toString()); in processMetricsFromLogFile()
137 Log.e(LOG_TAG, e.toString()); in processMetricsFromLogFile()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DOverlayFsUtils.java88 String dirHash = Hashing.md5().hashString(dir, StandardCharsets.UTF_8).toString(); in makeWritable()
89 int pathPrefixLength = WRITABLE_DIR.toString().length() + 1 + OVERLAYFS_PREFIX.length(); in makeWritable()
116 Path tempimg = tempdir.getParent().resolve(tempdir.getFileName().toString() + ".img"); in makeWritable()
117 dirs.add(tempimg.toString()); in makeWritable()
118 dirs.add(tempdir.toString()); in makeWritable()
132 String upperdir = tempdir.resolve("upper").toString(); in makeWritable()
133 String workdir = tempdir.resolve("workdir").toString(); in makeWritable()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DRect.kt53 override fun equals(other: Any?): Boolean = other?.toString() == this.toString() in prettyPrint()
119 override fun toString(): String = prettyPrint() in toString() method in com.android.server.wm.traces.common.Rect
DFloatFormatter.kt29 val strValue = value.toString() in format()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScheduledRunCollectionListener.java97 File destDir = createAndEmptyDirectory(destination.getParent().toString()); in TimeSeriesCsvWriter()
98 mDestFile = new File(destDir, destination.getFileName().toString()); in TimeSeriesCsvWriter()
147 res.put(key + MIN_SUFFIX, minMap.get(key).toString()); in getStatistics()
150 res.put(key + MAX_SUFFIX, maxMap.get(key).toString()); in getStatistics()
155 res.put(key + MEAN_SUFFIX, Double.toString(mean)); in getStatistics()
189 mTimeSeriesCsvWriter.mDestFile.toString()); in onStart()
DBaseMetricListener.java157 mTestIdInvocationCount.compute(description.toString(), in testStarted()
519 if (mTestIdInvocationCount.containsKey(desc.toString()) in shouldRun()
520 && mTestIdInvocationCount.get(desc.toString()) <= mSkipMetricUntilIteration) { in shouldRun()
523 mTestIdInvocationCount.get(desc.toString()), in shouldRun()
529 if (mTestIdInvocationCount.containsKey(desc.toString()) in shouldRun()
530 && (mTestIdInvocationCount.get(desc.toString()) % mCollectIterationInterval != 0)) { in shouldRun()
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/
DDumpsysServiceHelperTest.java90 .toString(); in testCollectDumpsys_oneService()
107 .toString(); in testCollectDumpsys_multipleServices()
114 .toString(); in testCollectDumpsys_multipleServices()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestScreenshotsMetadata.java65 public String toString() { in toString() method in TestScreenshotsMetadata
68 arr.add(e.toString()); in toString()
161 public String toString() { in toString() method in TestScreenshotsMetadata.ScreenshotMetadata
DBusinessLogic.java139 msg.append(Arrays.toString(descriptions)); in throwAggregatedException()
147 msg.append(String.format("\nStack Trace: %s", sw.toString())); in throwAggregatedException()
151 throw new RuntimeException(msg.toString()); in throwAggregatedException()
153 throw new AssumptionViolatedException(msg.toString()); in throwAggregatedException()
163 ? Integer.toString(index) in cleanDescription()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DRootWindowContainer.kt29 override fun toString(): String { in toString() method
DKeyguardControllerState.kt34 override fun toString(): String { in isKeyguardOccluded() method in com.android.server.wm.traces.common.windowmanager.windows.KeyguardControllerState
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/
DAssertions.kt41 override fun toString(): String = "Assertion($name)${if (isOptional) "[optional]" else ""}" in <lambda>() method in com.android.server.wm.flicker.assertions.NamedAssertion
87 override fun toString(): String = name in toString() method
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/tags/
DTag.kt22 override fun toString(): String { in toString() method in com.android.server.wm.traces.common.tags.Tag
/platform_testing/libraries/collectors-helper/generic/src/com/android/helpers/
DGenericExecutableCollectorHelper.java67 .map(Path::toString) in setUp()
134 String prefix = mExecutableDir.relativize(executable).toString(); in execAndGetResults()
136 String output = executeShellCommand(executable.toString()); in execAndGetResults()
/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/
DStsLogic.java130 isKernel |= bugIds.contains(Long.toString(bugId)); in getDeviceSpl()
160 String splString = map.get(Long.toString(cveBugId)); in getMinTestSpl()
187 String modificationMillisString = map.get(Long.toString(cveBugId)); in getMinModificationDate()
303 if (bugModulesMap.containsKey(Long.toString(bugId))) { in shouldSkipMainline()
/platform_testing/utils/esimutility/src/com/android/test/util/esimutility/
DESimUtilityInstrumentation.java65 builder.append(" ").append(element.toString()); in updateWithException()
67 result.putString("sim_utility_exception_stack_trace", builder.toString()); in updateWithException()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DFlickerResult.kt102 return errors[0].toString() in <lambda>()
105 errors.joinToString("\n\t\tAND\n\t- ") { it.toString() } + in <lambda>()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNotificationHelper.java145 .setContentTitle(lists.get(1).toString()) in sendBundlingNotifications()
155 .setContentTitle(lists.get(2).toString()) in sendBundlingNotifications()
165 .setContentTitle(lists.get(0).toString()) in sendBundlingNotifications()
192 .setContentTitle(Integer.toString(notificationId)) in sendNotificationsWithInLineReply()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationBundlingTests.java81 obj = mDevice.wait(Until.findObject(By.textContains(lists.get(1).toString())), in testBundlingNotification()
93 dismissObject(Integer.toString(CHILD_NOTIFICATION_ID)); in testDismissBundlingNotification()
110 dismissObject(Integer.toString(CHILD_NOTIFICATION_ID)); in testDismissIndividualNotification()

12345678