Home
last modified time | relevance | path

Searched refs:EXTRA_USER_ID (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java97 private static final String EXTRA_USER_ID = "user_id"; field in AppRestrictionsFragment
227 bundle.putInt(EXTRA_USER_ID, userId); in prepareArgs()
243 mUser = new UserHandle(savedInstanceState.getInt(EXTRA_USER_ID)); in onCreate()
247 if (args.containsKey(EXTRA_USER_ID)) { in onCreate()
248 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in onCreate()
285 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java94 public static final String EXTRA_USER_ID = "user_id"; field in AppRestrictionsFragment
213 mUser = new UserHandle(icicle.getInt(EXTRA_USER_ID)); in init()
217 if (args.containsKey(EXTRA_USER_ID)) { in init()
218 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in init()
252 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()
DUserDetailsSettings.java54 static final String EXTRA_USER_ID = "user_id"; field in UserDetailsSettings
90 final int userId = getArguments().getInt(EXTRA_USER_ID, -1); in onCreate()
DUserSettings.java428 extras.putInt(RestrictedProfileSettings.EXTRA_USER_ID, userId); in onManageUserClicked()
439 extras.putInt(UserDetailsSettings.EXTRA_USER_ID, userId); in onManageUserClicked()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintSettings.java337 Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
477 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onPreferenceTreeClick()
630 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock()
632 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock()
1002 intent.putExtra(Intent.EXTRA_USER_ID, userId); in getFingerprintPreferenceForUser()
DFingerprintEnrollBase.java58 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
127 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getEnrollingIntent()
DFingerprintEnrollIntroduction.java138 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseLock()
149 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchFindSensor()
DSetupFingerprintEnrollFinish.java35 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getEnrollingIntent()
DSetupFingerprintEnrollFindSensor.java48 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getEnrollingIntent()
DFingerprintEnrollSidecar.java116 mUserId = activity.getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.USER_NULL); in onAttach()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java25 .EXTRA_USER_ID;
64 mUserId = getIntent().getIntExtra(EXTRA_USER_ID, UserHandle.USER_NULL); in onCreate()
DRedactionInterstitial.java87 .putExtra(Intent.EXTRA_USER_ID, userId); in createStartIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockPatternTest.java77 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setPattern_shouldAddExtras()
98 .getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setChallenge_shouldAddExtras()
DChooseLockPasswordTest.java94 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setPassword_shouldAddExtras()
123 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setChallenge_shouldAddExtras()
DSetNewPasswordControllerTest.java194 actualBundle.getInt(Intent.EXTRA_USER_ID)); in compareFingerprintExtras()
199 assertThat(actualBundle.getInt(Intent.EXTRA_USER_ID)).isEqualTo(CURRENT_USER_ID); in assertBundleContainsUserIdOnly()
/packages/apps/Settings/src/com/android/settings/
DUtils.java20 import static android.content.Intent.EXTRA_USER_ID;
731 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle()
1010 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle()
1237 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent()
DMonitoringCertInfoActivity.java46 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
DShowAdminSupportDetailsDialog.java91 admin.userId = intent.getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getAdminDetailsFromIntent()
DSecuritySettings.java662 extras.putInt(Intent.EXTRA_USER_ID, mProfileChallengeUserId); in onPreferenceTreeClick()
769 extras.putInt(Intent.EXTRA_USER_ID, mProfileChallengeUserId); in ununifyLocks()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java167 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in handlePreferenceTreeClick()
395 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent()
/packages/apps/Settings/src/com/android/settings/applications/
DMusicViewHolderController.java89 intent.putExtra(Intent.EXTRA_USER_ID, mUser); in onClick()
/packages/apps/Settings/src/com/android/settings/password/
DSetNewPasswordController.java120 extras.putInt(Intent.EXTRA_USER_ID, mTargetUserId); in dispatchSetNewPasswordIntent()
DChooseLockGeneric.java284 chooseLockGenericIntent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onPreferenceTreeClick()
385 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onActivityResult()
DChooseLockSettingsHelper.java267 intent.putExtra(Intent.EXTRA_USER_ID, userId); in launchConfirmationActivity()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java519 intent.putExtra(Intent.EXTRA_USER_ID, userId); in onPreferenceTreeClick()
768 intent.putExtra(Intent.EXTRA_USER_ID, userId); in show()

12