Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DActivityIntentHelper.java77 final List<ResolveInfo> appList = packageManager.queryIntentActivitiesAsUser( in getTargetActivityInfo() local
79 if (appList.size() == 0) { in getTargetActivityInfo()
84 if (resolved == null || wouldLaunchResolverActivity(resolved, appList)) { in getTargetActivityInfo()
114 public boolean wouldLaunchResolverActivity(ResolveInfo resolved, List<ResolveInfo> appList) { in wouldLaunchResolverActivity() argument
117 for (int i = 0; i < appList.size(); i++) { in wouldLaunchResolverActivity()
118 ResolveInfo tmp = appList.get(i); in wouldLaunchResolverActivity()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DDefaultLayoutParser.java115 final List<ResolveInfo> appList = mPackageManager.queryIntentActivities( in invalidPackageOrClass() local
120 if (wouldLaunchResolverActivity(resolved, appList)) { in invalidPackageOrClass()
122 final ResolveInfo systemApp = getSingleSystemActivity(appList); in invalidPackageOrClass()
144 private ResolveInfo getSingleSystemActivity(List<ResolveInfo> appList) { in getSingleSystemActivity() argument
146 final int N = appList.size(); in getSingleSystemActivity()
150 appList.get(i).activityInfo.packageName, 0); in getSingleSystemActivity()
155 systemResolve = appList.get(i); in getSingleSystemActivity()
167 List<ResolveInfo> appList) { in wouldLaunchResolverActivity() argument
170 for (int i = 0; i < appList.size(); ++i) { in wouldLaunchResolverActivity()
171 ResolveInfo tmp = appList.get(i); in wouldLaunchResolverActivity()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
H A DManageApplicationsTest.java216 appList.add(mock(ApplicationsState.AppEntry.class)); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer()
217 when(mSession.getAllApps()).thenReturn(appList); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer()
271 appList.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_shouldHideLoadingView()
272 when(mSession.getAllApps()).thenReturn(appList); in onRebuildComplete_shouldHideLoadingView()
299 appList.add(mock(ApplicationsState.AppEntry.class)); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
305 adapter.onRebuildComplete(appList); in onRebuildComplete_hasSearchQuery_shouldFilterSearch()
357 appList.add(appEntry); in applicationsAdapter_onBindViewHolder_notifications_wrongExtraInfo()
379 appList.add(appEntry); in applicationsAdapter_onBindViewHolder_updateSwitch_notifications()
399 appList.add(appEntry); in applicationsAdapter_onBindViewHolder_updateSwitch_notNotifications()
622 appList.add(appEntry); in getTestAppList()
[all …]
/aosp12/system/extras/tests/workloads/
H A Drecentfling.sh18 (-A) unset appList;;
19 (-L) appList=$2; shift; ret=1;;
28 echo " default: $appList"
76 for app in $appList
H A Dsystemapps.sh32 appList="gmail maps chrome youtube play home"
37 (-A) unset appList;;
39 (-L) appList=$2; shift; ret=1;;
49 echo " default: $appList"
156 for app in $appList
256 for app in $appList
H A Dchromefling.sh17 (-A) unset appList;;
18 (-L) appList=$2; shift; ret=1;;
26 echo " default: $appList"
H A Ddefs.sh119 appList=${appList:=$dfltAppList}
475 for app in $appList
/aosp12/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
H A DHighUsageTip.java41 public HighUsageTip(long lastFullChargeTimeMs, List<AppInfo> appList) { in HighUsageTip() argument
42 super(TipType.HIGH_DEVICE_USAGE, appList.isEmpty() ? StateType.INVISIBLE : StateType.NEW, in HighUsageTip()
45 mHighUsageAppList = appList; in HighUsageTip()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DPreviewInflater.java128 final List<ResolveInfo> appList = packageManager.queryIntentActivitiesAsUser( in getWidgetInfo() local
130 if (appList.size() == 0) { in getWidgetInfo()
136 if (mActivityIntentHelper.wouldLaunchResolverActivity(resolved, appList)) { in getWidgetInfo()
/aosp12/frameworks/base/telephony/common/com/android/internal/telephony/
H A DCarrierAppUtils.java413 List<AssociatedAppInfo> appList = associatedApps.get(carrierAppPackage); in getDefaultCarrierAssociatedAppsHelper() local
414 if (appList == null) { in getDefaultCarrierAssociatedAppsHelper()
415 appList = new ArrayList<>(); in getDefaultCarrierAssociatedAppsHelper()
416 associatedApps.put(carrierAppPackage, appList); in getDefaultCarrierAssociatedAppsHelper()
418 appList.add(new AssociatedAppInfo(ai, associatedApp.addedInSdk)); in getDefaultCarrierAssociatedAppsHelper()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/applications/
H A DInstalledAppCountItemManager.java60 List<ApplicationInfo> appList = mContext.getPackageManager() in startLoading()
65 for (ApplicationInfo applicationInfo : appList) { in startLoading()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
H A DBatteryFixSliceTest.java100 final List<AppInfo> appList = new ArrayList<>(); in getSlice_unimportantSlice_shouldSkip() local
101 appList.add(new AppInfo.Builder() in getSlice_unimportantSlice_shouldSkip()
107 tips.add(new HighUsageTip(1000L, appList)); in getSlice_unimportantSlice_shouldSkip()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyChipBuilderTest.kt74 val appList = textBuilder.appsAndTypes.map { it.first }.map { it.packageName } regex
75 assertEquals(listOf("Camera", "Microphone", "Location"), appList)
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DApplicationsStateRoboTest.java424 final ArrayList<ApplicationInfo> appList = new ArrayList<>(); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries() local
426 appList.add(appInfo); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries()
428 appList.add(appInfo); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries()
429 setupDoResumeIfNeededLocked(appList, null); in removeAndInstall_noWorkprofile_doResumeIfNeededLocked_shouldClearEntries()
462 final ArrayList<ApplicationInfo> appList = new ArrayList<>(); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries() local
464 appList.add(appInfo); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries()
466 appList.add(appInfo); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries()
467 setupDoResumeIfNeededLocked(appList, null); in noAppRemoved_noWorkprofile_doResumeIfNeededLocked_shouldNotClearEntries()
/aosp12/hardware/interfaces/contexthub/1.2/vts/functional/
H A DVtsHalContexthubV1_2TargetTest.cpp169 hidl_vec<HubAppInfo> appList; in TEST_P() local
170 ASSERT_TRUE(waitForCallback(cb->promise.get_future(), &appList)); in TEST_P()
171 for (const HubAppInfo& appInfo : appList) { in TEST_P()
/aosp12/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java138 String appList = args.getString(KEY_APPS); in parseArgs() local
143 if (appList == null && procList == null) in parseArgs()
145 if (appList != null) { in parseArgs()
146 mNameToResultKey.putAll(parseListToMap(appList)); in parseArgs()
/aosp12/hardware/interfaces/contexthub/1.0/vts/functional/
H A DVtsHalContexthubV1_0TargetTest.cpp120 hidl_vec<HubAppInfo> appList; in TEST_P() local
121 ASSERT_TRUE(waitForCallback(cb->promise.get_future(), &appList)); in TEST_P()
122 for (const HubAppInfo& appInfo : appList) { in TEST_P()
/aosp12/build/make/tools/droiddoc/templates-pdk/assets/
H A Dcarousel.js60 var appList = document.getElementById("app-list");
82 appList.appendChild(a);
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DUsageStatsActivity.java62 AppNameComparator(Map<String, String> appList) { in AppNameComparator() argument
63 mAppLabelList = appList; in AppNameComparator()
/aosp12/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/
H A DAppLaunch.java456 String appList = args.getString(KEY_APPS); in parseArgs() local
457 if (appList == null) in parseArgs()
460 String appNames[] = appList.split("\\|"); in parseArgs()
/aosp12/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java949 String appList = args.getString(KEY_APPS); in parseArgs() local
950 if (appList == null) in parseArgs()
953 String appNames[] = appList.split("\\|"); in parseArgs()