Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceControllerTest.java98 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.BROWSER.getIntents(), 1); in testUpdateState()
99 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.CAMERA.getIntents(), 2); in testUpdateState()
100 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.MAP.getIntents(), 4); in testUpdateState()
101 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.EMAIL.getIntents(), 8); in testUpdateState()
102 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.CALENDAR.getIntents(), 16); in testUpdateState()
103 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.CONTACTS.getIntents(), 32); in testUpdateState()
104 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.PHONE.getIntents(), 64); in testUpdateState()
124 setEnterpriseSetDefaultApps(EnterpriseDefaultApps.BROWSER.getIntents(), 1); in testIsAvailable()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java128 eq(EnterpriseDefaultApps.BROWSER.getIntents()))) in testMultipleAppsForOneTypeOfDefault()
132 eq(EnterpriseDefaultApps.PHONE.getIntents()))).thenReturn( in testMultipleAppsForOneTypeOfDefault()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java570 final Intent sentIntent = Intents.getIntents().get(0); in testTelScheme()
582 final Intent sentIntent = Intents.getIntents().get(0); in testSmsScheme()
592 assertEquals(0, Intents.getIntents().size()); in testUnsupportedScheme()
645 assertEquals(0, Intents.getIntents().size()); in testDownload()
652 isEventually(() -> Intents.getIntents().size() == 1, TEST_TIMEOUT_MS)); in testDownload()
654 final Intent fileIntent = Intents.getIntents().get(0); in testDownload()
987 assertEquals(0, Intents.getIntents().size()); in testDirectlyOpen_successfullyDownload()
993 assertEquals(0, Intents.getIntents().size()); in testDirectlyOpen_successfullyDownload()
999 final Intent sentIntent = Intents.getIntents().get(0); in testDirectlyOpen_successfullyDownload()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DEnterpriseDefaultAppsTest.java37 app.getIntents().length <= concatenation_templates.length); in testNumberOfIntentsCorrelateWithUI()
/packages/apps/Settings/src/com/android/settings/applications/
DEnterpriseDefaultApps.java48 public Intent[] getIntents() { in getIntents() method in EnterpriseDefaultApps
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java68 app.getIntents()).size(); in getNumberOfEnterpriseSetDefaultApps()
DEnterpriseSetDefaultAppsListPreferenceController.java92 typeOfDefault.getIntents()); in buildAppList()
/packages/apps/Car/Settings/src/com/android/car/settingslib/enterprise/
DEnterpriseDefaultApps.java50 public Intent[] getIntents() { in getIntents() method in EnterpriseDefaultApps
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/
DEnterpriseDefaultApps.java50 public Intent[] getIntents() { in getIntents() method in EnterpriseDefaultApps
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/
DEnterpriseDefaultApps.java50 public Intent[] getIntents() { in getIntents() method in EnterpriseDefaultApps
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java77 .findPersistentPreferredActivities(user.getIdentifier(), app.getIntents()) in getNumberOfEnterpriseSetDefaultApps()
DEnterpriseSetDefaultAppsListPreferenceController.java101 typeOfDefault.getIntents()); in listEnterpriseSetDefaultApps()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java78 user.getIdentifier(), app.getIntents()) in getNumberOfEnterpriseSetDefaultApps()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceController.java83 app.getIntents()).size(); in getNumberOfEnterpriseSetDefaultApps()
DEnterpriseSetDefaultAppsListPreferenceController.java96 user.getIdentifier(), typeOfDefault.getIntents()); in buildAppList()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DNoCrossProfileEmptyStateProvider.java90 if (hasCrossProfileIntents(adapter.getIntents(), effectiveSource, effectiveTarget)) { in getEmptyState()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DEnterpriseSetDefaultAppsPreferenceControllerTest.java220 Intent[] intents = typeOfDefault.getIntents(); in setEnterpriseSetDefaultApps()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java320 Intent[] intents = typeOfDefault.getIntents(); in setEnterpriseSetDefaultApps()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java496 Intent receivedIntent = Iterables.getOnlyElement(Intents.getIntents()); in testInitializeUi_deviceOwnerCanAbort()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverListAdapter.java848 public List<Intent> getIntents() { in getIntents() method in ResolverListAdapter