Home
last modified time | relevance | path

Searched refs:packagesHash (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/service/java/com/android/role/
DRoleUserState.java152 public void setPackagesHash(@Nullable String packagesHash) { in setPackagesHash() argument
154 if (Objects.equals(mPackagesHash, packagesHash)) { in setPackagesHash()
157 mPackagesHash = packagesHash; in setPackagesHash()
392 String packagesHash; in dump() local
396 packagesHash = mPackagesHash; in dump()
403 dumpOutputStream.write("packages_hash", RoleUserStateProto.PACKAGES_HASH, packagesHash); in dump()
/packages/modules/Permission/service/java/com/android/role/persistence/
DRolesPersistenceImpl.java105 String packagesHash = parser.getAttributeValue(null, ATTRIBUTE_PACKAGES_HASH); in parseRoles() local
124 return new RolesState(version, packagesHash, roles); in parseRoles()
180 String packagesHash = roles.getPackagesHash(); in serializeRoles() local
181 if (packagesHash != null) { in serializeRoles()
182 serializer.attribute(null, ATTRIBUTE_PACKAGES_HASH, packagesHash); in serializeRoles()
DRolesState.java61 public RolesState(int version, @Nullable String packagesHash, in RolesState() argument
64 mPackagesHash = packagesHash; in RolesState()
/packages/modules/Permission/tests/java/com/android/role/persistence/
DRolesPersistenceTest.kt85 assertThat(persistedState.packagesHash).isEqualTo(state.packagesHash) in testReadWrite()