Home
last modified time | relevance | path

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

1234

/frameworks/base/proto/src/
Dsystem_messages.proto35 // Package: com.android.systemui
39 // Package: com.android.systemui
43 // Package: com.android.systemui
47 // Package: com.android.systemui
51 // Package: com.android.systemui
55 // Package: com.android.systemui
59 // Package: com.android.systemui
63 // Package: android
67 // Package: android
71 // Package: android
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInternal.java69 public abstract boolean isPermissionsReviewRequired(@NonNull PackageParser.Package pkg, in isPermissionsReviewRequired()
76 @NonNull PackageParser.Package pkg, int callingUid, in grantRuntimePermissionsGrantedToDisabledPackage()
79 @NonNull PackageParser.Package pkg, @NonNull int[] userIds, in grantRequestedRuntimePermissions()
83 @NonNull PackageParser.Package pkg, in getWhitelistedRestrictedPermissions()
86 @NonNull PackageParser.Package pkg, @NonNull int[] userIds, in setWhitelistedRestrictedPermissions()
95 @Nullable PackageParser.Package pkg, boolean replaceGrant, in updatePermissions()
96 @NonNull Collection<PackageParser.Package> allPacakges, PermissionCallback callback); in updatePermissions()
98 @NonNull Collection<PackageParser.Package> allPacakges, PermissionCallback callback); in updateAllPermissions()
111 @NonNull PackageParser.Package newPackage, in revokeRuntimePermissionsIfGroupChanged()
112 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged()
[all …]
DPermissionManagerService.java56 import android.content.pm.PackageParser.Package;
301 final PackageParser.Package pkg = mPackageManagerInt.getPackage(pkgName); in checkPermission()
329 private int checkUidPermission(String permName, PackageParser.Package pkg, int uid, in checkUidPermission()
574 final PackageParser.Package pkg = mPackageManagerInt.getPackage(packageName); in adjustPermissionProtectionFlagsLocked()
603 @NonNull PackageParser.Package newPackage, in revokeRuntimePermissionsIfGroupChanged()
604 @NonNull PackageParser.Package oldPackage, in revokeRuntimePermissionsIfGroupChanged()
669 private void addAllPermissions(PackageParser.Package pkg, boolean chatty) { in addAllPermissions()
707 private void addAllPermissionGroups(PackageParser.Package pkg, boolean chatty) { in addAllPermissionGroups()
749 private void removeAllPermissions(PackageParser.Package pkg, boolean chatty) { in removeAllPermissions()
875 private void restorePermissionState(@NonNull PackageParser.Package pkg, boolean replace, in restorePermissionState()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelper.java35 PackageParser.Package pkg, File appLib32InstallDir); in getNativeLibraryPaths()
42 Abis getBundledAppAbis(PackageParser.Package pkg); in getBundledAppAbis()
51 PackageParser.Package pkg, String cpuAbiOverride, boolean extractLibs) in derivePackageAbi()
72 Set<PackageSetting> packagesForUser, PackageParser.Package scannedPackage); in getAdjustedAbiForSharedUser()
94 public void applyTo(PackageParser.Package pkg) { in applyTo()
115 Abis(PackageParser.Package pkg) { in Abis()
119 public void applyTo(PackageParser.Package pkg) { in applyTo()
DPackageUsage.java39 class PackageUsage extends AbstractStatsBase<Map<String, PackageParser.Package>> {
55 protected void writeInternal(Map<String, PackageParser.Package> packages) { in writeInternal()
69 for (PackageParser.Package pkg : packages.values()) { in writeInternal()
93 protected void readInternal(Map<String, PackageParser.Package> packages) { in readInternal()
117 private void readVersion0LP(Map<String, PackageParser.Package> packages, InputStream in, in readVersion0LP()
131 PackageParser.Package pkg = packages.get(packageName); in readVersion0LP()
145 private void readVersion1LP(Map<String, PackageParser.Package> packages, InputStream in, in readVersion1LP()
157 PackageParser.Package pkg = packages.get(packageName); in readVersion1LP()
DOtaDexoptService.java121 final List<PackageParser.Package> important; in prepare()
122 final List<PackageParser.Package> others; in prepare()
136 for (PackageParser.Package p : important) { in prepare()
139 for (PackageParser.Package p : others) { in prepare()
153 for (PackageParser.Package pkg : others) { in prepare()
164 PackageParser.Package lastUsed = Collections.max(important, in prepare()
171 for (PackageParser.Package pkg : others) { in prepare()
265 private synchronized List<String> generatePackageDexopts(PackageParser.Package pkg, in generatePackageDexopts()
362 Collection<PackageParser.Package> pkgs = mPackageManagerService.getPackages(); in moveAbArtifacts()
365 for (PackageParser.Package pkg : pkgs) { in moveAbArtifacts()
DPackageManagerServiceUtils.java121 public static void sortPackagesByUsageDate(List<PackageParser.Package> pkgs, in sortPackagesByUsageDate()
136 private static void applyPackageFilter(Predicate<PackageParser.Package> filter, in applyPackageFilter()
137 Collection<PackageParser.Package> result, in applyPackageFilter()
138 Collection<PackageParser.Package> packages, in applyPackageFilter()
139 @NonNull List<PackageParser.Package> sortTemp, in applyPackageFilter()
141 for (PackageParser.Package pkg : packages) { in applyPackageFilter()
150 for (PackageParser.Package pkg : sortTemp) { in applyPackageFilter()
153 Collection<PackageParser.Package> deps = in applyPackageFilter()
167 public static List<PackageParser.Package> getPackagesForDexopt( in getPackagesForDexopt()
168 Collection<PackageParser.Package> packages, in getPackagesForDexopt()
[all …]
DSharedUserSetting.java109 public @Nullable List<PackageParser.Package> getPackages() { in getPackages()
113 final ArrayList<PackageParser.Package> pkgList = new ArrayList<>(packages.size()); in getPackages()
134 final List<PackageParser.Package> pkgList = getPackages(); in fixSeInfoLocked()
139 for (PackageParser.Package pkg : pkgList) { in fixSeInfoLocked()
144 for (PackageParser.Package pkg : pkgList) { in fixSeInfoLocked()
DInstantAppRegistry.java140 PackageParser.Package pkg = mService.mPackages.get(packageName); in getInstantAppCookieLPw()
174 PackageParser.Package pkg = mService.mPackages.get(packageName); in setInstantAppCookieLPw()
267 public void onPackageInstalledLPw(@NonNull PackageParser.Package pkg, @NonNull int[] userIds) { in onPackageInstalledLPw()
338 public void onPackageUninstalledLPw(@NonNull PackageParser.Package pkg, in onPackageUninstalledLPw()
490 private void addUninstalledInstantAppLPw(@NonNull PackageParser.Package pkg, in addUninstalledInstantAppLPw()
514 private void writeInstantApplicationIconLPw(@NonNull PackageParser.Package pkg, in writeInstantApplicationIconLPw()
693 final PackageParser.Package pkg = mService.mPackages.valueAt(i); in pruneInstantApps()
722 final PackageParser.Package lhsPkg = mService.mPackages.get(lhs); in pruneInstantApps()
723 final PackageParser.Package rhsPkg = mService.mPackages.get(rhs); in pruneInstantApps()
821 final PackageParser.Package pkg = mService.mPackages.valueAt(i); in getInstalledInstantApplicationsLPr()
[all …]
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags121 2820 backup_data_changed (Package|3)
123 2822 backup_transport_failure (Package|3)
124 2823 backup_agent_failure (Package|3),(Message|3)
125 2824 backup_package (Package|3),(Size|1|2)
130 2829 backup_quota_exceeded (Package|3)
133 2832 restore_agent_failure (Package|3),(Message|3)
134 2833 restore_package (Package|3),(Size|1|2)
137 2840 full_backup_package (Package|3)
138 2841 full_backup_agent_failure (Package|3),(Message|3)
140 2843 full_backup_success (Package|3)
[all …]
DAttributeCache.java44 private final LruCache<String, Package> mPackages = new LruCache<>(CACHE_SIZE);
49 public final static class Package { class in AttributeCache
53 public Package(Context c) { in Package() method in AttributeCache.Package
90 final Package pkg = mPackages.remove(packageName); in removePackage()
121 Package pkg = mPackages.get(packageName); in get()
143 pkg = new Package(context); in get()
/frameworks/base/core/java/android/content/pm/
DPackageBackwardCompatibility.java24 import android.content.pm.PackageParser.Package;
132 public static void modifySharedLibraries(Package pkg) { in modifySharedLibraries()
137 public void updatePackage(Package pkg) { in updatePackage()
164 public void updatePackage(Package pkg) { in updatePackage()
180 public void updatePackage(Package pkg) { in updatePackage()
195 public void updatePackage(Package pkg) { in updatePackage()
DOrgApacheHttpLegacyUpdater.java20 import android.content.pm.PackageParser.Package;
34 private static boolean apkTargetsApiLevelLessThanOrEqualToOMR1(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToOMR1()
40 public void updatePackage(Package pkg) { in updatePackage()
DAndroidTestBaseUpdater.java21 import android.content.pm.PackageParser.Package;
41 private static boolean apkTargetsApiLevelLessThanOrEqualToP(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToP()
47 public void updatePackage(Package pkg) { in updatePackage()
DPackageSharedLibraryUpdater.java39 public abstract void updatePackage(PackageParser.Package pkg); in updatePackage()
41 static void removeLibrary(PackageParser.Package pkg, String libraryName) { in removeLibrary()
72 void prefixImplicitDependency(PackageParser.Package pkg, String existingLibrary, in prefixImplicitDependency()
89 void prefixRequiredLibrary(PackageParser.Package pkg, String libraryName) { in prefixRequiredLibrary()
DAndroidHidlUpdater.java21 import android.content.pm.PackageParser.Package;
36 public void updatePackage(Package pkg) { in updatePackage()
DPackageManagerInternal.java589 public abstract boolean isLegacySystemApp(PackageParser.Package pkg); in isLegacySystemApp()
681 public abstract @Nullable PackageParser.Package getPackage(@NonNull String packageName); in getPackage()
715 public abstract @Nullable PackageParser.Package getDisabledSystemPackage( in getDisabledSystemPackage()
757 @Nullable PackageParser.Package pkg, int callingUid, int userId); in filterAppAccess()
859 public abstract void forEachPackage(Consumer<PackageParser.Package> actionLocked); in forEachPackage()
866 @NonNull Consumer<PackageParser.Package> actionLocked, @UserIdInt int userId); in forEachInstalledPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTests.java326 DummyDeviceState.Package pkg = mState.select(packageName, userId); in upgradeOverlayPackage()
340 private List<Package> mPackages = new ArrayList<>();
345 Package pkg = new Package(); in add()
354 final Iterator<Package> iter = mPackages.iterator(); in remove()
356 final Package pkg = iter.next(); in remove()
364 public List<Package> select(int userId) { in select()
365 List<Package> out = new ArrayList<>(); in select()
368 final Package pkg = mPackages.get(i); in select()
376 public Package select(String packageName, int userId) { in select()
379 final Package pkg = mPackages.get(i); in select()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java81 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache()
105 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache()
129 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage()
136 PackageParser.Package deserialized = new PackageParser.Package(p); in test_serializePackage()
145 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_roundTripKnownFields()
152 PackageParser.Package deserialized = new PackageParser.Package(p); in test_roundTripKnownFields()
158 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_stringInterning()
165 PackageParser.Package deserialized = new PackageParser.Package(p); in test_stringInterning()
168 PackageParser.Package deserialized2 = new PackageParser.Package(p); in test_stringInterning()
192 public byte[] toCacheEntry(Package pkg) { in toCacheEntry()
[all …]
DScanRequestBuilder.java23 private final PackageParser.Package mPkg;
24 private PackageParser.Package mOldPkg;
35 ScanRequestBuilder(PackageParser.Package pkg) { in ScanRequestBuilder()
39 public ScanRequestBuilder setOldPkg(PackageParser.Package oldPkg) { in setOldPkg()
DScanTests.java82 any(PackageParser.Package.class), nullable(String.class), anyBoolean())) in setupDefaultAbiBehavior()
88 any(PackageParser.Package.class), any(File.class))) in setupDefaultAbiBehavior()
93 any(PackageParser.Package.class))) in setupDefaultAbiBehavior()
204 final PackageParser.Package pkg = createBasicPackage("static.lib.pkg.123") in installStaticSharedLibrary()
235 final PackageParser.Package pkg = createBasicPackage("dynamic.lib.pkg") in installDynamicLibraries()
285 final PackageParser.Package basicPackage = createBasicPackage(DUMMY_PACKAGE_NAME) in volumeUuidChangesOnUpdate()
301 final PackageParser.Package basicPackage = in scanFirstBoot_derivesAbis()
321 final PackageParser.Package basicPackage = in scanWithOriginalPkgSetting_packageNameChanges()
398 final PackageParser.Package basicPackage = createBasicPackage(DUMMY_PACKAGE_NAME) in factoryTestFlagSet()
414 final PackageParser.Package pkg = createBasicPackage(DUMMY_PACKAGE_NAME) in scanSystemApp_isOrphanedTrue()
[all …]
DPackageBuilder.java24 final PackageParser.Package mPkg;
27 mPkg = new PackageParser.Package(packageName); in PackageBuilder()
114 PackageParser.Package build() { in build()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java27 import android.content.pm.PackageParser.Package;
303 Package parsePackage(String apkFileName, int apkResourceId) throws Exception { in parsePackage()
337 Package parsePackage(String apkFileName, int apkResourceId, in parsePackage()
338 Function<Package, Package> converter) throws Exception { in parsePackage() argument
366 private void assertOneComponentOfEachType(String template, Package p) { in assertOneComponentOfEachType()
419 Function<Package, Package> converter) throws Exception { in checkPackageWithComponents() argument
420 Package p = parsePackage( in checkPackageWithComponents()
469 Package parent = parsePackage("install_multi_package.apk", R.raw.install_multi_package); in testMultiPackageComponents()
479 Package firstChild = parent.childPackages.get(0); in testMultiPackageComponents()
487 Package secondChild = parent.childPackages.get(1); in testMultiPackageComponents()
[all …]
DPackageBuilder.java44 public PackageParser.Package build() { in build()
45 PackageParser.Package pkg = new PackageParser.Package("org.package.name"); in build()
83 public void check(PackageParser.Package pkg) { in check()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java28 import android.content.pm.PackageParser.Package;
98 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileValid()
114 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileValid()
133 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsNoBaseWithDmFileValid()
149 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileInvalid()
166 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileInvalid()

1234