Home
last modified time | relevance | path

Searched refs:homeActivities (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppButtonRepositoryTest.kt65 homeActivities: List<ResolveInfo>, in mockGetHomeActivities()
70 (it.arguments[0] as ArrayList<ResolveInfo>).addAll(homeActivities) in mockGetHomeActivities()
77 mockGetHomeActivities(homeActivities = emptyList()) in getHomePackageInfo_empty()
87 mockGetHomeActivities(homeActivities = listOf(ResolveInfo())) in getHomePackageInfo_noActivityInfo()
98 homeActivities = listOf(RESOLVE_INFO), in getHomePackageInfo_oneHome()
110 mockGetHomeActivities(homeActivities = listOf(RESOLVE_INFO_WITH_ALTERNATE)) in getHomePackageInfo_homeAlternateSignatureMatch()
123 mockGetHomeActivities(homeActivities = listOf(RESOLVE_INFO_WITH_ALTERNATE)) in getHomePackageInfo_homeAlternateSignatureNoMatch()
140 homeActivities = listOf(RESOLVE_INFO), in uninstallDisallowedDueToHomeApp_isNotSystemAndIsCurrentHomeAndHasOnlyOneHomeApp()
157 homeActivities = listOf(RESOLVE_INFO, RESOLVE_INFO_FAKE), in uninstallDisallowedDueToHomeApp_isNotSystemAndIsCurrentHomeAndHasOtherHomeApps()
175 homeActivities = listOf(RESOLVE_INFO, RESOLVE_INFO_FAKE), in uninstallDisallowedDueToHomeApp_isSystemAndIsCurrentHomeAndHasOtherHomeApps()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppButtonRepository.kt66 val homeActivities = ArrayList<ResolveInfo>() in <lambda>() constant
67 val currentDefaultHome = packageManager.getHomeActivities(homeActivities) in <lambda>()
68 homeActivities.mapNotNull { it.activityInfo }.forEach { activityInfo -> in <lambda>()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DEnableDisablePreferenceController.java80 List<ResolveInfo> homeActivities = new ArrayList<>(); in getHomePackages() local
81 mPackageManager.getHomeActivities(homeActivities); in getHomePackages()
82 for (ResolveInfo ri : homeActivities) { in getHomePackages()
DApplicationsState.java1186 final List<ResolveInfo> homeActivities = new ArrayList<>(); in handleMessage() local
1187 mPm.getHomeActivities(homeActivities); in handleMessage()
1195 for (ResolveInfo activity : homeActivities) { in handleMessage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DEnableDisablePreference.java110 List<ResolveInfo> homeActivities = new ArrayList<>(); in getHomePackages() local
111 mPackageManager.getHomeActivities(homeActivities); in getHomePackages()
112 for (ResolveInfo ri : homeActivities) { in getHomePackages()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java432 ArrayList<ResolveInfo> homeActivities = new ArrayList<ResolveInfo>(); in updateUninstallButton() local
433 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in updateUninstallButton()
651 List<ResolveInfo> homeActivities = new ArrayList<>(); in refreshUi() local
652 mPm.getHomeActivities(homeActivities); in refreshUi()
654 for (ResolveInfo ri : homeActivities) { in refreshUi()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java492 List<ResolveInfo> homeActivities = new ArrayList<>(); in shouldDisableUninstallForHomeApp() local
493 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in shouldDisableUninstallForHomeApp()
494 for (int i = 0; i < homeActivities.size(); i++) { in shouldDisableUninstallForHomeApp()
495 ResolveInfo ri = homeActivities.get(i); in shouldDisableUninstallForHomeApp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowApplicationPackageManager.java193 public void setHomeActivities(List<ResolveInfo> homeActivities) { in setHomeActivities() argument
194 mHomeActivities = homeActivities; in setHomeActivities()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java215 final List<ResolveInfo> homeActivities = new ArrayList<>(); in isDefaultLauncher() local
216 ComponentName defaultActivity = packageManager.getHomeActivities(homeActivities); in isDefaultLauncher()