Home
last modified time | relevance | path

Searched refs:findView (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DAppDataSharingUpdatesTest.kt127 findView(By.textContains(APP_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
128 findView(By.textContains(NOW_SHARED_WITH_THIRD_PARTIES), true) in <lambda>()
148 findView(By.textContains(APP_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
149 findView(By.textContains(NOW_SHARED_WITH_THIRD_PARTIES), true) in <lambda>()
169 findView(By.textContains(APP_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
170 findView(By.textContains(NOW_SHARED_WITH_THIRD_PARTIES), true) in <lambda>()
190 findView(By.textContains(APP_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
191 findView(By.textContains(NOW_SHARED_WITH_THIRD_PARTIES_FOR_ADS), true) in <lambda>()
211 findView(By.textContains(APP_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
212 findView(By.textContains(NOW_SHARED_WITH_THIRD_PARTIES_FOR_ADS), true) in <lambda>()
[all …]
DSafetyProtectionTest.kt60 findView(By.res(SAFETY_PROTECTION_DISPLAY_TEXT), false) in testSafetyProtectionSectionView_safetyProtection_belowT()
72 findView(By.res(SAFETY_PROTECTION_DISPLAY_TEXT), false) in testSafetyProtectionSectionView_safetyProtectionDisabled_aboveT()
84 findView(By.res(SAFETY_PROTECTION_DISPLAY_TEXT), true) in testSafetyProtectionSectionView_safetyProtectionEnabled_aboveT()
96 findView(By.res(SAFETY_PROTECTION_DISPLAY_TEXT), false) in testSafetyProtectionSectionView_safetyProtectionResourcesNotExist_aboveT()
DPhotoPickerPermissionTest.kt346 findView(By.res(SELECT_BUTTON), expected = false) in testPre33AppDoesntShowSelect()
351 findView(By.res(SELECT_RADIO_BUTTON), expected = false) in testPre33AppDoesntShowSelect()
371 findView(By.res(SELECT_BUTTON), expected = false) in test33AppWithImplicitUserSelectDoesntShowSelect()
376 findView(By.res(SELECT_RADIO_BUTTON), expected = false) in test33AppWithImplicitUserSelectDoesntShowSelect()
432 findView(By.res(SELECT_BUTTON), expected = false) in testExplicitAppCannotRequestOnlyPartialAccess()
451 findView(By.res(DONT_SELECT_MORE_BUTTON), expected = true) in testMorePhotosDialogShowsAfterClickingSelect()
517 findView(By.res(PhotoPickerUtils.getImageOrVideoResId(context)), expected) in findImageOrVideo()
521 findView(By.res(PhotoPickerUtils.getVideoResId(context)), expected) in findVideo()
DPermissionRationaleTest.kt226 findView(By.res(DATA_SHARING_SOURCE_MESSAGE_ID), true) in <lambda>()
242 findView(By.res(LEARN_MORE_MESSAGE_ID), true) in <lambda>()
258 findView(By.res(SETTINGS_MESSAGE_ID), true) in <lambda>()
293 findView(By.res(LEARN_MORE_MESSAGE_ID), true) in <lambda>()
314 findView(By.res(DENY_RADIO_BUTTON), expected = expected) in <lambda>()
DLocationProviderInterceptDialogTest.kt72 findView(By.textContains("Location access can be modified from location settings"), true) in clickLocationPermission_showDialog_clickOk()
82 findView(By.textContains("Location access can be modified from location settings"), true) in clickLocationPermission_showDialog_clickLocationAccess()
84 findView(By.res(USE_LOCATION_LABEL_ID), true) in clickLocationPermission_showDialog_clickLocationAccess()
DBaseUsePermissionTest.kt562 findView(By.res(PERMISSION_RATIONALE_ACTIVITY_TITLE_VIEW), expected = expected) in <lambda>()
568 findView(By.res(DATA_SHARING_SOURCE_TITLE_ID), expected = expected) in <lambda>()
569 findView(By.res(DATA_SHARING_SOURCE_MESSAGE_ID), expected = expected) in <lambda>()
573 findView(By.res(PURPOSE_TITLE_ID), expected = expected) in <lambda>()
574 findView(By.res(PURPOSE_MESSAGE_ID), expected = expected) in <lambda>()
578 findView(By.res(LEARN_MORE_TITLE_ID), expected = expected) in <lambda>()
579 findView(By.res(LEARN_MORE_MESSAGE_ID), expected = expected) in <lambda>()
583 findView(By.res(PERMISSION_RATIONALE_SETTINGS_SECTION), expected = expected) in <lambda>()
584 findView(By.res(SETTINGS_TITLE_ID), expected = expected) in <lambda>()
585 findView(By.res(SETTINGS_MESSAGE_ID), expected = expected) in <lambda>()
[all …]
DSafetyLabelChangesJobServiceTest.kt476 findView(By.descContains(DATA_SHARING_UPDATES), true) in assertDataSharingScreenHasUpdates()
477 findView(By.textContains(DATA_SHARING_UPDATES_SUBTITLE), true) in assertDataSharingScreenHasUpdates()
478 findView(By.textContains(UPDATES_IN_LAST_30_DAYS), true) in assertDataSharingScreenHasUpdates()
479 findView(By.textContains(APP_PACKAGE_NAME_SUBSTRING), true) in assertDataSharingScreenHasUpdates()
480 findView(By.textContains(DATA_SHARING_UPDATES_FOOTER_MESSAGE), true) in assertDataSharingScreenHasUpdates()
DAppPermissionTest.kt338 findView(By.res(APP_PERMISSION_RATIONALE_CONTAINER_VIEW), expected) in assertAppPermissionRationaleContainerIsVisible()
DBasePermissionTest.kt363 protected fun findView(selector: BySelector, expected: Boolean) { in <lambda>() method
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt159 findView(By.textContains(LOCATION_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
184 findView(By.textContains(LOCATION_PACKAGE_NAME_SUBSTRING), true) in <lambda>()
197 findView(By.textContains(LOCATION_PACKAGE_NAME_SUBSTRING), false) in <lambda>()
421 findView(By.descContains(DATA_SHARING_UPDATES), true) in <lambda>()
422 findView(By.textContains(DATA_SHARING_UPDATES_SUBTITLE), true) in <lambda>()
423 findView(By.textContains(UPDATES_IN_LAST_30_DAYS), true) in <lambda>()
424 findView(By.textContains(DATA_SHARING_UPDATES_FOOTER_MESSAGE), true) in <lambda>()
428 findView(By.descContains(DATA_SHARING_UPDATES), true) in <lambda>()
429 findView(By.textContains(DATA_SHARING_NO_UPDATES_MESSAGE), true) in <lambda>()
430 findView(By.textContains(LOCATION_PACKAGE_NAME_SUBSTRING), false) in <lambda>()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragStartListener.java99 return startDrag(mViewFinder.findView(event.getX(), event.getY()), event); in onDragEvent()
191 @Nullable View findView(float x, float y); in findView() method
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java379 public static @Nullable <T> T findView(Activity activity, int... resources) { in findView() method in Shared