Searched refs:expectedTitle (Results 1 – 6 of 6) sorted by relevance
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | DialogTests.java | 125 final String expectedTitle = context.getResources().getString(R.string.dialog_title); in verifyDialogAndPressUnsuspend() local 129 assertNotNull("Given dialog title \"" + expectedTitle + "\" not shown", in verifyDialogAndPressUnsuspend() 130 uiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in verifyDialogAndPressUnsuspend() 164 final String expectedTitle = mContext.getResources().getString(R.string.dialog_title); in testInterceptorActivity_moreDetails() local 170 assertNotNull("Given dialog title: " + expectedTitle + " not shown", in testInterceptorActivity_moreDetails() 171 mUiDevice.wait(Until.findObject(By.text(expectedTitle)), UI_TIMEOUT_MS)); in testInterceptorActivity_moreDetails() 193 final String expectedTitle = "Test Dialog Title"; in testInterceptorActivity_strings() local 199 .setTitle(expectedTitle) in testInterceptorActivity_strings() 213 assertNotNull("Given dialog title: " + expectedTitle + " not shown", in testInterceptorActivity_strings() 214 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/ |
D | WindowManagerUtil.java | 92 @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/ |
D | UiBot.java | 840 final String expectedTitle = (types[0] == SAVE_DATA_TYPE_GENERIC) in assertSaveOrUpdateShowing() local 844 assertThat(actualTitle).isEqualTo(expectedTitle); in assertSaveOrUpdateShowing() 1174 final String expectedTitle = getString(RESOURCE_STRING_DATASET_PICKER_ACCESSIBILITY_TITLE); 1178 assertAccessibilityTitle(picker, expectedTitle); 1185 assertWithMessage(expectedTitle + " not found").that(retryCount).isLessThan( 1198 private void assertAccessibilityTitle(UiObject2 object, String expectedTitle) { 1204 + expectedTitle); 1205 if (title != null && title.toString().equals(expectedTitle)) { 1209 throw new RetryableException("Title '%s' not found for %s", expectedTitle, object);
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricPromptContentViewTest.java | 541 String expectedTitle, String expectedSubtitle, String expectedNegativeButtonText) { in checkTopViews() argument 553 assertThat(actualTitle.getText()).isEqualTo(expectedTitle); in checkTopViews()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 397 final String expectedTitle = "Test Dialog Without theme"; in testSetTitle() local 401 mActivity.setUpTitle(expectedTitle); in testSetTitle() 405 assertEquals(expectedTitle, (String) d.getWindow().getAttributes().getTitle()); in testSetTitle()
|
D | ServiceTest.java | 515 private void assertNotification(int id, String expectedTitle, boolean shouldHaveFgsFlag) { in assertNotification() argument 529 if (expectedTitle.equals(actualTitle)) { in assertNotification() 546 + "expected '%s', actual '%s'", id, expectedTitle, actualTitle); in assertNotification()
|