Home
last modified time | relevance | path

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

123

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java107 private static final String EXTRA_USER_ID = "user_id"; field in AppRestrictionsFragment
239 bundle.putInt(EXTRA_USER_ID, userId); in prepareArgs()
255 mUser = new UserHandle(savedInstanceState.getInt(EXTRA_USER_ID)); in onCreate()
265 if (args.containsKey(EXTRA_USER_ID)) { in onCreate()
266 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in onCreate()
303 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordControllerTest.java293 actualBundle.getInt(Intent.EXTRA_USER_ID)); in compareFingerprintExtras()
317 actualBundle.getInt(Intent.EXTRA_USER_ID)); in compareFaceExtras()
322 assertThat(actualBundle.getInt(Intent.EXTRA_USER_ID)).isEqualTo(CURRENT_USER_ID); in assertBundleContainsUserIdOnly()
DChooseLockPatternTest.java67 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setPattern_shouldAddExtras()
88 .getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setChallenge_shouldAddExtras()
DChooseLockPasswordTest.java104 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setPassword_shouldAddExtras()
126 assertThat(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setChallenge_shouldAddExtras()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollActivity.java77 .getIntExtra(Intent.EXTRA_USER_ID, UserHandle.USER_NULL); in onCreate()
80 intent.putExtra(Intent.EXTRA_USER_ID, userId); in onCreate()
DBiometricEnrollBase.java99 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
164 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getFingerprintEnrollingIntent()
DBiometricEnrollIntroduction.java209 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseLock()
220 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchNextEnrollingActivity()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java22 …tic com.android.internal.notification.NotificationAccessConfirmationActivityContract.EXTRA_USER_ID;
61 mUserId = getIntent().getIntExtra(EXTRA_USER_ID, UserHandle.USER_NULL); in onCreate()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java95 public static final String EXTRA_USER_ID = "user_id"; field in AppRestrictionsFragment
214 mUser = new UserHandle(icicle.getInt(EXTRA_USER_ID)); in init()
218 if (args.containsKey(EXTRA_USER_ID)) { in init()
219 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in init()
253 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java95 public static final String EXTRA_USER_ID = "user_id"; field in AppRestrictionsFragment
214 mUser = new UserHandle(icicle.getInt(EXTRA_USER_ID)); in init()
218 if (args.containsKey(EXTRA_USER_ID)) { in init()
219 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in init()
253 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()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationAccessConfirmationActivity.java22 …tic com.android.internal.notification.NotificationAccessConfirmationActivityContract.EXTRA_USER_ID;
61 mUserId = getIntent().getIntExtra(EXTRA_USER_ID, UserHandle.USER_NULL); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserDetailsBaseFragment.java60 bundle.putInt(Intent.EXTRA_USER_ID, userId); in addUserIdToFragmentArguments()
73 int userId = getArguments().getInt(Intent.EXTRA_USER_ID); in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricEnrollBase.java95 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
158 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getFingerprintEnrollingIntent()
DBiometricEnrollIntroduction.java190 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseLock()
201 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchNextEnrollingActivity()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java318 Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
470 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onPreferenceTreeClick()
627 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock()
629 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock()
DSetupFingerprintEnrollFinish.java36 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getFingerprintEnrollingIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintSettings.java315 Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
467 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onPreferenceTreeClick()
624 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock()
626 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in launchChooseOrConfirmLock()
DSetupFingerprintEnrollFinish.java36 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getFingerprintEnrollingIntent()
/packages/apps/Settings/src/com/android/settings/
DUtils.java20 import static android.content.Intent.EXTRA_USER_ID;
506 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle()
662 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle()
838 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java20 import static android.content.Intent.EXTRA_USER_ID;
511 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle()
667 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle()
843 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageItemPreferenceController.java168 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in handlePreferenceTreeClick()
404 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java168 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in handlePreferenceTreeClick()
404 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogTest.java51 intent.putExtra(Intent.EXTRA_USER_ID, userId); in testGetAdminDetailsFromIntent()

123