Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/
DUtils.kt46 fun RectF.containsWithThreshold(r: RectF, threshold: Float = 0.01f): Boolean { in RectF()
50 (left <= r.left || abs(left - r.left) < threshold) && in RectF()
51 (top <= r.top || abs(top - r.top) < threshold) && in RectF()
52 (right >= r.right || abs(right - r.right) < threshold) && in RectF()
53 (bottom >= r.bottom || abs(bottom - r.bottom) < threshold) in RectF()
56 fun Rect.intersection(r: Rect): Rect = intersection(r.left, r.top, r.right, r.bottom) in Rect()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DScreenshotsMetadataHandler.java67 for (ITestResult r : cr.getResults()) { in writeResults()
68 TestStatus status = r.getResultStatus(); in writeResults()
73 serializer.attribute(NS, NAME_ATTR, r.getName()); in writeResults()
75 TestScreenshotsMetadata screenshotsMetadata = r.getTestScreenshotsMetadata(); in writeResults()
DResultHandler.java515 for (ITestResult r : cr.getResults()) { in writeResults()
516 TestStatus status = r.getResultStatus(); in writeResults()
522 serializer.attribute(NS, NAME_ATTR, r.getName()); in writeResults()
523 if (r.isSkipped()) { in writeResults()
526 String message = r.getMessage(); in writeResults()
530 String stackTrace = r.getStackTrace(); in writeResults()
538 String bugreport = r.getBugReport(); in writeResults()
544 String logcat = r.getLog(); in writeResults()
550 String screenshot = r.getScreenshot(); in writeResults()
556 ReportLog report = r.getReportLog(); in writeResults()
[all …]
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/
DOverviewHelper.java102 Rect r = recents.getVisibleBounds(); in scrollToTopOfRecents() local
104 int top = r.top + r.height() / 4; // top edge = top + 25% height in scrollToTopOfRecents()
105 int bottom = r.bottom - 200; // bottom edge = bottom & shift up 200px in scrollToTopOfRecents()
106 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/sts-common-util/host-side/tests/res/
Dlogcat.txt170 … { read } for path="/data/data/test1.mp4" dev="sda35" ino=868967 scontext=u:r:drmserver:s0 tcontex…
368 …nied { write } for name="tombstoned_crash" dev="tmpfs" ino=70211 scontext=u:r:vendor_qvrd:s0 tcont…
519 …06 7072 7072 F DEBUG : 0800007290be67e0 08000072f0bdaa60 0600007290be64e0 `...r....d..r...
523 …06 7072 7072 F DEBUG : 0d00007290be6820 0000000000000000 02000072f0bdad20 ........ ...r...
525 …06 7072 7072 F DEBUG : 0400007290be6840 0f000072f0bda010 0a00007290be6240 ....r...@b..r...
528 …06 7072 7072 F DEBUG : 0100007290be6870 02000072f0bdad20 0d00007290be6810 ...r....h..r...
546 …06 7072 7072 F DEBUG : 0e00007300baf560 0000000000000000 0800007290be67e0 .........g..r...
555 …06 7072 7072 F DEBUG : 0800007290be67e0 08000072f0bdaa60 0600007290be64e0 `...r....d..r...
559 …06 7072 7072 F DEBUG : 0d00007290be6820 0000000000000000 02000072f0bdad20 ........ ...r...
561 …06 7072 7072 F DEBUG : 0400007290be6840 0f000072f0bda010 0a00007290be6240 ....r...@b..r...
[all …]
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/features/quicksettings/
DUserSelection.java132 Rect r = obj.getVisibleBounds(); in clickTopLeftCorner() local
133 getUiDevice().click(r.left, r.top); in clickTopLeftCorner()
/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/screenshot/
Dupdate_goldens.py27 ACTUAL_SCREENSHOT_FILE_LINE_PATTERN = r'image_location_test: "(?P<name>[^"]+)"'
28 GOLDEN_PATH_LINE_PATTERN = r'image_location_golden: "(?P<name>[^"]+)"'
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileTest.java153 List<String> outputDescriptions = output.stream().map(r -> in testProfileOrderingRespected()
154 r.getDescription().getDisplayName()).collect(Collectors.toList()); in testProfileOrderingRespected()
172 List<String> outputDescriptions = output.stream().map(r -> in testProfileRepeatRespected()
173 r.getDescription().getDisplayName()).collect(Collectors.toList()); in testProfileRepeatRespected()
/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/tests/automotive/mobly_tests/utilities/
Dconstants.py127 SONG_METADATA_PATTERN = r"description=.[^\n]+"
Dspectatio_utils.py418 actual_dialing_number = re.sub(r'\D', '', str(self.get_dialing_number()))
432 actual_dialing_number = re.sub(r'\D', '', str(self.get_user_phone_number()))
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScreenRecordCollectorTest.java128 for (int r = 2; r < ScreenRecordCollector.MAX_RECORDING_PARTS; r++) { in testScreenRecord()
131 matches(String.format("screenrecord .*video%d.mp4", r))); in testScreenRecord()
/platform_testing/utils/shell-as/
DREADME.md19 --selinux u:r:init:s0 \
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java158 r -> r.getDescription().getDisplayName(), in getTestSequenceFromConfiguration()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt69 inline fun <reified ExceptionType> assertThrows(r: () -> Unit): ExceptionType { in <lambda>()
71 r() in <lambda>()
/platform_testing/libraries/sts-common-util/sts-sdk/package/sts-test/src/main/java/android/security/sts/
DStsHostSideTestCase.java81 .after(r -> getDevice().executeShellV2Command("ls -l /")) in testWithNativePoc()
/platform_testing/libraries/flicker/test/assets/testdata/scenarios/AppLaunch/
Deventlog.winscope23 …701 audit(0.0:737): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:virtual_touchpad:s0 …
44 …701 audit(0.0:738): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:virtual_touchpad:s0 …
72 …701 audit(0.0:739): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:virtual_touchpad:s0 …
127 …701 audit(0.0:740): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:virtual_touchpad:s0 …
163 …701 audit(0.0:741): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:virtual_touchpad:s0 …
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DProcessUtil.java48 public KillException(String errorMessage, Reason r) { in KillException() argument
50 this.reason = r; in KillException()
/platform_testing/tests/bettertogether/betocq/
Dandroid_wifi_utils.py30 r'(?P<id>\d+)\s+(?P<ssid>.*)\s+(?P<security>.*)'
DReadMe.md519 cp -r platform_testing/tests/bettertogether/betocq ~/betocq_windows
522 zip -r ~/betocq_test_suite_windows.zip ./
/platform_testing/libraries/motion/golden_updater/
Dwatch_local_tests.py500 match = re.search(r"_actual_(.*?)\.png$", self.actual_image)
/platform_testing/libraries/compatibility-common-util/tests/assets/
Dlogcat.txt168 … { read } for path="/data/data/test1.mp4" dev="sda35" ino=868967 scontext=u:r:drmserver:s0 tcontex…
/platform_testing/libraries/sts-common-util/util/tests/res/
Dedi_uname_versions.txt196 #1 repo:r-tv-dev SMP PREEMPT Mon Dec 6 22:19:04 CST 2021
3529 #1 repo:r-amlogic SMP PREEMPT Tue Apr 5 20:27:38 CST 2022
9998 #1 repo:r-tv-dev SMP PREEMPT Tue Nov 23 18:53:00 CST 2021