Home
last modified time | relevance | path

Searched refs:getUserState (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt101 val userState = service.getUserState(pkg1.packageName) in <lambda>()
138 service.getUserState(pkg1.packageName).apply { in <lambda>()
162 service.getUserState(pkg2.packageName).apply { in <lambda>()
213 val userState = service.getUserState(pkg1.packageName) in <lambda>()
263 val userState = service.getUserState(pkg1.packageName) in <lambda>()
327 val userState = service.getUserState(pkg1.packageName) in <lambda>()
373 val userState = service.getUserState(pkg1.packageName) in <lambda>()
451 val userState = service.getUserState(pkg1.packageName) in <lambda>()
518 assertThat(service.getUserState(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
536 assertThat(service.getUserState(pkgName).hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
[all …]
DDomainVerificationLegacySettingsTest.kt83 assertWithMessage(xml).that(newSettings.getUserState("com.test.one", 0)) in writeAndReadBackNormal()
85 assertWithMessage(xml).that(newSettings.getUserState("com.test.one", 10)) in writeAndReadBackNormal()
100 assertWithMessage(xml).that(newSettings.getUserState("com.test.three", 11)) in writeAndReadBackNormal()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationLegacySettings.java74 public int getUserState(@NonNull String packageName, @UserIdInt int userId) { in getUserState() method in DomainVerificationLegacySettings
78 return state.getUserState(userId); in getUserState()
198 public int getUserState(int userId) { in getUserState() method in DomainVerificationLegacySettings.LegacyState
DDomainVerificationService.java797 approvedPkgState.getUserState(userId); in revokeOtherUserSelectionsLocked()
836 DomainVerificationInternalUserState userState = pkgState.getUserState(userId); in getDomainVerificationUserState()
1280 return mLegacySettings.getUserState(packageName, userId); in getLegacyState()
1970 switch (mLegacySettings.getUserState(packageName, userId)) { in approvalLevelForDomainInternal()
1993 DomainVerificationInternalUserState userState = pkgState.getUserState(userId); in approvalLevelForDomainInternal()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDevicePermissionState.java31 public UserPermissionState getUserState(@UserIdInt int userId) { in getUserState() method in DevicePermissionState
DPermissionManagerServiceImpl.java4457 final UserPermissionState userState = mState.getUserState(userId);
4467 final UserPermissionState userState = mState.getUserState(userId);
4549 final UserPermissionState userState = mState.getUserState(userId);
4965 final UserPermissionState userState = mState.getUserState(userId);
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationPkgState.java109 public DomainVerificationInternalUserState getUserState(@UserIdInt int userId) { in getUserState() method in DomainVerificationPkgState
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java724 private AccessibilityUserState getUserState(int userId) { in getUserState() method in AccessibilityManagerService
2853 sendStateToClients(clientState, getUserState(userId).mUserClients); in sendStateToClients()
/frameworks/base/services/
Dart-wear-profile3368 PLcom/android/server/accessibility/AccessibilityManagerService;->getUserState(I)Lcom/android/server…