Home
last modified time | relevance | path

Searched refs:r (Results 1 – 13 of 13) sorted by relevance

/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DColor.kt19 data class Color(val r: Float, val g: Float, val b: Float, val a: Float) { constant in com.android.server.wm.traces.common.Color
21 get() = a == 0f || r < 0 || g < 0 || b < 0
31 val EMPTY = Color(r = -1f, g = -1f, b = -1f, a = 0f) in prettyPrint()
34 val r = FloatFormatter.format(color.r) in prettyPrint() constant
38 return "r:$r g:$g b:$b a:$a" in prettyPrint()
DRectF.kt53 operator fun contains(r: RectF): Boolean { in contains()
56 left <= r.left && top <= r.top && right >= r.right && bottom >= r.bottom in contains()
108 fun intersection(r: RectF): RectF = intersection(r.left, r.top, r.right, r.bottom) in intersection()
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DOverviewHelper.java111 Rect r = recents.getVisibleBounds(); in scrollToTopOfRecents() local
113 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()
114 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in scrollToTopOfRecents()
115 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DOverviewHelper.java149 Rect r = recents.getVisibleBounds(); in scrollToTopOfRecents() local
151 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()
152 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in scrollToTopOfRecents()
153 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); in scrollToTopOfRecents()
/platform_testing/libraries/health/runners/longevity/
DREADME.md35 `adb shell am instrument -w -r -e <option> <value> -e class <suite>
40 `adb shell am instrument -w -r -e iterations 50 -e quitter true
46 `adb shell am instrument -w -r -e iterations 10 -e shuffle true -e suite-timeout_msec 1800000
52 `adb shell am instrument -w -r -e iterations 100 -e min-battery 0.05
58 `adb shell am instrument -w -r -e profile sample_profile
81 `tests/` directory. Run them using `adb shell am instrument -w -r
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScreenRecordCollectorTest.java118 for (int r = 2; r < ScreenRecordCollector.MAX_RECORDING_PARTS; r++) { in testScreenRecord()
121 matches(String.format("screenrecord .*video%d.mp4", r))); in testScreenRecord()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/
DUtils.kt75 fun assertThrows(expectedThrowable: Class<out Throwable>, r: () -> Any): Throwable { in assertThrows()
77 r() in assertThrows()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultHandler.java510 for (ITestResult r : cr.getResults()) { in writeResults()
511 TestStatus status = r.getResultStatus(); in writeResults()
517 serializer.attribute(NS, NAME_ATTR, r.getName()); in writeResults()
518 if (r.isSkipped()) { in writeResults()
521 String message = r.getMessage(); in writeResults()
525 String stackTrace = r.getStackTrace(); in writeResults()
533 String bugreport = r.getBugReport(); in writeResults()
539 String logcat = r.getLog(); in writeResults()
545 String screenshot = r.getScreenshot(); in writeResults()
551 ReportLog report = r.getReportLog(); in writeResults()
[all …]
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/
DSimCardUtil.java138 public void execute(Runnable r) { in execute() argument
139 r.run(); in execute()
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/
DPwrStatsUtilHelper.java114 final Pattern r = Pattern.compile(PATTERN); in processMetricsFromLogFile() local
123 m = r.matcher(line); in processMetricsFromLogFile()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java125 List<String> outputDescriptions = output.stream().map(r -> in testProfileOrderingRespected()
126 r.getDescription().getDisplayName()).collect(Collectors.toList()); in testProfileOrderingRespected()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java147 r -> r.getDescription().getDisplayName(), in getTestSequenceFromConfiguration()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/layers/
DLayersTraceParser.kt200 return Color(r, g, b, a) in toColor()