Home
last modified time | relevance | path

Searched refs:pkg (Results 1 – 25 of 462) sorted by relevance

12345678910>>...19

/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java17 package com.android.server.pm.parsing.pkg;
58 PackageImpl pkg = (PackageImpl) aPkg; in getAllCodePathsExcludingResourceOnly() local
60 if (pkg.isHasCode()) { in getAllCodePathsExcludingResourceOnly()
61 paths.add(pkg.getBaseCodePath()); in getAllCodePathsExcludingResourceOnly()
63 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePathsExcludingResourceOnly()
66 if ((pkg.getSplitFlags()[i] & ApplicationInfo.FLAG_HAS_CODE) != 0) { in getAllCodePathsExcludingResourceOnly()
78 PackageImpl pkg = (PackageImpl) aPkg; in getAllCodePaths() local
80 paths.add(pkg.getBaseCodePath()); in getAllCodePaths()
82 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePaths()
89 public static SharedLibraryInfo createSharedLibraryForStatic(AndroidPackage pkg) { in createSharedLibraryForStatic() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServicesUserState.java48 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/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java67 public static PackageInfo generate(ParsingPackageRead pkg, int[] gids, in generate() argument
70 …return generateWithComponents(pkg, gids, flags, firstInstallTime, lastUpdateTime, grantedPermissio… in generate()
75 public static PackageInfo generate(ParsingPackageRead pkg, ApexInfo apexInfo, int flags) { in generate() argument
76 return generateWithComponents(pkg, EmptyArray.INT, flags, 0, 0, Collections.emptySet(), in generate()
81 private static PackageInfo generateWithComponents(ParsingPackageRead pkg, int[] gids, in generateWithComponents() argument
85 ApplicationInfo applicationInfo = generateApplicationInfo(pkg, flags, state, userId); in generateWithComponents()
89 PackageInfo info = generateWithoutComponents(pkg, gids, flags, firstInstallTime, in generateWithComponents()
97 final int N = pkg.getActivities().size(); in generateWithComponents()
102 final ParsedActivity a = pkg.getActivities().get(i); in generateWithComponents()
103 if (ComponentParseUtils.isMatch(state, false, pkg.isEnabled(), a, in generateWithComponents()
[all …]
DParsingPackageUtils.java183 ParsingPackage pkg = result.getResult(); in parseDefault() local
185 pkg.setSigningDetails( in parseDefault()
186 ParsingPackageUtils.getSigningDetails(pkg, false /* skipVerify */)); in parseDefault()
189 return input.success(pkg); in parseDefault()
284 ParsingPackage pkg = result.getResult(); in parseClusterPackage() local
286 pkg.asSplit( in parseClusterPackage()
296 parseSplitApk(input, pkg, i, splitAssets, flags); in parseClusterPackage()
300 pkg.setUse32BitAbi(lite.use32bitAbi); in parseClusterPackage()
301 return input.success(pkg); in parseClusterPackage()
380 final ParsingPackage pkg = result.getResult(); in parseBaseApk() local
[all …]
/frameworks/base/core/java/android/app/
DINotificationManager.aidl46 void cancelAllNotifications(String pkg, int userId); in cancelAllNotifications() argument
48 void clearData(String pkg, int uid, boolean fromApp); in clearData() argument
49 …void enqueueTextToast(String pkg, IBinder token, CharSequence text, int duration, int displayId, @… in enqueueTextToast() argument
50 …void enqueueToast(String pkg, IBinder token, ITransientNotification callback, int duration, int di… in enqueueToast() argument
51 void cancelToast(String pkg, IBinder token); in cancelToast() argument
52 void finishToken(String pkg, IBinder token); in finishToken() argument
54 void enqueueNotificationWithTag(String pkg, String opPkg, String tag, int id, in enqueueNotificationWithTag() argument
57 void cancelNotificationWithTag(String pkg, String opPkg, String tag, int id, int userId); in cancelNotificationWithTag() argument
59 void setShowBadge(String pkg, int uid, boolean showBadge); in setShowBadge() argument
60 boolean canShowBadge(String pkg, int uid); in canShowBadge() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java56 import com.android.server.pm.parsing.pkg.AndroidPackage;
57 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
58 import com.android.server.pm.pkg.PackageStateUnserialized;
82 public static PackageInfo generate(AndroidPackage pkg, int[] gids, in generate() argument
86 return generateWithComponents(pkg, gids, flags, firstInstallTime, lastUpdateTime, in generate()
94 public static PackageInfo generate(AndroidPackage pkg, ApexInfo apexInfo, int flags, in generate() argument
96 return generateWithComponents(pkg, EmptyArray.INT, flags, 0, 0, Collections.emptySet(), in generate()
103 private static PackageInfo generateWithComponents(AndroidPackage pkg, int[] gids, in generateWithComponents() argument
107 ApplicationInfo applicationInfo = generateApplicationInfo(pkg, flags, state, userId, in generateWithComponents()
113 PackageInfo info = PackageInfoWithoutStateUtils.generateWithoutComponentsUnchecked(pkg, in generateWithComponents()
[all …]
/frameworks/base/cmds/incidentd/src/
DBroadcaster.cpp57 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/om/
DOverlayManagerServiceImplTestsBase.java120 void addSystemPackage(DummyDeviceState.PackageBuilder pkg, int userId) { in addSystemPackage() argument
121 mState.add(pkg, userId); in addSystemPackage()
139 void installNewPackage(DummyDeviceState.PackageBuilder pkg, int userId) { in installNewPackage() argument
140 if (mState.select(pkg.packageName, userId) != null) { in installNewPackage()
141 throw new IllegalStateException("package " + pkg.packageName + " already installed"); in installNewPackage()
143 mState.add(pkg, userId); in installNewPackage()
144 if (pkg.targetPackage == null) { in installNewPackage()
145 mImpl.onTargetPackageAdded(pkg.packageName, userId); in installNewPackage()
147 mImpl.onOverlayPackageAdded(pkg.packageName, userId); in installNewPackage()
162 void upgradePackage(DummyDeviceState.PackageBuilder pkg, int userId) { in upgradePackage() argument
[all …]
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java141 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/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerWhitelistBackend.java70 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/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java50 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/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java66 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() argument
74 return new StatusBarNotification(pkg, pkg, id, tag, 0, 0, nb.build(), user, null, in getSbn()
78 private StatusBarNotification getSbn(String pkg, int id, String tag, in getSbn() argument
80 return getSbn(pkg, id, tag, user, null); in getSbn()
85 final String pkg = "package"; in testNoGroup_postingUnderLimit() local
87 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit()
91 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString()); in testNoGroup_postingUnderLimit()
99 final String pkg = "package"; in testNoGroup_multiPackage() local
102 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage()
108 eq(UserHandle.USER_SYSTEM), eq(pkg), anyString()); in testNoGroup_multiPackage()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageAbiHelper.java23 import com.android.server.pm.parsing.pkg.AndroidPackage;
24 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
25 import com.android.server.pm.parsing.pkg.ParsedPackage;
37 NativeLibraryPaths getNativeLibraryPaths(AndroidPackage pkg, PackageSetting pkgSetting, in getNativeLibraryPaths() argument
45 Abis getBundledAppAbis(AndroidPackage pkg); in getBundledAppAbis() argument
53 Pair<Abis, NativeLibraryPaths> derivePackageAbi(AndroidPackage pkg, boolean isUpdatedSystemApp, in derivePackageAbi() argument
96 public void applyTo(ParsedPackage pkg) { in applyTo() argument
97 pkg.setNativeLibraryRootDir(nativeLibraryRootDir) in applyTo()
117 Abis(AndroidPackage pkg, PackageSetting pkgSetting) { in Abis() argument
118 this(AndroidPackageUtils.getPrimaryCpuAbi(pkg, pkgSetting), in Abis()
[all …]
DPackageDexOptimizer.java69 import com.android.server.pm.parsing.pkg.AndroidPackage;
70 import com.android.server.pm.parsing.pkg.AndroidPackageUtils;
118 static boolean canOptimizePackage(AndroidPackage pkg) { in canOptimizePackage() argument
122 if (!PLATFORM_PACKAGE_NAME.equals(pkg.getPackageName()) && !pkg.isHasCode()) { in canOptimizePackage()
136 int performDexOpt(AndroidPackage pkg, @NonNull PackageSetting pkgSetting, in performDexOpt() argument
139 if (PLATFORM_PACKAGE_NAME.equals(pkg.getPackageName())) { in performDexOpt()
143 if (pkg.getUid() == -1) { in performDexOpt()
144 throw new IllegalArgumentException("Dexopt for " + pkg.getPackageName() in performDexOpt()
147 if (!canOptimizePackage(pkg)) { in performDexOpt()
151 final long acquireTime = acquireWakeLockLI(pkg.getUid()); in performDexOpt()
[all …]
DKeySetManagerService.java30 import com.android.server.pm.parsing.pkg.AndroidPackage;
135 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByLPr() local
136 if (pkg == null) { in packageIsSignedByLPr()
139 if (pkg.keySetData == null) { in packageIsSignedByLPr()
146 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByLPr()
161 PackageSetting pkg = mPackages.get(packageName); in packageIsSignedByExactlyLPr() local
162 if (pkg == null) { in packageIsSignedByExactlyLPr()
165 if (pkg.keySetData == null in packageIsSignedByExactlyLPr()
166 || pkg.keySetData.getProperSigningKeySet() in packageIsSignedByExactlyLPr()
174 ArraySet<Long> pkgKeys = mKeySetMapping.get(pkg.keySetData.getProperSigningKeySet()); in packageIsSignedByExactlyLPr()
[all …]
DBackgroundDexOptService.java209 for (String pkg : pkgs) { in postBootUpdate()
231 Log.i(TAG, "Updating package " + pkg); in postBootUpdate()
243 pkg, in postBootUpdate()
247 updatedPackages.add(pkg); in postBootUpdate()
314 private long getPackageSize(PackageManagerService pm, String pkg) { in getPackageSize() argument
315 PackageInfo info = pm.getPackageInfo(pkg, 0, UserHandle.USER_SYSTEM); in getPackageSize()
364 for (String pkg : unusedPackages) { in idleOptimizePackages()
370 if (downgradePackage(pm, pkg, /*isForPrimaryDex*/ true)) { in idleOptimizePackages()
371 updatedPackages.add(pkg); in idleOptimizePackages()
374 downgradePackage(pm, pkg, /*isForPrimaryDex*/ false); in idleOptimizePackages()
[all …]
/frameworks/base/services/core/java/com/android/server/incident/
DIncidentCompanionService.java124 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/tests/servicestests/src/com/android/server/pm/
DAppsFilterTest.java53 import com.android.server.pm.parsing.pkg.AndroidPackage;
54 import com.android.server.pm.parsing.pkg.PackageImpl;
55 import com.android.server.pm.parsing.pkg.ParsedPackage;
97 private static ParsingPackage pkg(String packageName) { in pkg() method in AppsFilterTest
102 private static ParsingPackage pkg(String packageName, Intent... queries) { in pkg() method in AppsFilterTest
103 ParsingPackage pkg = pkg(packageName); in pkg() local
106 pkg.addQueriesIntent(intent); in pkg()
109 return pkg; in pkg()
114 ParsingPackage pkg = pkg(packageName); in pkgQueriesProvider() local
117 pkg.addQueriesProvider(authority); in pkgQueriesProvider()
[all …]
DSELinuxMMACTest.java29 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;
54 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoOptInToLatest() local
56 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoOptInToLatest()
58 assertThat(SELinuxMMAC.getSeInfo(pkg, null, mMockCompatibility), in getSeInfoOptInToLatest()
64 AndroidPackage pkg = makePackage(Build.VERSION_CODES.P); in getSeInfoNoOptIn() local
66 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoNoOptIn()
68 assertThat(SELinuxMMAC.getSeInfo(pkg, null, mMockCompatibility), in getSeInfoNoOptIn()
74 AndroidPackage pkg = makePackage(OPT_IN_VERSION); in getSeInfoNoOptInButAlreadyR() local
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DRankingConfig.java38 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() argument
40 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup() argument
42 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups() argument
44 boolean createNotificationChannel(String pkg, int uid, NotificationChannel channel, in createNotificationChannel() argument
46 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, in updateNotificationChannel() argument
48 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() argument
50 NotificationChannel getConversationNotificationChannel(String pkg, int uid, String channelId, in getConversationNotificationChannel() argument
53 void deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() argument
54 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() argument
55 void permanentlyDeleteNotificationChannels(String pkg, int uid); in permanentlyDeleteNotificationChannels() argument
[all …]
DSnoozeHelper.java122 private String getPkgKey(@UserIdInt int userId, String pkg) { in getPkgKey() argument
123 return userId + "|" + pkg; in getPkgKey()
129 String pkg = mPackages.get(key); in cleanupPersistedContext() local
130 removeRecordLocked(pkg, key, userId, mPersistedSnoozedNotificationsWithContext); in cleanupPersistedContext()
135 protected Long getSnoozeTimeForUnpostedNotification(int userId, String pkg, String key) { in getSnoozeTimeForUnpostedNotification() argument
139 mPersistedSnoozedNotifications.get(getPkgKey(userId, pkg)); in getSnoozeTimeForUnpostedNotification()
150 protected String getSnoozeContextForUnpostedNotification(int userId, String pkg, String key) { in getSnoozeContextForUnpostedNotification() argument
153 mPersistedSnoozedNotificationsWithContext.get(getPkgKey(userId, pkg)); in getSnoozeContextForUnpostedNotification()
161 protected boolean isSnoozed(int userId, String pkg, String key) { in isSnoozed() argument
163 return mSnoozedNotifications.containsKey(getPkgKey(userId, pkg)) in isSnoozed()
[all …]
DNotificationChannelLogger.java45 String pkg) { in logNotificationChannelCreated() argument
48 channel, uid, pkg, 0, getLoggingImportance(channel)); in logNotificationChannelCreated() local
58 String pkg) { in logNotificationChannelDeleted() argument
61 channel, uid, pkg, getLoggingImportance(channel), 0); in logNotificationChannelDeleted() local
73 String pkg, int oldLoggingImportance, boolean byUser) { in logNotificationChannelModified() argument
75 channel, uid, pkg, oldLoggingImportance, getLoggingImportance(channel)); in logNotificationChannelModified() local
87 int uid, String pkg, boolean isNew, boolean wasBlocked) { in logNotificationChannelGroup() argument
89 channelGroup, uid, pkg, wasBlocked); in logNotificationChannelGroup() local
99 int uid, String pkg) { in logNotificationChannelGroupDeleted() argument
101 channelGroup, uid, pkg, false); in logNotificationChannelGroupDeleted()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
DAndroidTestBaseUpdater.java31 import com.android.server.pm.parsing.pkg.AndroidPackage;
32 import com.android.server.pm.parsing.pkg.ParsedPackage;
58 private static boolean isChangeEnabled(AndroidPackage pkg) { in isChangeEnabled() argument
61 if (!pkg.isSystem()) { in isChangeEnabled()
66 pkg.toAppInfoWithoutState()); in isChangeEnabled()
72 return pkg.getTargetSdkVersion() > Build.VERSION_CODES.Q; in isChangeEnabled()
76 public void updatePackage(ParsedPackage pkg, boolean isUpdatedSystemApp) { in updatePackage() argument
80 if (!isChangeEnabled(pkg)) { in updatePackage()
81 prefixRequiredLibrary(pkg, ANDROID_TEST_BASE); in updatePackage()
86 prefixImplicitDependency(pkg, ANDROID_TEST_RUNNER, ANDROID_TEST_BASE); in updatePackage()
/frameworks/base/telephony/common/com/android/internal/telephony/
DPackageChangeReceiver.java134 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/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java146 import com.android.server.pm.parsing.pkg.AndroidPackage;
667 final AndroidPackage pkg = mPackageManagerInt.getPackage(packageName); in getPermissionFlagsInternal() local
668 if (pkg == null) { in getPermissionFlagsInternal()
672 pkg.getPackageName()); in getPermissionFlagsInternal()
681 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, userId)) { in getPermissionFlagsInternal()
770 final AndroidPackage pkg = mPackageManagerInt.getPackage(packageName); in updatePermissionFlagsInternal() local
773 if (pkg == null || ps == null) { in updatePermissionFlagsInternal()
777 if (mPackageManagerInt.filterAppAccess(pkg, callingUid, userId)) { in updatePermissionFlagsInternal()
795 if (pkg.getRequestedPermissions().contains(permName)) { in updatePermissionFlagsInternal()
826 int userUid = UserHandle.getUid(userId, UserHandle.getAppId(pkg.getUid())); in updatePermissionFlagsInternal()
[all …]

12345678910>>...19