Home
last modified time | relevance | path

Searched refs:PackageManagerService (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DScanTests.java23 import static com.android.server.pm.PackageManagerService.SCAN_AS_FULL_APP;
24 import static com.android.server.pm.PackageManagerService.SCAN_AS_INSTANT_APP;
25 import static com.android.server.pm.PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE;
26 import static com.android.server.pm.PackageManagerService.SCAN_NEW_INSTALL;
99 final PackageManagerService.ScanRequest scanRequest = in newInstallSimpleAllNominal()
101 .addScanFlag(PackageManagerService.SCAN_NEW_INSTALL) in newInstallSimpleAllNominal()
102 .addScanFlag(PackageManagerService.SCAN_AS_FULL_APP) in newInstallSimpleAllNominal()
105 final PackageManagerService.ScanResult scanResult = executeScan(scanRequest); in newInstallSimpleAllNominal()
117 final PackageManagerService.ScanRequest scanRequest = in newInstallForAllUsers()
120 .addScanFlag(PackageManagerService.SCAN_NEW_INSTALL) in newInstallForAllUsers()
[all …]
DPackageManagerServiceTest.java74 PackageManagerService.PackageRemovedInfo pri = in testPackageRemoval()
75 new PackageManagerService.PackageRemovedInfo(sender); in testPackageRemoval()
121 final PackageManagerService.SystemPartition systemPartition = in testPartitions()
122 PackageManagerService.SYSTEM_PARTITIONS.get(i); in testPartitions()
130 Assert.assertEquals(i == 1, scanFlag == PackageManagerService.SCAN_AS_VENDOR); in testPartitions()
131 Assert.assertEquals(i == 2, scanFlag == PackageManagerService.SCAN_AS_ODM); in testPartitions()
132 Assert.assertEquals(i == 3, scanFlag == PackageManagerService.SCAN_AS_OEM); in testPartitions()
133 Assert.assertEquals(i == 4, scanFlag == PackageManagerService.SCAN_AS_PRODUCT); in testPartitions()
134 Assert.assertEquals(i == 5, scanFlag == PackageManagerService.SCAN_AS_SYSTEM_EXT); in testPartitions()
DScanRequestBuilder.java99 PackageManagerService.ScanRequest build() { in build()
100 return new PackageManagerService.ScanRequest( in build()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java114 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
125 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
138 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
146 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
185 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
191 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
208 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
213 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
230 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
237 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
[all …]
DBackgroundDexOptService.java19 import static com.android.server.pm.PackageManagerService.DEBUG_DEXOPT;
180 final PackageManagerService pm, final ArraySet<String> pkgs) { in runPostBootUpdate()
195 private void postBootUpdate(JobParameters jobParams, PackageManagerService pm, in postBootUpdate()
240 PackageManagerService.REASON_BOOT, in postBootUpdate()
252 final PackageManagerService pm, final ArraySet<String> pkgs) { in runIdleOptimization()
276 private int idleOptimization(PackageManagerService pm, ArraySet<String> pkgs, in idleOptimization()
309 private long getPackageSize(PackageManagerService pm, String pkg) { in getPackageSize()
332 private int idleOptimizePackages(PackageManagerService pm, ArraySet<String> pkgs, in idleOptimizePackages()
397 private int optimizePackages(PackageManagerService pm, ArraySet<String> pkgs, in optimizePackages()
422 private boolean downgradePackage(PackageManagerService pm, String pkg, in downgradePackage()
[all …]
DSettings.java30 import static com.android.server.pm.PackageManagerService.DEBUG_DOMAIN_VERIFICATION;
31 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME;
448 Log.i(PackageManagerService.TAG, "New shared user " + name + ": id=" + s.userId); in getSharedUserLPw()
461 Log.w(PackageManagerService.TAG, "Package " + name + " is not an installed package"); in disableSystemPackageLPw()
490 Log.w(PackageManagerService.TAG, "Package " + name + " is not disabled"); in enableSystemPackageLPw()
526 PackageManagerService.reportSettingsProblem(Log.ERROR, in addPackageLPw()
552 PackageManagerService.reportSettingsProblem(Log.ERROR, in addSharedUserLPw()
604 if (PackageManagerService.DEBUG_UPGRADE) Log.v(PackageManagerService.TAG, "Package " in createNewSetting()
638 Slog.i(PackageManagerService.TAG, "Stopping package " + pkgName, e); in createNewSetting()
721 PackageManagerService.reportSettingsProblem(Log.WARN, in updatePackageSetting()
[all …]
DPackageAbiHelperImpl.java76 Slog.w(PackageManagerService.TAG, "Can't canonicalize code path " + codePath); in calculateBundledApkRoot()
91 Slog.w(PackageManagerService.TAG, "Unrecognized code path " in calculateBundledApkRoot()
95 Slog.w(PackageManagerService.TAG, "Can't canonicalize code path " + codePath); in calculateBundledApkRoot()
117 Slog.w(PackageManagerService.TAG, "Odd, " + codePath + " doesn't look like an APK"); in deriveCodePathName()
276 Slog.e(PackageManagerService.TAG, in getBundledAppAbi()
301 PackageManagerService.sAppLib32InstallDir, pkg.codePath, in derivePackageAbi()
306 if (PackageManagerService.isSystemApp(pkg) && !pkg.isUpdatedSystemApp()) { in derivePackageAbi()
336 Slog.w(PackageManagerService.TAG, in derivePackageAbi()
450 Slog.e(PackageManagerService.TAG, "Unable to get canonical file " + ioe.toString()); in derivePackageAbi()
460 getNativeLibraryPaths(abis, PackageManagerService.sAppLib32InstallDir, in derivePackageAbi()
[all …]
DPackageManagerServiceCompilerMapping.java36 if (PackageManagerService.REASON_LAST + 1 != REASON_STRINGS.length) {
79 for (int reason = 0; reason <= PackageManagerService.REASON_LAST; reason++) { in checkProperties()
128 if (reason == PackageManagerService.REASON_UNKNOWN) { in getReasonName()
DPersistentPreferredActivity.java50 PackageManagerService.reportSettingsProblem(Log.WARN, in PersistentPreferredActivity()
67 PackageManagerService.reportSettingsProblem(Log.WARN, in PersistentPreferredActivity()
77 PackageManagerService.reportSettingsProblem(Log.WARN, in PersistentPreferredActivity()
DCrossProfileIntentFilter.java86 PackageManagerService.reportSettingsProblem(Log.WARN, msg); in CrossProfileIntentFilter()
96 PackageManagerService.reportSettingsProblem(Log.WARN, msg); in CrossProfileIntentFilter()
106 PackageManagerService.reportSettingsProblem(Log.WARN, msg); in getStringFromXml()
DPackageManagerServiceUtils.java24 import static com.android.server.pm.PackageManagerService.COMPRESSED_EXTENSION;
25 import static com.android.server.pm.PackageManagerService.DEBUG_COMPRESSION;
26 import static com.android.server.pm.PackageManagerService.DEBUG_DEXOPT;
27 import static com.android.server.pm.PackageManagerService.STUB_SUFFIX;
28 import static com.android.server.pm.PackageManagerService.TAG;
122 PackageManagerService packageManagerService) { in sortPackagesByUsageDate()
140 PackageManagerService packageManagerService) { in applyPackageFilter()
169 PackageManagerService packageManagerService) { in getPackagesForDexopt()
175 PackageManagerService packageManagerService, in getPackagesForDexopt()
380 && PackageManagerService.sUserManager.hasUserRestriction( in enforceShellRestriction()
[all …]
DAbstractStatsBase.java42 (PackageManagerService.DEBUG_DEXOPT) ? 0 : 30*60*1000;
70 && !PackageManagerService.DEBUG_DEXOPT) { in maybeWriteAsync()
DOtaDexoptService.java61 private final PackageManagerService mPackageManagerService;
92 public OtaDexoptService(Context context, PackageManagerService packageManagerService) { in OtaDexoptService()
99 PackageManagerService packageManagerService) { in main()
137 mDexoptCommands.addAll(generatePackageDexopts(p, PackageManagerService.REASON_AB_OTA)); in prepare()
145 generatePackageDexopts(p, PackageManagerService.REASON_FIRST_BOOT)); in prepare()
DDynamicCodeLoggingService.java136 PackageManagerService pm = (PackageManagerService) ServiceManager.getService("package"); in getDynamicCodeLogger()
DPackageUsage.java88 Log.e(PackageManagerService.TAG, "Failed to write package usage times", e); in writeInternal()
111 Log.w(PackageManagerService.TAG, "Failed to read package usage times", e); in readInternal()
DPackageDexOptimizer.java35 import static com.android.server.pm.PackageManagerService.WATCHDOG_TIMEOUT;
531 PackageManagerService.REASON_SHARED); in getRealCompilerFilter()
570 case PackageManagerService.REASON_FIRST_BOOT: in getDexFlags()
571 case PackageManagerService.REASON_BOOT: in getDexFlags()
572 case PackageManagerService.REASON_INSTALL: in getDexFlags()
DCompilerStats.java244 Log.e(PackageManagerService.TAG, "Error parsing compiler stats", e); in read()
275 Log.e(PackageManagerService.TAG, "Failed to write compiler stats", e); in writeInternal()
DPackageVerificationState.java22 import com.android.server.pm.PackageManagerService.InstallParams;
DPreferredActivity.java67 PackageManagerService.reportSettingsProblem(Log.WARN, in onReadTag()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptOptionsTests.java29 import com.android.server.pm.PackageManagerService;
95 PackageManagerService.REASON_FIRST_BOOT, in testCreateDexoptOptionsReason()
96 PackageManagerService.REASON_BOOT, in testCreateDexoptOptionsReason()
97 PackageManagerService.REASON_INSTALL, in testCreateDexoptOptionsReason()
98 PackageManagerService.REASON_BACKGROUND_DEXOPT, in testCreateDexoptOptionsReason()
99 PackageManagerService.REASON_AB_OTA, in testCreateDexoptOptionsReason()
100 PackageManagerService.REASON_INACTIVE_PACKAGE_DOWNGRADE,}; in testCreateDexoptOptionsReason()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java22 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME;
52 import com.android.server.pm.PackageManagerService;
105 private PackageManagerService mPackageManager;
/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java41 import com.android.server.pm.PackageManagerService;
315 if (PackageManagerService.DEBUG_SETTINGS) Log.v(TAG, "Dynamic permission: name=" in updateDynamicPermission()
350 PackageManagerService.reportSettingsProblem(Log.WARN, msg); in createOrUpdate()
401 if (PackageManagerService.DEBUG_PACKAGE_SCANNING && r != null) { in createOrUpdate()
492 PackageManagerService.reportSettingsProblem(Log.WARN, in readLPw()
528 PackageManagerService.reportSettingsProblem(Log.WARN, in readInt()
DPermissionSettings.java31 import com.android.server.pm.PackageManagerService;
164 PackageManagerService.reportSettingsProblem(Log.WARN, in readPermissions()
/frameworks/base/services/
Dart-profile10093 PLcom/android/server/pm/-$$Lambda$PackageManagerService$4R9Zu2zflm9xqt9wOD23IIJnqLs;->run()V
10094 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$5hSpumAE5maEOgUlkeKZ3EJQUOU;-><init>()V
10095 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$9ZEk0HhVZsj2KQghpPxi82zlVQA;->runOrThrow(…
10096 PLcom/android/server/pm/-$$Lambda$PackageManagerService$Iz1l7RVtATr5Ybl_zHeYuCbGMvA;->run()V
10097 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$JUo3M6zuPH65x1voKjSOJvOMHRw;-><init>()V
10098 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$JUo3M6zuPH65x1voKjSOJvOMHRw;->accept(Ljav…
10099 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$O5iApY07YeJyXA8KUFVcxpCf1NI;->run()V
10100 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$PackageParserCallback$xinvBJUpQse3J1IBBKj…
10101 HSPLcom/android/server/pm/-$$Lambda$PackageManagerService$PackageParserCallback$xinvBJUpQse3J1IBBKj…
10102 PLcom/android/server/pm/-$$Lambda$PackageManagerService$S4WxZjKnT0iu1kmEXSrs7BiizN4;->run()V
[all …]
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorService.java52 import com.android.server.pm.PackageManagerService;
187 final PackageManagerService pms = (PackageManagerService) ServiceManager in check()

12