Home
last modified time | relevance | path

Searched refs:mProfileUserId (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/src/com/android/settings/security/
DLockUnificationPreferenceController.java73 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/
DRedactNotificationPreferenceController.java60 int mProfileUserId; field in RedactNotificationPreferenceController
79 mProfileUserId = UserHandle.myUserId(); in RedactNotificationPreferenceController()
86 mProfileUserId = profile.getUserHandle().getIdentifier(); in RedactNotificationPreferenceController()
97 ? UserHandle.myUserId() : mProfileUserId; in displayPreference()
106 ? UserHandle.myUserId() : mProfileUserId; in isChecked()
114 ? UserHandle.myUserId() : mProfileUserId; in setChecked()
125 && mProfileUserId == UserHandle.myUserId()) { in getAvailabilityStatus()
130 ? UserHandle.myUserId() : mProfileUserId; in getAvailabilityStatus()
147 if (mKm.isDeviceLocked(mProfileUserId)) { in getAvailabilityStatus()
DLockScreenNotificationPreferenceController.java67 private final int mProfileUserId; field in LockScreenNotificationPreferenceController
86 mProfileUserId = Utils.getManagedProfileId(UserManager.get(context), UserHandle.myUserId()); in LockScreenNotificationPreferenceController()
91 mSecureProfile = (mProfileUserId != UserHandle.USER_NULL) && utils.isSecure(mProfileUserId); in LockScreenNotificationPreferenceController()
102 if (mProfileUserId != UserHandle.USER_NULL) { in displayPreference()
105 mLockscreenProfile.setProfileUserId(mProfileUserId); in displayPreference()
236 show ? 1 : 0, mProfileUserId); in onPreferenceChange()
266 if (mProfileUserId != UserHandle.USER_NULL) { in setRestrictedIfNotificationFeaturesDisabled()
269 mContext, keyguardNotificationFeatures, mProfileUserId); in setRestrictedIfNotificationFeaturesDisabled()
308 if (mProfileUserId == UserHandle.USER_NULL) { in updateLockscreenNotificationsForProfile()
314 final boolean allowPrivate = adminAllowsUnredactedNotifications(mProfileUserId) && in updateLockscreenNotificationsForProfile()
[all …]
/packages/apps/Settings/src/com/android/settings/privatespace/onelock/
DPrivateSpaceLockController.java56 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()
DUseOneLockControllerSwitch.java62 private final int mProfileUserId; field in UseOneLockControllerSwitch
85 mProfileUserId = mUserHandle != null ? mUserHandle.getIdentifier() : -1; in UseOneLockControllerSwitch()
105 if (Utils.startQuietModeDialogIfNecessary(mContext, mUserManager, mProfileUserId)) { in onPreferenceChange()
121 mLockPatternUtils.isSeparateProfileChallengeEnabled(mProfileUserId); in updateState()
146 extras.putInt(Intent.EXTRA_USER_ID, mProfileUserId); in separateLocks()
163 .setUserId(mProfileUserId) in startUnification()
184 mLockPatternUtils.setSeparateProfileChallengeEnabled(mProfileUserId, false, in unifyKeepingDeviceLock()
DFaceFingerprintUnlockController.java35 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/
DTaplPrivateSpaceTest.java48 private int mProfileUserId; field in TaplPrivateSpaceTest
82 mProfileUserId = Integer.parseInt(tokens[tokens.length - 1]); in createAndStartPrivateProfileUser()
83 StringBuilder logStr = new StringBuilder().append("profileId: ").append(mProfileUserId); in createAndStartPrivateProfileUser()
87 String startUserOutput = executeShellCommand("am start-user " + mProfileUserId); in createAndStartPrivateProfileUser()
95 String output = executeShellCommand("pm remove-user " + mProfileUserId); in removePrivateProfile()
126 TestUtil.installDummyAppForUser(mProfileUserId); in testUserInstalledAppIsShownAboveDivider()
151 TestUtil.installDummyAppForUser(mProfileUserId); in testPrivateSpaceAppLongPressUninstallMenu()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java51 private int mProfileUserId; field in RestrictedListPreference
75 mProfileUserId)) { in performClick()
82 if (manager.isDeviceLocked(mProfileUserId)) { in performClick()
84 null, null, mProfileUserId); in performClick()
119 mProfileUserId = profileUserId; in setProfileUserId()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplWorkProfileTest.java66 private int mProfileUserId; field in TaplWorkProfileTest
81 mProfileUserId = Integer.parseInt(tokens[tokens.length - 1]); in setUp()
82 StringBuilder logStr = new StringBuilder().append("profileId: ").append(mProfileUserId); in setUp()
86 installDummyAppForUser(mProfileUserId); in setUp()
116 mDevice.executeShellCommand("pm remove-user --wait " + mProfileUserId); in removeWorkProfile()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCreateAndProvisionManagedProfileTask.java47 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/
DRedactNotificationPreferenceControllerTest.java108 assertThat(mController.mProfileUserId).isEqualTo(0); in setUp()
119 assertThat(mWorkController.mProfileUserId).isEqualTo(10); in setUp()