/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | Color.kt | 19 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 34 if (r != other.r) return false in prettyPrint() 43 var result = r.hashCode() in hashCode() 51 val EMPTY = Color(r = -1f, g = -1f, b = -1f, a = 0f) 54 val r = FloatFormatter.format(color.r) in prettyPrint() constant 58 return "r:$r g:$g b:$b a:$a" in prettyPrint()
|
D | RectF.kt | 53 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/ |
D | OverviewHelper.java | 111 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/ |
D | OverviewHelper.java | 149 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/ |
D | README.md | 35 `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/ |
D | ScreenRecordCollectorTest.java | 118 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/ |
D | Utils.kt | 86 fun assertThrows(expectedThrowable: Class<out Throwable>, r: () -> Any): Throwable { in assertThrows() 88 r() in assertThrows()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 510 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/ |
D | SimCardUtil.java | 138 public void execute(Runnable r) { in execute() argument 139 r.run(); in execute()
|
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/ |
D | PwrStatsUtilHelper.java | 114 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/ |
D | ProfileTest.java | 125 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/ |
D | Profile.java | 147 r -> r.getDescription().getDisplayName(), in getTestSequenceFromConfiguration()
|
/platform_testing/libraries/compatibility-common-util/tests/assets/ |
D | logcat.txt | 168 … { read } for path="/data/data/test1.mp4" dev="sda35" ino=868967 scontext=u:r:drmserver:s0 tcontex…
|