Home
last modified time | relevance | path

Searched refs:userProfiles (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTrackerImpl.kt92 return userProfiles.first { it.id == user } in <lambda>()
101 override var userProfiles: List<UserInfo> by SynchronizedDelegate(emptyList()) variable in com.android.systemui.settings.UserTrackerImpl
158 userProfiles = profiles.map { UserInfo(it) } in setUserIdInternal()
212 onProfilesChanged(userProfiles) in handleUserSwitchComplete()
222 userProfiles = profiles.map { UserInfo(it) } // save a "deep" copy in handleProfilesChanged()
259 val ids = userProfiles.map { it.toFullString() } in dump()
DUserTracker.kt53 val userProfiles: List<UserInfo> constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt117 tracker.userProfiles in <lambda>()
157 assertThat(tracker.userProfiles).hasSize(1) in <lambda>()
159 val info = tracker.userProfiles[0] in <lambda>()
179 assertThat(tracker.userProfiles).hasSize(1) in <lambda>()
181 val info = tracker.userProfiles[0] in <lambda>()
208 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId, profileID) in <lambda>()
233 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId, profileID) in <lambda>()
259 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId, profileID) in <lambda>()
269 assertThat(tracker.userProfiles.map { it.id }).containsExactly(tracker.userId) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt133 userInfos = userTracker.userProfiles, in <lambda>()
148 userInfos = userTracker.userProfiles, in <lambda>()
180 userInfos = userTracker.userProfiles, in <lambda>()
193 userInfos = userTracker.userProfiles, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitorTest.kt111 `when`(userTracker.userProfiles).thenReturn( in setup()
168 verify(userTracker).userProfiles in testUserTrackerCallback_userChanged()
175 verify(userTracker).userProfiles in testUserTrackerCallback_profilesChanged()
279 `when`(userTracker.userProfiles) in testListFilterCurrentUser()
303 `when`(userTracker.userProfiles) in testAlwaysGetPhoneCameraOps()
327 `when`(userTracker.userProfiles) in testAlwaysGetPhoneMicOps()
DPrivacyDialogControllerTest.kt580 `when`(userTracker.userProfiles).thenReturn(listOf( in <lambda>()
739 `when`(userTracker.userProfiles).thenReturn(listOf( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitor.kt94 if (userTracker.userProfiles.any { it.id == UserHandle.getUserId(uid) } || in <lambda>()
180 val currentUserProfiles = userTracker.userProfiles in <lambda>()
221 val currentUserIds = userTracker.userProfiles.map { it.id } in <lambda>()
DPrivacyDialogController.kt204 val userInfos = userTracker.userProfiles in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/
DMediaProjectionDevicePolicyModule.kt42 userTracker.userProfiles.find { it.isManagedProfile }?.userHandle in workProfileUserHandle()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
DFakeUserTracker.kt46 override val userProfiles: List<UserInfo> constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DChooserSelector.kt61 userTracker.userProfiles.forEach { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenAndDreamTargetFilter.kt129 for (userInfo in userTracker.userProfiles) { in getWorkProfileUser()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java61 public ConditionProviders(Context context, UserProfiles userProfiles, IPackageManager pm) { in ConditionProviders() argument
62 super(context, new Object(), userProfiles, pm); in ConditionProviders()
DSnoozeHelper.java108 ManagedServices.UserProfiles userProfiles) { in SnoozeHelper() argument
116 mUserProfiles = userProfiles; in SnoozeHelper()
DManagedServices.java177 public ManagedServices(Context context, Object mutex, UserProfiles userProfiles, in ManagedServices() argument
181 mUserProfiles = userProfiles; in ManagedServices()
DNotificationManagerService.java10657 public NotificationListeners(Context context, Object lock, UserProfiles userProfiles,
10659 this(context, lock, userProfiles, pm, UserManager.isHeadlessSystemUserMode());
10663 public NotificationListeners(Context context, Object lock, UserProfiles userProfiles,
10665 super(context, lock, userProfiles, pm);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DChooserSelectorTest.kt66 whenever(mockUserTracker.userProfiles).thenReturn(listOf(UserInfo(), UserInfo())) in setup()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java443 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() local
444 for (UserInfo uInfo : userProfiles) { in getManagedProfileId()
/frameworks/base/services/core/java/com/android/server/camera/
DCameraServiceProxy.java945 int[] userProfiles = mUserManager.getEnabledProfileIds(currentUserHandle); in getEnabledUserHandles() local
946 Set<Integer> handles = new ArraySet<>(userProfiles.length); in getEnabledUserHandles()
948 for (int id : userProfiles) { in getEnabledUserHandles()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java370 List<UserInfo> userProfiles = um.getProfiles(userId); in getManagedProfileId() local
371 for (UserInfo uInfo : userProfiles) { in getManagedProfileId()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java2101 public TestManagedServices(Context context, Object mutex, UserProfiles userProfiles, in TestManagedServices() argument
2103 super(context, mutex, userProfiles, pm); in TestManagedServices()
2151 public TestManagedServicesSettings(Context context, Object mutex, UserProfiles userProfiles, in TestManagedServicesSettings() argument
2153 super(context, mutex, userProfiles, pm, approvedServiceType); in TestManagedServicesSettings()
2164 … public TestManagedServicesNoSettings(Context context, Object mutex, UserProfiles userProfiles, in TestManagedServicesNoSettings() argument
2166 super(context, mutex, userProfiles, pm, approvedServiceType); in TestManagedServicesNoSettings()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java446 SparseArray<UserInfo> userProfiles = new SparseArray<>(); in onInit() local
448 userProfiles.put(user.id, user); in onInit()
450 mCurrentProfiles = userProfiles; in onInit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt549 for (userInfo in userTracker.userProfiles) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt251 currentProfileIds.addAll(userTracker.userProfiles.map { it.id }) in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt222 `when`(userTracker.userProfiles).thenReturn(userList) in <lambda>()

12