Home
last modified time | relevance | path

Searched defs:userId (Results 76 – 100 of 345) sorted by relevance

12345678910>>...14

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowActivityManager.java35 public static void setCurrentUser(int userId) { in setCurrentUser()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/storage/
DTrustedDeviceDao.java37 List<TrustedDeviceEntity> getTrustedDevicesForUser(int userId); in getTrustedDevicesForUser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DTaskExecutor.java27 public synchronized void execute(int userId, AbstractProvisioningTask task) { in execute()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeEventRuleSettings.java230 void addCalendar(long calendarId, String calName, int userId, List<CalendarInfo> in addCalendar()
249 private static String key(int userId, Long calendarId, String displayName) { in key()
263 public int userId; field in ZenModeEventRuleSettings.CalendarInfo
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeEventRuleSettings.java230 void addCalendar(long calendarId, String calName, int userId, List<CalendarInfo> in addCalendar()
249 private static String key(int userId, Long calendarId, String displayName) { in key()
263 public int userId; field in ZenModeEventRuleSettings.CalendarInfo
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputServiceInfo.java41 public DefaultVoiceInputServiceInfo(Context context, PackageManager pm, int userId, in DefaultVoiceInputServiceInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DSavePasswordWorker.java30 void start(int userId, byte[] enteredPassword, byte[] currentPassword, int requestedQuality) { in start()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsPreferenceController.java36 public void setUserId(int userId) { in setUserId()
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorageTest.java129 private AssociatedDevice addRandomAssociatedDevice(int userId) { in addRandomAssociatedDevice()
136 private void addAssociatedDevice(int userId, AssociatedDevice device, byte[] encryptionKey) { in addAssociatedDevice()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DUserSwitchListenerService.java85 static void setBootUser(Context context, int userId) { in setBootUser()
98 private static void switchUserNow(int userId) { in switchUserNow()
/packages/apps/Settings/src/com/android/settings/
DUtils.java506 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle() local
662 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle() local
675 public static int enforceSystemUser(Context context, int userId) { in enforceSystemUser()
688 public static int enforceSameOwner(Context context, int userId) { in enforceSameOwner()
708 public static int getCredentialOwnerUserId(Context context, int userId) { in getCredentialOwnerUserId()
733 int userId) { in startQuietModeDialogIfNecessary()
742 public static boolean unlockWorkProfileIfNecessary(Context context, int userId) { in unlockWorkProfileIfNecessary()
757 private static boolean confirmWorkProfileCredentials(Context context, int userId) { in confirmWorkProfileCredentials()
795 public static Context createPackageContextAsUser(Context context, int userId) { in createPackageContextAsUser()
838 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent() local
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java511 final int userId = bundle.getInt(EXTRA_USER_ID, -1); in getUserHandleFromBundle() local
667 int userId = bundle.getInt(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getUserIdFromBundle() local
680 public static int enforceSystemUser(Context context, int userId) { in enforceSystemUser()
693 public static int enforceSameOwner(Context context, int userId) { in enforceSameOwner()
713 public static int getCredentialOwnerUserId(Context context, int userId) { in getCredentialOwnerUserId()
738 int userId) { in startQuietModeDialogIfNecessary()
747 public static boolean unlockWorkProfileIfNecessary(Context context, int userId) { in unlockWorkProfileIfNecessary()
762 private static boolean confirmWorkProfileCredentials(Context context, int userId) { in confirmWorkProfileCredentials()
800 public static Context createPackageContextAsUser(Context context, int userId) { in createPackageContextAsUser()
843 final int userId = intent.getIntExtra(Intent.EXTRA_USER_ID, -1); in launchIntent() local
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragment.java152 int userId = userHandle.getIdentifier(); in requestSyncForEnabledProviders() local
164 int userId = userHandle.getIdentifier(); in cancelSyncForEnabledProviders() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java83 final int userId = 123; in testShowAdminPoliciesWithComponent() local
99 final int userId = 123; in testShowAdminPoliciesWithoutComponent() local
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java320 public List<AssociatedDevice> getAssociatedDevicesForUser(@NonNull int userId) { in getAssociatedDevicesForUser()
353 public List<String> getAssociatedDeviceIdsForUser(@NonNull int userId) { in getAssociatedDeviceIdsForUser()
393 public void addAssociatedDeviceForUser(int userId, @NonNull AssociatedDevice device) { in addAssociatedDeviceForUser()
426 public void removeAssociatedDevice(int userId, @NonNull String deviceId) { in removeAssociatedDevice()
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java49 public void checkAccountManagementAndSetDisabled(int userId) { in checkAccountManagementAndSetDisabled()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserDetailsFragment.java34 public static UserDetailsFragment newInstance(int userId) { in newInstance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialUtils.java57 int userId) { in reportSuccessfulAttempt()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialUtils.java57 int userId) { in reportSuccessfulAttempt()
/packages/services/Car/service/src/com/android/car/pm/
DCarAppMetadataReader.java55 String packageName, int userId) throws NameNotFoundException { in findDistractionOptimizedActivitiesAsUser()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DProviderPreference.java49 public void checkAccountManagementAndSetDisabled(int userId) { in checkAccountManagementAndSetDisabled()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTaskTest.java195 int flags, int userId) { in deletePackageAsUser()
218 public PackageInfo getPackageInfoAsUser(String pkg, int flag, int userId) in getPackageInfoAsUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java83 private void expectQueryIntentActivities(int userId, String packageName, boolean launchable) { in expectQueryIntentActivities()
177 int userId) { in checkAppFound()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java184 public void setLastActiveUser(int userId) { in setLastActiveUser()
186 mContext.getContentResolver(), Settings.Global.LAST_ACTIVE_USER_ID, userId); in setLastActiveUser() local
197 public void setLastActiveUser(int userId, boolean skipGlobalSetting) { in setLastActiveUser()
200 mContext.getContentResolver(), Settings.Global.LAST_ACTIVE_USER_ID, userId); in setLastActiveUser() local
430 private List<UserInfo> getAllUsersExceptSpecifiedUser(int userId) { in getAllUsersExceptSpecifiedUser()
449 private List<UserInfo> getAllUsersExceptSystemUserAndSpecifiedUser(int userId) { in getAllUsersExceptSystemUserAndSpecifiedUser()
589 public boolean isPersistentUser(int userId) { in isPersistentUser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeleteNonRequiredAppsTask.java97 public void run(int userId) { in run()
118 private void removeNonInstalledPackages(Set<String> packages, int userId) { in removeNonInstalledPackages()

12345678910>>...14