/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
D | PackageBackwardCompatibility.java | 133 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
|
D | AndroidTestBaseUpdater.java | 60 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()
|
D | AndroidHidlUpdater.java | 38 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument 44 if (isLegacy && (isSystemApp || isUpdatedSystemApp)) { in updatePackage()
|
D | AndroidNetIpSecIkeUpdater.java | 32 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
|
D | ComGoogleAndroidMapsUpdater.java | 32 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
|
D | OrgApacheHttpLegacyUpdater.java | 40 public void updatePackage(ParsedPackage parsedPackage, boolean isSystemApp, in updatePackage() argument
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/ |
D | CustomTileDefaultsRepositoryTest.kt | 178 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/ |
D | AppListRepository.kt | 60 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/ |
D | AppsQueryHelper.java | 91 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/ |
D | PackageSharedLibraryUpdaterTest.java | 34 boolean isSystemApp, Supplier<PackageSharedLibraryUpdater> updaterSupplier) { in checkBackwardsCompatibility() argument 35 updaterSupplier.get().updatePackage(before, isSystemApp, false); in checkBackwardsCompatibility()
|
D | ComGoogleAndroidMapsUpdaterTest.java | 92 boolean isSystemApp) { in checkBackwardsCompatibility() argument 93 checkBackwardsCompatibility(before, after, isSystemApp, ComGoogleAndroidMapsUpdater::new); in checkBackwardsCompatibility()
|
D | AndroidTestRunnerSplitUpdaterTest.java | 80 boolean isSystemApp) { in checkBackwardsCompatibility() argument 81 checkBackwardsCompatibility(before, after, isSystemApp, AndroidTestRunnerSplitUpdater::new); in checkBackwardsCompatibility()
|
D | AndroidNetIpSecIkeUpdaterTest.java | 88 boolean isSystemApp) { in checkBackwardsCompatibility() argument 89 checkBackwardsCompatibility(before, after, isSystemApp, AndroidNetIpSecIkeUpdater::new); in checkBackwardsCompatibility()
|
D | OrgApacheHttpLegacyUpdaterTest.java | 152 boolean isSystemApp) { in checkBackwardsCompatibility() argument 153 checkBackwardsCompatibility(before, after, isSystemApp, OrgApacheHttpLegacyUpdater::new); in checkBackwardsCompatibility()
|
D | AndroidTestBaseUpdaterTest.java | 152 boolean isSystemApp) { in checkBackwardsCompatibility() argument 153 checkBackwardsCompatibility(before, after, isSystemApp, AndroidTestBaseUpdater::new); in checkBackwardsCompatibility()
|
D | RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java | 165 boolean isSystemApp) { in checkBackwardsCompatibility() argument 171 checkBackwardsCompatibility(before, after, isSystemApp, in checkBackwardsCompatibility()
|
D | RemoveUnnecessaryAndroidTestBaseLibraryTest.java | 163 boolean isSystemApp) { in checkBackwardsCompatibility() argument 169 checkBackwardsCompatibility(before, after, isSystemApp, in checkBackwardsCompatibility()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelperImpl.java | 153 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()
|
D | PackageAbiHelper.java | 41 NativeLibraryPaths deriveNativeLibraryPaths(AndroidPackage pkg, boolean isSystemApp, in deriveNativeLibraryPaths() argument 57 Pair<Abis, NativeLibraryPaths> derivePackageAbi(AndroidPackage pkg, boolean isSystemApp, in derivePackageAbi() argument
|
D | ScanPackageUtils.java | 297 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/ |
D | LocationControllerImpl.java | 256 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/ |
D | CustomTileDefaultsRepository.kt | 132 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/ |
D | DeletePackageHelperTest.kt | 114 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/ |
D | AppLocaleStore.java | 56 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/ |
D | WearPackageIconProvider.java | 152 if (uid == myUid || isSystemApp(context, pid)) { in enforcePermissions() 177 private boolean isSystemApp(Context context, int pid) { in isSystemApp() method in WearPackageIconProvider
|