Home
last modified time | relevance | path

Searched refs:appList (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityIntentHelper.java86 final List<ResolveInfo> appList = mPm.queryIntentActivitiesAsUser( in getTargetActivityInfo() local
88 if (appList.size() == 0) { in getTargetActivityInfo()
91 if (appList.size() == 1) { in getTargetActivityInfo()
92 return appList.get(0).activityInfo; in getTargetActivityInfo()
95 if (resolved == null || wouldLaunchResolverActivity(resolved, appList)) { in getTargetActivityInfo()
112 final List<ResolveInfo> appList = intent.queryIntentComponents(flags); in getPendingTargetActivityInfo() local
113 if (appList.size() == 0) { in getPendingTargetActivityInfo()
116 if (appList.size() == 1) { in getPendingTargetActivityInfo()
117 return appList.get(0).activityInfo; in getPendingTargetActivityInfo()
120 if (resolved == null || wouldLaunchResolverActivity(resolved, appList)) { in getPendingTargetActivityInfo()
[all …]
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepositoryTest.kt105 val appList = repository.loadApps( in <lambda>() constant
110 assertThat(appList).containsExactly(NORMAL_APP) in <lambda>()
117 val appList = repository.loadApps( in <lambda>() constant
122 assertThat(appList).containsExactly(NORMAL_APP, INSTANT_APP) in <lambda>()
129 val appList = repository.loadApps( in <lambda>() constant
134 assertThat(appList).containsExactly(NORMAL_APP) in <lambda>()
145 val appList = repository.loadApps( in <lambda>() constant
150 assertThat(appList).containsExactly(NORMAL_APP) in <lambda>()
168 val appList = repository.loadApps( in <lambda>() constant
173 assertThat(appList).isEmpty() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyChipBuilderTest.kt74 val appList = textBuilder.appsAndTypes.map { it.first }.map { it.packageName } in testOrder() constant
75 assertEquals(listOf("Camera", "Microphone", "Location"), appList) in testOrder()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/app/
DAppListPage.kt50 appList: @Composable AppListInput<T>.() -> Unit = { AppList() },
80 appList(appListInput) in searchQuery()
DAppOpPermissionAppList.kt95 .combine(appListFlow) { packageNames, appList -> in <lambda>() method
96 appList.map { app -> in <lambda>()
DTogglePermissionAppListPage.kt120 appList: @Composable AppListInput<T>.() -> Unit = { AppList() }, in TogglePermissionAppList()
133 appList = appList,
/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java424 List<AssociatedAppInfo> appList = associatedApps.get(carrierAppPackage); in getDefaultCarrierAssociatedAppsHelper() local
425 if (appList == null) { in getDefaultCarrierAssociatedAppsHelper()
426 appList = new ArrayList<>(); in getDefaultCarrierAssociatedAppsHelper()
427 associatedApps.put(carrierAppPackage, appList); in getDefaultCarrierAssociatedAppsHelper()
429 appList.add(new AssociatedAppInfo(ai, associatedApp.addedInSdk)); in getDefaultCarrierAssociatedAppsHelper()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java140 String appList = args.getString(KEY_APPS); in parseArgs() local
145 if (appList == null && procList == null) in parseArgs()
147 if (appList != null) { in parseArgs()
148 mNameToResultKey.putAll(parseListToMap(appList)); in parseArgs()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java453 final ArrayList<ApplicationInfo> appList = new ArrayList<>(); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries() local
455 appList.add(appInfo); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries()
457 appList.add(appInfo); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries()
458 setupDoResumeIfNeededLocked(appList, null); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries()
491 final ArrayList<ApplicationInfo> appList = new ArrayList<>(); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries() local
493 appList.add(appInfo); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries()
495 appList.add(appInfo); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries()
496 setupDoResumeIfNeededLocked(appList, null); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/
DAppListPageTest.kt111 appList = { appListState.value = this }, in <lambda>()
DTogglePermissionAppListPageTest.kt60 appList = {}, in <lambda>()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java949 String appList = args.getString(KEY_APPS); in parseArgs() local
950 if (appList == null) in parseArgs()
953 String appNames[] = appList.split("\\|"); in parseArgs()