Home
last modified time | relevance | path

Searched refs:mFallbackEnabledRoles (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/service/java/com/android/role/persistence/
DRolesState.java59 private final Set<String> mFallbackEnabledRoles; field in RolesState
87 mFallbackEnabledRoles = fallbackEnabledRoles; in RolesState()
127 return mFallbackEnabledRoles; in getFallbackEnabledRoles()
142 && Objects.equals(mFallbackEnabledRoles, that.mFallbackEnabledRoles); in equals()
147 return Objects.hash(mVersion, mPackagesHash, mRoles, mFallbackEnabledRoles); in hashCode()
/packages/modules/Permission/service/java/com/android/role/
DRoleUserState.java96 private ArraySet<String> mFallbackEnabledRoles = new ArraySet<>(); field in RoleUserState
216 return mFallbackEnabledRoles.contains(roleName); in isFallbackEnabled()
227 if (mFallbackEnabledRoles.contains(roleName) == fallbackEnabled) { in setFallbackEnabled()
231 mFallbackEnabledRoles.add(roleName); in setFallbackEnabled()
233 mFallbackEnabledRoles.remove(roleName); in setFallbackEnabled()
245 mFallbackEnabledRoles.addAll(mRoles.keySet()); in upgradeVersion()
249 mFallbackEnabledRoles.remove(roleName); in upgradeVersion()
251 Log.v(LOG_TAG, "Migrated fallback enabled roles: " + mFallbackEnabledRoles); in upgradeVersion()
300 mFallbackEnabledRoles.add(roleName); in addRoleName()
329 mFallbackEnabledRoles.remove(roleName); in setRoleNames()
[all …]