/packages/apps/Launcher3/tests/src/com/android/launcher3/search/ |
D | StringMatcherUtilityTest.java | 18 import static com.android.launcher3.search.StringMatcherUtility.matches; 42 assertTrue(matches("white ", "white cow", MATCHER)); in testMatches() 43 assertTrue(matches("white c", "white cow", MATCHER)); in testMatches() 44 assertTrue(matches("cow", "white cow", MATCHER)); in testMatches() 45 assertTrue(matches("cow", "whiteCow", MATCHER)); in testMatches() 46 assertTrue(matches("cow", "whiteCOW", MATCHER)); in testMatches() 47 assertTrue(matches("cow", "whitecowCOW", MATCHER)); in testMatches() 48 assertTrue(matches("cow", "white2cow", MATCHER)); in testMatches() 50 assertFalse(matches("cow", "whitecow", MATCHER)); in testMatches() 51 assertFalse(matches("cow", "whitEcow", MATCHER)); in testMatches() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/ |
D | PreferenceTest.java | 23 import static androidx.test.espresso.assertion.ViewAssertions.matches; 104 .check(matches(isNotChecked())); in testListPreference() 106 .check(matches(isNotChecked())); in testListPreference() 112 .check(matches(isChecked())); in testListPreference() 114 .check(matches(isNotChecked())); in testListPreference() 116 .check(matches(isNotChecked())); in testListPreference() 127 .check(matches(isChecked())); in testListPreference() 129 .check(matches(isNotChecked())); in testListPreference() 131 .check(matches(isNotChecked())); in testListPreference() 137 .check(matches(isNotChecked())); in testListPreference() [all …]
|
D | NonFullscreenPreferenceFragmentTest.java | 23 import static androidx.test.espresso.assertion.ViewAssertions.matches; 77 onView(withText(PREFERENCE_SCREEN_TITLE)).check(matches(isDisplayed())); in test_fullscreen_changesTitle() 79 matches(withPaddingAtLeast(Side.TOP, 1))); in test_fullscreen_changesTitle() 82 onView(withText(MULTI_SELECT_LIST_PREFERENCE_TITLE)).check(matches(isDisplayed())); in test_fullscreen_changesTitle() 83 onView(withText(ITEMS[0])).check(matches(isDisplayed())); in test_fullscreen_changesTitle() 85 matches(withPaddingAtLeast(Side.TOP, 1))); in test_fullscreen_changesTitle() 89 onView(withText(LIST_PREFERENCE_TITLE)).check(matches(isDisplayed())); in test_fullscreen_changesTitle() 90 onView(withText(ITEMS[0])).check(matches(isDisplayed())); in test_fullscreen_changesTitle() 92 matches(withPaddingAtLeast(Side.TOP, 1))); in test_fullscreen_changesTitle() 102 onView(withText(TOOLBAR_DEFAULT_TEXT)).check(matches(isDisplayed())); in test_nonFullscreen_doesntChangeTitle() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiListItemTest.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches; 109 onView(withId(R.id.car_ui_list_item_title)).check(matches(isDisplayed())); in testItemVisibility_withTitle() 110 onView(withId(R.id.car_ui_list_item_body)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle() 111 onView(withId(R.id.car_ui_list_item_icon_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle() 112 onView(withId(R.id.car_ui_list_item_action_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle() 126 onView(withId(R.id.car_ui_list_item_body)).check(matches(isDisplayed())); in testItemVisibility_withBody() 127 onView(withId(R.id.car_ui_list_item_body)).check(matches(isEnabled())); in testItemVisibility_withBody() 128 onView(withId(R.id.car_ui_list_item_body)).check(matches(not(isActivated()))); in testItemVisibility_withBody() 129 onView(withId(R.id.car_ui_list_item_title)).check(matches(not(isDisplayed()))); in testItemVisibility_withBody() 130 onView(withId(R.id.car_ui_list_item_icon_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withBody() [all …]
|
D | DelegatingContentLimitingAdapterTest.java | 19 import static androidx.test.espresso.assertion.ViewAssertions.matches; 68 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_noScrolling_noContentLimiting() 77 onView(withText(mDelegateAdapter.getItemText(0))).check(matches(isDisplayed())); in setMaxItem_noScrolling_noContentLimiting() 95 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_noScrolling() 104 onView(withText(mDelegateAdapter.getItemText(0))).check(matches(isDisplayed())); in setMaxItem_noScrolling() 122 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_withScrolling() 133 onView(withText(mDelegateAdapter.getItemText(15))).check(matches(isDisplayed())); in setMaxItem_withScrolling() 144 onView(withId(R.id.list)).check(matches(isDisplayed())); in testChangeItem_callsObservers() 154 onView(withText(mDelegateAdapter.getItemText(0))).check(matches(isDisplayed())); in testChangeItem_callsObservers() 167 onView(withId(R.id.list)).check(matches(isDisplayed())); in testInsertItem_callsObservers() [all …]
|
D | CarUiRecyclerViewTest.java | 34 import static androidx.test.espresso.assertion.ViewAssertions.matches; 165 onView(withId(R.id.car_ui_scroll_bar)).check(matches(isDisplayed())); in testIsScrollbarPresent_scrollbarEnabled() 288 onView(withId(R.id.list)).check(matches(isDisplayed())); in testLayoutManagerSetInXml() 299 onView(withText(adapter.getItemText(0))).check(matches(isDisplayed())); in testLayoutManagerSetInXml() 300 onView(withText(adapter.getItemText(1))).check(matches(isDisplayed())); in testLayoutManagerSetInXml() 301 onView(withText(adapter.getItemText(2))).check(matches(isDisplayed())); in testLayoutManagerSetInXml() 348 onView(withId(R.id.list)).check(matches(not(isDisplayed()))); in testVisibility_goneAtInflationWithChangeToVisible() 358 onView(withText(adapter.getItemText(0))).check(matches(isDisplayed())); in testVisibility_goneAtInflationWithChangeToVisible() 359 onView(withText(adapter.getItemText(1))).check(matches(isDisplayed())); in testVisibility_goneAtInflationWithChangeToVisible() 360 onView(withText(adapter.getItemText(2))).check(matches(isDisplayed())); in testVisibility_goneAtInflationWithChangeToVisible() [all …]
|
D | ContentLimitingAdapterUiTest.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches; 56 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_toLowerThanTotalItems() 63 onView(withText("Item 0")).check(matches(isDisplayed())); in setMaxItem_toLowerThanTotalItems() 65 onView(withText("Item 19")).check(matches(isDisplayed())); in setMaxItem_toLowerThanTotalItems() 67 .check(matches(isDisplayed())); in setMaxItem_toLowerThanTotalItems() 79 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_toOne() 85 onView(withText("Item 0")).check(matches(isDisplayed())); in setMaxItem_toOne() 88 .check(matches(isDisplayed())); in setMaxItem_toOne() 100 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_toZero() 108 .check(matches(isDisplayed())); in setMaxItem_toZero() [all …]
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | AudioFragmentTest.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches; 87 .check(matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 92 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 94 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 96 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 99 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 102 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 105 matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 108 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 110 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(not(isDisplayed()))); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() [all …]
|
/packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/ |
D | LoginTest.java | 23 import static androidx.test.espresso.assertion.ViewAssertions.matches; 96 .check(matches(hasErrorText(ctx.getString(R.string.invalid_username)))); in invalidEmail() 97 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidEmail() 107 .check(matches(hasErrorText(ctx.getString(R.string.invalid_password)))); in invalidPassword() 108 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidPassword() 113 onView(withId(R.id.login)).check(matches(isDisplayed())); in initialButtonStates() 114 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in initialButtonStates() 115 onView(withId(R.id.next)).check(matches(isDisplayed())); in initialButtonStates() 116 onView(withId(R.id.next)).check(matches(not(isEnabled()))); in initialButtonStates() 124 onView(withId(R.id.next)).check(matches(not(isEnabled()))); in wrongPassword() [all …]
|
D | TokenTest.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches; 79 onView(withId(R.id.agreement)).check(matches(isDisplayed())); in initialButtonStates() 80 onView(withId(R.id.agree)).check(matches(isDisplayed())); in initialButtonStates() 81 onView(withId(R.id.agree)).check(matches(isEnabled())); in initialButtonStates() 82 onView(withId(R.id.disagree)).check(matches(isDisplayed())); in initialButtonStates() 87 onView(withId(R.id.agree)).check(matches(isEnabled())); in agree() 96 onView(withId(R.id.disagree)).check(matches(isEnabled())); in disagree()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragmentTest.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches; 104 onView(withId(R.id.mute_button)).check(matches(isClickable())).check( in testMuteButton() 105 matches(isActivated(false))); in testMuteButton() 108 onView(withId(R.id.mute_button)).perform(selfClick()).check(matches(isActivated(true))); in testMuteButton() 110 onView(withId(R.id.mute_button)).perform(selfClick()).check(matches(isActivated(false))); in testMuteButton() 118 onView(withId(R.id.toggle_dialpad_button)).check(matches(isClickable())).check( in testDialpadButton() 119 matches(isActivated(false))); in testDialpadButton() 123 matches(isActivated(true))); in testDialpadButton() 127 matches(isActivated(false))); in testDialpadButton() 135 onView(withId(R.id.end_call_button)).check(matches(isClickable())); in testEndCallButton() [all …]
|
D | RingingCallControllerBarFragmentTest.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches; 74 onView(withId(R.id.answer_call_button)).check(matches(isDisplayed())).check( in testAnswerCallButton() 75 matches(isClickable())).perform(selfClick()); in testAnswerCallButton() 82 onView(withId(R.id.answer_call_text)).check(matches(isDisplayed())).check( in testAnswerCallText() 83 matches(isClickable())).perform(selfClick()); in testAnswerCallText() 90 onView(withId(R.id.end_call_button)).check(matches(isDisplayed())).check( in testEndCallButton() 91 matches(isClickable())).perform(selfClick()); in testEndCallButton() 98 onView(withId(R.id.end_call_text)).check(matches(isDisplayed())).check( in testEndCallText() 99 matches(isClickable())).perform(selfClick()); in testEndCallText()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityTest.java | 27 import static androidx.test.espresso.assertion.ViewAssertions.matches; 312 onView(withText(R.string.stop_setup_reset_device_question)).check(matches(isDisplayed())); in testCancelDeviceOwner() 314 .check(matches(isDisplayed())); in testCancelDeviceOwner() 318 .check(matches(withText(R.string.device_owner_cancel_cancel))) in testCancelDeviceOwner() 328 onView(withText(R.string.stop_setup_reset_device_question)).check(matches(isDisplayed())); in testCancelDeviceOwner() 332 .check(matches(withText(R.string.reset))) in testCancelDeviceOwner() 405 .check(matches(withText(R.string.work_profile_provisioning_progress_label))); in testInitializeUi_profileOwner() 408 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_profileOwner() 419 matches(withText(R.string.fully_managed_device_provisioning_progress_label))); in testInitializeUi_deviceOwner() 422 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_deviceOwner() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/imewidescreen/ |
D | CarUiImeWideScreenControllerTest.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches; 167 onView(withId(R.id.car_ui_wideScreenDescriptionTitle)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 168 onView(withId(R.id.car_ui_wideScreenDescription)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 169 onView(withId(R.id.car_ui_inputExtractActionAutomotive)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 170 onView(withId(R.id.car_ui_wideScreenSearchResultList)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 171 onView(withId(R.id.car_ui_wideScreenErrorMessage)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 172 onView(withId(R.id.car_ui_wideScreenError)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 173 onView(withId(R.id.car_ui_contentAreaAutomotive)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 174 onView(withId(R.id.car_ui_ime_surface)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 176 onView(withId(R.id.car_ui_wideScreenExtractedTextIcon)).check(matches(isDisplayed())); in createWideScreenImeView_shouldWrapTheViewInTemplate() [all …]
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/ |
D | HomeCardFragmentTest.java | 20 import static androidx.test.espresso.assertion.ViewAssertions.matches; 75 matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 78 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 81 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 84 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 96 matches(isDisplayed())); in updateContentView_descriptiveTextWithNoFooter_hidesTapForMoreView() 99 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithNoFooter_hidesTapForMoreView() 102 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithNoFooter_hidesTapForMoreView() 105 isDescendantOfA(withId(R.id.top_card)))).check(matches(not(isDisplayed()))); in updateContentView_descriptiveTextWithNoFooter_hidesTapForMoreView() 116 matches(isDisplayed())); in updateContentView_textBlockWithFooter_displaysTapForMoreView() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivityTest.java | 23 import static androidx.test.espresso.assertion.ViewAssertions.matches; 148 onView(withText(HEADER_0_PO)).check(matches(isDisplayed())); in expanderTest() 153 onView(withText(HEADER_0_DO)).check(matches(isDisplayed())); in expanderTest() 158 onView(withText(d.mHeader)).check(matches(isDisplayed())); in expanderTest() 166 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest() 171 onView(withText(CONTENT_3)).check(matches(isDisplayed())); in expanderTest() 180 onView(withText(CONTENT_1)).check(matches(isDisplayed())); in expanderTest() 184 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest() 212 onView(withText(HEADER_0_DO)).check(matches(isDisplayed())); in expanderTest_automotive() 218 onView(withText(d.mHeader)).check(matches(isDisplayed())); in expanderTest_automotive() [all …]
|
/packages/providers/MediaProvider/errorprone/src/com/android/providers/media/ |
D | MimeTypeChecker.java | 56 if (STRING_EQUALS.matches(tree, state) || STRING_STARTS_WITH.matches(tree, state) in matchMethodInvocation() 57 || OBJECTS_EQUALS.matches(tree, state)) { in matchMethodInvocation() 58 if (MIME_WITHOUT_CASE_FOLDING.matches(tree.getMethodSelect(), state) in matchMethodInvocation() 63 if (STRING_REGION_MATCHES.matches(tree, state)) { in matchMethodInvocation() 64 if (!Matchers.booleanLiteral(true).matches(tree.getArguments().get(0), state)) { in matchMethodInvocation() 73 if (MIME_WITHOUT_CASE_FOLDING.matches(tree.getExpression(), state)) { in matchSwitch() 85 public boolean matches(ExpressionTree tree, VisitorState state) { in matches() method in MimeTypeChecker.MimeWithoutCaseFoldingMatcher 94 return matches(tree, null); in test()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | RouteInfoTest.java | 131 public boolean matches(InetAddress destination) { in testMatches() method in RouteInfoTest.PatchedRouteInfo 132 return mRouteInfo.matches(destination); in testMatches() 139 assertTrue(r.matches(Address("2001:db8:f00::ace:d00c"))); in testMatches() 140 assertTrue(r.matches(Address("2001:db8:f00::ace:d00d"))); in testMatches() 141 assertFalse(r.matches(Address("2001:db8:f00::ace:d00e"))); in testMatches() 142 assertFalse(r.matches(Address("2001:db8:f00::bad:d00d"))); in testMatches() 143 assertFalse(r.matches(Address("2001:4868:4860::8888"))); in testMatches() 144 assertFalse(r.matches(Address("8.8.8.8"))); in testMatches() 147 assertTrue(r.matches(Address("192.0.2.43"))); in testMatches() 148 assertTrue(r.matches(Address("192.0.3.21"))); in testMatches() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageServiceTest.java | 88 public boolean matches(Intent argument) { in testFormatAsPublic_success_fromPrivate() 89 return super.matches(argument) in testFormatAsPublic_success_fromPrivate() 118 public boolean matches(Intent argument) { in testFormatAsPublic_success_fromNonPrivate() 119 return super.matches(argument) in testFormatAsPublic_success_fromNonPrivate() 144 public boolean matches(Intent argument) { in testFormatAsPublic_failure() 145 return super.matches(argument) in testFormatAsPublic_failure() 176 public boolean matches(Intent argument) { in testFormatAsPrivate_success() 177 return super.matches(argument) in testFormatAsPrivate_success() 203 public boolean matches(Intent argument) { in testFormatAsPrivate_failure() 204 return super.matches(argument) in testFormatAsPrivate_failure() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicesGroupPreferenceControllerTest.java | 123 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMatch_addsToGroup() 137 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMatch_addsToPreferenceMap() 151 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMismatch_removesFromGroup() 158 when(mFilter.matches(mDevice1)).thenReturn(false); in refreshUi_filterMismatch_removesFromGroup() 168 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_filterMismatch_removesFromPreferenceMap() 175 when(mFilter.matches(mDevice1)).thenReturn(false); in refreshUi_filterMismatch_removesFromPreferenceMap() 192 when(mFilter.matches(mDevice1)).thenReturn(true); in refreshUi_devices_showsGroup() 203 when(mFilter.matches(mDevice1)).thenReturn(true); in onBluetoothStateChanged_turningOff_clearsPreferences() 217 when(mFilter.matches(mDevice1)).thenReturn(true); in onDeviceAdded_refreshesUi() 231 when(mFilter.matches(any(BluetoothDevice.class))).thenReturn(true); in onDeviceDeleted_refreshesUi() [all …]
|
/packages/modules/Gki/build/ |
D | kmi.go | 32 matches := reKmi.FindAllStringSubmatch(s, 4) 34 if matches == nil { 38 version := matches[0][1] 39 patchLevel := matches[0][2] 40 androidRelease := matches[0][3] 41 kmiGeneration := matches[0][4]
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerActivityTest.java | 21 import static androidx.test.espresso.assertion.ViewAssertions.matches; 191 .check(matches(isDisplayed())); in testClickDailyRefreshAction_ShowsStartRotationDialog() 194 .check(matches(isChecked())); in testClickDailyRefreshAction_ShowsStartRotationDialog() 205 onView(withText(R.string.start_rotation_dialog_body)).check(matches(isDisplayed())); in testStartRotationDialogUiComponents() 206 onView(withText(android.R.string.cancel)).check(matches(isDisplayed())); in testStartRotationDialogUiComponents() 207 onView(withText(android.R.string.cancel)).check(matches(isClickable())); in testStartRotationDialogUiComponents() 208 onView(withText(android.R.string.ok)).check(matches(isDisplayed())); in testStartRotationDialogUiComponents() 209 onView(withText(android.R.string.ok)).check(matches(isClickable())); in testStartRotationDialogUiComponents() 211 .check(matches(isDisplayed())); in testStartRotationDialogUiComponents() 213 .check(matches(isClickable())); in testStartRotationDialogUiComponents() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ItemInfoMatcher.java | 34 boolean matches(ItemInfo info, ComponentName cn); in matches() method 42 return cn != null && matches(info, cn); in matchesInfo() 52 return (info, cn) -> matches(info, cn) || matcher.matches(info, cn); in or() 59 return (info, cn) -> matches(info, cn) && matcher.matches(info, cn); in and() 66 return (info, cn) -> !matches(info, cn); in negate()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/ |
D | README.md | 53 * Initial match (957 matches [W]illiam [J]ohn [S]mith) 54 * Number + name match (1800946 matches [1800-Win]-A-Prize) 56 * Simple number match (510333 matches [510-333]-7596) 57 * Country-code agnostic matching for E164 normalized numbers (9177 matches 59 * Country-code agnostic matching (510333 matches 1-[510-333]-7596) 60 * Area-code agnostic matching (333 matches 510-[333]-7596) 62 * Simple name match (564 matches [Joh]n)
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ResolveCache.java | 135 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent, in getEntry() local 140 final int size = matches.size(); in getEntry() 142 bestResolve = matches.get(0); in getEntry() 144 bestResolve = getBestResolve(intent, matches); in getEntry() 168 protected ResolveInfo getBestResolve(Intent intent, List<ResolveInfo> matches) { in getBestResolve() argument 182 for (ResolveInfo info : matches) { in getBestResolve() 193 return firstSystem != null ? firstSystem : matches.get(0); in getBestResolve()
|