Home
last modified time | relevance | path

Searched refs:sourceUserId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java82 final int sourceUserId; field in JobStatus
130 int sourceUserId, String tag, int numFailures, long earliestRunTimeElapsedMillis, in JobStatus() argument
136 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus()
139 sourceUserId); in JobStatus()
146 this.sourceUserId = UserHandle.getUserId(callingUid); in JobStatus()
151 this.sourceUserId = sourceUserId; in JobStatus()
208 public JobStatus(JobInfo job, int callingUid, String sourcePackageName, int sourceUserId, in JobStatus() argument
210 this(job, callingUid, sourcePackageName, sourceUserId, sourceTag, 0, in JobStatus()
231 int sourceUserId, String tag) { in createFromJobInfo() argument
243 return new JobStatus(job, callingUid, sourcePackageName, sourceUserId, tag, 0, in createFromJobInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java45 int sourceUserId, int targetUserId) { in DragAndDropPermissionsHandler() argument
49 mSourceUserId = sourceUserId; in DragAndDropPermissionsHandler()
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl141 boolean canForwardTo(in Intent intent, String resolvedType, int sourceUserId, int targetUserId); in canForwardTo() argument
269 int sourceUserId, int targetUserId, int flags); in addCrossProfileIntentFilter() argument
271 void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage); in clearCrossProfileIntentFilters() argument
DPackageManager.java5612 public abstract void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, in addCrossProfileIntentFilter() argument
5622 public abstract void clearCrossProfileIntentFilters(int sourceUserId); in clearCrossProfileIntentFilters() argument
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java344 int sourceUserId = ContentProvider.getUserIdFromUri(uri, userId); in grantUriLocked() local
347 uri, Intent.FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, userId); in grantUriLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java535 int uid, sourceUserId; in restoreJobFromXml() local
552 sourceUserId = val == null ? -1 : Integer.parseInt(val); in restoreJobFromXml()
688 jobBuilder.build(), uid, sourcePackageName, sourceUserId, sourceTag, in restoreJobFromXml()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java337 int sourceUserId = ContentProvider.getUserIdFromUri(uri, mUser); in grantUriPermission() local
340 uri, Intent.FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, mUser); in grantUriPermission()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java846 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument
851 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
/frameworks/base/test-runner/src/android/test/mock/
DMockPackageManager.java1026 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument
1035 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2247 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument
2251 sourceUserId, targetUserId, flags); in addCrossProfileIntentFilter()
2261 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
2263 mPM.clearCrossProfileIntentFilters(sourceUserId, mContext.getOpPackageName()); in clearCrossProfileIntentFilters()
DIActivityManager.java438 Uri uri, int mode, int sourceUserId, int targetUserId) throws RemoteException; in grantUriPermissionFromOwner() argument
DActivityManagerNative.java2002 int sourceUserId = data.readInt(); in onTransact() local
2004 grantUriPermissionFromOwner(owner, fromUid, targetPkg, uri, mode, sourceUserId, in onTransact()
5552 Uri uri, int mode, int sourceUserId, int targetUserId) throws RemoteException { in grantUriPermissionFromOwner() argument
5561 data.writeInt(sourceUserId); in grantUriPermissionFromOwner()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1013 public final int sourceUserId; field in ActivityManagerService.GrantUri
1017 public GrantUri(int sourceUserId, Uri uri, boolean prefix) { in GrantUri() argument
1018 this.sourceUserId = sourceUserId; in GrantUri()
1026 hashCode = 31 * hashCode + sourceUserId; in hashCode()
1036 return uri.equals(other.uri) && (sourceUserId == other.sourceUserId) in equals()
1044 String result = Integer.toString(sourceUserId) + " @ " + uri.toString(); in toString()
1050 String result = Integer.toString(sourceUserId) + " @ " + uri.toSafeString(); in toSafeString()
7738 if (UserHandle.getUserId(uid) != grantUri.sourceUserId) {
7998 final ProviderInfo pi = getProviderInfoLocked(authority, grantUri.sourceUserId, in checkGrantUriPermissionLocked()
8053 boolean specialCrossUserGrant = UserHandle.getUserId(targetUid) != grantUri.sourceUserId in checkGrantUriPermissionLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java5338 public boolean canForwardTo(Intent intent, String resolvedType, int sourceUserId,
5343 getMatchingCrossProfileIntentFilters(intent, resolvedType, sourceUserId);
5352 final UserInfo parent = getProfileParent(sourceUserId);
5356 intent, resolvedType, flags, sourceUserId, parent.id);
5498 String resolvedType, int flags, int sourceUserId, int parentUserId) {
5500 sourceUserId)) {
5528 sourceUserId, parentUserId);
5777 int flags, int sourceUserId) {
5786 resolvedType, flags, sourceUserId);
5799 int flags, int sourceUserId, boolean matchInCurrentProfile) {
[all …]
DSettings.java4029 int sourceUserId = mCrossProfileIntentResolvers.keyAt(i); in removeCrossProfileIntentFiltersLPw() local
4030 CrossProfileIntentResolver cpir = mCrossProfileIntentResolvers.get(sourceUserId); in removeCrossProfileIntentFiltersLPw()
4041 writePackageRestrictionsLPr(sourceUserId); in removeCrossProfileIntentFiltersLPw()