/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/ |
D | AdoptableStorageTests.java | 58 Pattern pattern = Pattern.compile("Move later", Pattern.CASE_INSENSITIVE); in testAdoptAsAdoptableMoveDataLaterUIFlow() local 59 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).click(); in testAdoptAsAdoptableMoveDataLaterUIFlow() 60 pattern = Pattern.compile("Next", Pattern.CASE_INSENSITIVE); in testAdoptAsAdoptableMoveDataLaterUIFlow() 61 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testAdoptAsAdoptableMoveDataLaterUIFlow() 63 pattern = Pattern.compile("Done", Pattern.CASE_INSENSITIVE); in testAdoptAsAdoptableMoveDataLaterUIFlow() 64 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testAdoptAsAdoptableMoveDataLaterUIFlow() 85 Pattern pattern = Pattern.compile("More options", Pattern.CASE_INSENSITIVE); in testAdoptableOverflowSettings() local 86 UiObject2 moreOptions = mDevice.wait(Until.findObject(By.desc(pattern)), in testAdoptableOverflowSettings() 90 pattern = Pattern.compile("Rename", Pattern.CASE_INSENSITIVE); in testAdoptableOverflowSettings() 91 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), storageHelper.TIMEOUT)); in testAdoptableOverflowSettings() [all …]
|
D | PortableStorageTests.java | 166 Pattern pattern = Pattern.compile("More options", Pattern.CASE_INSENSITIVE); in testPortableSettings() local 167 mDevice.wait(Until.findObject(By.desc(pattern)), storageHelper.TIMEOUT).click(); in testPortableSettings() 168 pattern = Pattern.compile("Storage settings", Pattern.CASE_INSENSITIVE); in testPortableSettings() 169 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT) in testPortableSettings() 172 pattern = Pattern.compile("Eject", Pattern.CASE_INSENSITIVE); in testPortableSettings() 173 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), storageHelper.TIMEOUT)); in testPortableSettings() 174 pattern = Pattern.compile("Format", Pattern.CASE_INSENSITIVE); in testPortableSettings() 175 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), storageHelper.TIMEOUT)); in testPortableSettings() 176 pattern = Pattern.compile("Format as internal", Pattern.CASE_INSENSITIVE); in testPortableSettings() 177 assertTrue(mDevice.wait(Until.hasObject(By.text(pattern)), in testPortableSettings() [all …]
|
D | ExternalStorageHelper.java | 217 Pattern pattern = Pattern.compile("Set up", Pattern.CASE_INSENSITIVE); in setupAsPortableUiFlow() local 218 UiObject2 adoptFlowUi = mDevice.wait(Until.findObject(By.desc(pattern)), TIMEOUT); in setupAsPortableUiFlow() 224 pattern = Pattern.compile("Next", Pattern.CASE_INSENSITIVE); in setupAsPortableUiFlow() 225 adoptFlowUi = mDevice.wait(Until.findObject(By.text(pattern)), in setupAsPortableUiFlow() 228 pattern = Pattern.compile("Done", Pattern.CASE_INSENSITIVE); in setupAsPortableUiFlow() 229 mDevice.wait(Until.findObject(By.text(pattern)), TIMEOUT).clickAndWait( in setupAsPortableUiFlow()
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
D | SysUIMultiUserTests.java | 75 Pattern pattern = Pattern.compile( in testMultiUserCreate() local 77 Matcher matcher = pattern.matcher(cmdOut.get(0)); in testMultiUserCreate() 94 pattern = Pattern.compile( in testMultiUserCreate() 96 matcher = pattern.matcher(cmdOut.get(2)); in testMultiUserCreate()
|
D | SysUIMultiWindowTests.java | 76 …Pattern pattern = Pattern.compile(String.format(".*taskId=([0-9]+): %s/%s.*",CALCULATOR_PACKAGE, C… in testLaunchInMultiwindow() local 77 Matcher matcher = pattern.matcher(line); in testLaunchInMultiwindow()
|
/platform_testing/libraries/maps-app-helper/src/android/platform/test/helpers/ |
D | MapsHelperImpl.java | 95 Pattern pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE); in dismissInitialDialogs() local 97 UiObject2 terms = mDevice.wait(Until.findObject(By.text(pattern)), 10000); in dismissInitialDialogs() 110 terms = mDevice.wait(Until.findObject(By.text(pattern)), UI_RESPONSE_WAIT); in dismissInitialDialogs() 125 pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE); in dismissInitialDialogs() 126 UiObject2 location = mDevice.wait(Until.findObject(By.text(pattern)), in dismissInitialDialogs() 161 pattern = Pattern.compile(text, Pattern.CASE_INSENSITIVE); in dismissInitialDialogs()
|
/platform_testing/tests/jank/sysapp/src/com/android/sysapp/janktests/ |
D | CalendarJankTests.java | 143 Pattern pattern = Pattern.compile("GOT IT", Pattern.CASE_INSENSITIVE); in dismissCling() local 145 By.res(PACKAGE_NAME, "done_button").text(pattern)), LONG_TIMEOUT); in dismissCling() 150 pattern = Pattern.compile("DISMISS", Pattern.CASE_INSENSITIVE); in dismissCling() 152 By.res(PACKAGE_NAME, "button_dismiss").text(pattern)), LONG_TIMEOUT); in dismissCling()
|
/platform_testing/tests/smokefast/src/com/android/smokefast/ |
D | MediaCaptureTest.java | 136 Pattern pattern = Pattern.compile(desc, Pattern.CASE_INSENSITIVE); in pushButton() local 137 UiObject2 doneBtn = mDevice.wait(Until.findObject(By.desc(pattern)), CAPTURE_TIMEOUT); in pushButton()
|
/platform_testing/tests/androidbvt/apps/src/com/android/androidbvt/ |
D | MediaCaptureTests.java | 118 Pattern pattern = Pattern.compile(desc, Pattern.CASE_INSENSITIVE); in pushButton() local 119 UiObject2 doneBtn = mDevice.wait(Until.findObject(By.desc(pattern)), CAPTURE_TIMEOUT); in pushButton()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | JankStat.java | 55 StatPattern(Pattern pattern, int idx) { in StatPattern() argument 56 mParsePattern = pattern; in StatPattern()
|
D | AuptTestCase.java | 440 private int parseMeminfoLine(String meminfo, String pattern) in parseMeminfoLine() argument 442 Pattern p = Pattern.compile(pattern); in parseMeminfoLine()
|