/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | CarUserManagerHelper.java | 383 List<UserInfo> users = getAllUsers(); in getAllPersistentUsers() local 384 for (Iterator<UserInfo> iterator = users.iterator(); iterator.hasNext(); ) { in getAllPersistentUsers() 391 return users; in getAllPersistentUsers() 400 List<UserInfo> users = getAllUsers(); in getAllAdminUsers() local 402 for (Iterator<UserInfo> iterator = users.iterator(); iterator.hasNext(); ) { in getAllAdminUsers() 409 return users; in getAllAdminUsers() 418 List<UserInfo> users = getAllUsers(); in getAllUsersExceptGuests() local 420 for (Iterator<UserInfo> iterator = users.iterator(); iterator.hasNext(); ) { in getAllUsersExceptGuests() 427 return users; in getAllUsersExceptGuests() 437 List<UserInfo> users = mUserManager.getUsers(/* excludeDying= */true); in getAllUsersExceptSpecifiedUser() local [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UsersPreferenceProvider.java | 17 package com.android.car.settings.users; 85 List<Preference> users = new ArrayList<>(); in createUserList() local 90 users.add(createUserPreference(currUserInfo)); in createUserList() 97 users.add(createUserPreference(userInfo)); in createUserList() 103 users.add(createGuestUserPreference()); in createUserList() 106 return users; in createUserList()
|
D | UserGridRecyclerView.java | 17 package com.android.car.settings.users; 225 public UserAdapter(Context context, List<UserRecord> users) { in UserAdapter() argument 228 updateUsers(users); in UserAdapter() 245 public void updateUsers(List<UserRecord> users) { in updateUsers() argument 246 mUsers = users; in updateUsers()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | UserManagerCompatVNMr1.java | 106 List<UserHandle> users = mUserManager.getUserProfiles(); in enableAndResetCache() local 107 if (users != null) { in enableAndResetCache() 108 for (UserHandle user : users) { in enableAndResetCache() 125 List<UserHandle> users = mUserManager.getUserProfiles(); in getUserProfiles() local 126 return users == null ? Collections.<UserHandle>emptyList() : users; in getUserProfiles()
|
D | LauncherAppsCompatVO.java | 70 final List<UserHandle> users; in getCustomShortcutActivityList() local 73 users = UserManagerCompat.getInstance(mContext).getUserProfiles(); in getCustomShortcutActivityList() 76 users = new ArrayList<>(1); in getCustomShortcutActivityList() 77 users.add(packageUser.mUser); in getCustomShortcutActivityList() 80 for (UserHandle user : users) { in getCustomShortcutActivityList()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | DownloadRequest.java | 201 int[] users = null; in notifyOfDownload() local 203 users = ActivityManager.getService().getRunningUserIds(); in notifyOfDownload() 206 if (users == null) { in notifyOfDownload() 207 users = new int[] {UserHandle.ALL.getIdentifier()}; in notifyOfDownload() 214 for (int i = users.length - 1; i >= 0; i--) { in notifyOfDownload() 215 UserHandle targetUser = new UserHandle(users[i]); in notifyOfDownload() 216 if (users[i] != UserHandle.USER_SYSTEM) { in notifyOfDownload() 222 UserInfo info = userManager.getUserInfo(users[i]); in notifyOfDownload()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/data/ |
D | UidToSensitivityLiveData.java | 66 addSource(UsersLiveData.get(application), users -> { in UidToSensitivityLiveData() 69 if (!users.contains(mUsersToLiveData.keyAt(i))) { in UidToSensitivityLiveData() 75 int numNewUsers = users.size(); in UidToSensitivityLiveData() 77 UserHandle user = users.get(i); in UidToSensitivityLiveData()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/ |
D | RestrictedProfileTest.java | 17 package com.android.tv.settings.users; 137 private UserSetter addOtherUsers(UserInfo... users) { in addOtherUsers() argument 138 for (UserInfo user : users) { in addOtherUsers() 141 mUsers.addAll(Arrays.asList(users)); in addOtherUsers()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 373 List<UserInfo> users = mUserManager.getUsers(true); in updateMwi() local 374 for (int i = 0; i < users.size(); i++) { in updateMwi() 375 final UserInfo user = users.get(i); in updateMwi() 391 List<UserInfo> users = mUserManager.getUsers(true /* excludeDying */); in updateMwi() local 392 for (int i = 0; i < users.size(); i++) { in updateMwi() 393 final UserInfo user = users.get(i); in updateMwi() 550 List<UserInfo> users = mUserManager.getUsers(true); in updateCfi() local 551 for (UserInfo user : users) { in updateCfi()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountDashboardFragment.java | 28 import com.android.settings.users.AutoSyncDataPreferenceController; 29 import com.android.settings.users.AutoSyncPersonalDataPreferenceController; 30 import com.android.settings.users.AutoSyncWorkDataPreferenceController;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | AccountDashboardFragment.java | 28 import com.android.car.developeroptions.users.AutoSyncDataPreferenceController; 29 import com.android.car.developeroptions.users.AutoSyncPersonalDataPreferenceController; 30 import com.android.car.developeroptions.users.AutoSyncWorkDataPreferenceController;
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | AppLocationPermissionPreferenceController.java | 92 final List<UserHandle> users = mContext.getSystemService( in updateState() local 94 loadingInProgress.set(2 * users.size()); in updateState() 95 for (UserHandle user : users) { in updateState()
|
D | TopLevelLocationPreferenceController.java | 83 final List<UserHandle> users = mContext.getSystemService( in updateState() local 85 loadingInProgress.set(users.size()); in updateState() 86 for (UserHandle user : users) { in updateState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterpriseSetDefaultAppsPreferenceControllerTest.java | 83 final List<UserHandle> users = new ArrayList<>(number); in configureUsers() local 85 users.add(new UserHandle(i)); in configureUsers() 87 when(mFeatureFactory.userFeatureProvider.getUserProfiles()).thenReturn(users); in configureUsers()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | UserDetailsSettings.java | 17 package com.android.car.developeroptions.users; 148 List<UserInfo> users = mUserManager.getUsers(true); in enableCallsAndSms() local 149 for (UserInfo user: users) { in enableCallsAndSms()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDetailsSettings.java | 17 package com.android.settings.users; 148 List<UserInfo> users = mUserManager.getUsers(true); in enableCallsAndSms() local 149 for (UserInfo user: users) { in enableCallsAndSms()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UsersPreferenceProviderTest.java | 17 package com.android.car.settings.users; 77 List<UserInfo> users = Arrays.asList(TEST_OTHER_USER_1, TEST_GUEST_USER_1, in setUp() local 83 doReturn(users).when(mCarUserManagerHelper).getAllSwitchableUsers(); in setUp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/profileselector/ |
D | UserAdapter.java | 82 public UserAdapter(Context context, ArrayList<UserDetails> users) { in UserAdapter() argument 83 if (users == null) { in UserAdapter() 86 this.data = users; in UserAdapter()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | UserAdapter.java | 82 public UserAdapter(Context context, ArrayList<UserDetails> users) { in UserAdapter() argument 83 if (users == null) { in UserAdapter() 86 this.data = users; in UserAdapter()
|
/packages/apps/Settings/tests/robotests/assets/ |
D | grandfather_not_implementing_index_provider | 75 com.android.settings.users.AppRestrictionsFragment 76 com.android.settings.users.RestrictedProfileSettings 77 com.android.settings.users.UserDetailsSettings
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | SecurityFragment.java | 57 import com.android.tv.settings.users.AppRestrictionsFragment; 58 import com.android.tv.settings.users.RestrictedProfileModel; 59 import com.android.tv.settings.users.RestrictedProfilePinDialogFragment; 60 import com.android.tv.settings.users.UserSwitchListenerService;
|
D | FallbackHome.java | 34 import com.android.tv.settings.users.RestrictedProfileModel; 35 import com.android.tv.settings.users.RestrictedProfilePinDialogFragment;
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 234 ArrayList<Integer> users; in startAllBackgroundUsers() local 236 users = new ArrayList<>(mBackgroundUsersToRestart); in startAllBackgroundUsers() 241 for (Integer user : users) { in startAllBackgroundUsers()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | UsersFragment.java | 16 package com.google.android.car.kitchensink.users; 60 return inflater.inflate(R.layout.users, container, false); in onCreateView()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AdjustUserSensitiveFragment.java | 304 List<UserHandle> users = getApplication().getSystemService(UserManager.class) in updatePermissionFlags() local 307 int numUsers = users.size(); in updatePermissionFlags() 309 UserHandle user = users.get(userNum); in updatePermissionFlags()
|