Home
last modified time | relevance | path

Searched refs:pkgNameToSignature (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPersistenceTest.kt95 pkgNameToSignature: (String) -> String? = { null } in <lambda>()
100 mockPkgState(0, pkgNameToSignature).let { put(it.packageName, it.id, it) } in <lambda>()
101 mockPkgState(1, pkgNameToSignature).let { put(it.packageName, it.id, it) } in <lambda>()
104 mockPkgState(2, pkgNameToSignature).let { put(it.packageName, it) } in <lambda>()
105 mockPkgState(3, pkgNameToSignature).let { put(it.packageName, it) } in <lambda>()
108 mockPkgState(4, pkgNameToSignature).let { put(it.packageName, it) } in <lambda>()
109 mockPkgState(5, pkgNameToSignature).let { put(it.packageName, it) } in <lambda>()
186 val stateZero = mockEmptyPkgState(0, pkgNameToSignature = { "ACTIVE" }).apply { in <lambda>()
198 val stateOne = mockEmptyPkgState(1, pkgNameToSignature = { "RESTORED" }).apply { in <lambda>()
299 pkgNameToSignature: (String) -> String? = { null } in <lambda>()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationPersistence.java94 @UserIdInt int userId, @Nullable Function<String, String> pkgNameToSignature) in writeToXml() argument
116 writePackageStates(activeSection, active, userId, pkgNameToSignature); in writeToXml()
122 pkgNameToSignature); in writeToXml()
130 @Nullable Function<String, String> pkgNameToSignature) throws IOException { in writePackageStates() argument
136 writePkgStateToXml(section, state, userId, pkgNameToSignature); in writePackageStates()
268 @Nullable Function<String, String> pkgNameToSignature) throws IOException { in writePkgStateToXml() argument
270 String signature = pkgNameToSignature == null in writePkgStateToXml()
271 ? null : pkgNameToSignature.apply(packageName); in writePkgStateToXml()
DDomainVerificationService.java1211 Function<String, String> pkgNameToSignature = null; in writeSettings() local
1213 pkgNameToSignature = pkgName -> { in writeSettings()
1228 mSettings.writeSettings(serializer, mAttachedPkgStates, userId, pkgNameToSignature); in writeSettings()