Home
last modified time | relevance | path

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

123456

/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptOptions.java29 import com.android.server.pm.PackageManagerService;
202 case PackageManagerService.REASON_FIRST_BOOT: in convertToArtServiceDexoptReason()
204 case PackageManagerService.REASON_BOOT_AFTER_OTA: in convertToArtServiceDexoptReason()
206 case PackageManagerService.REASON_INSTALL: in convertToArtServiceDexoptReason()
208 case PackageManagerService.REASON_INSTALL_FAST: in convertToArtServiceDexoptReason()
210 case PackageManagerService.REASON_INSTALL_BULK: in convertToArtServiceDexoptReason()
212 case PackageManagerService.REASON_INSTALL_BULK_SECONDARY: in convertToArtServiceDexoptReason()
214 case PackageManagerService.REASON_INSTALL_BULK_DOWNGRADED: in convertToArtServiceDexoptReason()
216 case PackageManagerService.REASON_INSTALL_BULK_SECONDARY_DOWNGRADED: in convertToArtServiceDexoptReason()
218 case PackageManagerService.REASON_BACKGROUND_DEXOPT: in convertToArtServiceDexoptReason()
[all …]
DArtStatsLogUtils.java30 import com.android.server.pm.PackageManagerService;
62 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_FIRST_BOOT, ArtStatsLog. in COMPILATION_REASON_MAP.put()
64 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_BOOT_AFTER_OTA, ArtStatsLog. in COMPILATION_REASON_MAP.put()
66 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_POST_BOOT, ArtStatsLog. in COMPILATION_REASON_MAP.put()
68 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_INSTALL, ArtStatsLog. in COMPILATION_REASON_MAP.put()
70 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_INSTALL_FAST, ArtStatsLog. in COMPILATION_REASON_MAP.put()
72 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_INSTALL_BULK, ArtStatsLog. in COMPILATION_REASON_MAP.put()
74 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_INSTALL_BULK_SECONDARY, in COMPILATION_REASON_MAP.put()
76 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_INSTALL_BULK_DOWNGRADED, in COMPILATION_REASON_MAP.put()
78 COMPILATION_REASON_MAP.put(PackageManagerService.REASON_INSTALL_BULK_SECONDARY_DOWNGRADED, in COMPILATION_REASON_MAP.put()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DScanPartition.java19 import static com.android.server.pm.PackageManagerService.SCAN_AS_APK_IN_APEX;
20 import static com.android.server.pm.PackageManagerService.SCAN_AS_FACTORY;
21 import static com.android.server.pm.PackageManagerService.SCAN_AS_ODM;
22 import static com.android.server.pm.PackageManagerService.SCAN_AS_OEM;
23 import static com.android.server.pm.PackageManagerService.SCAN_AS_PRODUCT;
24 import static com.android.server.pm.PackageManagerService.SCAN_AS_SYSTEM_EXT;
25 import static com.android.server.pm.PackageManagerService.SCAN_AS_VENDOR;
26 import static com.android.server.pm.PackageManagerService.SCAN_DROP_CACHE;
41 @PackageManagerService.ScanFlags
DPackageHandler.java21 import static com.android.server.pm.PackageManagerService.CHECK_PENDING_INTEGRITY_VERIFICATION;
22 import static com.android.server.pm.PackageManagerService.CHECK_PENDING_VERIFICATION;
23 import static com.android.server.pm.PackageManagerService.DEBUG_INSTALL;
24 import static com.android.server.pm.PackageManagerService.DEFAULT_UNUSED_STATIC_SHARED_LIB_MIN_CACH…
25 import static com.android.server.pm.PackageManagerService.DEFERRED_NO_KILL_INSTALL_OBSERVER;
26 import static com.android.server.pm.PackageManagerService.DEFERRED_NO_KILL_POST_DELETE;
27 import static com.android.server.pm.PackageManagerService.DEFERRED_PENDING_KILL_INSTALL_OBSERVER;
28 import static com.android.server.pm.PackageManagerService.DOMAIN_VERIFICATION;
29 import static com.android.server.pm.PackageManagerService.ENABLE_ROLLBACK_STATUS;
30 import static com.android.server.pm.PackageManagerService.ENABLE_ROLLBACK_TIMEOUT;
[all …]
DPackageSignatures.java114 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
124 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
134 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
142 PackageManagerService.reportSettingsProblem(Log.WARN, in readXml()
189 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
195 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
212 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
217 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
233 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
240 PackageManagerService.reportSettingsProblem(Log.WARN, in readCertsListXml()
[all …]
DScanPackageUtils.java24 import static com.android.server.pm.PackageManagerService.DEBUG_ABI_SELECTION;
25 import static com.android.server.pm.PackageManagerService.DEBUG_PACKAGE_SCANNING;
26 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME;
27 import static com.android.server.pm.PackageManagerService.SCAN_AS_APEX;
28 import static com.android.server.pm.PackageManagerService.SCAN_AS_FULL_APP;
29 import static com.android.server.pm.PackageManagerService.SCAN_AS_INSTANT_APP;
30 import static com.android.server.pm.PackageManagerService.SCAN_AS_ODM;
31 import static com.android.server.pm.PackageManagerService.SCAN_AS_OEM;
32 import static com.android.server.pm.PackageManagerService.SCAN_AS_PRIVILEGED;
33 import static com.android.server.pm.PackageManagerService.SCAN_AS_PRODUCT;
[all …]
DInitAppsHelper.java24 import static com.android.server.pm.PackageManagerService.SCAN_AS_APK_IN_APEX;
25 import static com.android.server.pm.PackageManagerService.SCAN_AS_PRIVILEGED;
26 import static com.android.server.pm.PackageManagerService.SCAN_AS_SYSTEM;
27 import static com.android.server.pm.PackageManagerService.SCAN_BOOTING;
28 import static com.android.server.pm.PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE;
29 import static com.android.server.pm.PackageManagerService.SCAN_INITIAL;
30 import static com.android.server.pm.PackageManagerService.SCAN_NO_DEX;
31 import static com.android.server.pm.PackageManagerService.SCAN_REQUIRE_KNOWN;
32 import static com.android.server.pm.PackageManagerService.SYSTEM_PARTITIONS;
33 import static com.android.server.pm.PackageManagerService.TAG;
[all …]
DPackageFreezer.java42 private final PackageManagerService mPm;
51 PackageFreezer(PackageManagerService pm, @Nullable InstallRequest request) { in PackageFreezer()
64 PackageManagerService pm, int exitInfoReason, @Nullable InstallRequest request) { in PackageFreezer()
69 PackageManagerService pm, int exitInfoReason, @Nullable InstallRequest request, in PackageFreezer()
DVerificationUtils.java22 import static com.android.server.pm.PackageManagerService.PACKAGE_MIME_TYPE;
23 import static com.android.server.pm.PackageManagerService.TAG;
106 PackageManagerService pms) { in processVerificationResponseOnTimeout()
114 PackageVerificationResponse response, PackageManagerService pms) { in processVerificationResponse()
122 PackageManagerService pms) { in processVerificationResponse()
DDexOptHelper.java26 import static com.android.server.pm.PackageManagerService.DEBUG_DEXOPT;
27 import static com.android.server.pm.PackageManagerService.PLATFORM_PACKAGE_NAME;
28 import static com.android.server.pm.PackageManagerService.REASON_BOOT_AFTER_MAINLINE_UPDATE;
29 import static com.android.server.pm.PackageManagerService.REASON_BOOT_AFTER_OTA;
30 import static com.android.server.pm.PackageManagerService.REASON_CMDLINE;
31 import static com.android.server.pm.PackageManagerService.REASON_FIRST_BOOT;
32 import static com.android.server.pm.PackageManagerService.SCAN_AS_APEX;
33 import static com.android.server.pm.PackageManagerService.SCAN_AS_INSTANT_APP;
34 import static com.android.server.pm.PackageManagerService.TAG;
107 private final PackageManagerService mPm;
[all …]
DDomainVerificationConnection.java19 import static com.android.server.pm.PackageManagerService.DOMAIN_VERIFICATION;
36 final PackageManagerService mPm;
39 DomainVerificationConnection(PackageManagerService pm) { in DomainVerificationConnection()
DReconcilePackageUtils.java24 import static com.android.server.pm.PackageManagerService.SCAN_AS_APEX;
25 import static com.android.server.pm.PackageManagerService.SCAN_BOOTING;
26 import static com.android.server.pm.PackageManagerService.SCAN_DONT_KILL_APP;
27 import static com.android.server.pm.PackageManagerService.TAG;
169 PackageManagerService.reportSettingsProblem(Log.WARN, msg); in reconcilePackages()
298 PackageManagerService.reportSettingsProblem(Log.WARN, msg); in reconcilePackages()
DIncrementalProgressListener.java28 private final PackageManagerService mPm;
29 IncrementalProgressListener(String packageName, PackageManagerService pm) { in IncrementalProgressListener()
DDistractingPackageHelper.java41 private final PackageManagerService mPm;
48 DistractingPackageHelper(PackageManagerService pm, in DistractingPackageHelper()
76 Slog.w(PackageManagerService.TAG, in setDistractingPackageRestrictionsAsUser()
95 Slog.w(PackageManagerService.TAG, in setDistractingPackageRestrictionsAsUser()
DPersistentPreferredActivity.java84 PackageManagerService.reportSettingsProblem(Log.WARN,
103 PackageManagerService.reportSettingsProblem(Log.WARN,
113 PackageManagerService.reportSettingsProblem(Log.WARN,
DAppIdSettingMap.java71 PackageManagerService.reportSettingsProblem(Log.WARN, in registerExistingAppId()
79 PackageManagerService.reportSettingsProblem(Log.WARN, in registerExistingAppId()
126 PackageManagerService.reportSettingsProblem(Log.WARN, in replaceSetting()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DInitAppsHelperTest.kt71 private fun createPackageManagerService(): PackageManagerService { in createPackageManagerService()
72 return spy(PackageManagerService(rule.mocks().injector, in createPackageManagerService()
89 initAppsHelper.systemScanFlags and PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagOnFirstBoot()
90 .isEqualTo(PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagOnFirstBoot()
104 initAppsHelper.systemScanFlags and PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagWithMockOTA()
105 .isEqualTo(PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagWithMockOTA()
118 initAppsHelper.systemScanFlags and PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagNoOTA()
132 initAppsHelper.systemScanFlags and PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagWithFingerprintChanged()
133 .isEqualTo(PackageManagerService.SCAN_FIRST_BOOT_OR_UPGRADE) in testSystemScanFlagWithFingerprintChanged()
DPackageHelperTestBase.kt55 lateinit var pms: PackageManagerService
111 private fun mockKnownPackages(pms: PackageManagerService) { in mockKnownPackages()
132 PackageManagerService { in createPackageManagerService()
137 var pms = PackageManagerService(rule.mocks().injector, in createPackageManagerService()
DPackageFreezerTest.kt48 lateinit var pms: PackageManagerService
51 PackageManagerService { in createPackageManagerService()
56 var pms = PackageManagerService(rule.mocks().injector, in createPackageManagerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptOptionsTests.java31 import com.android.server.pm.PackageManagerService;
98 PackageManagerService.REASON_FIRST_BOOT, in testCreateDexoptOptionsReason()
99 PackageManagerService.REASON_POST_BOOT, in testCreateDexoptOptionsReason()
100 PackageManagerService.REASON_INSTALL, in testCreateDexoptOptionsReason()
101 PackageManagerService.REASON_BACKGROUND_DEXOPT, in testCreateDexoptOptionsReason()
102 PackageManagerService.REASON_AB_OTA, in testCreateDexoptOptionsReason()
103 PackageManagerService.REASON_INACTIVE_PACKAGE_DOWNGRADE,}; in testCreateDexoptOptionsReason()
/frameworks/base/services/
Dart-profile-boot61 Lcom/android/server/pm/PackageManagerService;-><init>(Lcom/android/server/pm/PackageManagerService$…
75PackageManagerService;->commitPackageSettings(Landroid/content/pm/PackageParser$Package;Landroid/c…
77 Lcom/android/server/pm/PackageManagerService;->fixProcessName(Ljava/lang/String;Ljava/lang/String;)…
78 Lcom/android/server/pm/PackageManagerService;->isPackageRenamed(Landroid/content/pm/PackageParser$P…
81 Lcom/android/server/pm/PackageManagerService;->scanDirLI(Ljava/io/File;IIJ)V
82 Lcom/android/server/pm/PackageManagerService$PackageParserCallback;->getStaticOverlayPackages(Ljava…
85 Lcom/android/server/pm/PackageManagerService;->applyPolicy(Landroid/content/pm/PackageParser$Packag…
92 Lcom/android/server/pm/PackageManagerService;->reconcilePackagesLocked(Lcom/android/server/pm/Packa…
102 Lcom/android/server/pm/PackageManagerService;->getRealPackageName(Landroid/content/pm/PackageParser…
103 Lcom/android/server/pm/PackageManagerService;->getOriginalPackageLocked(Landroid/content/pm/Package…
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt23 import com.android.server.pm.PackageManagerService in <lambda>()
48 val files = PackageManagerService.SYSTEM_PARTITIONS in <lambda>()
62 .filter { it.name.endsWith(PackageManagerService.COMPRESSED_EXTENSION) } in <lambda>()
/frameworks/base/services/java/com/android/server/
DHsumBootUserInitializer.java31 import com.android.server.pm.PackageManagerService;
46 private final PackageManagerService mPms;
69 PackageManagerService pms, ContentResolver contentResolver, in createInstance()
82 PackageManagerService pms, ContentResolver contentResolver, in HsumBootUserInitializer()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java48 import com.android.server.pm.PackageManagerService;
716 PackageManagerService.REASON_INSTALL, in testInstallScenarioToReasonDefault()
721 PackageManagerService.REASON_INSTALL_FAST, in testInstallScenarioToReasonDefault()
726 PackageManagerService.REASON_INSTALL_BULK, in testInstallScenarioToReasonDefault()
731 PackageManagerService.REASON_INSTALL_BULK_SECONDARY, in testInstallScenarioToReasonDefault()
743 PackageManagerService.REASON_INSTALL, in testInstallScenarioToReasonThermal()
748 PackageManagerService.REASON_INSTALL_FAST, in testInstallScenarioToReasonThermal()
753 PackageManagerService.REASON_INSTALL_BULK_DOWNGRADED, in testInstallScenarioToReasonThermal()
758 PackageManagerService.REASON_INSTALL_BULK_SECONDARY_DOWNGRADED, in testInstallScenarioToReasonThermal()
770 PackageManagerService.REASON_INSTALL, in testInstallScenarioToReasonBatteryDischarging()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DCountdownConditionProviderTest.java33 import com.android.server.pm.PackageManagerService;
71 assertEquals(PackageManagerService.PLATFORM_PACKAGE_NAME, pi.getIntent().getPackage()); in testGetPendingIntent()

123456