Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 71) 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/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/
DIndividualPickerActivityTest.java218 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()
291 onView(withText(R.string.daily_refresh_tile_subtitle)).check(matches(isDisplayed())); in testActivityRestarted_RotationStateChanges_StartRotationTileUpdates()
[all …]
/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.java235 onView(withText(SUBSCRIPTION0_NAME)).check(matches(isSelected())); in testDualSimUi()
244 onView(withText(SUBSCRIPTION1_NAME)).check(matches(isSelected())); in testDualSimUi()
249 v.check(matches(isCompletelyDisplayed())); in checkExists()
279 .check(matches(withText(containsString(statusOn ? "On" : "Off")))); in checkSwitchBarStatus()
285 .check(doesNotExist()); in checkSwitchBarStatus()
293 .check(doesNotExist()); in checkEmptyViewStatus()
296 .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/modules/DnsResolver/tests/
Dtun_forwarder.cpp342 ipHeader->check = 0; in translateIpv4Packet()
343 ipHeader->check = ip_checksum(ipHeader, sizeof(struct iphdr)); in translateIpv4Packet()
395 if (udpHeader->check) { in translateUdpPacket()
396 udpHeader->check = ip_checksum_adjust(udpHeader->check, oldPseudoSum, newPseudoSum); in translateUdpPacket()
399 udpHeader->check = ip_checksum_finish(tmp); in translateUdpPacket()
404 if (!udpHeader->check) { in translateUdpPacket()
405 udpHeader->check = 0xffff; in translateUdpPacket()
412 tcpHeader->check = ip_checksum_adjust(tcpHeader->check, oldPseudoSum, newPseudoSum); in translateTcpPacket()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java56 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testAllFilesParse()
71 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testFilterValidAttributes()
111 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testCarrierConfigFileNaming()
176 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testVariableNames()
225 void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, IOException; in check() method
250 checker.check(parser, mccmnc); in forEachConfigXml()
259 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/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java248 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()
507 onView(withId(R.id.preview_attribution_pane_explore_button)).check( in testNoActionViewHandler_ExploreButtonNotVisible()
/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/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java77 onView(withText(R.string.fdn)).check(matches(isDisplayed())); in onResume_fdnIsAvailable_shouldShowFdnMenu()
91 onView(withText(R.string.fdn)).check(doesNotExist()); in onResume_iccCardIsNull_shouldNotShowFdnMenu()
106 onView(withText(R.string.fdn)).check(doesNotExist()); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu()
/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()

123