Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtUtils.java24 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
47 AndroidPackageUtils.getAllCodePaths(pkg), in createArtPackageInfo()
52 if (!AndroidPackageUtils.canHaveOatDir(packageState, pkg)) { in getOatDir()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelperImpl.java46 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
157 return deriveNativeLibraryPaths(new Abis(AndroidPackageUtils.getRawPrimaryCpuAbi(pkg), in deriveNativeLibraryPaths()
158 AndroidPackageUtils.getRawSecondaryCpuAbi(pkg)), appLib32InstallDir, pkg.getPath(), in deriveNativeLibraryPaths()
355 String pkgRawPrimaryCpuAbi = AndroidPackageUtils.getRawPrimaryCpuAbi(pkg); in derivePackageAbi()
356 String pkgRawSecondaryCpuAbi = AndroidPackageUtils.getRawSecondaryCpuAbi(pkg); in derivePackageAbi()
374 handle = AndroidPackageUtils.createNativeLibraryHandle(pkg); in derivePackageAbi()
419 if (abi32 >= 0 && AndroidPackageUtils.isLibrary(pkg) && extractLibs) { in derivePackageAbi()
448 if (extractLibs && AndroidPackageUtils.isLibrary(pkg)) { in derivePackageAbi()
513 if (AndroidPackageUtils.isLibrary(pkg)) { in derivePackageAbi()
544 boolean extractLibs = !AndroidPackageUtils.isLibrary(pkg) in shouldExtractLibs()
[all …]
DScanPackageUtils.java89 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
221 AndroidPackageUtils.getRawPrimaryCpuAbi(parsedPackage), in scanPackageOnlyLI()
222 AndroidPackageUtils.getRawSecondaryCpuAbi(parsedPackage), in scanPackageOnlyLI()
326 String pkgRawPrimaryCpuAbi = AndroidPackageUtils.getRawPrimaryCpuAbi( in scanPackageOnlyLI()
353 + AndroidPackageUtils.getRawPrimaryCpuAbi(parsedPackage) in scanPackageOnlyLI()
355 + AndroidPackageUtils.getRawSecondaryCpuAbi(parsedPackage)); in scanPackageOnlyLI()
399 pkgSetting.setPrimaryCpuAbi(AndroidPackageUtils.getRawPrimaryCpuAbi(parsedPackage)) in scanPackageOnlyLI()
400 .setSecondaryCpuAbi(AndroidPackageUtils.getRawSecondaryCpuAbi(parsedPackage)) in scanPackageOnlyLI()
484 sdkLibraryInfo = AndroidPackageUtils.createSharedLibraryForSdk(parsedPackage); in scanPackageOnlyLI()
489 AndroidPackageUtils.createSharedLibraryForStatic(parsedPackage); in scanPackageOnlyLI()
[all …]
DUpdateOwnershipHelper.java33 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
93 ApplicationInfo appInfo = AndroidPackageUtils.generateAppInfoWithoutState(pkg); in readUpdateOwnerDenyList()
DPackageDexOptimizer.java78 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
264 final List<String> paths = AndroidPackageUtils.getAllCodePaths(pkg); in performDexOptLI()
657 AndroidPackageUtils.getHiddenApiEnforcementPolicy(pkg, pkgSetting), in getDexFlags()
809 if (!AndroidPackageUtils.canHaveOatDir(packageState, pkg)) { in getPackageOatDirIfSupported()
DOtaDexoptService.java42 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
438 AndroidPackageUtils.getAllCodePathsExcludingResourceOnly(pkg); in moveAbArtifacts()
DPackageSetting.java52 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
1142 if (!AndroidPackageUtils.hasComponentClassName(pkg, enabledComponents.valueAt(i))) {
1148 if (!AndroidPackageUtils.hasComponentClassName(pkg, disabledComponents.valueAt(i))) {
1610 return AndroidPackageUtils.getRawPrimaryCpuAbi(pkg);
1619 return AndroidPackageUtils.getRawSecondaryCpuAbi(pkg);
1649 return AndroidPackageUtils.getHiddenApiEnforcementPolicy(getAndroidPackage(), this);
DSELinuxMMAC.java32 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
367 final ApplicationInfo appInfo = AndroidPackageUtils.generateAppInfoWithoutState(pkg); in getTargetSdkVersionForSeInfo()
DMovePackageHelper.java61 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
150 AndroidPackageUtils.generateAppInfoWithoutState(pkg))); in movePackageInternal()
DAppDataHelper.java49 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
297 ? AndroidPackageUtils.getRawPrimaryCpuAbi(pkg) : pkgSetting.getPrimaryCpuAbi();
DSharedLibrariesImpl.java53 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
466 if (AndroidPackageUtils.isLibrary(pkg)) {
524 usesLibraryFiles.addAll(AndroidPackageUtils.getAllCodePaths(pkgForCodePaths));
DAppsFilterImpl.java71 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
384 AndroidPackageUtils.generateAppInfoWithoutState(pkg)); in updateEnabledState()
DInstantAppRegistry.java59 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
631 Drawable icon = AndroidPackageUtils.generateAppInfoWithoutState(pkg)
DInstallPackageHelper.java181 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
299 AndroidPackageUtils.getRealPackageOrNull(parsedPackage, in commitReconciledScanResultLocked()
1254 AndroidPackageUtils.validatePackageDexMetadata(parsedPackage); in preparePackageLI()
3930 AndroidPackageUtils.getRealPackageOrNull(parsedPackage, isSystemApp)); in prepareInitialScanRequest()
DComputerEngine.java144 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
2706 if (p != null && AndroidPackageUtils.isMatchForSystemOnly(packageState, flags)) { in getPackageUidInternal()
3272 AndroidPackageUtils.generateAppInfoWithoutState(pkg) in dumpApexPackageStates()
3642 if (!ceStorageUnlocked && !AndroidPackageUtils.isEncryptionAware(ps.getPkg())) { in getPackageStartability()
3739 && AndroidPackageUtils.isMatchForSystemOnly(ps, flags)) { in getPackageGids()
DPackageManagerService.java223 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
3934 if (pkg == null || !AndroidPackageUtils.hasComponentClassName(pkg, className)) {
7510 return AndroidPackageUtils.canHaveOatDir(packageState, packageState.getPkg()); in canHaveOatDir()
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java55 public class AndroidPackageUtils { class
57 private AndroidPackageUtils() { in AndroidPackageUtils() method in AndroidPackageUtils
95 AndroidPackageUtils.getAllCodePaths(pkg), in createSharedLibraryForSdk()
106 AndroidPackageUtils.getAllCodePaths(pkg), in createSharedLibraryForStatic()
117 AndroidPackageUtils.getAllCodePaths(pkg), name, in createSharedLibraryForDynamic()
132 (AndroidPackageUtils.getAllCodePaths(pkg)); in getPackageDexMetadata()
159 AndroidPackageUtils.getAllCodePaths(pkg), in createNativeLibraryHandle()
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
DAndroidTestBaseUpdater.java33 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
68 AndroidPackageUtils.generateAppInfoWithoutState(pkg)); in isChangeEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java44 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
144 AndroidPackageUtils.getPackageDexMetadata(pkg).values(); in validatePackageDexMetadata()
171 Map<String, String> packageDexMetadata = AndroidPackageUtils.getPackageDexMetadata(pkg); in testParsePackageWithDmFileValid()
190 Map<String, String> packageDexMetadata = AndroidPackageUtils.getPackageDexMetadata(pkg); in testParsePackageSplitsWithDmFileValid()
212 Map<String, String> packageDexMetadata = AndroidPackageUtils.getPackageDexMetadata(pkg); in testParsePackageSplitsNoBaseWithDmFileValid()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverBase.java40 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
401 pw.println(AndroidPackageUtils.generateAppInfoWithoutState(pkg)); in dumpContentProviders()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java75 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
134 AndroidPackageUtils.fillVersionCodes(pkg, info); in generateWithComponents()
461 || !AndroidPackageUtils.isMatchForSystemOnly(pkgSetting, flags)) { in generateApplicationInfo()
466 ApplicationInfo info = AndroidPackageUtils.generateAppInfoWithoutState(pkg); in generateApplicationInfo()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java110 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
903 .setPrimaryCpuAbiString(AndroidPackageUtils.getRawPrimaryCpuAbi(pkg)) in mockPkgSetting()
904 .setSecondaryCpuAbiString(AndroidPackageUtils.getRawSecondaryCpuAbi(pkg)) in mockPkgSetting()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java145 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
1391 AndroidPackageUtils.generateAppInfoWithoutState(pkg), pkg, in grantRuntimePermissionInternal()
/frameworks/base/services/
Dart-wear-profile20335 PLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->createNativeLibraryHandle(Lcom/android/se…
20336 PLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->createSharedLibraryForDynamic(Lcom/androi…
20337 HPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->fillVersionCodes(Lcom/android/server/pm/…
20338 PLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->generateAppInfoWithoutState(Lcom/android/…
20339 PLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->getAllCodePaths(Lcom/android/server/pm/pk…
20340 HPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->getRawPrimaryCpuAbi(Lcom/android/server/…
20341 HPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->getRawSecondaryCpuAbi(Lcom/android/serve…
20342 HPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->getRealPackageOrNull(Lcom/android/server…
20343 HPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->hasComponentClassName(Lcom/android/serve…
20344 HPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->isEncryptionAware(Lcom/android/server/pm…
[all …]
Dart-profile2764 HSPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->fillVersionCodes(Lcom/android/server/pm…
2765 HSPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->hasComponentClassName(Lcom/android/serv…
2766 HSPLcom/android/server/pm/parsing/pkg/AndroidPackageUtils;->isMatchForSystemOnly(Lcom/android/serve…