Home
last modified time | relevance | path

Searched refs:userMap (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepository.kt62 @GuardedBy("userMap") private val userMap = mutableMapOf<Int, StateFlow<List<ServiceInfo>>>() in getInstalledTilesComponents() constant in com.android.systemui.qs.pipeline.data.repository.InstalledTilesComponentRepositoryImpl
65 synchronized(userMap) { getForUserLocked(userId) } in getInstalledTilesComponents()
69 return synchronized(userMap) { getForUserLocked(userId).value } in getInstalledTilesComponents()
73 return userMap.getOrPut(userId) { in getInstalledTilesComponents()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/camera/data/repository/
DFakeCameraAutoRotateRepository.kt24 private val userMap = mutableMapOf<Int, MutableStateFlow<Boolean>>() constant in com.android.systemui.camera.data.repository.FakeCameraAutoRotateRepository
36 userMap.getOrPut(userId) { MutableStateFlow(false) } in getFlow()
DFakeCameraSensorPrivacyRepository.kt25 private val userMap = mutableMapOf<Int, MutableStateFlow<Boolean>>() constant in com.android.systemui.camera.data.repository.FakeCameraSensorPrivacyRepository
35 userMap.getOrPut(userId) { MutableStateFlow(false) } in getFlow()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/accessibility/data/repository/
DFakeOneHandedModeRepository.kt24 private val userMap = mutableMapOf<Int, MutableStateFlow<Boolean>>() constant in com.android.systemui.accessibility.data.repository.FakeOneHandedModeRepository
37 return userMap.getOrPut(userId) { MutableStateFlow(false) } in getFlow()
DFakeColorCorrectionRepository.kt24 private val userMap = mutableMapOf<Int, MutableStateFlow<Boolean>>() constant in com.android.systemui.accessibility.data.repository.FakeColorCorrectionRepository
37 return userMap.getOrPut(userId) { MutableStateFlow(false) } in getFlow()
DFakeColorInversionRepository.kt24 private val userMap = mutableMapOf<Int, MutableStateFlow<Boolean>>() constant in com.android.systemui.accessibility.data.repository.FakeColorInversionRepository
37 return userMap.getOrPut(userId) { MutableStateFlow(false) } in getFlow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/data/repository/
DCameraAutoRotateRepository.kt49 private val userMap = mutableMapOf<Int, StateFlow<Boolean>>() in isCameraAutoRotateSettingEnabled() constant
52 return userMap.getOrPut(userHandle.identifier) { in isCameraAutoRotateSettingEnabled()
DCameraSensorPrivacyRepository.kt51 private val userMap = mutableMapOf<Int, StateFlow<Boolean>>() constant in com.android.systemui.camera.data.repository.CameraSensorPrivacyRepositoryImpl
55 userMap.getOrPut(userHandle.identifier) { in isEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/
DColorCorrectionRepository.kt56 private val userMap = mutableMapOf<Int, Flow<Boolean>>() in isEnabled() constant in com.android.systemui.accessibility.data.repository.ColorCorrectionRepositoryImpl
59 userMap.getOrPut(userHandle.identifier) { in isEnabled()
DColorInversionRepository.kt56 private val userMap = mutableMapOf<Int, Flow<Boolean>>() in isEnabled() constant
59 userMap.getOrPut(userHandle.identifier) { in isEnabled()
DOneHandedModeRepository.kt56 private val userMap = mutableMapOf<Int, Flow<Boolean>>() in isEnabled() constant
59 userMap.getOrPut(userHandle.identifier) { in isEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java733 HashMap<String, AppEntry> userMap = mEntriesMap.get(userId); in removeUser() local
734 if (userMap != null) { in removeUser()
735 for (AppEntry appEntry : userMap.values()) { in removeUser()
1451 HashMap<String, AppEntry> userMap = mEntriesMap.get(stats.userHandle);
1452 if (userMap == null) {
1456 AppEntry entry = userMap.get(stats.packageName);
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java3247 final Map<Integer, UserInfo> userMap = new ArrayMap<>(); in setMockedUsers() local
3249 userMap.put(user.id, user); in setMockedUsers()
3267 return userMap.get(id); in setMockedUsers()