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/
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 …]
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()
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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java618 WifiConfiguration configuration, boolean maskPasswords, int targetUid) { in createExternalWifiConfiguration() argument
623 if (targetUid != Process.WIFI_UID && targetUid != Process.SYSTEM_UID in createExternalWifiConfiguration()
624 && targetUid != configuration.creatorUid) { in createExternalWifiConfiguration()
647 boolean savedOnly, boolean maskPasswords, int targetUid) { in getConfiguredNetworks() argument
653 networks.add(createExternalWifiConfiguration(config, maskPasswords, targetUid)); in getConfiguredNetworks()
685 public List<WifiConfiguration> getSavedNetworks(int targetUid) { in getSavedNetworks() argument
686 return getConfiguredNetworks(true, true, targetUid); in getSavedNetworks()
DClientModeImpl.java1653 int targetUid) { in syncGetConfiguredNetworks() argument
1655 targetUid); in syncGetConfiguredNetworks()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java251 public abstract void tempWhitelistForPendingIntent(int callerPid, int callerUid, int targetUid, in tempWhitelistForPendingIntent() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1039 Association(int sourceUid, String sourceProcess, int targetUid, in Association() argument
1043 mTargetUid = targetUid; in Association()
1161 final int targetUid; field in ActivityManagerService.PendingTempWhitelist
1166 targetUid = _targetUid; in PendingTempWhitelist()
1173 … proto.write(ActivityManagerServiceDumpProcessesProto.PendingTempWhitelist.TARGET_UID, targetUid); in writeToProto()
4397 final int targetUid = (proc != null) ? proc.uid : -1; in getProcessMemoryInfo() local
4398 final int targetUserId = (proc != null) ? UserHandle.getUserId(targetUid) : -1; in getProcessMemoryInfo()
4400 if (callingUid != targetUid) { in getProcessMemoryInfo()
10809 UserHandle.formatUid(pw, ptw.targetUid); in dumpProcessesLocked()
16128 int targetUid, long targetVersionCode, ComponentName targetComponent, in startAssociationLocked() argument
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2768 int targetUid = -1;
2770 targetUid = mPackageManagerClient.getPackageUidAsUser(targetPkg, userId);
2775 targetPkg, targetUid, channelId, false /* includeDeleted */);
2917 int targetUid = -1;
2919 targetUid = mPackageManagerClient.getPackageUidAsUser(targetPkg, userId);
2924 targetPkg, targetUid, false /* includeDeleted */);
5165 int targetUid = -1;
5167 targetUid = mPackageManagerClient.getPackageUidAsUser(targetPkg, userId);
5172 if (targetUid != -1 && (isCallerAndroid(callingPkg, callingUid)
5174 targetPkg, targetUid, callingPkg, callingUid))) {
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1301 final int targetUid; in startActivityAsCaller() local
1368 targetUid = sourceRecord.launchedFromUid; in startActivityAsCaller()
1380 .setCallingUid(targetUid) in startActivityAsCaller()
1390 .setFilterCallingUid(isResolver ? 0 /* system */ : targetUid) in startActivityAsCaller()
3815 private void startRunningVoiceLocked(IVoiceInteractionSession session, int targetUid) { in startRunningVoiceLocked() argument
3817 mVoiceWakeLock.setWorkSource(new WorkSource(targetUid)); in startRunningVoiceLocked()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3261 String[] computeValidReportedPackages(String targetPackage, int targetUid) { in computeValidReportedPackages() argument
3262 if (UserHandle.getAppId(targetUid) == Process.SYSTEM_UID) { in computeValidReportedPackages()
3271 .getHostedWidgetPackages(targetUid); in computeValidReportedPackages()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3504 int targetUid; in dispatchSyncOperation() local
3519 targetUid = syncAdapterInfo.uid; in dispatchSyncOperation()
3522 new ActiveSyncContext(op, insertStartSyncEvent(op), targetUid); in dispatchSyncOperation()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1252 private void enforceManageAppOpsModes(int callingPid, int callingUid, int targetUid) { in enforceManageAppOpsModes() argument
1259 if (targetUid >= 0 && callingUser == UserHandle.getUserId(targetUid)) { in enforceManageAppOpsModes()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4783 int targetUid = targetActivityInfo.applicationInfo.uid;
4787 targetUid, authUid,