/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | UserTrackerImpl.kt | 91 return userProfiles.first { it.id == user } 100 override var userProfiles: List<UserInfo> by SynchronizedDelegate(emptyList()) 157 userProfiles = profiles.map { UserInfo(it) } 214 onProfilesChanged(userProfiles) 224 userProfiles = profiles.map { UserInfo(it) } // save a "deep" copy 261 val ids = userProfiles.map { it.toFullString() }
|
H A D | UserTracker.kt | 53 val userProfiles: List<UserInfo>
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
H A D | UserTrackerImplTest.kt | 117 tracker.userProfiles 157 assertThat(tracker.userProfiles).hasSize(1) 159 val info = tracker.userProfiles[0] 180 assertThat(tracker.userProfiles).hasSize(1) 182 val info = tracker.userProfiles[0] 209 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId, profileID) 234 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId, profileID) 260 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId, profileID) 270 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
H A D | KeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt | 135 userInfos = userTracker.userProfiles, 150 userInfos = userTracker.userProfiles, 182 userInfos = userTracker.userProfiles, 195 userInfos = userTracker.userProfiles,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
H A D | AppOpsPrivacyItemMonitorTest.kt | 111 `when`(userTracker.userProfiles).thenReturn( 168 verify(userTracker).userProfiles 175 verify(userTracker).userProfiles 279 `when`(userTracker.userProfiles) 303 `when`(userTracker.userProfiles) 327 `when`(userTracker.userProfiles)
|
H A D | PrivacyDialogControllerTest.kt | 580 `when`(userTracker.userProfiles).thenReturn(listOf( 739 `when`(userTracker.userProfiles).thenReturn(listOf(
|
H A D | PrivacyDialogControllerV2Test.kt | 562 `when`(userTracker.userProfiles).thenReturn(listOf( 766 `when`(userTracker.userProfiles).thenReturn(listOf(
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
H A D | AppOpsPrivacyItemMonitor.kt | 95 if (userTracker.userProfiles.any { it.id == UserHandle.getUserId(uid) } || 181 val currentUserProfiles = userTracker.userProfiles 223 val currentUserIds = userTracker.userProfiles.map { it.id }
|
H A D | PrivacyDialogController.kt | 204 val userInfos = userTracker.userProfiles
|
H A D | PrivacyDialogControllerV2.kt | 221 val userInfos = userTracker.userProfiles
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | RestrictedLockUtilsInternal.java | 118 final List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() local 119 for (UserInfo uInfo : userProfiles) { in getManagedProfileId()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/ |
H A D | MediaProjectionDevicePolicyModule.kt | 42 userTracker.userProfiles.find { it.isManagedProfile }?.userHandle
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/ |
H A D | WorkTileAutoAddable.kt | 64 maybeSend(userTracker.userProfiles)
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
H A D | FakeUserTracker.kt | 46 override val userProfiles: List<UserInfo>
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
H A D | NoteTaskController.kt | 140 userTracker.userProfiles 297 for (profile in userTracker.userProfiles) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/ |
H A D | LockscreenAndDreamTargetFilter.kt | 129 for (userInfo in userTracker.userProfiles) {
|
/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | ConditionProviders.java | 61 public ConditionProviders(Context context, UserProfiles userProfiles, IPackageManager pm) { in ConditionProviders() argument 62 super(context, new Object(), userProfiles, pm); in ConditionProviders()
|
H A D | SnoozeHelper.java | 108 ManagedServices.UserProfiles userProfiles) { in SnoozeHelper() argument 116 mUserProfiles = userProfiles; in SnoozeHelper()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsInternal.java | 357 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() local 358 for (UserInfo uInfo : userProfiles) { in getManagedProfileId()
|
/aosp14/frameworks/base/services/core/java/com/android/server/camera/ |
H A D | CameraServiceProxy.java | 1011 int[] userProfiles = mUserManager.getEnabledProfileIds(currentUserHandle); in getEnabledUserHandles() local 1012 Set<Integer> handles = new ArraySet<>(userProfiles.length); in getEnabledUserHandles() 1014 for (int id : userProfiles) { in getEnabledUserHandles()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ManagedServicesTest.java | 2263 public TestManagedServices(Context context, Object mutex, UserProfiles userProfiles, in TestManagedServices() argument 2265 super(context, mutex, userProfiles, pm); in TestManagedServices() 2318 public TestManagedServicesSettings(Context context, Object mutex, UserProfiles userProfiles, in TestManagedServicesSettings() argument 2320 super(context, mutex, userProfiles, pm, approvedServiceType); in TestManagedServicesSettings() 2331 … public TestManagedServicesNoSettings(Context context, Object mutex, UserProfiles userProfiles, in TestManagedServicesNoSettings() argument 2333 super(context, mutex, userProfiles, pm, approvedServiceType); in TestManagedServicesNoSettings()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
H A D | LockscreenSmartspaceController.kt | 581 for (userInfo in userTracker.userProfiles) {
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubbleController.java | 472 SparseArray<UserInfo> userProfiles = new SparseArray<>(); in onInit() local 474 userProfiles.put(user.id, user); in onInit() 476 mCurrentProfiles = userProfiles; in onInit()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | FgsManagerController.kt | 255 currentProfileIds.addAll(userTracker.userProfiles.map { it.id })
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
H A D | LockscreenSmartspaceControllerTest.kt | 222 `when`(userTracker.userProfiles).thenReturn(userList)
|