/packages/apps/Settings/src/com/android/settings/security/ |
D | LockUnificationPreferenceController.java | 67 private final int mProfileUserId; field in LockUnificationPreferenceController 91 mProfileUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in LockUnificationPreferenceController() 96 return mProfileUserId != UserHandle.USER_NULL in isAvailable() 97 && mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileUserId); in isAvailable() 107 if (Utils.startQuietModeDialogIfNecessary(mContext, mUm, mProfileUserId)) { in onPreferenceChange() 115 mLockPatternUtils.getKeyguardStoredPasswordQuality(mProfileUserId) in onPreferenceChange() 117 || !mDpm.isProfileActivePasswordSufficientForParent(mProfileUserId); in onPreferenceChange() 136 mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId); 141 mProfileUserId)); 169 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/ |
D | LockUnificationPreferenceController.java | 67 private final int mProfileUserId; field in LockUnificationPreferenceController 91 mProfileUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in LockUnificationPreferenceController() 96 return mProfileUserId != UserHandle.USER_NULL in isAvailable() 97 && mLockPatternUtils.isSeparateProfileChallengeAllowed(mProfileUserId); in isAvailable() 107 if (Utils.startQuietModeDialogIfNecessary(mContext, mUm, mProfileUserId)) { in onPreferenceChange() 115 mLockPatternUtils.getKeyguardStoredPasswordQuality(mProfileUserId) in onPreferenceChange() 117 || !mDpm.isProfileActivePasswordSufficientForParent(mProfileUserId); in onPreferenceChange() 136 mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId); 141 mProfileUserId)); 169 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | LockScreenNotificationPreferenceController.java | 65 private final int mProfileUserId; field in LockScreenNotificationPreferenceController 84 mProfileUserId = Utils.getManagedProfileId(UserManager.get(context), UserHandle.myUserId()); in LockScreenNotificationPreferenceController() 89 mSecureProfile = (mProfileUserId != UserHandle.USER_NULL) && utils.isSecure(mProfileUserId); in LockScreenNotificationPreferenceController() 100 if (mProfileUserId != UserHandle.USER_NULL) { in displayPreference() 103 mLockscreenProfile.setProfileUserId(mProfileUserId); in displayPreference() 227 show ? 1 : 0, mProfileUserId); in onPreferenceChange() 257 if (mProfileUserId != UserHandle.USER_NULL) { in setRestrictedIfNotificationFeaturesDisabled() 260 mContext, keyguardNotificationFeatures, mProfileUserId); in setRestrictedIfNotificationFeaturesDisabled() 299 if (mProfileUserId == UserHandle.USER_NULL) { in updateLockscreenNotificationsForProfile() 305 final boolean allowPrivate = adminAllowsUnredactedNotifications(mProfileUserId) && in updateLockscreenNotificationsForProfile() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | LockScreenNotificationPreferenceController.java | 65 private final int mProfileUserId; field in LockScreenNotificationPreferenceController 84 mProfileUserId = Utils.getManagedProfileId(UserManager.get(context), UserHandle.myUserId()); in LockScreenNotificationPreferenceController() 89 mSecureProfile = (mProfileUserId != UserHandle.USER_NULL) && utils.isSecure(mProfileUserId); in LockScreenNotificationPreferenceController() 100 if (mProfileUserId != UserHandle.USER_NULL) { in displayPreference() 103 mLockscreenProfile.setProfileUserId(mProfileUserId); in displayPreference() 227 show ? 1 : 0, mProfileUserId); in onPreferenceChange() 257 if (mProfileUserId != UserHandle.USER_NULL) { in setRestrictedIfNotificationFeaturesDisabled() 260 mContext, keyguardNotificationFeatures, mProfileUserId); in setRestrictedIfNotificationFeaturesDisabled() 299 if (mProfileUserId == UserHandle.USER_NULL) { in updateLockscreenNotificationsForProfile() 305 final boolean allowPrivate = adminAllowsUnredactedNotifications(mProfileUserId) && in updateLockscreenNotificationsForProfile() [all …]
|
D | RedactNotificationPreferenceController.java | 45 private final int mProfileUserId; field in RedactNotificationPreferenceController 54 mProfileUserId = Utils.getManagedProfileId(mUm, UserHandle.myUserId()); in RedactNotificationPreferenceController() 60 ? UserHandle.myUserId() : mProfileUserId; in isChecked() 68 ? UserHandle.myUserId() : mProfileUserId; in setChecked() 79 && mProfileUserId == UserHandle.USER_NULL) { in getAvailabilityStatus() 84 ? UserHandle.myUserId() : mProfileUserId; in getAvailabilityStatus() 103 if (mKm.isDeviceLocked(mProfileUserId)) { in getAvailabilityStatus()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | WorkTabTest.java | 34 private int mProfileUserId; field in WorkTabTest 44 mProfileUserId = Integer.parseInt(tokens[tokens.length - 1]); in createWorkProfile() 46 mDevice.executeShellCommand("am start-user " + mProfileUserId); in createWorkProfile() 51 mDevice.executeShellCommand("pm remove-user " + mProfileUserId); in removeWorkProfile()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RestrictedListPreference.java | 52 private int mProfileUserId; field in RestrictedListPreference 81 mProfileUserId)) { in performClick() 88 if (manager.isDeviceLocked(mProfileUserId)) { in performClick() 90 null, null, mProfileUserId); in performClick() 125 mProfileUserId = profileUserId; in setProfileUserId()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RestrictedListPreference.java | 52 private int mProfileUserId; field in RestrictedListPreference 81 mProfileUserId)) { in performClick() 88 if (manager.isDeviceLocked(mProfileUserId)) { in performClick() 90 null, null, mProfileUserId); in performClick() 125 mProfileUserId = profileUserId; in setProfileUserId()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | CreateManagedProfileTask.java | 42 private int mProfileUserId; field in CreateManagedProfileTask 83 mProfileUserId = userInfo.id; in run() 100 return mProfileUserId; in getProfileUserId()
|