Home
last modified time | relevance | path

Searched refs:targetUid (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/uri/
DNeededUriGrants.java28 final int targetUid; field in NeededUriGrants
31 public NeededUriGrants(String targetPkg, int targetUid, int flags) { in NeededUriGrants() argument
33 this.targetUid = targetUid; in NeededUriGrants()
40 proto.write(NeededUriGrantsProto.TARGET_UID, targetUid); in writeToProto()
DUriGrantsManagerService.java427 final int targetUid = mGrantedUriPermissions.keyAt(i); in removeUriPermissionsForPackage() local
432 || userHandle == UserHandle.getUserId(targetUid)) { in removeUriPermissionsForPackage()
457 mGrantedUriPermissions.remove(targetUid); in removeUriPermissionsForPackage()
561 int targetUid; in checkGrantUriPermissionFromIntent() local
563 targetUid = needed.targetUid; in checkGrantUriPermissionFromIntent()
566 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, targetUserId); in checkGrantUriPermissionFromIntent()
570 if (targetUid < 0) { in checkGrantUriPermissionFromIntent()
578 targetUid = checkGrantUriPermission(callingUid, targetPkg, grantUri, mode, targetUid); in checkGrantUriPermissionFromIntent()
579 if (targetUid > 0) { in checkGrantUriPermissionFromIntent()
581 needed = new NeededUriGrants(targetPkg, targetUid, mode); in checkGrantUriPermissionFromIntent()
[all …]
DUriPermission.java53 final int targetUid; field in UriPermission
89 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { in UriPermission() argument
90 this.targetUserId = UserHandle.getUserId(targetUid); in UriPermission()
93 this.targetUid = targetUid; in UriPermission()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java263 public abstract void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java535 WifiConfiguration configuration, boolean maskPasswords, int targetUid) { in createExternalWifiConfiguration() argument
540 if (targetUid != Process.WIFI_UID && targetUid != Process.SYSTEM_UID in createExternalWifiConfiguration()
541 && targetUid != configuration.creatorUid) { in createExternalWifiConfiguration()
561 boolean savedOnly, boolean maskPasswords, int targetUid) { in getConfiguredNetworks() argument
567 networks.add(createExternalWifiConfiguration(config, maskPasswords, targetUid)); in getConfiguredNetworks()
599 public List<WifiConfiguration> getSavedNetworks(int targetUid) { in getSavedNetworks() argument
600 return getConfiguredNetworks(true, true, targetUid); in getSavedNetworks()
DClientModeImpl.java1636 int targetUid) { in syncGetConfiguredNetworks() argument
1638 targetUid); in syncGetConfiguredNetworks()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1030 Association(int sourceUid, String sourceProcess, int targetUid, in Association() argument
1034 mTargetUid = targetUid; in Association()
1152 final int targetUid; field in ActivityManagerService.PendingTempWhitelist
1157 targetUid = _targetUid; in PendingTempWhitelist()
1164 … proto.write(ActivityManagerServiceDumpProcessesProto.PendingTempWhitelist.TARGET_UID, targetUid); in writeToProto()
4368 final int targetUid = (proc != null) ? proc.uid : -1; in getProcessMemoryInfo() local
4369 final int targetUserId = (proc != null) ? UserHandle.getUserId(targetUid) : -1; in getProcessMemoryInfo()
4371 if (callingUid != targetUid) { in getProcessMemoryInfo()
10750 UserHandle.formatUid(pw, ptw.targetUid); in dumpProcessesLocked()
16011 int targetUid, long targetVersionCode, ComponentName targetComponent, in startAssociationLocked() argument
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2679 int targetUid = -1;
2681 targetUid = mPackageManagerClient.getPackageUidAsUser(targetPkg, userId);
2686 targetPkg, targetUid, channelId, false /* includeDeleted */);
2828 int targetUid = -1;
2830 targetUid = mPackageManagerClient.getPackageUidAsUser(targetPkg, userId);
2835 targetPkg, targetUid, false /* includeDeleted */);
4962 int targetUid = -1;
4964 targetUid = mPackageManagerClient.getPackageUidAsUser(targetPkg, userId);
4969 if (targetUid != -1 && (isCallerAndroid(callingPkg, callingUid)
4971 targetPkg, targetUid, callingPkg, callingUid))) {
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1298 final int targetUid; in startActivityAsCaller() local
1365 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
1377 .setCallingUid(targetUid) in startActivityAsCaller()
1387 .setFilterCallingUid(isResolver ? 0 /* system */ : targetUid) in startActivityAsCaller()
3788 private void startRunningVoiceLocked(IVoiceInteractionSession session, int targetUid) { in startRunningVoiceLocked() argument
3790 mVoiceWakeLock.setWorkSource(new WorkSource(targetUid)); in startRunningVoiceLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3259 String[] computeValidReportedPackages(String targetPackage, int targetUid) { in computeValidReportedPackages() argument
3260 if (UserHandle.getAppId(targetUid) == Process.SYSTEM_UID) { in computeValidReportedPackages()
3269 .getHostedWidgetPackages(targetUid); in computeValidReportedPackages()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3510 int targetUid; in dispatchSyncOperation() local
3525 targetUid = syncAdapterInfo.uid; in dispatchSyncOperation()
3528 new ActiveSyncContext(op, insertStartSyncEvent(op), targetUid); in dispatchSyncOperation()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1213 private void enforceManageAppOpsModes(int callingPid, int callingUid, int targetUid) { in enforceManageAppOpsModes() argument
1220 if (targetUid >= 0 && callingUser == UserHandle.getUserId(targetUid)) { in enforceManageAppOpsModes()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4759 int targetUid = targetActivityInfo.applicationInfo.uid;
4763 targetUid, authUid,