Home
last modified time | relevance | path

Searched refs:isUpdatedSystemApp (Results 1 – 25 of 60) sorted by relevance

123

/aosp14/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
H A DPackageBackwardCompatibility.java134 boolean isUpdatedSystemApp) { in modifySharedLibraries() argument
135 INSTANCE.updatePackage(parsedPackage, isSystemApp, isUpdatedSystemApp); in modifySharedLibraries()
140 boolean isUpdatedSystemApp) { in updatePackage() argument
142 packageUpdater.updatePackage(parsedPackage, isSystemApp, isUpdatedSystemApp); in updatePackage()
168 boolean isUpdatedSystemApp) { in updatePackage() argument
185 boolean isUpdatedSystemApp) { in updatePackage() argument
201 boolean isUpdatedSystemApp) { in updatePackage() argument
H A DAndroidHidlUpdater.java39 boolean isUpdatedSystemApp) { in updatePackage() argument
44 if (isLegacy && (isSystemApp || isUpdatedSystemApp)) { in updatePackage()
H A DAndroidNetIpSecIkeUpdater.java33 boolean isUpdatedSystemApp) { in updatePackage() argument
H A DComGoogleAndroidMapsUpdater.java33 boolean isUpdatedSystemApp) { in updatePackage() argument
H A DOrgApacheHttpLegacyUpdater.java41 boolean isUpdatedSystemApp) { in updatePackage() argument
H A DApexSharedLibraryUpdater.java47 boolean isUpdatedSystemApp) { in updatePackage() argument
H A DAndroidTestBaseUpdater.java79 boolean isUpdatedSystemApp) { in updatePackage() argument
H A DPackageSharedLibraryUpdater.java42 boolean isUpdatedSystemApp); in updatePackage() argument
/aosp14/frameworks/base/services/contentcapture/java/com/android/server/contentprotection/
H A DContentProtectionPackageManager.java68 public boolean isUpdatedSystemApp(@NonNull PackageInfo packageInfo) { in isUpdatedSystemApp() method in ContentProtectionPackageManager
70 && isUpdatedSystemApp(packageInfo.applicationInfo); in isUpdatedSystemApp()
73 private boolean isUpdatedSystemApp(@NonNull ApplicationInfo applicationInfo) { in isUpdatedSystemApp() method in ContentProtectionPackageManager
H A DContentProtectionBlocklistManager.java72 if (mContentProtectionPackageManager.isUpdatedSystemApp(packageInfo)) { in isAllowed()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageAbiHelperImpl.java137 boolean isUpdatedSystemApp, File appLib32InstallDir) { in deriveNativeLibraryPaths() argument
142 pkg.getBaseApkPath(), isSystemApp, isUpdatedSystemApp); in deriveNativeLibraryPaths()
147 final boolean isSystemApp, final boolean isUpdatedSystemApp) { in deriveNativeLibraryPaths() argument
149 final boolean bundledApp = isSystemApp && !isUpdatedSystemApp; in deriveNativeLibraryPaths()
301 boolean isUpdatedSystemApp, String cpuAbiOverride, File appLib32InstallDir) in derivePackageAbi() argument
311 isUpdatedSystemApp); in derivePackageAbi()
313 final boolean extractLibs = shouldExtractLibs(pkg, isSystemApp, isUpdatedSystemApp); in derivePackageAbi()
471 isUpdatedSystemApp)); in derivePackageAbi()
475 boolean isUpdatedSystemApp) { in shouldExtractLibs() argument
480 if (isSystemApp && !isUpdatedSystemApp) { in shouldExtractLibs()
H A DPackageAbiHelper.java42 boolean isUpdatedSystemApp, File appLib32InstallDir); in deriveNativeLibraryPaths() argument
58 boolean isUpdatedSystemApp, String cpuAbiOverride, File appLib32InstallDir) in derivePackageAbi() argument
H A DScanPackageUtils.java279 final boolean isUpdatedSystemApp = pkgSetting.isUpdatedSystemApp(); in scanPackageOnlyLI()
287 isUpdatedSystemApp, cpuAbiOverride, appLib32InstallDir); in scanPackageOnlyLI()
297 if (isSystemApp && !isUpdatedSystemApp && pkgRawPrimaryCpuAbi == null) { in scanPackageOnlyLI()
304 isUpdatedSystemApp, appLib32InstallDir); in scanPackageOnlyLI()
316 isUpdatedSystemApp, appLib32InstallDir); in scanPackageOnlyLI()
342 isUpdatedSystemApp, appLib32InstallDir); in scanPackageOnlyLI()
843 @Nullable AndroidPackage platformPkg, boolean isUpdatedSystemApp) { in applyPolicy() argument
852 boolean isSystemApp = isUpdatedSystemApp; in applyPolicy()
907 isUpdatedSystemApp); in applyPolicy()
H A DSharedLibrariesImpl.java726 if (!pkgSetting.isSystem() || pkgSetting.isUpdatedSystemApp()) {
727 final int flags = pkgSetting.isUpdatedSystemApp()
853 final boolean isUpdatedSystemApp = installRequest.getScannedPackageSetting() != null
854 && installRequest.getScannedPackageSetting().isUpdatedSystemApp();
857 final PackageSetting updatedSystemPs = isUpdatedSystemApp
862 if (isUpdatedSystemApp && (updatedSystemPs.getPkg() == null
872 if (isUpdatedSystemApp) {
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
H A DContentProtectionBlocklistManagerTest.java116 verify(mMockContentProtectionPackageManager, never()).isUpdatedSystemApp(any()); in isAllowed_packageInfoNotFound()
131 verify(mMockContentProtectionPackageManager, never()).isUpdatedSystemApp(any()); in isAllowed_notRequestedInternet()
146 verify(mMockContentProtectionPackageManager, never()).isUpdatedSystemApp(any()); in isAllowed_systemApp()
157 when(mMockContentProtectionPackageManager.isUpdatedSystemApp(PACKAGE_INFO)) in isAllowed_updatedSystemApp()
173 when(mMockContentProtectionPackageManager.isUpdatedSystemApp(PACKAGE_INFO)) in isAllowed_allowed()
H A DContentProtectionPackageManagerTest.java132 mContentProtectionPackageManager.isUpdatedSystemApp( in isUpdatedSystemApp_true()
141 mContentProtectionPackageManager.isUpdatedSystemApp(SYSTEM_APP_PACKAGE_INFO); in isUpdatedSystemApp_false()
148 boolean actual = mContentProtectionPackageManager.isUpdatedSystemApp(EMPTY_PACKAGE_INFO); in isUpdatedSystemApp_noApplicationInfo()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DDeletePackageHelperTest.kt74 whenever(PackageManagerServiceUtils.isUpdatedSystemApp(ps)).thenReturn(true)
89 whenever(PackageManagerServiceUtils.isUpdatedSystemApp(ps)).thenReturn(true)
138 whenever(PackageManagerServiceUtils.isUpdatedSystemApp(ps)).thenReturn(true)
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DCarrierAppUtils.java128 private static boolean isUpdatedSystemApp(ApplicationInfo ai) { in isUpdatedSystemApp() method in CarrierAppUtils
188 if (!isUpdatedSystemApp(ai) && enabledSetting in disableCarrierAppsUntilPrivileged()
251 if (!isUpdatedSystemApp(ai) && enabledSetting in disableCarrierAppsUntilPrivileged()
412 if (ai != null && !isUpdatedSystemApp(ai)) { in getDefaultCarrierAssociatedAppsHelper()
/aosp14/frameworks/base/services/core/java/com/android/server/locales/
H A DSystemAppUpdateTracker.java154 if ((!mUpdatedApps.contains(packageName)) && isUpdatedSystemApp(packageName)) { in onPackageUpdateFinished()
229 private boolean isUpdatedSystemApp(String packageName) { in isUpdatedSystemApp() method in SystemAppUpdateTracker
/aosp14/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
H A DPackageManagerComponentLabelIconOverrideTest.kt159 val isUpdatedSystemApp = appType == AppType.UPDATED_SYSTEM_APP regex
160 val isSystem = appType == AppType.SYSTEM_APP || isUpdatedSystemApp
310 this.pkgState.isUpdatedSystemApp = params.isUpdatedSystemApp
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DPersonalAppsSuspensionHelper.java91 if ((!info.isSystemApp() && !info.isUpdatedSystemApp()) in getPersonalAppsForSuspension()
131 if (applicationInfo.isSystemApp() || applicationInfo.isUpdatedSystemApp()) { in getSystemLauncherPackages()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
H A DFullBackupEngine.java180 boolean isUpdatedSystemApp = in shouldWriteApk()
184 && (!isSystemApp || isUpdatedSystemApp); in shouldWriteApk()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
H A DInstalledPackageInfo.java72 && (applicationInfo.isSystemApp() || applicationInfo.isUpdatedSystemApp()) in InstalledPackageInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/
H A DPackageState.java192 boolean isUpdatedSystemApp(); in isUpdatedSystemApp() method
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
H A DSystemAppUpdateTrackerTest.java298 boolean isUpdatedSystemApp) { in createApplicationInfoForApp() argument
301 if (isUpdatedSystemApp) { in createApplicationInfoForApp()

123