Home
last modified time | relevance | path

Searched refs:getUsers (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DEnrollmentUtil.java191 if (keyphrase.getUsers() == null || keyphrase.getUsers().length == 0) { in verifyKeyphraseSoundModel()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DSoundTriggerTest.java74 assertTrue(Arrays.equals(keyphrase.getUsers(), unparceled.getUsers())); in testKeyphraseParcelUnparcel_zeroUsers()
94 assertTrue(Arrays.equals(keyphrase.getUsers(), unparceled.getUsers())); in testKeyphraseParcelUnparcel_pos()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java72 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in setup()
165 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in testProfileBadgeUnique()
318 List<UserInfo> users = mUserManagerService.getUsers(/* excludeDying */ false); in removeUsers()
DUserManagerTest.java133 List<UserInfo> list = mUserManager.getUsers(); in removeExistingUsers()
157 List<UserInfo> list = mUserManager.getUsers(); in testAddGuest()
200 List<UserInfo> list = mUserManager.getUsers(); in testCloneUser()
1387 List<UserInfo> list = mUserManager.getUsers(); in getUser()
1429 int count = mUserManager.getUsers().size(); in testMaxUsers()
1444 int count = mUserManager.getUsers().size(); in testGetUserCount()
1560 int userCount = mUserManager.getUsers().size(); in testConcurrentUserCreate()
1583 assertThat(mUserManager.getUsers().size()).isEqualTo(maxSupportedUsers); in testConcurrentUserCreate()
1700 List<UserInfo> users = mUserManager.getUsers(); in testCannotCreateAdditionalMainUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java343 public abstract @NonNull List<UserInfo> getUsers(boolean excludeDying); in getUsers() method in UserManagerInternal
350 public abstract @NonNull List<UserInfo> getUsers(boolean excludePartial, boolean excludeDying, in getUsers() method in UserManagerInternal
DCrossProfileIntentFilterHelper.java52 for (UserInfo userInfo : mUserManagerInternal.getUsers(false)) { in updateDefaultCrossProfileIntentFilter()
/frameworks/base/core/java/android/webkit/
DUserPackage.java102 return userManager.getUsers(); in getAllUsers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java92 protected List<UserRecord> getUsers() { in getUsers() method in UserDetailView.Adapter
93 return super.getUsers().stream().filter( in getUsers()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java244 when(mUserSwitcherController.getUsers()).thenReturn(buildUserRecords(1)); in testUserSwitcherModeViewPositionLandscape()
275 when(mUserSwitcherController.getUsers()).thenReturn(buildUserRecords(1)); in testUserSwitcherModeViewPositionPortrait()
311 when(mUserSwitcherController.getUsers()).thenReturn(buildUserRecords(1)); in testLessThanTwoUsersDoesNotAllowDropDown()
326 when(mUserSwitcherController.getUsers()).thenReturn(records); in testTwoOrMoreUsersDoesAllowDropDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java105 assertArrayEquals(new int[]{}, mSettings.getUsers()); in testGetUsers()
108 assertArrayEquals(new int[]{USER_0}, mSettings.getUsers()); in testGetUsers()
112 assertArrayEquals(new int[]{USER_0, USER_1}, mSettings.getUsers()); in testGetUsers()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java212 for(UserInfo userInfo : userManager.getUsers()) { in enablePackageForAllUsers()
233 for (UserInfo userInfo : userManager.getUsers()) { in installExistingPackageForAllUsers()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java147 List<UserInfo> users = mUserManager.getUsers(); in dump()
DUsbPermissionManager.java125 List<UserInfo> users = userManager.getUsers(); in dump()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java646 public int[] getUsers() { in getUsers() method in SoundTrigger.Keyphrase
687 if (getUsers() != null) { in writeToParcel()
688 dest.writeInt(getUsers().length); in writeToParcel()
689 dest.writeIntArray(getUsers()); in writeToParcel()
709 result = prime * result + Arrays.hashCode(getUsers()); in hashCode()
745 if (!Arrays.equals(getUsers(), other.getUsers())) { in equals()
755 + ", users=" + Arrays.toString(getUsers()) + "]"; in toString()
DConversionUtil.java141 aidlPhrase.users = Arrays.copyOf(apiPhrase.getUsers(), apiPhrase.getUsers().length); in api2aidlPhrase()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DTestModelEnrollmentDatabase.java101 Arrays.stream(keyphrase.getUsers()).boxed().toList(), in updateKeyphraseSoundModel()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java118 List<UserInfo> users = mUm.getUsers(); in handleMessage()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsUserLifecycleTests.java116 for (UserInfo user : mUm.getUsers()) { in testNoCpuDataForRemovedUser()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java256 protected List<UserInfo> getUsers() { in getUsers() method in RegisteredServicesCacheTest.TestServicesCache
262 for (UserInfo user : getUsers()) { in getUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DWatchlistLoggingHandlerTests.java109 }).when(mockUserManager).getUsers(); in setUp()
/frameworks/base/core/java/android/os/
DUserManager.java4872 List<UserInfo> users = getUsers(); in getUserCount()
4898 public @NonNull List<UserInfo> getUsers() { in getUsers() method in UserManager
4899 return getUsers(/*excludePartial= */ true, /* excludeDying= */ false, in getUsers()
4921 return getUsers(/*excludePartial= */ true, /* excludeDying= */ true, in getAliveUsers()
4937 public @NonNull List<UserInfo> getUsers(boolean excludeDying) { in getUsers() method in UserManager
4938 return getUsers(/*excludePartial= */ true, excludeDying, in getUsers()
4955 public @NonNull List<UserInfo> getUsers(boolean excludePartial, boolean excludeDying, in getUsers() method in UserManager
4958 return mService.getUsers(excludePartial, excludeDying, excludePreCreated); in getUsers()
4977 List<UserInfo> users = getUsers(/* excludePartial= */ true, excludeDying, in getUserHandles()
4999 List<UserInfo> users = getUsers(/* excludePartial= */ true, excludeDying, in getSerialNumbersOfUsers()
DIUserManager.aidl65 … List<UserInfo> getUsers(boolean excludePartial, boolean excludeDying, boolean excludePreCreated); in getUsers() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java183 List<UserInfo> users = mUserManager.getUsers();
353 List<UserInfo> users = mUserManager.getUsers(); in init()
441 @SuppressLint("MissingPermission") List<UserInfo> users = mUserManager.getUsers(); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java462 List<UserRecord> users = super.getUsers(); in refreshUserOrder()
475 protected ArrayList<UserRecord> getUsers() { in getUsers() method in KeyguardUserSwitcherController.KeyguardUserAdapter
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java148 final List<UserInfo> users = mUser.getUsers(); in measureExactStorage()

12345