Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Settings/tests/unit/src/com/android/settings/notification/
DZenModeSettingsIntegrationTest.java40 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()
54 onView(withText("Schedules")).check(matches(isDisplayed())); in testZenModeBehaviorPreferences()
[all …]
DAppNotificationSettingsTest.java105 .check(doesNotExist()); in launchNotificationSetting_shouldNotHaveAppInfoLink()
114 onView(allOf(withText(mGroup1.getName().toString()))).check( in launchNotificationSetting_showGroupsWithMultipleChannels()
116 onView(allOf(withText(mGroup1Channel1.getName().toString()))).check( in launchNotificationSetting_showGroupsWithMultipleChannels()
118 onView(allOf(withText(mGroup1Channel2.getName().toString()))).check( 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.java83 onView(allOf(withText(mNotificationChannel.getName().toString()))).check( 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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java362 onView(withText(errorMsgId)).check(matches(isDisplayed())); in testErrorNoFactoryReset()
371 .check(matches(withText(android.R.string.ok))) in testErrorNoFactoryReset()
390 onView(withText(errorMsgId)).check(matches(isDisplayed())); in testErrorFactoryReset()
397 .check(matches(withText(R.string.reset))) in testErrorFactoryReset()
434 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); in testCancelProfileOwner()
438 .check(matches(withText(R.string.profile_owner_cancel_cancel))) in testCancelProfileOwner()
448 onView(withText(R.string.profile_owner_cancel_message)).check(matches(isDisplayed())); in testCancelProfileOwner()
452 .check(matches(withText(R.string.profile_owner_cancel_ok))) 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()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java194 onView(withText(resourceId(STRING, WIFI_CONFIGURE_SETTINGS_PREFERENCE_TITLE))).check( in shouldShowWifiPreferences()
205 onView(withText(resourceId(STRING, WIFI_SAVED_ACCESS_POINTS_LABEL))).check( in noSavedNetworks_wifiDisabled_shouldNotShowSavedNetworksButton()
217 withEffectiveVisibility(VISIBLE))).check(matches(isDisplayed())); in savedNetworksExist_shouldShowSavedNetworksButton()
227 onView(withText(startsWith(resourceString(WIFI_EMPTY_LIST_WIFI_OFF)))).check( in onDisableWifi_seeOffMessage()
238 onView(withText(startsWith(resourceString(WIFI_EMPTY_LIST_WIFI_OFF)))).check( in onEnableWifi_shouldNotSeeOffMessage()
250 onView(withText(resourceString(WIFI_DISPLAY_STATUS_CONNECTED))).check( 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()
[all …]
DWifiCallingSettingUiTest.java233 onView(withText(SUBSCRIPTION0_NAME)).check(matches(isSelected())); in testDualSimUi()
242 onView(withText(SUBSCRIPTION1_NAME)).check(matches(isSelected())); in testDualSimUi()
247 v.check(matches(isCompletelyDisplayed())); in checkExists()
277 .check(matches(withText(containsString(statusOn ? "On" : "Off")))); in checkSwitchBarStatus()
283 .check(doesNotExist()); in checkSwitchBarStatus()
291 .check(doesNotExist()); in checkEmptyViewStatus()
294 .check(matches(anything())); in checkEmptyViewStatus()
DSavedNetworkSettingsTest.java72 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.java115 onView(withText(HEADER_0_TOP)).check(matches(isDisplayed())); in expanderTest()
117 onView(withText(d.mHeader)).check(matches(isDisplayed())); in expanderTest()
121 onView(withId(R.id.disclaimer_content)).check(isNotDisplayed()); in expanderTest()
125 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest()
129 onView(withText(CONTENT_1)).check(isNotDisplayed()); in expanderTest()
130 onView(withText(CONTENT_3)).check(matches(isDisplayed())); in expanderTest()
138 onView(withText(CONTENT_3)).check(isNotDisplayed()); in expanderTest()
139 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest()
143 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java40 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testAllFilesParse()
55 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testFilterValidAttributes()
93 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testCarrierConfigFileNaming()
158 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testVariableNames()
207 void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, IOException; in check() method
232 checker.check(parser, mccmnc); in forEachConfigXml()
241 checker.check(res.getXml(R.xml.vendor), mccmnc); in forEachConfigXml()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java64 public boolean check() { in testServiceLaunched()
144 boolean check(); in check() method
150 boolean checked = checker.check(); in pollingCheck()
154 checked = checker.check(); in pollingCheck()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java69 onView(withText(R.string.fdn)).check(matches(isDisplayed())); in onResume_fdnIsAvailable_shouldShowFdnMenu()
83 onView(withText(R.string.fdn)).check(doesNotExist()); in onResume_iccCardIsNull_shouldNotShowFdnMenu()
98 onView(withText(R.string.fdn)).check(doesNotExist()); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu()
DRoamingDialogFragmentTest.java68 .check(matches(hasDescendant(isChecked()))) in disableRoaming()
86 onView(withText(R.string.roaming_alert_title)).check(matches(isDisplayed())); in dataRoamingDialogPersistsOnRotation()
114 onView(withText(R.string.roaming_alert_title)).check(doesNotExist()); in dialogDismissedOnNegativeButtonClicked()
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/
DRestrictAppTest.java72 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/Settings/tests/uitests/assets/
Dsearch_results_list73 Background check;background_check
194 Double-tap to check phone;ambient_display_double_tap
195 Double-tap to check phone;gesture_double_tap_screen
196 Double-tap to check phone;gesture_double_tap_screen_input_summary
288 Lift to check phone;ambient_display_pick_up
289 Lift to check phone;gesture_pick_up
290 Lift to check phone;gesture_pick_up_input_summary
415 Reach to check phone;gesture_reach
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DCheckedTask.java39 public CheckedTask(Check check) { in CheckedTask() argument
40 mCheck = check; in CheckedTask()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DTimeoutTask.java35 public TimeoutTask(Check check, long timeout) { in TimeoutTask() argument
36 super(check); in TimeoutTask()
DRefreshTask.java56 @ApplicationScope Context context, Check check, BooleanConsumer callback) { in RefreshTask() argument
57 super(check, timeout); in RefreshTask()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DMatchers.java44 vi.check(matches(matcher)); in present()
45 vi.check(matches(isDisplayed())); in present()
DUiBot.java103 .check(matches(withToolbarTitle(is(expected)))); in assertWindowTitle()
136 .check(matches(withText(is(expected)))); in assertDialogText()
253 onView(withId(android.R.id.button1)).check(matches(hasFocus())); in assertDialogOkButtonFocused()
/packages/apps/StorageManager/tests/app/src/com/android/storagemanager/deletionhelper/
DDeletionHelperActivityTest.java45 onView(withText(R.string.deletion_helper_apps_group_title)).check(matches(isDisplayed())); in testPhotosPreferenceNotVisible()
48 onView(withText(R.string.deletion_helper_photos_title)).check(doesNotExist()); in testPhotosPreferenceNotVisible()
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DPreferenceThemeTest.java61 .check(doesNotExist()); in startSetupWizardLockScreen_preferenceIconSpaceNotReserved()
62 onView(withId(R.id.icon_container)).check(doesNotExist()); in startSetupWizardLockScreen_preferenceIconSpaceNotReserved()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DConfirmLockPasswordTest.java58 onView(withId(R.id.errorText)).check(matches(withText(R.string.lockpassword_invalid_pin))); in enterWrongPin_shouldShowErrorMessage()
68 onView(withId(R.id.errorText)).check(matches(withText(R.string.lockpassword_invalid_pin))); in enterWrongPin_darkTheme_shouldShowErrorMessage()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java71 onView(withText("Hotspot name")).check(matches(isDisplayed())); in launchTetherSettings_shouldHaveAllFields()
72 onView(withText("Hotspot password")).check(matches(isDisplayed())); in launchTetherSettings_shouldHaveAllFields()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivityTest.java132 .check(matches(withText(R.string.encrypt_device_text_for_profile_owner_setup))); in testProfileOwner()
155 .check(matches(withText(R.string.encrypt_device_text_for_device_owner_setup))); in testDeviceOwner()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DAnnotatedCallLogContentProvider.java149 AnnotatedCallLogConstraints.check(values, Operation.INSERT); in insert()
231 AnnotatedCallLogConstraints.check(values, Operation.UPDATE); in update()

123