Home
last modified time | relevance | path

Searched refs:binderUid (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java264 public void playerAttributes(int piid, @NonNull AudioAttributes attr, int binderUid) { in playerAttributes() argument
267 if (mAllowedCapturePolicies.containsKey(binderUid) in playerAttributes()
268 && attr.getAllowedCapturePolicy() < mAllowedCapturePolicies.get(binderUid)) { in playerAttributes()
270 .setAllowedCapturePolicy(mAllowedCapturePolicies.get(binderUid)).build(); in playerAttributes()
275 if (checkConfigurationCaller(piid, apc, binderUid)) { in playerAttributes()
294 public void playerSessionId(int piid, int sessionId, int binderUid) { in playerSessionId() argument
298 if (checkConfigurationCaller(piid, apc, binderUid)) { in playerSessionId()
356 public void playerEvent(int piid, int event, int eventValue, int binderUid) { in playerEvent() argument
397 if (checkConfigurationCaller(piid, apc, binderUid)) { in playerEvent()
429 int binderUid) { in portEvent() argument
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageArchiver.java218 int binderUid = Binder.getCallingUid(); in requestArchive() local
220 if (!PackageManagerServiceUtils.isSystemOrRootOrShell(binderUid)) { in requestArchive()
221 verifyCaller(snapshot.getPackageUid(callerPackageName, 0, binderUserId), binderUid); in requestArchive() local
228 snapshot.enforceCrossUserPermission(binderUid, userId, in requestArchive()
256 binderUid, in requestArchive()
691 int binderUid = Binder.getCallingUid(); in isAppArchivable() local
692 snapshot.enforceCrossUserPermission(binderUid, userId, true, true, in isAppArchivable()
761 int binderUid = Binder.getCallingUid(); in requestUnarchive() local
762 if (!PackageManagerServiceUtils.isSystemOrRootOrShell(binderUid)) { in requestUnarchive()
763 verifyCaller(snapshot.getPackageUid(callerPackageName, 0, userId), binderUid); in requestUnarchive() local
[all …]
DPackageInstallerService.java1775 int binderUid = Binder.getCallingUid();
1791 binderUid, unarchiveId));
DPackageManagerService.java1465 int binderUid = Binder.getCallingUid(); in getArchivedPackageInternal() local
1468 snapshot.enforceCrossUserPermission(binderUid, userId, true, true, in getArchivedPackageInternal()
/frameworks/base/core/java/android/app/
DAppOpsManager.java10169 Integer binderUid = sBinderThreadCallingUid.get(); in getNotedOpCollectionMode() local
10171 if (binderUid != null && binderUid == uid) { in getNotedOpCollectionMode()