| /packages/apps/Settings/src/com/android/settings/security/ |
| D | LockUnificationPreferenceController.java | 73 private final int mProfileUserId; field in LockUnificationPreferenceController 103 mProfileUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in LockUnificationPreferenceController() 111 return mProfileUserId != UserHandle.USER_NULL in isAvailable() 112 && mUm.isManagedProfile(mProfileUserId); in isAvailable() 122 if (Utils.startQuietModeDialogIfNecessary(mContext, mUm, mProfileUserId)) { in onPreferenceChange() 128 UserHandle.myUserId(), mProfileUserId); in onPreferenceChange() 151 mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId); in updateState() 156 mProfileUserId)); in updateState() 180 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); in ununifyLocks() 203 .setUserId(mProfileUserId) in startUnification() [all …]
|
| /packages/apps/Settings/src/com/android/settings/notification/ |
| D | RedactNotificationPreferenceController.java | 61 int mProfileUserId; field in RedactNotificationPreferenceController 80 mProfileUserId = UserHandle.myUserId(); in RedactNotificationPreferenceController() 87 mProfileUserId = profile.getUserHandle().getIdentifier(); in RedactNotificationPreferenceController() 98 ? UserHandle.myUserId() : mProfileUserId; in displayPreference() 107 ? UserHandle.myUserId() : mProfileUserId; in isChecked() 115 ? UserHandle.myUserId() : mProfileUserId; in setChecked() 131 && mProfileUserId == UserHandle.myUserId()) { in getAvailabilityStatus() 136 ? UserHandle.myUserId() : mProfileUserId; in getAvailabilityStatus() 153 if (mKm.isDeviceLocked(mProfileUserId)) { in getAvailabilityStatus()
|
| D | LockScreenNotificationPreferenceController.java | 68 private final int mProfileUserId; field in LockScreenNotificationPreferenceController 87 mProfileUserId = Utils.getManagedProfileId(UserManager.get(context), UserHandle.myUserId()); in LockScreenNotificationPreferenceController() 92 mSecureProfile = (mProfileUserId != UserHandle.USER_NULL) && utils.isSecure(mProfileUserId); in LockScreenNotificationPreferenceController() 110 if (mProfileUserId != UserHandle.USER_NULL) { in displayPreference() 113 mLockscreenProfile.setProfileUserId(mProfileUserId); in displayPreference() 244 show ? 1 : 0, mProfileUserId); in onPreferenceChange() 274 if (mProfileUserId != UserHandle.USER_NULL) { in setRestrictedIfNotificationFeaturesDisabled() 277 mContext, keyguardNotificationFeatures, mProfileUserId); in setRestrictedIfNotificationFeaturesDisabled() 316 if (mProfileUserId == UserHandle.USER_NULL) { in updateLockscreenNotificationsForProfile() 322 final boolean allowPrivate = adminAllowsUnredactedNotifications(mProfileUserId) && in updateLockscreenNotificationsForProfile() [all …]
|
| /packages/apps/Settings/src/com/android/settings/privatespace/onelock/ |
| D | PrivateSpaceLockController.java | 56 private final int mProfileUserId; field in PrivateSpaceLockController 68 mProfileUserId = privateProfileHandle.getIdentifier(); in PrivateSpaceLockController() 70 mProfileUserId = -1; in PrivateSpaceLockController() 93 mProfileUserId)) { in handlePreferenceTreeClick() 97 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); in handlePreferenceTreeClick() 112 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId)) { in updateState() 114 mContext.getString(getCredentialTypeResId(mProfileUserId))); in updateState()
|
| D | UseOneLockControllerSwitch.java | 64 private final int mProfileUserId; field in UseOneLockControllerSwitch 87 mProfileUserId = mUserHandle != null ? mUserHandle.getIdentifier() : -1; in UseOneLockControllerSwitch() 107 if (Utils.startQuietModeDialogIfNecessary(mContext, mUserManager, mProfileUserId)) { in onPreferenceChange() 123 mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId); in updateState() 148 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); in separateLocks() 165 .setUserId(mProfileUserId) in startUnification() 186 mLockPatternUtils.setSeparateProfileChallengeEnabled(mProfileUserId, false, in unifyKeepingDeviceLock() 220 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); in startSeparateLockSetup()
|
| D | FaceFingerprintUnlockController.java | 35 private final int mProfileUserId; field in FaceFingerprintUnlockController 39 mProfileUserId = getUserId(); in FaceFingerprintUnlockController() 46 && mProfileUserId != UserHandle.USER_NULL; in isUserSupported() 73 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId)) { in updateState()
|
| /packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
| D | TaplPrivateSpaceTest.java | 50 private int mProfileUserId; field in TaplPrivateSpaceTest 83 mProfileUserId = Integer.parseInt(tokens[tokens.length - 1]); in createAndStartPrivateProfileUser() 84 StringBuilder logStr = new StringBuilder().append("profileId: ").append(mProfileUserId); in createAndStartPrivateProfileUser() 88 String startUserOutput = executeShellCommand("am start-user " + mProfileUserId); in createAndStartPrivateProfileUser() 96 String output = executeShellCommand("pm remove-user " + mProfileUserId); in removePrivateProfile() 126 TestUtil.installDummyAppForUser(mProfileUserId); in testUserInstalledAppIsShownAboveDivider() 150 TestUtil.installDummyAppForUser(mProfileUserId); in testPrivateSpaceAppLongPressUninstallMenu()
|
| /packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
| D | WorkProfileTest.java | 71 private int mProfileUserId; field in WorkProfileTest 83 mProfileUserId = Integer.parseInt(tokens[tokens.length - 1]); in setUp() 84 StringBuilder logStr = new StringBuilder().append("profileId: ").append(mProfileUserId); in setUp() 88 installDummyAppForUser(mProfileUserId); in setUp() 103 executeShellCommand("pm remove-user --wait " + mProfileUserId); in removeWorkProfile()
|
| /packages/apps/Settings/src/com/android/settings/ |
| D | RestrictedListPreference.java | 55 private int mProfileUserId; field in RestrictedListPreference 84 mProfileUserId)) { in performClick() 91 if (manager.isDeviceLocked(mProfileUserId)) { in performClick() 93 null, null, mProfileUserId); in performClick() 128 mProfileUserId = profileUserId; in setProfileUserId()
|
| /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
| D | CreateAndProvisionManagedProfileTask.java | 47 private int mProfileUserId; field in CreateAndProvisionManagedProfileTask 110 mProfileUserId = profile.getIdentifier(); in run() 135 return mProfileUserId; in getProfileUserId()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
| D | RedactNotificationPreferenceControllerTest.java | 118 assertThat(mController.mProfileUserId).isEqualTo(0); in setUp() 129 assertThat(mWorkController.mProfileUserId).isEqualTo(10); in setUp()
|