/frameworks/base/proto/src/ |
D | system_messages.proto | 35 // 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/ |
D | PermissionManagerServiceInternal.java | 69 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 …]
|
D | PermissionManagerService.java | 56 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/ |
D | EventLogTags.logtags | 115 2820 backup_data_changed (Package|3) 117 2822 backup_transport_failure (Package|3) 118 2823 backup_agent_failure (Package|3),(Message|3) 119 2824 backup_package (Package|3),(Size|1|2) 124 2829 backup_quota_exceeded (Package|3) 127 2832 restore_agent_failure (Package|3),(Message|3) 128 2833 restore_package (Package|3),(Size|1|2) 131 2840 full_backup_package (Package|3) 132 2841 full_backup_agent_failure (Package|3),(Message|3) 134 2843 full_backup_success (Package|3) [all …]
|
D | AttributeCache.java | 44 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/ |
D | PackageBackwardCompatibility.java | 24 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()
|
D | OrgApacheHttpLegacyUpdater.java | 20 import android.content.pm.PackageParser.Package; 34 private static boolean apkTargetsApiLevelLessThanOrEqualToOMR1(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToOMR1() 40 public void updatePackage(Package pkg) { in updatePackage()
|
D | AndroidTestBaseUpdater.java | 21 import android.content.pm.PackageParser.Package; 41 private static boolean apkTargetsApiLevelLessThanOrEqualToP(Package pkg) { in apkTargetsApiLevelLessThanOrEqualToP() 47 public void updatePackage(Package pkg) { in updatePackage()
|
D | PackageSharedLibraryUpdater.java | 39 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()
|
D | AndroidHidlUpdater.java | 21 import android.content.pm.PackageParser.Package; 36 public void updatePackage(Package pkg) { in updatePackage()
|
D | PackageManagerInternal.java | 576 public abstract boolean isLegacySystemApp(PackageParser.Package pkg); in isLegacySystemApp() 668 public abstract @Nullable PackageParser.Package getPackage(@NonNull String packageName); in getPackage() 702 public abstract @Nullable PackageParser.Package getDisabledSystemPackage( in getDisabledSystemPackage() 743 @Nullable PackageParser.Package pkg, int callingUid, int userId); in filterAppAccess() 845 public abstract void forEachPackage(Consumer<PackageParser.Package> actionLocked); in forEachPackage() 852 @NonNull Consumer<PackageParser.Package> actionLocked, @UserIdInt int userId); in forEachInstalledPackage()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 39 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()
|
D | OtaDexoptService.java | 121 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()
|
D | PackageManagerServiceUtils.java | 121 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 …]
|
D | SharedUserSetting.java | 109 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()
|
D | InstantAppRegistry.java | 141 PackageParser.Package pkg = mService.mPackages.get(packageName); in getInstantAppCookieLPw() 175 PackageParser.Package pkg = mService.mPackages.get(packageName); in setInstantAppCookieLPw() 268 public void onPackageInstalledLPw(@NonNull PackageParser.Package pkg, @NonNull int[] userIds) { in onPackageInstalledLPw() 339 public void onPackageUninstalledLPw(@NonNull PackageParser.Package pkg, in onPackageUninstalledLPw() 491 private void addUninstalledInstantAppLPw(@NonNull PackageParser.Package pkg, in addUninstalledInstantAppLPw() 515 private void writeInstantApplicationIconLPw(@NonNull PackageParser.Package pkg, in writeInstantApplicationIconLPw() 694 final PackageParser.Package pkg = mService.mPackages.valueAt(i); in pruneInstantApps() 723 final PackageParser.Package lhsPkg = mService.mPackages.get(lhs); in pruneInstantApps() 724 final PackageParser.Package rhsPkg = mService.mPackages.get(rhs); in pruneInstantApps() 822 final PackageParser.Package pkg = mService.mPackages.valueAt(i); in getInstalledInstantApplicationsLPr() [all …]
|
D | PackageManagerService.java | 682 final ArrayMap<String, PackageParser.Package> mPackages = new ArrayMap<>(); 762 final List<PackageParser.Package> getStaticOverlayPackages( in getStaticOverlayPackages() 763 Collection<PackageParser.Package> allPackages, String targetPackageName) { in getStaticOverlayPackages() 770 List<PackageParser.Package> overlayPackages = null; in getStaticOverlayPackages() 771 for (PackageParser.Package p : allPackages) { in getStaticOverlayPackages() 780 Comparator<PackageParser.Package> cmp = in getStaticOverlayPackages() 787 final String[] getStaticOverlayPaths(List<PackageParser.Package> overlayPackages, in getStaticOverlayPaths() 793 for (PackageParser.Package overlayPackage : overlayPackages) { in getStaticOverlayPaths() 824 List<PackageParser.Package> overlayPackages; in getStaticOverlayPaths() 847 List<PackageParser.Package> mOverlayPackages = null; [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | FileDescriptor.cs | 55 pool.AddPackage(Package, this); in FileDescriptor() 79 if (Package.Length > 0) in ComputeFullName() 81 return Package + "." + name; in ComputeFullName() 137 public string Package => Proto.Package; field in Google.Protobuf.Reflection.FileDescriptor 199 if (Package.Length > 0) 201 name = Package + "." + name;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTests.java | 326 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/ |
D | PackageParserTest.java | 77 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() 101 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache() 125 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in test_serializePackage() 132 PackageParser.Package deserialized = new PackageParser.Package(p); in test_serializePackage() 141 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_roundTripKnownFields() 148 PackageParser.Package deserialized = new PackageParser.Package(p); in test_roundTripKnownFields() 154 PackageParser.Package pkg = new PackageParser.Package("foo"); in test_stringInterning() 161 PackageParser.Package deserialized = new PackageParser.Package(p); in test_stringInterning() 164 PackageParser.Package deserialized2 = new PackageParser.Package(p); in test_stringInterning() 188 public byte[] toCacheEntry(Package pkg) { in toCacheEntry() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageBuilder.java | 44 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()
|
D | PackageParserTest.java | 27 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()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
D | DexMetadataHelperTest.java | 28 import android.content.pm.PackageParser.Package; 105 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileValid() 121 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileValid() 140 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsNoBaseWithDmFileValid() 156 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileInvalid() 173 PackageParser.Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileInvalid()
|
/frameworks/av/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 105 struct Package { struct 109 using Packages = std::vector<Package>; argument
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.h | 102 class Package; variable 231 static inline uint32_t getResId(const sp<Package>& p, 267 status_t flattenLibraryTable(const sp<AaptFile>& dest, const Vector<sp<Package> >& libs); 533 class Package : public RefBase { 535 Package(const String16& name, size_t packageId); 536 virtual ~Package() { } in ~Package() 593 sp<Package> getPackage(const String16& package); 628 DefaultKeyedVector<String16, sp<Package> > mPackages; 629 Vector<sp<Package> > mOrderedPackages;
|