Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluationEngineTest.java98 Map<String, String> allowedInstallers = in testAllowedInstallers_oneElement() local
105 .setAllowedInstallersAndCert(allowedInstallers) in testAllowedInstallers_oneElement()
113 .setAllowedInstallersAndCert(allowedInstallers) in testAllowedInstallers_oneElement()
122 .setAllowedInstallersAndCert(allowedInstallers) in testAllowedInstallers_oneElement()
131 .setAllowedInstallersAndCert(allowedInstallers) in testAllowedInstallers_oneElement()
140 Map<String, String> allowedInstallers = new HashMap<>(2); in testAllowedInstallers_multipleElement() local
141 allowedInstallers.put(INSTALLER_1, INSTALLER_1_CERT); in testAllowedInstallers_multipleElement()
142 allowedInstallers.put(INSTALLER_2, INSTALLER_2_CERT); in testAllowedInstallers_multipleElement()
147 .setAllowedInstallersAndCert(allowedInstallers) in testAllowedInstallers_multipleElement()
156 .setAllowedInstallersAndCert(allowedInstallers) in testAllowedInstallers_multipleElement()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DAppIntegrityManagerServiceImplTest.java339 Map<String, String> allowedInstallers = in handleBroadcast_correctArgs() local
341 assertEquals(2, allowedInstallers.size()); in handleBroadcast_correctArgs()
342 assertEquals(PLAY_STORE_CERT, allowedInstallers.get(PLAY_STORE_PKG)); in handleBroadcast_correctArgs()
343 assertEquals(INSTALLER_CERTIFICATE_NOT_EVALUATED, allowedInstallers.get(ADB_INSTALLER)); in handleBroadcast_correctArgs()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java465 String allowedInstallers = metaData.getString(ALLOWED_INSTALLERS_METADATA_NAME); in getAllowedInstallers() local
466 if (allowedInstallers != null) { in getAllowedInstallers()
468 String[] installerCertPairs = allowedInstallers.split(ALLOWED_INSTALLER_DELIMITER); in getAllowedInstallers()