Home
last modified time | relevance | path

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

1234

/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorActivity.java40 private static final String EXTRA_USER_ID = "user_id"; field in InspectorActivity
52 intent.putExtra(EXTRA_USER_ID, userId.getIdentifier()); in createIntent()
84 checkArgument(getIntent().hasExtra(EXTRA_USER_ID)); in onStart()
87 getIntent().getIntExtra(EXTRA_USER_ID, UserId.UNSPECIFIED_USER.getIdentifier())); in onStart()
/packages/apps/Settings/src/com/android/settings/users/
DAppCopyFragment.java49 public static final String EXTRA_USER_ID = "user_id"; field in AppCopyFragment
93 mUser = new UserHandle(icicle.getInt(EXTRA_USER_ID)); in init()
97 if (args.containsKey(EXTRA_USER_ID)) { in init()
98 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in init()
122 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()
DUserDetailsSettings.java70 static final String EXTRA_USER_ID = "user_id"; field in UserDetailsSettings
336 int userId = arguments != null ? arguments.getInt(EXTRA_USER_ID, USER_NULL) : USER_NULL;
512 extras.putInt(AppRestrictionsFragment.EXTRA_USER_ID, mUserInfo.id);
527 extras.putInt(AppRestrictionsFragment.EXTRA_USER_ID, mUserInfo.id);
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchMaintenanceService.java47 private static final String EXTRA_USER_ID = "user_id"; field in AppSearchMaintenanceService
78 extras.putInt(EXTRA_USER_ID, userId); in scheduleFullyPersistJob()
100 int userId = params.getExtras().getInt(EXTRA_USER_ID, /* defaultValue= */ -1); in onStartJob()
163 final int userId = params.getExtras().getInt(EXTRA_USER_ID, /* defaultValue */ -1); in onStopJob()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDailyJobs.java22 import static com.android.server.healthconnect.HealthConnectDailyService.EXTRA_USER_ID;
50 extras.putInt(EXTRA_USER_ID, userId); in schedule()
73 int userId = params.getExtras().getInt(EXTRA_USER_ID, /* defaultValue= */ DEFAULT_INT); in execute()
DHealthConnectDailyService.java48 public static final String EXTRA_USER_ID = "user_id"; field in HealthConnectDailyService
61 int userId = params.getExtras().getInt(EXTRA_USER_ID, /* defaultValue= */ DEFAULT_INT); in onStartJob()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DIntentCompat.java26 public static final String EXTRA_USER_ID = Intent.EXTRA_USER_ID; field in IntentCompat
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationBroadcastJobService.java19 import static com.android.server.healthconnect.migration.MigrationConstants.EXTRA_USER_ID;
46 int userId = extras.getInt(EXTRA_USER_ID); in onStartJob()
DMigrationStateChangeJob.java25 import static com.android.server.healthconnect.HealthConnectDailyService.EXTRA_USER_ID;
63 extras.putInt(EXTRA_USER_ID, userId); in scheduleMigrationCompletionJob()
85 extras.putInt(EXTRA_USER_ID, userId); in scheduleMigrationPauseJob()
DMigrationBroadcastScheduler.java23 import static com.android.server.healthconnect.migration.MigrationConstants.EXTRA_USER_ID;
128 extras.putInt(EXTRA_USER_ID, mUserId); in createJobLocked()
DMigrationConstants.java29 public static final String EXTRA_USER_ID = "userId"; field in MigrationConstants
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsBaseFragment.java39 bundle.putInt(Intent.EXTRA_USER_ID, userId); in addUserIdToFragmentArguments()
47 int userId = getArguments().getInt(Intent.EXTRA_USER_ID); in onAttach()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/indexer/
DIndexerMaintenanceService.java52 private static final String EXTRA_USER_ID = "user_id"; field in IndexerMaintenanceService
100 extras.putInt(EXTRA_USER_ID, userHandle.getIdentifier()); in scheduleUpdateJob()
200 int userId = params.getExtras().getInt(EXTRA_USER_ID, /* defaultValue= */ -1); in onStartJob()
297 final int userId = params.getExtras().getInt(EXTRA_USER_ID, /* defaultValue */ -1); in onStopJob()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/model/
DCredentialModel.kt18 import android.content.Intent.EXTRA_USER_ID
39 val userId: Int = (bundle ?: Bundle()).getInt(EXTRA_USER_ID, UserHandle.myUserId())
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionDisabledByAdminDialog.java64 int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getAdminDetailsFromIntent()
81 userId = adminDetails.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getAdminDetailsFromIntent()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialog.java61 int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getAdminDetailsFromIntent()
78 userId = adminDetails.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getAdminDetailsFromIntent()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricNavigationUtils.java113 intent.putExtra(Intent.EXTRA_USER_ID, targetUserId); in getRestrictedDialogIntent()
124 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in getSettingsPageIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordControllerTest.java276 actualBundle.getInt(Intent.EXTRA_USER_ID)); in compareFingerprintExtras()
293 actualBundle.getInt(Intent.EXTRA_USER_ID)); in compareFaceExtras()
298 assertThat(actualBundle.getInt(Intent.EXTRA_USER_ID)).isEqualTo(CURRENT_USER_ID); in assertBundleContainsUserIdOnly()
DChooseLockPatternTest.java72 assertWithMessage("EXTRA_USER_ID").that(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setPattern_shouldAddExtras()
87 .that(intent.getIntExtra(Intent.EXTRA_USER_ID, 0)) in intentBuilder_setRequestGatekeeperPassword_shouldAddExtras()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragmentTest.java19 import static android.content.Intent.EXTRA_USER_ID;
168 bundle.putInt(EXTRA_USER_ID, 10); in getTabId_setWorkId_getCorrectTab()
181 bundle.putInt(EXTRA_USER_ID, 11); in getTabId_setPrivateId_getCorrectTab()
190 bundle.putInt(EXTRA_USER_ID, 0); in getTabId_setPersonalId_getCorrectTab()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/
DBackupRestore.java34 …com.android.server.healthconnect.backuprestore.BackupRestore.BackupRestoreJobService.EXTRA_USER_ID;
719 extras.putInt(EXTRA_USER_ID, userId); in scheduleDownloadStateTimeoutJob()
777 extras.putInt(EXTRA_USER_ID, userId); in scheduleStagingTimeoutJob()
832 extras.putInt(EXTRA_USER_ID, userId); in scheduleMergingTimeoutJob()
877 extras.putInt(EXTRA_USER_ID, userId); in scheduleRetryMergingJob()
1004 public static final String EXTRA_USER_ID = "user_id"; field in BackupRestore.BackupRestoreJobService
1013 int userId = params.getExtras().getInt(EXTRA_USER_ID, DEFAULT_INT); in onStartJob()
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockRequireBiometricSetup.java63 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
125 intent.putExtra(Intent.EXTRA_USER_ID, mUserId); in onNextButtonClick()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAccessConfirmationActivity.java24 …tic com.android.internal.notification.NotificationAccessConfirmationActivityContract.EXTRA_USER_ID;
88 mUserId = getIntent().getIntExtra(EXTRA_USER_ID, UserHandle.USER_NULL); in onCreate()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateChangeJobTest.java28 import static com.android.server.healthconnect.HealthConnectDailyService.EXTRA_USER_ID;
464 when(mPersistableBundle.getInt(eq(EXTRA_USER_ID))) in configureExistsAMigrationPauseJob()
473 when(mPersistableBundle.getInt(eq(EXTRA_USER_ID))) in configureExistsAMigrationCompleteJob()
494 job.getExtras().getInt(EXTRA_USER_ID), DEFAULT_USER_HANDLE.getIdentifier()); in hasCorrectUserId()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java109 private static final String EXTRA_USER_ID = "user_id"; field in AppRestrictionsFragment
249 bundle.putInt(EXTRA_USER_ID, userId); in prepareArgs()
267 mUser = new UserHandle(savedInstanceState.getInt(EXTRA_USER_ID)); in onCreate()
277 if (args.containsKey(EXTRA_USER_ID)) { in onCreate()
278 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in onCreate()
316 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()

1234