/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
D | FaceSettingsRepositoryImplTest.kt | 69 val userRepo = repository.forUser(USER_ID) in createsOneRepositoryPerUser() 73 assertThat(repository.forUser(USER_ID)).isSameInstanceAs(userRepo) in createsOneRepositoryPerUser() 74 assertThat(repository.forUser(USER_ID + 1)).isNotSameInstanceAs(userRepo) in createsOneRepositoryPerUser() 80 val userRepo = repository.forUser(USER_ID) in startsRepoImmediatelyWithAllSettingKeys() 98 val userRepo = repository.forUser(USER_ID) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/utils/ |
D | UserScopedService.kt | 50 fun forUser(user: UserHandle): T in interface() method 57 override fun forUser(user: UserHandle): T { in forUser() method in com.android.systemui.user.utils.UserScopedServiceImpl
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
D | FaceSettingsRepository.kt | 34 fun forUser(id: Int?): FaceUserSettingsRepository in <lambda>() method 47 override fun forUser(id: Int?): FaceUserSettingsRepository = in forUser() method in com.android.systemui.biometrics.data.repository.FaceSettingsRepositoryImpl
|
D | PromptRepository.kt | 127 _userId.map { id -> faceSettings.forUser(id) }.distinctUntilChanged() in id()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | CredentialDescriptionRegistryTest.java | 78 mCredentialDescriptionRegistry = CredentialDescriptionRegistry.forUser(USER_ID_1); in setUp() 85 .forUser(USER_ID_2); in testForUser_createsUniqueInstanceForEachUserID() 94 .forUser(USER_ID_1); in testForUser_returnsSameInstanceForSameUserID() 104 .forUser(USER_ID_1); in testClearUserSession_removesExistingSessionForUserID()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | TileSpecSettingsRepositoryTest.kt | 221 private fun TestScope.storeTilesForUser(specs: String, forUser: Int) { in storeTilesForUser() 222 secureSettings.putStringForUser(SETTING, specs, forUser) in storeTilesForUser() 226 private fun loadTilesForUser(forUser: Int): String? { in loadTilesForUser() 227 return secureSettings.getStringForUser(SETTING, forUser) in loadTilesForUser()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/ |
D | AccessibilityQsShortcutsRepositoryImplTest.kt | 91 private fun storeA11yQsShortcutTargetsForUser(a11yQsTargets: Set<String>, forUser: Int) { in storeA11yQsShortcutTargetsForUser() 95 forUser in storeA11yQsShortcutTargetsForUser()
|
D | NightDisplayRepositoryTest.kt | 78 whenever(forUser(eq(testUser))).thenReturn(colorDisplayManager) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/ |
D | NightDisplayRepository.kt | 158 colorDisplayManagerUserScopedService.forUser(user).nightDisplayAutoMode = autoMode in <lambda>() 164 colorDisplayManagerUserScopedService.forUser(user).isNightDisplayActivated = activated in <lambda>() 169 val colorDisplayManager = colorDisplayManagerUserScopedService.forUser(user) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/ |
D | FakeFaceSettingsRepository.kt | 36 override fun forUser(id: Int?) = userRepositories[id] ?: FaceUserSettingsRepositoryImpl.Empty method in com.android.systemui.biometrics.data.repository.FakeFaceSettingsRepository
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | PerUser.java | 44 public @NonNull T forUser(int userId) { in forUser() method in PerUser
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | CompanionAppBinder.java | 302 public synchronized @NonNull Map<String, List<ComponentName>> forUser( in forUser() method in CompanionAppBinder.CompanionServicesRegister 304 return super.forUser(userId); in forUser() 309 return forUser(userId).getOrDefault(packageName, Collections.emptyList()); in forPackage()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | ProviderRegistryGetSession.java | 124 mCredentialDescriptionRegistry = CredentialDescriptionRegistry.forUser(userId); in ProviderRegistryGetSession() 142 mCredentialDescriptionRegistry = CredentialDescriptionRegistry.forUser(userId); in ProviderRegistryGetSession()
|
D | CredentialDescriptionRegistry.java | 68 public static CredentialDescriptionRegistry forUser(int userId) { in forUser() method in CredentialDescriptionRegistry
|
D | CredentialManagerService.java | 231 CredentialDescriptionRegistry.forUser(userId) in handlePackageRemovedMultiModeLocked() 399 CredentialDescriptionRegistry.forUser(UserHandle.getCallingUserId()); in getFilteredResultFromRegistry() 1054 CredentialDescriptionRegistry.forUser(UserHandle.getCallingUserId()); in registerCredentialDescription() 1074 CredentialDescriptionRegistry.forUser(UserHandle.getCallingUserId()); in unregisterCredentialDescription()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | UserTileSpecRepository.kt | 116 private suspend fun storeTiles(@UserIdInt forUser: Int, tiles: List<TileSpec>) { in <lambda>() 127 forUser, in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/ |
D | NightDisplayTileDataInteractorTest.kt | 75 whenever(forUser(eq(testUser))).thenReturn(colorDisplayManager) in <lambda>()
|
D | NightDisplayTileUserActionInteractorTest.kt | 75 whenever(forUser(eq(testUser))).thenReturn(colorDisplayManager) in <lambda>()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PersonalAppsSuspensionHelper.java | 70 public static PersonalAppsSuspensionHelper forUser(Context context, @UserIdInt int userId) { in forUser() method in PersonalAppsSuspensionHelper
|
D | PolicyEnforcerCallbacks.java | 413 final String[] appsToSuspend = PersonalAppsSuspensionHelper.forUser(context, userId)
|
D | DevicePolicyManagerService.java | 11295 PersonalAppsSuspensionHelper.forUser(mContext, UserHandle.USER_SYSTEM).dump(pw); 16686 final int forUser = caller.getUserId(); in setPermissionPolicy() local 16688 DevicePolicyData userPolicy = getUserData(forUser); in setPermissionPolicy() 16691 mPolicyCache.setPermissionPolicy(forUser, policy); in setPermissionPolicy() 16692 saveSettingsLocked(forUser); in setPermissionPolicy()
|