/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesUserState.java | 46 public void addOp(String pkg, int op) { in addOp() argument 47 if (mAppOps.get(pkg) == null) { in addOp() 48 mAppOps.put(pkg, new ArraySet<>(3)); in addOp() 50 mAppOps.get(pkg).add(op); in addOp() 53 public boolean removeOp(String pkg, int op) { in removeOp() argument 55 final ArraySet<Integer> keys = mAppOps.get(pkg); in removeOp() 61 mAppOps.remove(pkg); in removeOp() 67 public void addImportantNotification(String pkg, String key) { in addImportantNotification() argument 68 addNotification(mImportantNotifications, pkg, key); in addImportantNotification() 71 public boolean removeImportantNotification(String pkg, String key) { in removeImportantNotification() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 81 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() local 83 assertNotNull(pkg); in testParse_noCache() 86 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_noCache() 88 assertNotNull(pkg); in testParse_noCache() 105 PackageParser.Package pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, in testParse_withCache() local 107 assertEquals("cache_android", pkg.packageName); in testParse_withCache() 111 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, false /* useCaches */); in testParse_withCache() 112 assertEquals("android", pkg.packageName); in testParse_withCache() 117 pkg = pp.parsePackage(FRAMEWORK, 0 /* parseFlags */, true /* useCaches */); in testParse_withCache() 118 assertEquals("android", pkg.packageName); in testParse_withCache() [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 44 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications() argument 46 void clearData(String pkg, int uid, boolean fromApp); in clearData() argument 48 void enqueueToast(String pkg, ITransientNotification callback, int duration, int displayId); in enqueueToast() argument 50 void cancelToast(String pkg, ITransientNotification callback); in cancelToast() argument 51 void finishToken(String pkg, ITransientNotification callback); in finishToken() argument 53 void enqueueNotificationWithTag(String pkg, String opPkg, String tag, int id, in enqueueNotificationWithTag() argument 56 void cancelNotificationWithTag(String pkg, String tag, int id, int userId); in cancelNotificationWithTag() argument 58 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() argument 59 boolean canShowBadge(String pkg, int uid); in canShowBadge() argument 60 void setNotificationsEnabledForPackage(String pkg, int uid, boolean enabled); in setNotificationsEnabledForPackage() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 141 public Uri[] getPinnedSlices(String pkg) { in getPinnedSlices() argument 142 verifyCaller(pkg); in getPinnedSlices() 147 if (Objects.equals(pkg, state.getPkg())) { in getPinnedSlices() 160 public void pinSlice(String pkg, Uri uri, SliceSpec[] specs, IBinder token) in pinSlice() argument 162 verifyCaller(pkg); in pinSlice() 163 enforceAccess(pkg, uri); in pinSlice() 167 getOrCreatePinnedSlice(uri, slicePkg).pin(pkg, specs, token); in pinSlice() 170 if (slicePkg != null && !Objects.equals(pkg, slicePkg)) { in pinSlice() 172 isAssistant(pkg, user) || isDefaultHomeApp(pkg, user) in pinSlice() 179 public void unpinSlice(String pkg, Uri uri, IBinder token) throws RemoteException { in unpinSlice() argument [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | Broadcaster.cpp | 57 pkg(), in ReportId() 63 pkg(that.pkg), in ReportId() 69 pkg(p), in ReportId() 83 if (pkg < that.pkg) { in operator <() 86 if (pkg > that.pkg) { in operator <() 129 void Broadcaster::clearBroadcasts(const string& pkg, const string& cls, const string& id) { in clearBroadcasts() argument 132 map<ReportId,ReportStatus>::const_iterator found = mHistory.find(ReportId(id, pkg, cls)); in clearBroadcasts() 144 void Broadcaster::clearPackageBroadcasts(const string& pkg) { in clearPackageBroadcasts() argument 149 if (it->first.pkg == pkg) { in clearPackageBroadcasts() 205 if (!was_ready_sent(file->getId(), report.pkg(), report.cls())) { in sendBroadcasts() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | PowerWhitelistBackend.java | 70 public boolean isSysWhitelisted(String pkg) { in isSysWhitelisted() argument 71 return mSysWhitelistedApps.contains(pkg); in isSysWhitelisted() 74 public boolean isWhitelisted(String pkg) { in isWhitelisted() argument 75 if (mWhitelistedApps.contains(pkg)) { in isWhitelisted() 79 if (isDefaultActiveApp(pkg)) { in isWhitelisted() 89 public boolean isDefaultActiveApp(String pkg) { in isDefaultActiveApp() argument 94 if (mDefaultActiveApps.contains(pkg)) { in isDefaultActiveApp() 100 if (devicePolicyManager.packageHasActiveAdmins(pkg)) { in isDefaultActiveApp() 111 for (String pkg : pkgs) { in isWhitelisted() 112 if (isWhitelisted(pkg)) { in isWhitelisted() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageSharedLibraryUpdater.java | 39 public abstract void updatePackage(PackageParser.Package pkg); in updatePackage() argument 41 static void removeLibrary(PackageParser.Package pkg, String libraryName) { in removeLibrary() argument 42 pkg.usesLibraries = ArrayUtils.remove(pkg.usesLibraries, libraryName); in removeLibrary() 43 pkg.usesOptionalLibraries = in removeLibrary() 44 ArrayUtils.remove(pkg.usesOptionalLibraries, libraryName); in removeLibrary() 72 void prefixImplicitDependency(PackageParser.Package pkg, String existingLibrary, in prefixImplicitDependency() argument 74 ArrayList<String> usesLibraries = pkg.usesLibraries; in prefixImplicitDependency() 75 ArrayList<String> usesOptionalLibraries = pkg.usesOptionalLibraries; in prefixImplicitDependency() 84 pkg.usesLibraries = usesLibraries; in prefixImplicitDependency() 85 pkg.usesOptionalLibraries = usesOptionalLibraries; in prefixImplicitDependency() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 301 final PackageParser.Package pkg = mPackageManagerInt.getPackage(pkgName); in checkPermission() local 302 if (pkg != null && pkg.mExtras != null) { in checkPermission() 303 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, userId)) { in checkPermission() 306 final PackageSetting ps = (PackageSetting) pkg.mExtras; in checkPermission() 329 private int checkUidPermission(String permName, PackageParser.Package pkg, int uid, in checkUidPermission() argument 341 if (pkg != null) { in checkUidPermission() 342 if (pkg.mSharedUserId != null) { in checkUidPermission() 346 } else if (mPackageManagerInt.filterAppAccess(pkg, callingUid, callingUserId)) { in checkUidPermission() 350 ((PackageSetting) pkg.mExtras).getPermissionsState(); in checkUidPermission() 574 final PackageParser.Package pkg = mPackageManagerInt.getPackage(packageName); in adjustPermissionProtectionFlagsLocked() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageAbiHelper.java | 35 PackageParser.Package pkg, File appLib32InstallDir); in getNativeLibraryPaths() argument 42 Abis getBundledAppAbis(PackageParser.Package pkg); in getBundledAppAbis() argument 51 PackageParser.Package pkg, String cpuAbiOverride, boolean extractLibs) in derivePackageAbi() argument 94 public void applyTo(PackageParser.Package pkg) { in applyTo() argument 95 pkg.applicationInfo.nativeLibraryRootDir = nativeLibraryRootDir; in applyTo() 96 pkg.applicationInfo.nativeLibraryRootRequiresIsa = nativeLibraryRootRequiresIsa; in applyTo() 97 pkg.applicationInfo.nativeLibraryDir = nativeLibraryDir; in applyTo() 98 pkg.applicationInfo.secondaryNativeLibraryDir = secondaryNativeLibraryDir; in applyTo() 115 Abis(PackageParser.Package pkg) { in Abis() argument 116 this(pkg.applicationInfo.primaryCpuAbi, pkg.applicationInfo.secondaryCpuAbi); in Abis() [all …]
|
D | KeySetManagerService.java | 132 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByLPr() local 133 if (pkg == null) { in packageIsSignedByLPr() 136 if (pkg.keySetData == null) { in packageIsSignedByLPr() 143 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByLPr() 158 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByExactlyLPr() local 159 if (pkg == null) { in packageIsSignedByExactlyLPr() 162 if (pkg.keySetData == null in packageIsSignedByExactlyLPr() 163 || pkg.keySetData.getProperSigningKeySet() in packageIsSignedByExactlyLPr() 171 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByExactlyLPr() 185 public void assertScannedPackageValid(PackageParser.Package pkg) in assertScannedPackageValid() argument [all …]
|
D | BackgroundDexOptService.java | 205 for (String pkg : pkgs) { in postBootUpdate() 227 Log.i(TAG, "Updating package " + pkg); in postBootUpdate() 239 pkg, in postBootUpdate() 243 updatedPackages.add(pkg); in postBootUpdate() 309 private long getPackageSize(PackageManagerService pm, String pkg) { in getPackageSize() argument 310 PackageInfo info = pm.getPackageInfo(pkg, 0, UserHandle.USER_SYSTEM); in getPackageSize() 359 for (String pkg : unusedPackages) { in idleOptimizePackages() 365 if (downgradePackage(pm, pkg, /*isForPrimaryDex*/ true)) { in idleOptimizePackages() 366 updatedPackages.add(pkg); in idleOptimizePackages() 369 downgradePackage(pm, pkg, /*isForPrimaryDex*/ false); in idleOptimizePackages() [all …]
|
D | PackageDexOptimizer.java | 112 static boolean canOptimizePackage(PackageParser.Package pkg) { in canOptimizePackage() argument 114 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) == 0) { in canOptimizePackage() 128 int performDexOpt(PackageParser.Package pkg, in performDexOpt() argument 131 if (pkg.applicationInfo.uid == -1) { in performDexOpt() 132 throw new IllegalArgumentException("Dexopt for " + pkg.packageName in performDexOpt() 135 if (!canOptimizePackage(pkg)) { in performDexOpt() 139 final long acquireTime = acquireWakeLockLI(pkg.applicationInfo.uid); in performDexOpt() 141 return performDexOptLI(pkg, instructionSets, in performDexOpt() 154 private int performDexOptLI(PackageParser.Package pkg, in performDexOptLI() argument 157 final List<SharedLibraryInfo> sharedLibraries = pkg.usesLibraryInfos; in performDexOptLI() [all …]
|
D | PackageAbiHelperImpl.java | 134 PackageParser.Package pkg, File appLib32InstallDir) { in getNativeLibraryPaths() argument 135 return getNativeLibraryPaths(new Abis(pkg), appLib32InstallDir, pkg.codePath, in getNativeLibraryPaths() 136 pkg.applicationInfo.sourceDir, pkg.applicationInfo.isSystemApp(), in getNativeLibraryPaths() 137 pkg.applicationInfo.isUpdatedSystemApp()); in getNativeLibraryPaths() 204 public Abis getBundledAppAbis(PackageParser.Package pkg) { in getBundledAppAbis() argument 205 final String apkName = deriveCodePathName(pkg.applicationInfo.getCodePath()); in getBundledAppAbis() 209 final String apkRoot = calculateBundledApkRoot(pkg.applicationInfo.sourceDir); in getBundledAppAbis() 210 final Abis abis = getBundledAppAbi(pkg, apkRoot, apkName); in getBundledAppAbis() 222 private Abis getBundledAppAbi(PackageParser.Package pkg, String apkRoot, String apkName) { in getBundledAppAbi() argument 223 final File codeFile = new File(pkg.codePath); in getBundledAppAbi() [all …]
|
D | PackageManagerService.java | 1027 PackageParser.Package pkg; field in PackageManagerService.IFVerificationParams 1034 pkg = _pkg; in IFVerificationParams() 1554 && parentRes.pkg != null) in doHandleMessage() 1555 ? parentRes.pkg.requestedPermissions in doHandleMessage() 1702 params.replacing, params.pkg); in doHandleMessage() 1890 res.pkg, res.newUsers, whitelistedRestrictedPermissions, in handlePackagePostInstall() 1903 res.pkg, res.newUsers, grantedPermissions, callingUid, in handlePackagePostInstall() 1917 if (res.pkg.parentPackage != null) { in handlePackagePostInstall() 1920 res.pkg, callingUid, mPermissionCallback); in handlePackagePostInstall() 1924 mInstantAppRegistry.onPackageInstalledLPw(res.pkg, res.newUsers); in handlePackagePostInstall() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 64 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() argument 72 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, in getSbn() 76 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() argument 78 return getSbn(pkg, id, tag, user, null); in getSbn() 83 final String pkg = "package"; in testNoGroup_postingUnderLimit() local 85 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit() 89 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString()); in testNoGroup_postingUnderLimit() 97 final String pkg = "package"; in testNoGroup_multiPackage() local 100 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage() 106 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString()); in testNoGroup_multiPackage() [all …]
|
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/ |
D | InstallOverlayTests.java | 50 for (String pkg : ALL_PACKAGES) { in ensureNoOverlays() 51 assertFalse(pkg + " should not be installed", isPackageInstalled(pkg)); in ensureNoOverlays() 52 assertFalse(pkg + " should not be registered with overlay manager service", in ensureNoOverlays() 53 overlayManagerContainsPackage(pkg)); in ensureNoOverlays() 64 for (String pkg : ALL_PACKAGES) { in uninstallOverlays() 65 uninstallPackage(pkg); in uninstallOverlays() 204 private void installPackage(String pkg) throws Exception { in installPackage() argument 205 super.installPackage(pkg); in installPackage() 209 private void installInstantPackage(String pkg) throws Exception { in installInstantPackage() argument 210 super.installPackage(pkg, "--instant"); in installInstantPackage() [all …]
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 124 public void sendReportReadyBroadcast(String pkg, String cls) { in sendReportReadyBroadcast() argument 137 intent.setComponent(new ComponentName(pkg, cls)); in sendReportReadyBroadcast() 196 public List<String> getIncidentReportList(String pkg, String cls) throws RemoteException { in getIncidentReportList() argument 201 return getIIncidentManager().getIncidentReportList(pkg, cls); in getIncidentReportList() 211 public void deleteIncidentReports(String pkg, String cls, String id) in deleteIncidentReports() argument 213 if (pkg == null || cls == null || id == null in deleteIncidentReports() 214 || pkg.length() == 0 || cls.length() == 0 || id.length() == 0) { in deleteIncidentReports() 217 enforceAccessReportsPermissions(pkg); in deleteIncidentReports() 221 getIIncidentManager().deleteIncidentReports(pkg, cls, id); in deleteIncidentReports() 231 public void deleteAllIncidentReports(String pkg) throws RemoteException { in deleteAllIncidentReports() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 36 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() argument 38 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() argument 40 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() argument 42 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() argument 44 …void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromUser); in updateNotificationChannel() argument 45 …NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeD… in getNotificationChannel() argument 46 void deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() argument 47 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() argument 48 void permanentlyDeleteNotificationChannels(String pkg, int uid); in permanentlyDeleteNotificationChannels() argument 49 …ParceledListSlice<NotificationChannel> getNotificationChannels(String pkg, int uid, boolean includ… in getNotificationChannels() argument
|
D | PreferencesHelper.java | 234 Slog.w(TAG, "Skipping further channels for " + r.pkg in readXml() 293 private PackagePreferences getPackagePreferencesLocked(String pkg, int uid) { in getPackagePreferencesLocked() argument 294 final String key = packagePreferencesKey(pkg, uid); in getPackagePreferencesLocked() 298 private PackagePreferences getOrCreatePackagePreferencesLocked(String pkg, int uid) { in getOrCreatePackagePreferencesLocked() argument 299 return getOrCreatePackagePreferencesLocked(pkg, uid, in getOrCreatePackagePreferencesLocked() 304 private PackagePreferences getOrCreatePackagePreferencesLocked(String pkg, int uid, in getOrCreatePackagePreferencesLocked() argument 306 final String key = packagePreferencesKey(pkg, uid); in getOrCreatePackagePreferencesLocked() 308 r = (uid == UNKNOWN_UID) ? mRestoredWithoutUids.get(pkg) in getOrCreatePackagePreferencesLocked() 312 r.pkg = pkg; in getOrCreatePackagePreferencesLocked() 327 mRestoredWithoutUids.put(pkg, r); in getOrCreatePackagePreferencesLocked() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageBuilder.java | 45 PackageParser.Package pkg = new PackageParser.Package("org.package.name"); in build() local 46 pkg.applicationInfo.targetSdkVersion = mTargetSdkVersion; in build() 47 pkg.applicationInfo.flags = mFlags; in build() 48 pkg.usesLibraries = mRequiredLibraries; in build() 49 pkg.usesOptionalLibraries = mOptionalLibraries; in build() 50 return pkg; in build() 83 public void check(PackageParser.Package pkg) { in check() argument 86 pkg.applicationInfo.targetSdkVersion); in check() 89 pkg.usesLibraries); in check() 92 pkg.usesOptionalLibraries); in check()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | PackageChangeReceiver.java | 134 String pkg = getPackageName(intent); in onReceive() local 135 if (pkg != null) { in onReceive() 137 onPackageUpdateFinished(pkg); in onReceive() 138 onPackageModified(pkg); in onReceive() 140 onPackageAdded(pkg); in onReceive() 145 String pkg = getPackageName(intent); in onReceive() local 146 if (pkg != null) { in onReceive() 148 onPackageRemoved(pkg); in onReceive() 153 String pkg = getPackageName(intent); in onReceive() local 154 if (pkg != null) { in onReceive() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 58 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { in createRelative() argument 66 fullName = pkg + cls; in createRelative() 71 return new ComponentName(pkg, fullName); in createRelative() 89 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { in createRelative() argument 90 return createRelative(pkg.getPackageName(), cls); in createRelative() 101 public ComponentName(@NonNull String pkg, @NonNull String cls) { in ComponentName() argument 102 if (pkg == null) throw new NullPointerException("package name is null"); in ComponentName() 104 mPackage = pkg; in ComponentName() 116 public ComponentName(@NonNull Context pkg, @NonNull String cls) { in ComponentName() argument 118 mPackage = pkg.getPackageName(); in ComponentName() [all …]
|
/frameworks/base/core/java/android/content/pm/split/ |
D | SplitDependencyLoader.java | 153 PackageParser.PackageLite pkg) throws IllegalDependencyException { in createDependenciesFromPackage() argument 164 for (int splitIdx = 0; splitIdx < pkg.splitNames.length; splitIdx++) { in createDependenciesFromPackage() 165 if (!pkg.isFeatureSplits[splitIdx]) { in createDependenciesFromPackage() 172 final String splitDependency = pkg.usesSplitNames[splitIdx]; in createDependenciesFromPackage() 174 final int depIdx = Arrays.binarySearch(pkg.splitNames, splitDependency); in createDependenciesFromPackage() 176 throw new IllegalDependencyException("Split '" + pkg.splitNames[splitIdx] in createDependenciesFromPackage() 191 for (int splitIdx = 0; splitIdx < pkg.splitNames.length; splitIdx++) { in createDependenciesFromPackage() 192 if (pkg.isFeatureSplits[splitIdx]) { in createDependenciesFromPackage() 199 final String configForSplit = pkg.configForSplit[splitIdx]; in createDependenciesFromPackage() 201 final int depIdx = Arrays.binarySearch(pkg.splitNames, configForSplit); in createDependenciesFromPackage() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | AttributeCache.java | 90 final Package pkg = mPackages.remove(packageName); in removePackage() local 91 if (pkg != null) { in removePackage() 92 for (int i = 0; i < pkg.mMap.size(); i++) { in removePackage() 93 final ArrayMap<int[], Entry> map = pkg.mMap.valueAt(i); in removePackage() 99 final Resources res = pkg.context.getResources(); in removePackage() 121 Package pkg = mPackages.get(packageName); in get() local 124 if (pkg != null) { in get() 125 map = pkg.mMap.get(resId); in get() 143 pkg = new Package(context); in get() 144 mPackages.put(packageName, pkg); in get() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/ |
D | DexMetadataHelperTest.java | 98 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageWithDmFileValid() local 100 Map<String, String> packageDexMetadata = DexMetadataHelper.getPackageDexMetadata(pkg); in testParsePackageWithDmFileValid() 102 String baseDexMetadata = packageDexMetadata.get(pkg.baseCodePath); in testParsePackageWithDmFileValid() 104 assertTrue(isDexMetadataForApk(baseDexMetadata, pkg.baseCodePath)); in testParsePackageWithDmFileValid() 114 Package pkg = new PackageParser().parsePackage(mTmpDir, 0 /* flags */); in testParsePackageSplitsWithDmFileValid() local 116 Map<String, String> packageDexMetadata = DexMetadataHelper.getPackageDexMetadata(pkg); in testParsePackageSplitsWithDmFileValid() 118 String baseDexMetadata = packageDexMetadata.get(pkg.baseCodePath); in testParsePackageSplitsWithDmFileValid() 120 assertTrue(isDexMetadataForApk(baseDexMetadata, pkg.baseCodePath)); in testParsePackageSplitsWithDmFileValid() 122 String splitDexMetadata = packageDexMetadata.get(pkg.splitCodePaths[0]); in testParsePackageSplitsWithDmFileValid() 124 assertTrue(isDexMetadataForApk(splitDexMetadata, pkg.splitCodePaths[0])); in testParsePackageSplitsWithDmFileValid() [all …]
|