/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTrackerImpl.kt | 92 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()
|
D | UserTracker.kt | 53 val userProfiles: List<UserInfo> constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 117 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/ |
D | KeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt | 133 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/ |
D | AppOpsPrivacyItemMonitorTest.kt | 111 `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()
|
D | PrivacyDialogControllerTest.kt | 580 `when`(userTracker.userProfiles).thenReturn(listOf( in <lambda>() 739 `when`(userTracker.userProfiles).thenReturn(listOf( in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | AppOpsPrivacyItemMonitor.kt | 94 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>()
|
D | PrivacyDialogController.kt | 204 val userInfos = userTracker.userProfiles in showDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/ |
D | MediaProjectionDevicePolicyModule.kt | 42 userTracker.userProfiles.find { it.isManagedProfile }?.userHandle in workProfileUserHandle()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeUserTracker.kt | 46 override val userProfiles: List<UserInfo> constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ChooserSelector.kt | 61 userTracker.userProfiles.forEach { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/ |
D | LockscreenAndDreamTargetFilter.kt | 129 for (userInfo in userTracker.userProfiles) { in getWorkProfileUser()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ConditionProviders.java | 61 public ConditionProviders(Context context, UserProfiles userProfiles, IPackageManager pm) { in ConditionProviders() argument 62 super(context, new Object(), userProfiles, pm); in ConditionProviders()
|
D | SnoozeHelper.java | 108 ManagedServices.UserProfiles userProfiles) { in SnoozeHelper() argument 116 mUserProfiles = userProfiles; in SnoozeHelper()
|
D | ManagedServices.java | 177 public ManagedServices(Context context, Object mutex, UserProfiles userProfiles, in ManagedServices() argument 181 mUserProfiles = userProfiles; in ManagedServices()
|
D | NotificationManagerService.java | 10657 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/ |
D | ChooserSelectorTest.kt | 66 whenever(mockUserTracker.userProfiles).thenReturn(listOf(UserInfo(), UserInfo())) in setup()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 443 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/ |
D | CameraServiceProxy.java | 945 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/ |
D | RestrictedLockUtilsInternal.java | 370 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/ |
D | ManagedServicesTest.java | 2101 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/ |
D | BubbleController.java | 446 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/ |
D | LockscreenSmartspaceController.kt | 549 for (userInfo in userTracker.userProfiles) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | FgsManagerController.kt | 251 currentProfileIds.addAll(userTracker.userProfiles.map { it.id }) in init()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceControllerTest.kt | 222 `when`(userTracker.userProfiles).thenReturn(userList) in <lambda>()
|