Home | History | Annotate | Download | only in locksettings

Lines Matching refs:userHandle

71 import android.os.UserHandle;
227 public void onStartUser(int userHandle) {
228 mLockSettingsService.onStartUser(userHandle);
232 public void onUnlockUser(int userHandle) {
233 mLockSettingsService.onUnlockUser(userHandle);
237 public void onCleanupUser(int userHandle) {
238 mLockSettingsService.onCleanupUser(userHandle);
431 injector.getContext().registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL, filter,
458 final UserHandle userHandle = user.getUserHandle();
460 if (isSecure && !mUserManager.isUserUnlockingOrUnlocked(userHandle)) {
464 !mUserManager.isQuietModeEnabled(userHandle)) {
467 showEncryptionNotificationForProfile(userHandle);
472 private void showEncryptionNotificationForProfile(UserHandle user) {
495 private void showEncryptionNotification(UserHandle user, CharSequence title,
520 private void hideEncryptionNotification(UserHandle userHandle) {
521 if (DEBUG) Slog.v(TAG, "hide encryption notification, user: " + userHandle.getIdentifier());
523 userHandle);
527 hideEncryptionNotification(new UserHandle(userId));
567 hideEncryptionNotification(new UserHandle(userId));
576 UserHandle userHandle = profile.getUserHandle();
577 if (!mUserManager.isUserUnlockingOrUnlocked(userHandle) &&
578 !mUserManager.isQuietModeEnabled(userHandle)) {
579 showEncryptionNotificationForProfile(userHandle);
629 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);
630 if (userHandle > UserHandle.USER_SYSTEM) {
631 removeUser(userHandle, /* unknownUser= */ true);
634 final UserInfo parentInfo = mUserManager.getProfileParent(userHandle);
636 ks.onUserAdded(userHandle, parentHandle);
638 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);
639 mStorage.prefetchUser(userHandle);
641 final int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);
642 if (userHandle > 0) {
643 removeUser(userHandle, /* unknownUser= */ false);
654 checkWritePermission(UserHandle.USER_SYSTEM);
672 mStorage.prefetchUser(UserHandle.USER_SYSTEM);
1094 private void setKeystorePassword(String password, int userHandle) {
1096 ks.onUserPasswordChanged(userHandle, password);
1099 private void unlockKeystore(String password, int userHandle) {
1100 if (DEBUG) Slog.v(TAG, "Unlock keystore for user: " + userHandle);
1102 ks.unlock(userHandle, password);
1593 mKeyStore.clearUid(UserHandle.getUid(profileId, uid));
1963 checkPasswordReadPermission(UserHandle.USER_ALL);
1969 checkPasswordReadPermission(UserHandle.USER_ALL);
2324 SYNTHETIC_PASSWORD_ENABLED_BY_DEFAULT, UserHandle.USER_SYSTEM);
2333 SYNTHETIC_PASSWORD_ENABLED_BY_DEFAULT, UserHandle.USER_SYSTEM);
2338 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1, UserHandle.USER_SYSTEM);
2851 false, this, UserHandle.USER_ALL);