Home
last modified time | relevance | path

Searched refs:isSystemApp (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
DPackageBackwardCompatibility.java133 public static void modifySharedLibraries(ParsedPackage parsedPackage, boolean isSystemApp, in modifySharedLibraries() argument
135 INSTANCE.updatePackage(parsedPackage, isSystemApp, isUpdatedSystemApp); in modifySharedLibraries()
139 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
142 packageUpdater.updatePackage(parsedPackage, isSystemApp, isUpdatedSystemApp); in updatePackage()
167 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
184 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
200 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
DAndroidTestBaseUpdater.java60 private static boolean isChangeEnabled(@NonNull AndroidPackage pkg, boolean isSystemApp) { in isChangeEnabled() argument
63 if (!isSystemApp) { in isChangeEnabled()
78 public void updatePackage(ParsedPackage pkg, boolean isSystemApp, in updatePackage() argument
83 if (!isChangeEnabled(pkg, isSystemApp)) { in updatePackage()
DAndroidHidlUpdater.java38 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
44 if (isLegacy && (isSystemApp || isUpdatedSystemApp)) { in updatePackage()
DAndroidNetIpSecIkeUpdater.java32 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
DComGoogleAndroidMapsUpdater.java32 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
DOrgApacheHttpLegacyUpdater.java40 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/
DCustomTileDefaultsRepositoryTest.kt178 isSystemApp = false, in noIconIsAnError()
196 private fun PackageManager.setupApp1(isSystemApp: Boolean = false) = in PackageManager()
202 isSystemApp = isSystemApp, in PackageManager()
204 private fun PackageManager.setupApp2(isSystemApp: Boolean = false) = in PackageManager()
210 isSystemApp = isSystemApp, in PackageManager()
218 isSystemApp: Boolean = false, in PackageManager()
222 override fun isSystemApp(): Boolean = isSystemApp in PackageManager() method
230 if (isSystemApp) { in PackageManager()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepository.kt60 suspend fun loadAndFilterApps(userId: Int, isSystemApp: Boolean): List<ApplicationInfo> in <lambda>()
163 loadAndFilterApps(userId = userId, isSystemApp = true).map { it.packageName }.toSet() in getSystemPackageNames()
166 override suspend fun loadAndFilterApps(userId: Int, isSystemApp: Boolean) = coroutineScope { in getSystemPackageNames()
170 isSystemApp(app, homeOrLauncherPackages) == isSystemApp in getSystemPackageNames()
180 return { app -> !isSystemApp(app, homeOrLauncherPackages) } in getSystemPackageNames()
206 private fun isSystemApp(app: ApplicationInfo, homeOrLauncherPackages: Set<String>): Boolean = in getSystemPackageNames() method
207 app.isSystemApp && !app.isUpdatedSystemApp && app.packageName !in homeOrLauncherPackages in getSystemPackageNames()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java91 if (systemAppsOnly && !appInfo.isSystemApp()) { in queryApps()
112 if (systemAppsOnly && !appInfo.isSystemApp()) { in queryApps()
127 if (systemAppsOnly && !packageInfo.applicationInfo.isSystemApp()) { in queryApps()
143 if (systemAppsOnly && !serviceInfo.applicationInfo.isSystemApp()) { in queryApps()
156 if (systemAppsOnly && !appInfo.isSystemApp()) { in queryApps()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/
DPackageSharedLibraryUpdaterTest.java34 boolean isSystemApp, Supplier<PackageSharedLibraryUpdater> updaterSupplier) { in checkBackwardsCompatibility() argument
35 updaterSupplier.get().updatePackage(before, isSystemApp, false); in checkBackwardsCompatibility()
DComGoogleAndroidMapsUpdaterTest.java92 boolean isSystemApp) { in checkBackwardsCompatibility() argument
93 checkBackwardsCompatibility(before, after, isSystemApp, ComGoogleAndroidMapsUpdater::new); in checkBackwardsCompatibility()
DAndroidTestRunnerSplitUpdaterTest.java80 boolean isSystemApp) { in checkBackwardsCompatibility() argument
81 checkBackwardsCompatibility(before, after, isSystemApp, AndroidTestRunnerSplitUpdater::new); in checkBackwardsCompatibility()
DAndroidNetIpSecIkeUpdaterTest.java88 boolean isSystemApp) { in checkBackwardsCompatibility() argument
89 checkBackwardsCompatibility(before, after, isSystemApp, AndroidNetIpSecIkeUpdater::new); in checkBackwardsCompatibility()
DOrgApacheHttpLegacyUpdaterTest.java152 boolean isSystemApp) { in checkBackwardsCompatibility() argument
153 checkBackwardsCompatibility(before, after, isSystemApp, OrgApacheHttpLegacyUpdater::new); in checkBackwardsCompatibility()
DAndroidTestBaseUpdaterTest.java152 boolean isSystemApp) { in checkBackwardsCompatibility() argument
153 checkBackwardsCompatibility(before, after, isSystemApp, AndroidTestBaseUpdater::new); in checkBackwardsCompatibility()
DRemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java165 boolean isSystemApp) { in checkBackwardsCompatibility() argument
171 checkBackwardsCompatibility(before, after, isSystemApp, in checkBackwardsCompatibility()
DRemoveUnnecessaryAndroidTestBaseLibraryTest.java163 boolean isSystemApp) { in checkBackwardsCompatibility() argument
169 checkBackwardsCompatibility(before, after, isSystemApp, in checkBackwardsCompatibility()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelperImpl.java153 public NativeLibraryPaths deriveNativeLibraryPaths(AndroidPackage pkg, boolean isSystemApp, in deriveNativeLibraryPaths() argument
159 pkg.getBaseApkPath(), isSystemApp, isUpdatedSystemApp); in deriveNativeLibraryPaths()
164 final boolean isSystemApp, final boolean isUpdatedSystemApp) { in deriveNativeLibraryPaths() argument
166 final boolean bundledApp = isSystemApp && !isUpdatedSystemApp; in deriveNativeLibraryPaths()
350 public Pair<Abis, NativeLibraryPaths> derivePackageAbi(AndroidPackage pkg, boolean isSystemApp, in derivePackageAbi() argument
360 pkg.getBaseApkPath(), isSystemApp, in derivePackageAbi()
363 final boolean extractLibs = shouldExtractLibs(pkg, isSystemApp, isUpdatedSystemApp); in derivePackageAbi()
537 pkg.getPath(), pkg.getBaseApkPath(), isSystemApp, in derivePackageAbi()
541 private boolean shouldExtractLibs(AndroidPackage pkg, boolean isSystemApp, in shouldExtractLibs() argument
547 if (isSystemApp && !isUpdatedSystemApp) { in shouldExtractLibs()
DPackageAbiHelper.java41 NativeLibraryPaths deriveNativeLibraryPaths(AndroidPackage pkg, boolean isSystemApp, in deriveNativeLibraryPaths() argument
57 Pair<Abis, NativeLibraryPaths> derivePackageAbi(AndroidPackage pkg, boolean isSystemApp, in derivePackageAbi() argument
DScanPackageUtils.java297 final boolean isSystemApp = pkgSetting.isSystem(); in scanPackageOnlyLI()
312 isSystemApp, in scanPackageOnlyLI()
328 if (isSystemApp && !isUpdatedSystemApp && pkgRawPrimaryCpuAbi == null) { in scanPackageOnlyLI()
335 isSystemApp, isUpdatedSystemApp, appLib32InstallDir); in scanPackageOnlyLI()
346 packageAbiHelper.deriveNativeLibraryPaths(parsedPackage, isSystemApp, in scanPackageOnlyLI()
373 packageAbiHelper.deriveNativeLibraryPaths(parsedPackage, isSystemApp, in scanPackageOnlyLI()
436 if (isSystemApp) { in scanPackageOnlyLI()
759 @Nullable String renamedPkgName, boolean isSystemApp) { in getRealPackageName() argument
761 return AndroidPackageUtils.getRealPackageOrNull(pkg, isSystemApp); in getRealPackageName()
885 boolean isSystemApp = isUpdatedSystemApp; in applyPolicy()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java256 boolean isSystemApp; in areActiveLocationRequests()
264 isSystemApp = isSystemApp(profiles, appOpsItems.get(i)); in areActiveLocationRequests()
265 if (isSystemApp) { in areActiveLocationRequests()
271 shouldDisplay = showSystem || shouldDisplay || !isSystemApp; in areActiveLocationRequests()
298 private boolean isSystemApp(List<UserInfo> profiles, AppOpItem item) { in isSystemApp() method in LocationControllerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileDefaultsRepository.kt132 val isSystemApp = packageManager.getApplicationInfo(packageName, 0).isSystemApp in ComponentName() constant
135 if (isSystemApp) { in ComponentName()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DDeletePackageHelperTest.kt114 whenever(PackageManagerServiceUtils.isSystemApp(ps)).thenReturn(true) in deleteSystemPackageSucceedsIfAdmin()
133 whenever(PackageManagerServiceUtils.isSystemApp(ps)).thenReturn(true) in deleteSystemPackageSucceedsIfProfileOfAdmin()
156 whenever(PackageManagerServiceUtils.isSystemApp(ps)).thenReturn(true) in deleteSystemPackageSucceedsIfNotAdminButDeleteSystemAppSpecified()
171 whenever(PackageManagerServiceUtils.isSystemApp(ps)).thenReturn(true) in deleteSystemPackageWithKeyguard_fails()
/frameworks/base/core/java/com/android/internal/app/
DAppLocaleStore.java56 isSystemApp(context, packageName); in getAppSupportedLocales()
142 private static boolean isSystemApp(Context context, String packageName) { in isSystemApp() method in AppLocaleStore
147 return applicationInfo.isSystemApp(); in isSystemApp()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java152 if (uid == myUid || isSystemApp(context, pid)) { in enforcePermissions()
177 private boolean isSystemApp(Context context, int pid) { in isSystemApp() method in WearPackageIconProvider

1234