Home
last modified time | relevance | path

Searched refs:DomainVerificationInternalUserState (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationInternalUserState.java32 public class DomainVerificationInternalUserState { class
46 public DomainVerificationInternalUserState(@UserIdInt int userId) { in DomainVerificationInternalUserState() method in DomainVerificationInternalUserState
51 public DomainVerificationInternalUserState addHosts(@NonNull ArraySet<String> newHosts) { in addHosts()
56 public DomainVerificationInternalUserState addHosts(@NonNull Set<String> newHosts) { in addHosts()
61 public DomainVerificationInternalUserState removeHost(String host) { in removeHost()
66 public DomainVerificationInternalUserState removeHosts(@NonNull ArraySet<String> newHosts) { in removeHosts()
71 public DomainVerificationInternalUserState removeHosts(@NonNull Set<String> newHosts) { in removeHosts()
76 public DomainVerificationInternalUserState retainHosts(@NonNull Set<String> hosts) { in retainHosts()
105 public DomainVerificationInternalUserState( in DomainVerificationInternalUserState() method in DomainVerificationInternalUserState
145 public @NonNull DomainVerificationInternalUserState setLinkHandlingAllowed( boolean value) { in setLinkHandlingAllowed()
[all …]
DDomainVerificationPkgState.java67 private final SparseArray<DomainVerificationInternalUserState> mUserStates;
102 @NonNull SparseArray<DomainVerificationInternalUserState> userStates, in DomainVerificationPkgState()
109 public DomainVerificationInternalUserState getUserState(@UserIdInt int userId) { in getUserState()
114 public DomainVerificationInternalUserState getOrCreateUserState( in getOrCreateUserState()
116 DomainVerificationInternalUserState userState = mUserStates.get(userId); in getOrCreateUserState()
118 userState = new DomainVerificationInternalUserState(userId); in getOrCreateUserState()
137 @NonNull SparseArray<DomainVerificationInternalUserState> other) { in userStatesEquals()
187 @NonNull SparseArray<DomainVerificationInternalUserState> userStates, in DomainVerificationPkgState()
246 public @NonNull SparseArray<DomainVerificationInternalUserState> getUserStates() { in getUserStates()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationSettings.java34 import com.android.server.pm.verify.domain.models.DomainVerificationInternalUserState;
245 SparseArray<DomainVerificationInternalUserState> oldSelectionStates = in mergePkgState()
248 SparseArray<DomainVerificationInternalUserState> newSelectionStates = in mergePkgState()
254 DomainVerificationInternalUserState newUserState = newSelectionStates.valueAt(index); in mergePkgState()
257 DomainVerificationInternalUserState oldUserState = oldSelectionStates.get(userId); in mergePkgState()
260 oldSelectionStates.put(userId, new DomainVerificationInternalUserState(userId, in mergePkgState()
DDomainVerificationPersistence.java36 import com.android.server.pm.verify.domain.models.DomainVerificationInternalUserState;
190 final SparseArray<DomainVerificationInternalUserState> userStates = new SparseArray<>(); in createPkgStateFromXml()
246 @NonNull SparseArray<DomainVerificationInternalUserState> userStates) { in readUserStates()
249 DomainVerificationInternalUserState userState = createUserStateFromXml(child); in readUserStates()
294 @NonNull SparseArray<DomainVerificationInternalUserState> states) throws IOException { in writeUserStates()
306 DomainVerificationInternalUserState userState = states.get(userId); in writeUserStates()
336 private static DomainVerificationInternalUserState createUserStateFromXml( in createUserStateFromXml()
351 return new DomainVerificationInternalUserState(userId, enabledHosts, allowLinkHandling); in createUserStateFromXml()
366 @NonNull DomainVerificationInternalUserState userState) throws IOException { in writeUserStateToXml()
DDomainVerificationDebug.java36 import com.android.server.pm.verify.domain.models.DomainVerificationInternalUserState;
235 SparseArray<DomainVerificationInternalUserState> userStates = in printState()
244 DomainVerificationInternalUserState userState = userStates.valueAt(index); in printState()
250 DomainVerificationInternalUserState userState = userStates.get(userId); in printState()
258 @Nullable DomainVerificationInternalUserState userState, in printState()
DDomainVerificationService.java76 import com.android.server.pm.verify.domain.models.DomainVerificationInternalUserState;
576 SparseArray<DomainVerificationInternalUserState> owningUserStates = in removeUserStatesForDomain()
582 SparseArray<DomainVerificationInternalUserState> array = pkgState.getUserStates(); in removeUserStatesForDomain()
586 DomainVerificationInternalUserState owningUserState = in removeUserStatesForDomain()
684 DomainVerificationInternalUserState userState = pkgState.getOrCreateUserState( in setDomainVerificationUserSelection()
734 DomainVerificationInternalUserState userState = in setDomainVerificationUserSelectionInternal()
745 DomainVerificationInternalUserState userState = in setDomainVerificationUserSelectionInternal()
761 @NonNull DomainVerificationInternalUserState userState, @UserIdInt int userId, in revokeOtherUserSelectionsLocked()
796 DomainVerificationInternalUserState approvedUserState = in revokeOtherUserSelectionsLocked()
836 DomainVerificationInternalUserState userState = pkgState.getUserState(userId); in getDomainVerificationUserState()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPersistenceTest.kt32 import com.android.server.pm.verify.domain.models.DomainVerificationInternalUserState in <lambda>()
193 userStates[1] = DomainVerificationInternalUserState(1).apply { in <lambda>()
200 userStates[1] = DomainVerificationInternalUserState(1).apply { in <lambda>()
317 userStates[id] = DomainVerificationInternalUserState(id).apply { in <lambda>()
/frameworks/base/services/
Dart-wear-profile20788 …ationPkgState;ILcom/android/server/pm/verify/domain/models/DomainVerificationInternalUserState;Lan…