/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 820 public boolean isUserAdmin(@UserIdInt int userId) { argument 821 UserInfo user = getUserInfo(userId); 843 public boolean canHaveRestrictedProfile(@UserIdInt int userId) { argument 845 return mService.canHaveRestrictedProfile(userId); 886 public boolean isManagedProfile(@UserIdInt int userId) { argument 888 return mService.isManagedProfile(userId); 908 public boolean isUserEphemeral(@UserIdInt int userId) { argument 909 final UserInfo user = getUserInfo(userId); 926 public boolean isUserRunning(int userId) { argument 929 return ActivityManagerNative.getDefault().isUserRunning(userId, 1024 isUserUnlocked(@serIdInt int userId) argument 1039 isUserUnlockingOrUnlocked(@serIdInt int userId) argument 1432 setSeedAccountData(int userId, String accountName, String accountType, PersistableBundle accountOptions) argument 1612 canAddMoreManagedProfiles(@serIdInt int userId, boolean allowedToRemoveOne) argument 1646 isSameProfileGroup(@serIdInt int userId, int otherUserId) argument 1697 getProfileIds(@serIdInt int userId, boolean enabledOnly) argument 1709 getProfileIdsWithDisabled(@serIdInt int userId) argument 1717 getEnabledProfileIds(@serIdInt int userId) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AssistUtils.java | 135 public ComponentName getAssistComponentForUser(int userId) { argument 137 Settings.Secure.ASSISTANT, userId); 151 userId);
|
H A D | UnlaunchableAppActivity.java | 128 public static Intent createInQuietModeDialogIntent(int userId) { argument 131 intent.putExtra(Intent.EXTRA_USER_HANDLE, userId); 135 public static Intent createInQuietModeDialogIntent(int userId, IntentSender target) { argument 136 Intent intent = createInQuietModeDialogIntent(userId);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | LocalPreferences.java | 113 final int userId = UserHandle.myUserId(); 115 ? userId + "|" + packageName + "||" + directory 116 : userId + "|" + packageName + "|" + uuid + "|" + directory;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PreBootBroadcaster.java | 53 public PreBootBroadcaster(ActivityManagerService service, int userId, argument 56 mUserId = userId; 63 MATCH_SYSTEM_ONLY, UserHandle.of(userId));
|
H A D | ReceiverList.java | 39 public final int userId; field in class:ReceiverList 52 userId = _userId; 71 pw.print(" user="); pw.println(userId); 107 sb.append(userId);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | LauncherAppsService.java | 263 private boolean isUserEnabled(int userId) { argument 266 UserInfo targetUserInfo = mUm.getUserInfo(userId); 360 private void ensureShortcutPermission(@NonNull String callingPackage, int userId) { argument 362 ensureInUserProfiles(userId, "Cannot start activity for unrelated profile " + userId); 404 int userId) { 405 ensureShortcutPermission(callingPackage, userId); 406 if (!isUserEnabled(userId)) { 411 callingPackage, packageName, id, userId); 416 String packageName, String id, int userId) { 403 getShortcutIconResId(String callingPackage, String packageName, String id, int userId) argument 415 getShortcutIconFd(String callingPackage, String packageName, String id, int userId) argument 434 startShortcut(String callingPackage, String packageName, String shortcutId, Rect sourceBounds, Bundle startActivityOptions, int userId) argument 746 onShortcutChanged(@onNull String packageName, @UserIdInt int userId) argument 754 onShortcutChangedInner(@onNull String packageName, @UserIdInt int userId) argument [all...] |
H A D | IntentFilterVerificationState.java | 45 public IntentFilterVerificationState(int verifierUid, int userId, String packageName) { argument 47 mUserId = userId;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | SettingsObserver.java | 61 * @param userId the user ID for which this setting has been restored. 63 void onSettingRestored(String prevValue, String newValue, int userId); argument 138 private void sendSettingRestored(final String prevValue, final String newValue, final int userId) { argument 140 l.onSettingRestored(prevValue, newValue, userId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | MockUtils.java | 37 public static UserHandle checkUserHandle(final int userId) { argument 42 return Objects.equal(((UserHandle) item).getIdentifier(), userId); 47 description.appendText("UserHandle: user-id= \"" + userId + "\"");
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarManagerService.java | 86 int userId; field in class:StatusBarManagerService.DisableRecord 94 disableForUser(0, token, pkg, userId); 95 disable2ForUser(0, token, pkg, userId); 423 public void disableForUser(int what, IBinder token, String pkg, int userId) { argument 427 disableLocked(userId, what, token, pkg, 1); 449 public void disable2ForUser(int what, IBinder token, String pkg, int userId) { argument 453 disableLocked(userId, what, token, pkg, 2); 457 private void disableLocked(int userId, int what, IBinder token, String pkg, int whichFlag) { argument 462 manageDisableListLocked(userId, what, token, pkg, whichFlag); 768 int uid, int initialPid, String message, int userId) { 767 onNotificationError(String pkg, String tag, int id, int uid, int initialPid, String message, int userId) argument 783 onNotificationClear(String pkg, String tag, int id, int userId) argument 823 onClearAllNotifications(int userId) argument 847 manageDisableListLocked(int userId, int what, IBinder token, String pkg, int which) argument 891 gatherDisableActionsLocked(int userId, int which) argument [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 451 int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) { 470 mService.authenticate(mToken, sessionId, userId, mServiceReceiver, flags, 495 * @param userId the user to whom this fingerprint will belong to 501 int userId, EnrollmentCallback callback) { 502 if (userId == UserHandle.USER_CURRENT) { 503 userId = getCurrentUserId(); 520 mService.enroll(mToken, token, userId, mServiceReceiver, flags, 567 * @param userId 571 public void setActiveUser(int userId) { argument 573 mService.setActiveUser(userId); 450 authenticate(@ullable CryptoObject crypto, @Nullable CancellationSignal cancel, int flags, @NonNull AuthenticationCallback callback, Handler handler, int userId) argument 500 enroll(byte [] token, CancellationSignal cancel, int flags, int userId, EnrollmentCallback callback) argument 589 remove(Fingerprint fp, int userId, RemovalCallback callback) argument 612 rename(int fpId, int userId, String newName) argument 632 getEnrolledFingerprints(int userId) argument 674 hasEnrolledFingerprints(int userId) argument [all...] |
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 133 public State state(int userId) { argument 136 ret = mBinder.getState(userId); 242 public boolean lock(int userId) { argument 244 return mBinder.lock(userId) == NO_ERROR; 266 public boolean unlock(int userId, String password) { argument 268 mError = mBinder.unlock(userId, password); 281 * Check if the keystore for {@code userId} is empty. 283 public boolean isEmpty(int userId) { argument 285 return mBinder.isEmpty(userId) != 0; 560 * @param userId th 563 onUserPasswordChanged(int userId, String newPassword) argument 585 onUserAdded(int userId, int parentId) argument 598 onUserAdded(int userId) argument 607 onUserRemoved(int userId) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailItemView.java | 91 public void bind(String name, Bitmap picture, int userId) { argument 93 mAvatar.setAvatarWithBadge(picture, userId); 96 public void bind(String name, Drawable picture, int userId) { argument 98 mAvatar.setDrawableWithBadge(picture, userId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | UserAvatarView.java | 122 public void setAvatarWithBadge(Bitmap avatar, int userId) { argument 124 mDrawable.setBadgeIfManagedUser(getContext(), userId); 135 public void setDrawableWithBadge(Drawable d, int userId) { argument 140 mDrawable.setBadgeIfManagedUser(getContext(), userId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ZenModeController.java | 33 void setUserId(int userId); argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncStorageEngine.java | 166 final int userId; field in class:SyncStorageEngine.EndPoint 169 public EndPoint(Account account, String provider, int userId) { argument 172 this.userId = userId; 182 if (userId != spec.userId 183 && userId != UserHandle.USER_ALL 184 && spec.userId != UserHandle.USER_ALL) { 207 sb.append(":u" + userId); 555 public boolean getSyncAutomatically(Account account, int userId, Strin argument 577 setSyncAutomatically(Account account, int userId, String providerName, boolean sync) argument 613 getIsSyncable(Account account, int userId, String providerName) argument 638 setIsSyncable(Account account, int userId, String providerName, int syncable) argument 729 setBackoffLocked(Account account, int userId, String providerName, long nextSyncTime, long nextDelay) argument 829 setMasterSyncAutomatically(boolean flag, int userId) argument 847 getMasterSyncAutomatically(int userId) argument 894 doDatabaseCleanup(Account[] accounts, int userId) argument 981 removeActiveSync(SyncInfo syncInfo, int userId) argument 1149 getCurrentSyncs(int userId) argument 1160 getCurrentSyncsCopy(int userId, boolean canAccessAccounts) argument 1178 getCurrentSyncsLocked(int userId) argument 1373 removeAuthorityLocked(Account account, int userId, String authorityName, boolean doWrite) argument 2052 requestSync(Account account, int userId, int reason, String authority, Bundle extras) argument [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | AppIdleController.java | 71 PackageUpdateFunc(int userId, String pkg, boolean idle) { argument 72 mUserId = userId; 176 public void onAppIdleStateChanged(String packageName, int userId, boolean idle) { argument 182 PackageUpdateFunc update = new PackageUpdateFunc(userId, packageName, idle);
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | SystemInterface.java | 46 public void enablePackageForUser(String packageName, boolean enable, int userId); argument
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityContainer.java | 253 private void reportFailedUnlockAttempt(int userId, int timeoutMs) { argument 255 final int failedAttempts = monitor.getFailedUnlockAttempts(userId) + 1; // +1 for this time 261 dpm.getMaximumFailedPasswordsForWipe(null, userId); 271 final int expiringUser = dpm.getProfileWithMinimumFailedPasswordsForWipe(userId); 273 if (expiringUser == userId) { 289 monitor.reportFailedStrongAuthUnlockAttempt(userId); 290 mLockPatternUtils.reportFailedPasswordAttempt(userId); 425 public void reportUnlockAttempt(int userId, boolean success, int timeoutMs) { 429 mLockPatternUtils.reportSuccessfulPasswordAttempt(userId); 431 KeyguardSecurityContainer.this.reportFailedUnlockAttempt(userId, timeoutM [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | SearchIndexableData.java | 66 public int userId = -1; field in class:SearchIndexableData 158 sb.append("userId: "); 159 sb.append(userId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | Task.java | 64 public final int userId; field in class:Task.TaskKey 72 public TaskKey(int id, int stackId, Intent intent, int userId, long firstActiveTime, argument 77 this.userId = userId; 98 return id == otherKey.id && stackId == otherKey.stackId && userId == otherKey.userId; 108 return "id=" + id + " stackId=" + stackId + " user=" + userId + " lastActiveTime=" + 113 mHashCode = Objects.hash(id, stackId, userId);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | HardwarePropertiesManagerService.java | 99 final int userId = UserHandle.getUserId(uid); 103 && !vrService.isCurrentVrListener(callingPackage, userId)) {
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | RemovalClient.java | 35 IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, 37 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner); 34 RemovalClient(Context context, long halDeviceId, IBinder token, IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, boolean restricted, String owner) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ILauncherApps.aidl | 55 in Rect sourceBounds, in Bundle startActivityOptions, int userId); 58 int userId); 60 int userId);
|