/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | LoggableMonitor.java | 70 int targetUserId) { in logOnAcquired() argument 82 + ", User: " + targetUserId in logOnAcquired() 91 targetUserId, in logOnAcquired() 97 Utils.isDebugEnabled(context, targetUserId)); in logOnAcquired() 100 protected final void logOnError(Context context, int error, int vendorCode, int targetUserId) { in logOnError() argument 107 + ", User: " + targetUserId in logOnError() 119 targetUserId, in logOnError() 125 Utils.isDebugEnabled(context, targetUserId), in logOnError() 130 boolean requireConfirmation, int targetUserId, boolean isBiometricPrompt) { in logOnAuthenticated() argument 150 + ", User: " + targetUserId in logOnAuthenticated() [all …]
|
D | Utils.java | 25 public static boolean isDebugEnabled(Context context, int targetUserId) { in isDebugEnabled() argument 26 if (targetUserId == UserHandle.USER_NULL) { in isDebugEnabled() 36 targetUserId) == 0) { in isDebugEnabled()
|
D | AuthenticationClient.java | 71 BiometricServiceBase.ServiceListener listener, int targetUserId, int groupId, long opId, in AuthenticationClient() argument 73 super(context, constants, daemon, halDeviceId, token, listener, targetUserId, groupId, in AuthenticationClient()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 66 int sourceUid, String targetPackage, int targetUserId, String tag) { in createFromIntent() argument 76 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 82 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 90 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag) { in createFromClip() argument 96 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, in createFromClip() 103 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantClip() argument 107 curPerms = grantItem(am, clip.getItemAt(i), sourceUid, targetPackage, targetUserId, in grantClip() 114 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantUri() argument 124 sourceUid, targetPackage, uri, grantFlags, sourceUserId, targetUserId); in grantUri() 133 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag, in grantItem() argument [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 83 final int targetUserId; in onCreate() local 87 targetUserId = getProfileParent(); in onCreate() 94 targetUserId = getManagedProfile(); in onCreate() 102 targetUserId = UserHandle.USER_NULL; in onCreate() 104 if (targetUserId == UserHandle.USER_NULL) { in onCreate() 111 final Intent newIntent = canForward(intentReceived, targetUserId); in onCreate() 124 targetUserId); in onCreate() 126 startActivityAsCaller(newIntent, null, null, false, targetUserId); in onCreate() 148 + callingUserId + " to user " + targetUserId); in onCreate() 194 Intent canForward(Intent incomingIntent, int targetUserId) { in canForward() argument [all …]
|
D | AbstractResolverComparator.java | 150 if (lhs.targetUserId != UserHandle.USER_CURRENT) { in compare() 151 return rhs.targetUserId != UserHandle.USER_CURRENT ? 0 : 1; in compare() 153 if (rhs.targetUserId != UserHandle.USER_CURRENT) { in compare() 269 if (ri.targetUserId != UserHandle.USER_CURRENT) { in isDefaultBrowser()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerInternal.java | 36 final int modeFlags, UriPermissionOwner owner, int targetUserId); in grantUriPermission() argument 45 String targetPkg, Intent intent, int mode, NeededUriGrants needed, int targetUserId); in checkGrantUriPermissionFromIntent() argument 51 String targetPkg, Intent intent, int targetUserId); in grantUriPermissionFromIntent() argument 53 String targetPkg, Intent intent, UriPermissionOwner owner, int targetUserId); in grantUriPermissionFromIntent() argument
|
D | UriGrantsManagerService.java | 185 final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwner() argument 186 targetUserId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), in grantUriPermissionFromOwner() 187 Binder.getCallingUid(), targetUserId, false, ALLOW_FULL_ONLY, in grantUriPermissionFromOwner() 209 modeFlags, owner, targetUserId); in grantUriPermissionFromOwner() 281 && perm.targetUserId == userId in getGrantedUriPermissions() 536 String targetPkg, Intent intent, int mode, NeededUriGrants needed, int targetUserId) { in checkGrantUriPermissionFromIntent() argument 566 targetUid = pm.getPackageUid(targetPkg, MATCH_DEBUG_TRIAGED_MISSING, targetUserId); in checkGrantUriPermissionFromIntent() 572 + " on user " + targetUserId); in checkGrantUriPermissionFromIntent() 603 callingUid, targetPkg, clipIntent, mode, needed, targetUserId); in checkGrantUriPermissionFromIntent() 616 String targetPkg, Intent intent, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionFromIntent() argument [all …]
|
D | UriPermission.java | 48 final int targetUserId; field in UriPermission 90 this.targetUserId = UserHandle.getUserId(targetUid); in UriPermission() 321 pw.print("targetUserId=" + targetUserId); in dump() 366 final int targetUserId; field in UriPermission.Snapshot 374 this.targetUserId = perm.targetUserId; in Snapshot()
|
/frameworks/base/core/java/android/content/pm/ |
D | ResolveInfo.java | 155 public int targetUserId; field in ResolveInfo 359 targetUserId = UserHandle.USER_CURRENT; in ResolveInfo() 378 targetUserId = orig.targetUserId; in ResolveInfo() 401 if (targetUserId != UserHandle.USER_CURRENT) { in toString() 403 sb.append(targetUserId); in toString() 440 dest.writeInt(targetUserId); in writeToParcel() 488 targetUserId = source.readInt(); in ResolveInfo() 505 if (a.targetUserId != UserHandle.USER_CURRENT) { in compare() 508 if (b.targetUserId != UserHandle.USER_CURRENT) { in compare()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostView.java | 190 public boolean dismiss(int targetUserId) { in dismiss() argument 191 return dismiss(false, targetUserId); in dismiss() 207 public boolean dismiss(boolean authenticated, int targetUserId) { in dismiss() argument 208 return mSecurityContainer.showNextSecurityScreenOrFinish(authenticated, targetUserId); in dismiss() 220 public void finish(boolean strongAuth, int targetUserId) { in finish() argument 231 mViewMediatorCallback.keyguardDonePending(strongAuth, targetUserId); in finish() 233 mViewMediatorCallback.keyguardDone(strongAuth, targetUserId); in finish()
|
D | ViewMediatorCallback.java | 36 void keyguardDone(boolean strongAuth, int targetUserId); in keyguardDone() argument 56 void keyguardDonePending(boolean strongAuth, int targetUserId); in keyguardDonePending() argument
|
D | KeyguardSecurityContainer.java | 106 public boolean dismiss(boolean authenticated, int targetUserId); in dismiss() argument 115 public void finish(boolean strongAuth, int targetUserId); in finish() argument 485 boolean showNextSecurityScreenOrFinish(boolean authenticated, int targetUserId) { in showNextSecurityScreenOrFinish() argument 490 if (mUpdateMonitor.getUserHasTrust(targetUserId)) { in showNextSecurityScreenOrFinish() 493 } else if (mUpdateMonitor.getUserUnlockedWithBiometric(targetUserId)) { in showNextSecurityScreenOrFinish() 497 SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId); in showNextSecurityScreenOrFinish() 517 SecurityMode securityMode = mSecurityModel.getSecurityMode(targetUserId); in showNextSecurityScreenOrFinish() 538 mSecurityCallback.finish(strongAuth, targetUserId); in showNextSecurityScreenOrFinish() 657 public void dismiss(boolean securityVerified, int targetUserId) { } 709 public void dismiss(boolean authenticated, int targetUserId) { in dismiss() argument [all …]
|
D | KeyguardSecurityCallback.java | 25 void dismiss(boolean securityVerified, int targetUserId); in dismiss() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 123 final int targetUserId = getTargetUserId(); 124 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, targetUserId); 125 if (userId == targetUserId && !getKeyguardManager().isDeviceLocked(targetUserId)) {
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 266 int targetUserId = UserHandle.USER_SYSTEM; in setupAndStartUsers() local 275 targetUserId = admin.id; in setupAndStartUsers() 277 targetUserId = mCarUserManagerHelper.getInitialUser(); in setupAndStartUsers() 278 Slog.i(TAG, "Switching to user " + targetUserId + " on boot"); in setupAndStartUsers() 288 if (targetUserId == UserHandle.USER_SYSTEM) { in setupAndStartUsers() 295 t.traceBegin("ForegroundUserStart" + targetUserId); in setupAndStartUsers() 297 if (!am.startUserInForegroundWithListener(targetUserId, null)) { in setupAndStartUsers() 298 Slog.e(TAG, "cannot start foreground user:" + targetUserId); in setupAndStartUsers() 300 mCarUserManagerHelper.setLastActiveUser(targetUserId); in setupAndStartUsers()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 298 private boolean canAccessProfile(int targetUserId, String message) { in canAccessProfile() argument 301 if (targetUserId == callingUserId) return true; in canAccessProfile() 308 + targetUserId + " from " + callingUserId + " not allowed"); in canAccessProfile() 315 return mUserManagerInternal.isProfileAccessible(injectCallingUserId(), targetUserId, in canAccessProfile() 690 int targetUserId) { in getShortcutIconResId() argument 692 if (!canAccessProfile(targetUserId, "Cannot access shortcuts")) { in getShortcutIconResId() 697 callingPackage, packageName, id, targetUserId); in getShortcutIconResId() 702 String packageName, String id, int targetUserId) { in getShortcutIconFd() argument 704 if (!canAccessProfile(targetUserId, "Cannot access shortcuts")) { in getShortcutIconFd() 709 callingPackage, packageName, id, targetUserId); in getShortcutIconFd() [all …]
|
D | CrossProfileIntentFilter.java | 46 CrossProfileIntentFilter(IntentFilter filter, String ownerPackage, int targetUserId, in CrossProfileIntentFilter() argument 49 mTargetUserId = targetUserId; in CrossProfileIntentFilter()
|
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 78 int targetUserId = UserHandle.myUserId(); in sendShowAdminSupportDetailsIntent() local 82 targetUserId = admin.user.getIdentifier(); in sendShowAdminSupportDetailsIntent() 86 context.startActivityAsUser(intent, UserHandle.of(targetUserId)); in sendShowAdminSupportDetailsIntent()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1254 void startUserInForeground(final int targetUserId) { 1255 boolean success = startUser(targetUserId, /* foreground */ true); 1354 boolean switchUser(final int targetUserId) { 1355 enforceShellRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES, targetUserId); 1356 Slog.i(TAG, "switching to user " + targetUserId); 1358 UserInfo targetUserInfo = getUserInfo(targetUserId); 1359 if (targetUserId == currentUserId) { 1360 Slog.i(TAG, "user #" + targetUserId + " is already the current user"); 1364 Slog.w(TAG, "No user info for user #" + targetUserId); 1368 Slog.w(TAG, "Cannot switch to User #" + targetUserId + ": not supported"); [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputContentUriTokenHandler.java | 52 @UserIdInt int targetUserId) { in InputContentUriTokenHandler() argument 57 mTargetUserId = targetUserId; in InputContentUriTokenHandler()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 50 int sourceUserId, int targetUserId) { in DragAndDropPermissionsHandler() argument 55 mTargetUserId = targetUserId; in DragAndDropPermissionsHandler()
|
D | ActivityStartController.java | 255 int checkTargetUser(int targetUserId, boolean validateIncomingUser, in checkTargetUser() argument 259 realCallingPid, realCallingUid, targetUserId, reason); in checkTargetUser() 261 mService.mAmInternal.ensureNotSpecialUser(targetUserId); in checkTargetUser() 262 return targetUserId; in checkTargetUser()
|
/frameworks/base/core/java/android/app/ |
D | IUriGrantsManager.aidl | 31 in Uri uri, int mode, int sourceUserId, int targetUserId); in grantUriPermissionFromOwner() argument
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 650 int targetUserId) { in grantUriLocked() argument 659 targetUserId); in grantUriLocked() 668 int targetUserId) { in grantItemLocked() argument 670 grantUriLocked(item.getUri(), sourceUid, targetPkg, targetUserId); in grantItemLocked() local 674 grantUriLocked(intent.getData(), sourceUid, targetPkg, targetUserId); in grantItemLocked() local
|