/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
D | AndroidPackageUtils.java | 17 package com.android.server.pm.parsing.pkg; 26 import com.android.server.pm.pkg.parsing.ParsingPackageRead; 27 import com.android.server.pm.pkg.parsing.ParsingPackageUtils; 28 import com.android.server.pm.pkg.component.ParsedActivity; 29 import com.android.server.pm.pkg.component.ParsedInstrumentation; 30 import com.android.server.pm.pkg.component.ParsedProvider; 31 import com.android.server.pm.pkg.component.ParsedService; 41 import com.android.server.pm.pkg.PackageStateInternal; 59 PackageImpl pkg = (PackageImpl) aPkg; in getAllCodePathsExcludingResourceOnly() local 61 if (pkg.isHasCode()) { in getAllCodePathsExcludingResourceOnly() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesUserState.java | 48 public void addOp(String pkg, int op) { in addOp() argument 49 if (mAppOps.get(pkg) == null) { in addOp() 50 mAppOps.put(pkg, new ArraySet<>(3)); in addOp() 52 mAppOps.get(pkg).add(op); in addOp() 55 public boolean removeOp(String pkg, int op) { in removeOp() argument 57 final ArraySet<Integer> keys = mAppOps.get(pkg); in removeOp() 63 mAppOps.remove(pkg); in removeOp() 69 public void addImportantNotification(String pkg, String key) { in addImportantNotification() argument 70 addNotification(mImportantNotifications, pkg, key); in addImportantNotification() 73 public boolean removeImportantNotification(String pkg, String key) { in removeImportantNotification() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 44 import com.android.server.pm.parsing.pkg.AndroidPackage; 45 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 46 import com.android.server.pm.parsing.pkg.PackageImpl; 47 import com.android.server.pm.pkg.PackageStateInternal; 48 import com.android.server.pm.pkg.PackageStateUnserialized; 49 import com.android.server.pm.pkg.PackageUserStateInternal; 50 import com.android.server.pm.pkg.PackageUserStateUtils; 51 import com.android.server.pm.pkg.component.ComponentParseUtils; 52 import com.android.server.pm.pkg.component.ParsedActivity; 53 import com.android.server.pm.pkg.component.ParsedComponent; [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/ |
D | PackageInfoWithoutStateUtils.java | 17 package com.android.server.pm.pkg.parsing; 49 import com.android.server.pm.pkg.PackageUserState; 50 import com.android.server.pm.pkg.PackageUserStateUtils; 51 import com.android.server.pm.pkg.SELinuxUtil; 52 import com.android.server.pm.pkg.component.ComponentParseUtils; 53 import com.android.server.pm.pkg.component.ParsedActivity; 54 import com.android.server.pm.pkg.component.ParsedAttribution; 55 import com.android.server.pm.pkg.component.ParsedComponent; 56 import com.android.server.pm.pkg.component.ParsedInstrumentation; 57 import com.android.server.pm.pkg.component.ParsedMainComponent; [all …]
|
D | ParsingPackageUtils.java | 17 package com.android.server.pm.pkg.parsing; 33 import static com.android.server.pm.pkg.parsing.ParsingUtils.parseKnownActivityEmbeddingCerts; 96 import com.android.server.pm.pkg.component.ComponentMutateUtils; 97 import com.android.server.pm.pkg.component.ComponentParseUtils; 98 import com.android.server.pm.pkg.component.InstallConstraintsTagParser; 99 import com.android.server.pm.pkg.component.ParsedActivity; 100 import com.android.server.pm.pkg.component.ParsedActivityUtils; 101 import com.android.server.pm.pkg.component.ParsedApexSystemService; 102 import com.android.server.pm.pkg.component.ParsedApexSystemServiceUtils; 103 import com.android.server.pm.pkg.component.ParsedAttribution; [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 47 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications() argument 49 void clearData(String pkg, int uid, boolean fromApp); in clearData() argument 50 …void enqueueTextToast(String pkg, IBinder token, CharSequence text, int duration, int displayId, @… in enqueueTextToast() argument 51 …void enqueueToast(String pkg, IBinder token, ITransientNotification callback, int duration, int di… in enqueueToast() argument 52 void cancelToast(String pkg, IBinder token); in cancelToast() argument 53 void finishToken(String pkg, IBinder token); in finishToken() argument 55 void enqueueNotificationWithTag(String pkg, String opPkg, String tag, int id, in enqueueNotificationWithTag() argument 58 void cancelNotificationWithTag(String pkg, String opPkg, String tag, int id, int userId); in cancelNotificationWithTag() argument 60 boolean isInCall(String pkg, int uid); in isInCall() argument 61 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppDataHelper.java | 48 import com.android.server.pm.parsing.pkg.AndroidPackage; 49 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 50 import com.android.server.pm.pkg.PackageStateInternal; 51 import com.android.server.pm.pkg.SELinuxUtil; 91 public void prepareAppDataAfterInstallLIF(AndroidPackage pkg) { in prepareAppDataAfterInstallLIF() argument 92 prepareAppDataPostCommitLIF(pkg, 0 /* previousAppId */); in prepareAppDataAfterInstallLIF() 100 public void prepareAppDataPostCommitLIF(AndroidPackage pkg, int previousAppId) { in prepareAppDataPostCommitLIF() argument 103 ps = mPm.mSettings.getPackageLPr(pkg.getPackageName()); in prepareAppDataPostCommitLIF() 108 if (!shouldHaveAppStorage(pkg)) { in prepareAppDataPostCommitLIF() 109 Slog.w(TAG, "Skipping preparing app data for " + pkg.getPackageName()); in prepareAppDataPostCommitLIF() [all …]
|
D | PackageAbiHelper.java | 25 import com.android.server.pm.parsing.pkg.AndroidPackage; 26 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 27 import com.android.server.pm.parsing.pkg.ParsedPackage; 28 import com.android.server.pm.pkg.PackageStateInternal; 42 NativeLibraryPaths deriveNativeLibraryPaths(AndroidPackage pkg, boolean isUpdatedSystemApp, in deriveNativeLibraryPaths() argument 50 Abis getBundledAppAbis(AndroidPackage pkg); in getBundledAppAbis() argument 58 Pair<Abis, NativeLibraryPaths> derivePackageAbi(AndroidPackage pkg, boolean isUpdatedSystemApp, in derivePackageAbi() argument 101 public void applyTo(ParsedPackage pkg) { in applyTo() argument 102 pkg.setNativeLibraryRootDir(nativeLibraryRootDir) in applyTo() 122 Abis(AndroidPackage pkg, PackageSetting pkgSetting) { in Abis() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SELinuxMMACTest.java | 29 import com.android.server.pm.parsing.pkg.AndroidPackage; 30 import com.android.server.pm.parsing.pkg.PackageImpl; 31 import com.android.server.pm.parsing.pkg.ParsedPackage; 55 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoOptInToLatest() local 57 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoOptInToLatest() 59 assertThat(SELinuxMMAC.getSeInfo(pkg, null, mMockCompatibility), in getSeInfoOptInToLatest() 65 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoOptInToR() local 67 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoOptInToR() 69 assertThat(SELinuxMMAC.getSeInfo(pkg, null, mMockCompatibility), in getSeInfoOptInToR() 75 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoNoOptIn() local [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/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexMetadataHelperTest.java | 42 import com.android.server.pm.parsing.pkg.AndroidPackage; 43 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 44 import com.android.server.pm.parsing.pkg.ParsedPackage; 140 private static void validatePackageDexMetadata(AndroidPackage pkg, boolean requireManifest) in validatePackageDexMetadata() argument 143 AndroidPackageUtils.getPackageDexMetadata(pkg).values(); in validatePackageDexMetadata() 144 String packageName = pkg.getPackageName(); in validatePackageDexMetadata() 145 long versionCode = pkg.getLongVersionCode(); in validatePackageDexMetadata() 157 private static void validatePackageDexMetatadataVaryingRequireManifest(ParsedPackage pkg) in validatePackageDexMetatadataVaryingRequireManifest() argument 159 validatePackageDexMetadata(pkg, /*requireManifest=*/true); in validatePackageDexMetatadataVaryingRequireManifest() 160 validatePackageDexMetadata(pkg, /*requireManifest=*/false); in validatePackageDexMetatadataVaryingRequireManifest() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtUtils.java | 24 import com.android.server.pm.parsing.pkg.AndroidPackage; 25 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 26 import com.android.server.pm.pkg.PackageStateInternal; 42 AndroidPackage pkg, PackageStateInternal pkgSetting) { in createArtPackageInfo() argument 44 pkg.getPackageName(), in createArtPackageInfo() 46 AndroidPackageUtils.getPrimaryCpuAbi(pkg, pkgSetting), in createArtPackageInfo() 47 AndroidPackageUtils.getSecondaryCpuAbi(pkg, pkgSetting))), in createArtPackageInfo() 48 AndroidPackageUtils.getAllCodePaths(pkg), in createArtPackageInfo() 49 getOatDir(pkg, pkgSetting)); in createArtPackageInfo() 52 private static String getOatDir(AndroidPackage pkg, @NonNull PackageStateInternal pkgSetting) { in getOatDir() argument [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationCollectorTest.kt | 21 import com.android.server.pm.pkg.component.ParsedActivityImpl 22 import com.android.server.pm.pkg.component.ParsedIntentInfoImpl 28 import com.android.server.pm.parsing.pkg.AndroidPackage 56 val pkg = mockPkg(useV2 = false, autoVerify = true) in verifyV1() constant 58 assertThat(collector.collectAllWebDomains(pkg)) in verifyV1() 60 assertThat(collector.collectValidAutoVerifyDomains(pkg)) in verifyV1() 62 assertThat(collector.collectInvalidAutoVerifyDomains(pkg)) in verifyV1() 68 val pkg = mockPkg(useV2 = false, autoVerify = false) in verifyV1NoAutoVerify() constant 70 assertThat(collector.collectAllWebDomains(pkg)) in verifyV1NoAutoVerify() 72 assertThat(collector.collectValidAutoVerifyDomains(pkg)).isEmpty() in verifyV1NoAutoVerify() [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 146 public Uri[] getPinnedSlices(String pkg) { in getPinnedSlices() argument 147 verifyCaller(pkg); in getPinnedSlices() 152 if (Objects.equals(pkg, state.getPkg())) { in getPinnedSlices() 165 public void pinSlice(String pkg, Uri uri, SliceSpec[] specs, IBinder token) in pinSlice() argument 167 verifyCaller(pkg); in pinSlice() 168 enforceAccess(pkg, uri); in pinSlice() 172 getOrCreatePinnedSlice(uri, slicePkg).pin(pkg, specs, token); in pinSlice() 175 if (slicePkg != null && !Objects.equals(pkg, slicePkg)) { in pinSlice() 177 isAssistant(pkg, user) || isDefaultHomeApp(pkg, user) in pinSlice() 184 public void unpinSlice(String pkg, Uri uri, IBinder token) throws RemoteException { in unpinSlice() argument [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() 199 private void installPackage(String pkg) throws Exception { in installPackage() argument 200 super.installPackage(pkg); in installPackage() 204 private void installInstantPackage(String pkg) throws Exception { in installInstantPackage() argument 205 super.installPackage(pkg, "--instant"); in installInstantPackage() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | PowerAllowlistBackend.java | 72 public boolean isSysAllowlisted(String pkg) { in isSysAllowlisted() argument 73 return mSysAllowlistedApps.contains(pkg); in isSysAllowlisted() 79 public boolean isAllowlisted(String pkg) { in isAllowlisted() argument 80 if (mAllowlistedApps.contains(pkg)) { in isAllowlisted() 84 if (isDefaultActiveApp(pkg)) { in isAllowlisted() 94 public boolean isDefaultActiveApp(String pkg) { in isDefaultActiveApp() argument 99 if (mDefaultActiveApps.contains(pkg)) { in isDefaultActiveApp() 105 if (devicePolicyManager.packageHasActiveAdmins(pkg)) { in isDefaultActiveApp() 115 public boolean isAllowlistedExceptIdle(String pkg) { in isAllowlistedExceptIdle() argument 117 return mDeviceIdleService.isPowerSaveWhitelistExceptIdleApp(pkg); in isAllowlistedExceptIdle() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 67 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() argument 75 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, in getSbn() 79 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() argument 81 return getSbn(pkg, id, tag, user, null); in getSbn() 86 final String pkg = "package"; in testNoGroup_postingUnderLimit() local 88 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit() 92 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString(), anyBoolean()); in testNoGroup_postingUnderLimit() 100 final String pkg = "package"; in testNoGroup_multiPackage() local 103 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage() 109 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString(), anyBoolean()); in testNoGroup_multiPackage() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTestsBase.java | 42 import com.android.server.pm.parsing.pkg.AndroidPackage; 138 void addPackage(FakeDeviceState.PackageBuilder pkg, int userId) { in addPackage() argument 139 mState.add(pkg, userId); in addPackage() 168 void installAndAssert(@NonNull FakeDeviceState.PackageBuilder pkg, int userId, in installAndAssert() argument 171 if (mState.select(pkg.packageName, userId) != null) { in installAndAssert() 172 throw new IllegalStateException("package " + pkg.packageName + " already installed"); in installAndAssert() 174 mState.add(pkg, userId); in installAndAssert() 175 assertEquals(onAddedUpdatedPackages, mImpl.onPackageAdded(pkg.packageName, userId)); in installAndAssert() 189 void upgradeAndAssert(FakeDeviceState.PackageBuilder pkg, int userId, in upgradeAndAssert() argument 193 final FakeDeviceState.Package replacedPackage = mState.select(pkg.packageName, userId); in upgradeAndAssert() [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/pm/pkg/component/ |
D | ComponentParseUtils.java | 17 package com.android.server.pm.pkg.component; 32 import com.android.server.pm.pkg.PackageUserState; 33 import com.android.server.pm.pkg.PackageUserStateUtils; 34 import com.android.server.pm.pkg.parsing.ParsingPackage; 35 import com.android.server.pm.pkg.parsing.ParsingPackageUtils; 36 import com.android.server.pm.pkg.parsing.ParsingUtils; 57 ParsingPackage pkg, Resources res, XmlResourceParser parser, String tag, in parseAllMetaData() argument 69 result = ParsedComponentUtils.addMetaData(component, pkg, res, parser, input); in parseAllMetaData() 71 result = ParsingUtils.unknownTag(tag, pkg, parser, input); in parseAllMetaData() 83 public static ParseResult<String> buildProcessName(@NonNull String pkg, String defProc, in buildProcessName() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationCollector.java | 25 import com.android.server.pm.pkg.component.ParsedActivity; 26 import com.android.server.pm.pkg.component.ParsedIntentInfo; 34 import com.android.server.pm.parsing.pkg.AndroidPackage; 95 public ArraySet<String> collectAllWebDomains(@NonNull AndroidPackage pkg) { in collectAllWebDomains() argument 96 return collectDomains(pkg, false /* checkAutoVerify */, true /* valid */); in collectAllWebDomains() 104 public ArraySet<String> collectValidAutoVerifyDomains(@NonNull AndroidPackage pkg) { in collectValidAutoVerifyDomains() argument 105 return collectDomains(pkg, true /* checkAutoVerify */, true /* valid */); in collectValidAutoVerifyDomains() 113 public ArraySet<String> collectInvalidAutoVerifyDomains(@NonNull AndroidPackage pkg) { in collectInvalidAutoVerifyDomains() argument 114 return collectDomains(pkg, true /* checkAutoVerify */, false /* valid */); in collectInvalidAutoVerifyDomains() 117 public boolean containsWebDomain(@NonNull AndroidPackage pkg, @NonNull String targetDomain) { in containsWebDomain() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingConfig.java | 39 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() argument 41 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() argument 43 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() argument 45 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() argument 47 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, in updateNotificationChannel() argument 49 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() argument 51 NotificationChannel getConversationNotificationChannel(String pkg, int uid, String channelId, in getConversationNotificationChannel() argument 54 boolean deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() argument 55 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() argument 56 void permanentlyDeleteNotificationChannels(String pkg, int uid); in permanentlyDeleteNotificationChannels() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/ |
D | AndroidTestBaseUpdater.java | 31 import com.android.server.pm.parsing.pkg.AndroidPackage; 32 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 33 import com.android.server.pm.parsing.pkg.ParsedPackage; 59 private static boolean isChangeEnabled(AndroidPackage pkg) { in isChangeEnabled() argument 62 if (!pkg.isSystem()) { in isChangeEnabled() 67 AndroidPackageUtils.generateAppInfoWithoutState(pkg)); in isChangeEnabled() 73 return pkg.getTargetSdkVersion() > Build.VERSION_CODES.Q; in isChangeEnabled() 77 public void updatePackage(ParsedPackage pkg, boolean isUpdatedSystemApp) { in updatePackage() argument 81 if (!isChangeEnabled(pkg)) { in updatePackage() 82 prefixRequiredLibrary(pkg, ANDROID_TEST_BASE); in updatePackage() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/ |
D | PackageParserTest.java | 64 import com.android.server.pm.parsing.pkg.AndroidPackage; 65 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 66 import com.android.server.pm.parsing.pkg.PackageImpl; 67 import com.android.server.pm.parsing.pkg.ParsedPackage; 69 import com.android.server.pm.pkg.PackageUserState; 70 import com.android.server.pm.pkg.PackageUserStateInternal; 71 import com.android.server.pm.pkg.component.ParsedActivity; 72 import com.android.server.pm.pkg.component.ParsedActivityImpl; 73 import com.android.server.pm.pkg.component.ParsedApexSystemService; 74 import com.android.server.pm.pkg.component.ParsedComponent; [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 135 import com.android.server.pm.parsing.pkg.AndroidPackage; 136 import com.android.server.pm.parsing.pkg.AndroidPackageUtils; 137 import com.android.server.pm.pkg.AndroidPackageApi; 138 import com.android.server.pm.pkg.PackageStateInternal; 139 import com.android.server.pm.pkg.component.ComponentMutateUtils; 140 import com.android.server.pm.pkg.component.ParsedPermission; 141 import com.android.server.pm.pkg.component.ParsedPermissionGroup; 142 import com.android.server.pm.pkg.component.ParsedPermissionUtils; 591 private int getPermissionInfoCallingTargetSdkVersion(@Nullable AndroidPackage pkg, int uid) { in getPermissionInfoCallingTargetSdkVersion() argument 598 if (pkg == null) { in getPermissionInfoCallingTargetSdkVersion() [all …]
|