Home
last modified time | relevance | path

Searched refs:expectedTitle (Results 1 – 5 of 5) sorted by relevance

/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDialogTests.java101 final String expectedTitle = mContext.getResources().getString(R.string.dialog_title); in testInterceptorActivity_unsuspend() local
105 assertNotNull("Given dialog title \"" + expectedTitle + "\" not shown", in testInterceptorActivity_unsuspend()
106 mUiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in testInterceptorActivity_unsuspend()
153 final String expectedTitle = mContext.getResources().getString(R.string.dialog_title); in testInterceptorActivity_moreDetails() local
159 assertNotNull("Given dialog title: " + expectedTitle + " not shown", in testInterceptorActivity_moreDetails()
160 mUiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in testInterceptorActivity_moreDetails()
182 final String expectedTitle = "Test Dialog Title"; in testInterceptorActivity_strings() local
188 .setTitle(expectedTitle) in testInterceptorActivity_strings()
202 assertNotNull("Given dialog title: " + expectedTitle + " not shown", in testInterceptorActivity_strings()
203 mUiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in testInterceptorActivity_strings()
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DWindowManagerUtil.java92 @Nonnull String expectedTitle) throws Exception { in getWindowWithTitle() argument
96 if (expectedTitle.equals(title)) { in getWindowWithTitle()
105 @Nonnull String expectedTitle) throws Exception { in hasWindowWithTitle() argument
106 return getWindowWithTitle(device, expectedTitle) != null; in hasWindowWithTitle()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java740 final String expectedTitle = (types[0] == SAVE_DATA_TYPE_GENERIC) in assertSaveOrUpdateShowing() local
744 assertThat(actualTitle).isEqualTo(expectedTitle); in assertSaveOrUpdateShowing()
1063 final String expectedTitle = getString(RESOURCE_STRING_DATASET_PICKER_ACCESSIBILITY_TITLE);
1067 assertAccessibilityTitle(picker, expectedTitle);
1074 assertWithMessage(expectedTitle + " not found").that(retryCount).isLessThan(
1087 private void assertAccessibilityTitle(UiObject2 object, String expectedTitle) {
1092 if (title != null && title.toString().equals(expectedTitle)) {
1096 throw new RetryableException("Title '%s' not found for %s", expectedTitle, object);
/cts/tests/app/src/android/app/cts/
DDialogTest.java396 final String expectedTitle = "Test Dialog Without theme"; in testSetTitle() local
400 mActivity.setUpTitle(expectedTitle); in testSetTitle()
404 assertEquals(expectedTitle, (String) d.getWindow().getAttributes().getTitle()); in testSetTitle()
DServiceTest.java504 private void assertNotification(int id, String expectedTitle) { in assertNotification() argument
514 if (expectedTitle.equals(actualTitle)) { in assertNotification()
520 + "expected '%s', actual '%s'", id, expectedTitle, actualTitle); in assertNotification()