Home
last modified time | relevance | path

Searched refs:PackageInfoUtils (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverBase.java39 import com.android.server.pm.parsing.PackageInfoUtils;
159 ApplicationInfo appInfo = PackageInfoUtils.generateApplicationInfo( in queryProvider()
164 return PackageInfoUtils.generateProviderInfo(pkg, p, flags, state, appInfo, userId, in queryProvider()
193 PackageInfoUtils.CachedApplicationInfoGenerator appInfoGenerator = null; in queryProviders()
219 appInfoGenerator = new PackageInfoUtils.CachedApplicationInfoGenerator(); in queryProviders()
228 final ProviderInfo info = PackageInfoUtils.generateProviderInfo( in queryProviders()
276 PackageInfoUtils.CachedApplicationInfoGenerator appInfoGenerator = null; in querySyncProviders()
297 appInfoGenerator = new PackageInfoUtils.CachedApplicationInfoGenerator(); in querySyncProviders()
306 final ProviderInfo info = PackageInfoUtils.generateProviderInfo( in querySyncProviders()
DComponentResolver.java62 import com.android.server.pm.parsing.PackageInfoUtils;
1130 ActivityInfo ai = PackageInfoUtils.generateActivityInfo(packageState.getPkg(), activity, in newResult()
1460 final ApplicationInfo appInfo = PackageInfoUtils.generateApplicationInfo( in newResult()
1465 ProviderInfo pi = PackageInfoUtils.generateProviderInfo(packageState.getPkg(), provider, in newResult()
1679 ServiceInfo si = PackageInfoUtils.generateServiceInfo(packageState.getPkg(), service, in newResult()
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/
DBasePermissionPolicyTest.kt40 import com.android.server.pm.parsing.PackageInfoUtils in <lambda>()
76 .spyStatic(PackageInfoUtils::class.java) in <lambda>()
96 PackageInfoUtils.generatePermissionInfo(any(ParsedPermission::class.java), anyLong()) in <lambda>()
118 PackageInfoUtils.generatePermissionGroupInfo( in <lambda>()
151 val permissionInfo = PackageInfoUtils.generatePermissionInfo( in <lambda>()
300 val permissionInfo = PackageInfoUtils.generatePermissionInfo( in <lambda>()
318 PackageInfoUtils.generatePermissionGroupInfo( in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanTests.java58 import com.android.server.pm.parsing.PackageInfoUtils;
395 final ApplicationInfo applicationInfo = PackageInfoUtils.generateApplicationInfo( in scanFirstBoot_apexDontDeriveAbis()
503 int appInfoFlags = PackageInfoUtils.appInfoFlags(scanResult.mRequest.mParsedPackage, in updateSystemApp_applicationInfoFlagSet()
520 int appInfoFlags = PackageInfoUtils.appInfoFlags(scanResult.mRequest.mParsedPackage, in factoryTestFlagSet()
616 final ApplicationInfo applicationInfo = PackageInfoUtils.generateApplicationInfo(
655 final ApplicationInfo applicationInfo = PackageInfoUtils.generateApplicationInfo(
669 final ApplicationInfo applicationInfo = PackageInfoUtils.generateApplicationInfo(
DPackageParserTest.java107 import com.android.server.pm.parsing.PackageInfoUtils;
789 ApplicationInfo appInfo = PackageInfoUtils.generateApplicationInfo(pkg, 0, in testNoComponentMetadataIsCoercedToNullForInfoObject()
793 assertNull(PackageInfoUtils.generateActivityInfo(pkg, activity, 0, in testNoComponentMetadataIsCoercedToNullForInfoObject()
799 assertNull(PackageInfoUtils.generateProviderInfo(pkg, provider, 0, in testNoComponentMetadataIsCoercedToNullForInfoObject()
805 assertNull(PackageInfoUtils.generateActivityInfo(pkg, receiver, 0, in testNoComponentMetadataIsCoercedToNullForInfoObject()
811 assertNull(PackageInfoUtils.generateServiceInfo(pkg, service, 0, in testNoComponentMetadataIsCoercedToNullForInfoObject()
906 .setPkgFlags(PackageInfoUtils.appInfoFlags(pkg, null)) in mockPkgSetting()
907 .setPrivateFlags(PackageInfoUtils.appInfoPrivateFlags(pkg, null)) in mockPkgSetting()
934 PackageInfo aInfo = PackageInfoUtils.generate(a, new int[]{}, 0, 0, 0, in assertPackagesEqual()
937 PackageInfo bInfo = PackageInfoUtils.generate(b, new int[]{}, 0, 0, 0, in assertPackagesEqual()
[all …]
DCompatibilityModeTest.java37 import com.android.server.pm.parsing.PackageInfoUtils;
228 return PackageInfoUtils.generateApplicationInfo(mMockAndroidPackage, in generateMockApplicationInfo()
DPackageManagerSettingsTests.java78 import com.android.server.pm.parsing.PackageInfoUtils;
213 ApplicationInfo appInfo1 = PackageInfoUtils.generateApplicationInfo(ps1.getAndroidPackage(), in testApplicationInfoForUseSdkOptionalEnabled()
240 ApplicationInfo appInfo2 = PackageInfoUtils.generateApplicationInfo(ps2.getAndroidPackage(), in testApplicationInfoForUseSdkOptionalEnabled()
272 ApplicationInfo appInfo1 = PackageInfoUtils.generateApplicationInfo(ps1.getAndroidPackage(), in testApplicationInfoForUseSdkOptionalDisabled()
/frameworks/base/services/core/java/com/android/server/pm/
DScanPackageUtils.java87 import com.android.server.pm.parsing.PackageInfoUtils;
214 int pkgFlags = PackageInfoUtils.appInfoFlags(parsedPackage, null); in scanPackageOnlyLI()
215 int pkgPrivateFlags = PackageInfoUtils.appInfoPrivateFlags(parsedPackage, null); in scanPackageOnlyLI()
251 PackageInfoUtils.appInfoFlags(parsedPackage, pkgSetting), in scanPackageOnlyLI()
252 PackageInfoUtils.appInfoPrivateFlags(parsedPackage, pkgSetting), in scanPackageOnlyLI()
466 .setFlags(PackageInfoUtils.appInfoFlags(parsedPackage, pkgSetting)) in scanPackageOnlyLI()
467 .setPrivateFlags(PackageInfoUtils.appInfoPrivateFlags(parsedPackage, pkgSetting)); in scanPackageOnlyLI()
DComputerEngine.java63 import static com.android.server.pm.parsing.PackageInfoUtils.getDeprecatedSignatures;
143 import com.android.server.pm.parsing.PackageInfoUtils;
930 return PackageInfoUtils.generateActivityInfo(pkg, in getActivityInfoInternalBody()
934 return PackageInfoUtils.generateDelegateActivityInfo(mResolveActivity, in getActivityInfoInternalBody()
974 ApplicationInfo ai = PackageInfoUtils.generateApplicationInfo(ps.getPkg(), in generateApplicationInfoFromSettings()
1038 ApplicationInfo ai = PackageInfoUtils.generateApplicationInfo( in getApplicationInfoInternalBody()
1458 ephemeralInstaller.activityInfo = PackageInfoUtils.generateDelegateActivityInfo( in maybeAddInstantAppInstaller()
1521 PackageInfo packageInfo = PackageInfoUtils.generate(p, gids, flags, in generatePackageInfo()
1561 pi.applicationInfo = PackageInfoUtils.generateDelegateApplicationInfo( in generatePackageInfo()
1847 return PackageInfoUtils.generateServiceInfo(pkg, in getServiceInfoBody()
[all …]
DInstantAppRegistry.java58 import com.android.server.pm.parsing.PackageInfoUtils;
984 ApplicationInfo appInfo = PackageInfoUtils.generateApplicationInfo(ps.getPkg(), 0,
DSettings.java113 import com.android.server.pm.parsing.PackageInfoUtils;
3030 final File dataDir = PackageInfoUtils.getDataDir(ps, UserHandle.USER_SYSTEM);
5074 printFlags(pw, PackageInfoUtils.appInfoFlags(pkg, ps), FLAG_DUMP_SPEC); pw.println();
5075 int privateFlags = PackageInfoUtils.appInfoPrivateFlags(pkg, ps);
5390 File dataDir = PackageInfoUtils.getDataDir(ps, user.id);
DPackageManagerService.java222 import com.android.server.pm.parsing.PackageInfoUtils;
7832 ApplicationInfo appInfo = PackageInfoUtils.generateApplicationInfo(pkg, 0, in setUpCustomResolverActivity()
7866 mAndroidApplication = PackageInfoUtils.generateApplicationInfo(pkg, 0, in setPlatformPackage()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPolicy.kt46 import com.android.server.pm.parsing.PackageInfoUtils in <lambda>()
399 PackageInfoUtils.generatePermissionGroupInfo( in <lambda>()
459 PackageInfoUtils.generatePermissionInfo( in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java98 public class PackageInfoUtils { class
1202 appInfo = PackageInfoUtils.generateApplicationInfo( in generate()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java144 import com.android.server.pm.parsing.PackageInfoUtils;
528 out.add(PackageInfoUtils.generatePermissionGroupInfo(pg, flags)); in getAllPermissionGroups()
553 permissionGroupInfo = PackageInfoUtils.generatePermissionGroupInfo(permissionGroup, in getPermissionGroupInfo()
2327 permissionInfo = PackageInfoUtils.generatePermissionInfo(p,
2798 + Integer.toHexString(PackageInfoUtils.appInfoFlags(pkg,
/frameworks/base/services/
Dart-profile2745 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoFlags(Lcom/android/server/pm/pkg/Androi…
2746 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoPrivateFlags(Lcom/android/server/pm/pkg…
2747 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoPrivateFlagsExt(ILcom/android/server/pm…
2748 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->assignFieldsComponentInfoParsedMainComponent(L…
2749 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->assignFieldsComponentInfoParsedMainComponent(L…
2750 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->assignFieldsPackageItemInfoParsedComponent(Lan…
2751 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->checkUseInstalledOrHidden(Lcom/android/server/…
2752 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->generateActivityInfo(Lcom/android/server/pm/pk…
2753 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->generateApplicationInfo(Lcom/android/server/pm…
2754 HSPLcom/android/server/pm/parsing/PackageInfoUtils;->generatePermissionInfo(Lcom/android/internal/p…
[all …]
Dart-wear-profile20276 HPLcom/android/server/pm/parsing/PackageInfoUtils$CachedApplicationInfoGenerator;-><init>()V
20277 HPLcom/android/server/pm/parsing/PackageInfoUtils$CachedApplicationInfoGenerator;->generate(Lcom/an…
20278 PLcom/android/server/pm/parsing/PackageInfoUtils;-><clinit>()V
20279 HPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoFlags(ILcom/android/server/pm/pkg/Packag…
20280 HPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoFlags(Lcom/android/server/pm/pkg/Android…
20281 PLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoPrivateFlags(ILcom/android/server/pm/pkg/…
20282 HPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoPrivateFlags(Lcom/android/server/pm/pkg/…
20283 HPLcom/android/server/pm/parsing/PackageInfoUtils;->appInfoPrivateFlagsExt(ILcom/android/server/pm/…
20284 HPLcom/android/server/pm/parsing/PackageInfoUtils;->assignFieldsComponentInfoParsedMainComponent(La…
20285 HPLcom/android/server/pm/parsing/PackageInfoUtils;->assignFieldsComponentInfoParsedMainComponent(La…
[all …]