Home
last modified time | relevance | path

Searched refs:isDisplayed (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DZenModeSettingsIntegrationTest.java5 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
40 onView(withText("Calls")).check(matches(isDisplayed())); in testZenModeSettingsPreferences()
41 onView(withText("SMS, MMS, and messaging apps")).check(matches(isDisplayed())); in testZenModeSettingsPreferences()
42 onView(withText("Restrict notifications")).check(matches(isDisplayed())); in testZenModeSettingsPreferences()
43 onView(withText("Duration")).check(matches(isDisplayed())); in testZenModeSettingsPreferences()
44 onView(withText("Schedules")).check(matches(isDisplayed())); in testZenModeSettingsPreferences()
50 onView(withText("Calls")).check(matches(isDisplayed())); in testZenModeBehaviorPreferences()
51 onView(withText("SMS, MMS, and messaging apps")).check(matches(isDisplayed())); in testZenModeBehaviorPreferences()
52 onView(withText("Restrict notifications")).check(matches(isDisplayed())); in testZenModeBehaviorPreferences()
53 onView(withText("Duration")).check(matches(isDisplayed())); in testZenModeBehaviorPreferences()
[all …]
DAppNotificationSettingsTest.java27 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
115 matches(isDisplayed())); in launchNotificationSetting_showGroupsWithMultipleChannels()
117 matches(isDisplayed())); in launchNotificationSetting_showGroupsWithMultipleChannels()
119 matches(isDisplayed())); in launchNotificationSetting_showGroupsWithMultipleChannels()
129 .check(matches(isDisplayed())); in launchNotificationSetting_showUngroupedChannels()
140 .check(matches(isDisplayed())); in launchNotificationSetting_showGroupsWithOneChannel()
142 .check(matches(isDisplayed())); in launchNotificationSetting_showGroupsWithOneChannel()
DChannelNotificationSettingsTest.java24 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
84 matches(isDisplayed())); in launchNotificationSetting_shouldNotCrash()
106 + " from appearing on this device"))).check(matches(isDisplayed())); in launchNotificationSettings_blockedChannel()
109 onView(allOf(withText("On the lock screen"))).check(matches(isDisplayed())); in launchNotificationSettings_blockedChannel()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java29 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
218 onView(withText(R.string.daily_refresh_tile_title)).check(matches(isDisplayed())); in testRotationEnabled_StaticDailyRotationTile()
219 onView(withText(R.string.daily_refresh_tile_subtitle)).check(matches(isDisplayed())); in testRotationEnabled_StaticDailyRotationTile()
240 onView(withText(R.string.daily_refresh_tile_title)).check(matches(isDisplayed())); in testRotationEnabled_RotationInitializedHomeAndLock()
241 onView(withText(R.string.home_and_lock_short_label)).check(matches(isDisplayed())); in testRotationEnabled_RotationInitializedHomeAndLock()
257 onView(withText(R.string.daily_refresh_tile_title)).check(matches(isDisplayed())); in testRotationEnabled_RotationInitializedHomeScreenOnly()
258 onView(withText(R.string.home_screen_message)).check(matches(isDisplayed())); in testRotationEnabled_RotationInitializedHomeScreenOnly()
274 onView(withText(R.string.daily_refresh_tile_title)).check(matches(isDisplayed())); in testActivityRestarted_RotationStateChanges_StartRotationTileUpdates()
275 onView(withText(R.string.home_screen_message)).check(matches(isDisplayed())); in testActivityRestarted_RotationStateChanges_StartRotationTileUpdates()
290 onView(withText(R.string.daily_refresh_tile_title)).check(matches(isDisplayed())); in testActivityRestarted_RotationStateChanges_StartRotationTileUpdates()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
195 matches(isDisplayed())); in shouldShowWifiPreferences()
217 withEffectiveVisibility(VISIBLE))).check(matches(isDisplayed())); in savedNetworksExist_shouldShowSavedNetworksButton()
228 matches(isDisplayed())); in onDisableWifi_seeOffMessage()
251 matches(isDisplayed())); in onConnected_shouldSeeConnectedMessage()
277 onView(withText(TEST_SSID)).check(matches(isDisplayed())); in changingSecurityStateOnApShouldNotCauseMultipleListItems()
280 onView(withText(TEST_SSID)).check(matches(isDisplayed())); in changingSecurityStateOnApShouldNotCauseMultipleListItems()
283 onView(withText(TEST_SSID)).check(matches(isDisplayed())); in changingSecurityStateOnApShouldNotCauseMultipleListItems()
329 onView(withText(resourceId(STRING, WIFI_PASSWORD))).check(matches(isDisplayed())); in wrongPasswordSavedNetwork()
330 onView(withText(resourceId(STRING, WIFI_SHOW_PASSWORD))).check(matches(isDisplayed())); in wrongPasswordSavedNetwork()
[all …]
DSavedNetworkSettingsTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
72 onView(withText(resourceId(STRING, WIFI_ADD_NETWORK))).check(matches(isDisplayed())) in launchSavedNetworkSettings_shouldHaveAddNetworkField()
74 onView(withText(resourceId(STRING, WIFI_NETWORK_LABEL))).check(matches(isDisplayed())); in launchSavedNetworkSettings_shouldHaveAddNetworkField()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
115 onView(withText(HEADER_0_TOP)).check(matches(isDisplayed())); in expanderTest()
117 onView(withText(d.mHeader)).check(matches(isDisplayed())); in expanderTest()
125 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest()
130 onView(withText(CONTENT_3)).check(matches(isDisplayed())); in expanderTest()
139 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest()
152 matches(not(isDisplayed())); in isNotDisplayed()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java31 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
362 onView(withText(errorMsgId)).check(matches(isDisplayed())); in testErrorNoFactoryReset()
390 onView(withText(errorMsgId)).check(matches(isDisplayed())); in testErrorFactoryReset()
434 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); in testCancelProfileOwner()
448 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); in testCancelProfileOwner()
508 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); in testCancelProfileOwner_CompProvisioningWithoutSkipConsent()
520 onView(withText(R.string.stop_setup_reset_device_question)).check(matches(isDisplayed())); in testCancelDeviceOwner()
522 .check(matches(isDisplayed())); in testCancelDeviceOwner()
536 onView(withText(R.string.stop_setup_reset_device_question)).check(matches(isDisplayed())); in testCancelDeviceOwner()
608 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_profileOwner()
[all …]
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
248 onView(withText(R.string.set_wallpaper_error_message)).check(matches(isDisplayed())); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()
287 onView(withText(R.string.set_wallpaper_error_message)).check(matches(isDisplayed())); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog()
328 onView(withText(R.string.set_wallpaper_error_message)).check(matches(isDisplayed())); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
389 onView(withText(R.string.set_wallpaper_error_message)).check(matches(isDisplayed())); in testClickSetWallpaper_FailsCroppingAndScalingWallpaper_ShowsErrorDialog()
400 onView(withText(R.string.set_wallpaper_dialog_message)).check(matches(isDisplayed())); in testClickSetWallpaper_ShowsDestinationDialog()
491 onView(withText(R.string.load_wallpaper_error_message)).check(matches(isDisplayed())); in testLoadWallpaper_Failed_ShowsErrorDialog()
508 matches(not(isDisplayed()))); in testNoActionViewHandler_ExploreButtonNotVisible()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DRestrictAppTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
72 onView(withText("Restrict 1 app")).check(matches(isDisplayed())); in batterySettings_hasOneAnomaly_showAnomaly()
87 onView(withText("Restrict 2 apps")).check(matches(isDisplayed())); in batterySettings_hasTwoAnomalies_showAnomalies()
102 onView(withText("2 apps recently restricted")).check(matches(isDisplayed())); in batterySettings_hasAutoHandledAnomalies_showAutoHandled()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DMatchers.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
39 return present(onView(matcher), isDisplayed()); in present()
45 vi.check(matches(isDisplayed())); in present()
DSearchBot.java23 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
63 isDisplayed());
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
71 onView(withText("Hotspot name")).check(matches(isDisplayed())); in launchTetherSettings_shouldHaveAllFields()
72 onView(withText("Hotspot password")).check(matches(isDisplayed())); in launchTetherSettings_shouldHaveAllFields()
/packages/apps/StorageManager/tests/app/src/com/android/storagemanager/deletionhelper/
DDeletionHelperActivityTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
45 onView(withText(R.string.deletion_helper_apps_group_title)).check(matches(isDisplayed())); in testPhotosPreferenceNotVisible()
/packages/apps/Settings/tests/unit/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragmentTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
77 onView(withText(SUMMARY_TEXT)).check(matches(isDisplayed())); in testSummaryTestDisplayed()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
77 onView(withText(R.string.fdn)).check(matches(isDisplayed())); in onResume_fdnIsAvailable_shouldShowFdnMenu()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java21 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
172 matches(isDisplayed())); in onConnected_shouldSeeConnectedMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java56 boolean isDisplayed, String geometry) { in getMessageDetails() argument
90 Boolean.toString(isDisplayed)); in getMessageDetails()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DChooseLockPasswordTest.java22 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
DSetupChooseLockPasswordAppTest.java23 import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;