/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ |
D | RegexUtils.java | 65 long start = System.currentTimeMillis(); in assertFind() local 67 long duration = System.currentTimeMillis() - start; in assertFind() 75 String substring = input.substring(matcher.start(), matcher.end()); in assertFind() 79 matcher.start(), in assertFind() 105 private static String getInputContext(String input, int start, int end, int before, int after) { in getInputContext() argument 106 start = Math.max(0, start - before); in getInputContext() 108 return input.substring(start, end); in getInputContext() 140 public CharSequence subSequence(int start, int end) { in subSequence() argument 142 chars.subSequence(start, end), expireTime - System.currentTimeMillis()); in subSequence()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | MSSIMMatcher.kt | 104 val start: Int = indexFromXAndY(currentWindowX, currentWindowY, stride, offset) in calculateSSIM() constant 106 shouldIgnoreWindow(ideal, start, stride, windowWidth, windowHeight, filter) && in calculateSSIM() 107 shouldIgnoreWindow(given, start, stride, windowWidth, windowHeight, filter) in calculateSSIM() 113 val means = getMeans(ideal, given, filter, start, stride, windowWidth, windowHeight) in calculateSSIM() 123 start, in calculateSSIM() 133 numPixelsToCompareInWindow(start, stride, windowWidth, windowHeight, filter) in calculateSSIM() 169 start: Int, in shouldIgnorePixel() 173 return !filter[indexFromXAndY(x, y, stride, start)] in shouldIgnorePixel() 182 start: Int, in shouldIgnoreWindow() 190 if (shouldIgnorePixel(x, y, start, stride, filter)) { in shouldIgnoreWindow() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTestFactory.kt | 63 .flatMap { start -> supportedRotations.map { end -> start to end } } in <lambda>() method 64 .filter { (start, end) -> start != end } in <lambda>() method 65 .map { (start, end) -> createFlickerTest(navBarMode, start, end, extraArgs) } in <lambda>() method
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | CoolDownRule.java | 119 long start = System.currentTimeMillis(); in waitTemperature() local 124 while ((deviceTemperature > mTargetTemperature) && (elapsedMs(start) < maxWaitMs)) { in waitTemperature() 139 mTargetTemperature, (System.currentTimeMillis() - start) / 1000)); in waitTemperature() 147 (System.currentTimeMillis() - start) / 1000)); in waitTemperature() 163 (System.currentTimeMillis() - start) / 1000)); in waitTemperature() 172 long elapsedMs(long start) { in elapsedMs() argument 173 return System.currentTimeMillis() - start; in elapsedMs()
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | BetterScroll.kt | 34 val (start, stop) = calculateStartEndPoint(rect, direction, percentage) in scroll() constant 36 trace("Scrolling $start -> $stop") { in scroll() 38 { BetterSwipe.from(start).to(stop).pause().release() }, in scroll()
|
D | BetterSwipe.kt | 66 @JvmStatic fun from(start: PointF) = Swipe(start) in <lambda>() 69 @JvmStatic fun from(start: Point) = Swipe(PointF(start.x.toFloat(), start.y.toFloat())) in <lambda>() 71 class Swipe internal constructor(start: PointF) { in <lambda>() 75 private var lastPoint: PointF = start in <lambda>() 80 log("Touch $pointerId started at $start") in <lambda>() 81 sendPointer(currentTime = downTime, action = MotionEvent.ACTION_DOWN, point = start) in <lambda>() 304 private fun lerp(start: Float, stop: Float, amount: Float): Float = start + (stop - start) * amount in lerp()
|
D | BetterFling.kt | 57 val (start, stop) = in fling() constant 60 trace("Fling $start -> $stop") { in fling() 62 { BetterSwipe.from(start).to(stop, duration).release() }, in fling()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | MeasureTime.java | 37 long start = System.currentTimeMillis(); in measure() local 40 result[i] = end - start; in measure()
|
/platform_testing/utils/shell-as/ |
D | shell-code.cpp | 50 void EnsureShellcodeReadable(void (*start)(), void (*end)()) { in EnsureShellcodeReadable() argument 51 mprotect((void*)PageStart(start), in EnsureShellcodeReadable() 52 PageStart(end) - PageStart(start) + getpagesize(), in EnsureShellcodeReadable()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
D | NexusLauncherStrategy.java | 120 Point start = hotseat.getVisibleCenter(); in openAllApps() local 123 start.x, start.y, start.x, endY, (start.y - endY) / 100); // 100 px/step in openAllApps()
|
D | BaseLauncher3Strategy.java | 106 Point start = hotseat.getVisibleCenter(); in openAllApps() local 109 start.x, start.y, start.x, endY, (start.y - endY) / 100); // 100 px/step in openAllApps()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | NexusLauncherStrategy.java | 128 Point start = hotseat.getVisibleCenter(); in openAllApps() local 131 start.x, in openAllApps() 132 start.y, in openAllApps() 133 start.x, in openAllApps() 135 (start.y - endY) / 100); // 100 px/step in openAllApps()
|
D | BaseLauncher3Strategy.java | 113 Point start = hotseat.getVisibleCenter(); in openAllApps() local 116 start.x, start.y, start.x, endY, (start.y - endY) / 100); // 100 px/step in openAllApps()
|
/platform_testing/libraries/app-helpers/interfaces/common/src/android/platform/helpers/ |
D | IStopwatchHelper.java | 25 public void start(); in start() method
|
/platform_testing/libraries/flicker/utils/src/android/tools/io/ |
D | TransitionTimeRange.kt | 22 data class TransitionTimeRange(val start: Timestamp, val end: Timestamp) constant in android.tools.io.TransitionTimeRange
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/ |
D | EventLogMonitorTest.kt | 74 monitor.start() in canCaptureFocusEventLogs() 121 monitor.start() in onlyCapturesLastTransition() 136 monitor.start() in onlyCapturesLastTransition() 176 monitor.start() in ignoreFocusRequestLogs() 223 monitor.start() in savesEventLogsToFile() 263 monitor.start() in cropsEventsFromBeforeMonitorStart() 287 monitor.start() in cropsEventsOutsideOfTransitionTimes() 328 monitor.start() in canCaptureCujEvents() 357 monitor.start() in collectsCujEventData() 410 monitor.start() in canParseHandleUnknownCujTypes()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/ |
D | ITransitionMonitor.kt | 24 fun start() method
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | ResultReader.kt | 103 from = transitionTimeRange.start, in <lambda>() 135 transitionTimeRange.start, in <lambda>() 181 doReadTransactionsTrace(from = transitionTimeRange.start, to = transitionTimeRange.end) in <lambda>() 238 from = transitionTimeRange.start, in <lambda>() 252 .parse(session, from = transitionTimeRange.start, to = transitionTimeRange.end) in <lambda>() 270 from = transitionTimeRange.start, in <lambda>() 291 .parseSlice(it, from = transitionTimeRange.start, to = transitionTimeRange.end) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | TracesCollector.kt | 23 fun start(scenario: Scenario) method
|
D | FlickerServiceTracesCollector.kt | 38 override fun start(scenario: Scenario) { in start() method in android.tools.flicker.FlickerServiceTracesCollector 41 traceMonitors.forEach { it.start() } in start()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/process-cpu-time/ |
D | README.md | 3 These configs are used to collect the cpu stats at the start and end of tests or test run.
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/wifi-bytes-transfer/ |
D | README.md | 3 The configs here collects the WiFi bytes transferred on the start and end of tests or test run,
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/ |
D | TraceMonitorTest.kt | 70 traceMonitor.start() in canStartTrace() 77 traceMonitor.start() in canStopTrace() 86 traceMonitor.start() in captureTrace()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TestUtils.kt | 26 val startTime = result.transitionTimeRange.start in validateTransitionTime() 34 val startTime = result.transitionTimeRange.start in validateTransitionTimeIsEmpty()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-freq/ |
D | README.md | 3 These configs are used to pull the cpu time per frequency at the start and end of tests or test run…
|