Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/
DAllowListUtils.java82 String[] entityAndCert = entityInAllowList.split(CERT_SPLITTER); in isMatch() local
83 if (entityAndCert == null) { in isMatch()
85 } else if (entityAndCert.length == 1 && entityAndCert[0] != null in isMatch()
86 && !entityAndCert[0].isBlank()) { in isMatch()
87 return entityAndCert[0].equals(entityName); in isMatch()
88 } else if (entityAndCert.length == 2 && entityAndCert[0] != null in isMatch()
89 && !entityAndCert[0].isBlank() && entityAndCert[1] != null in isMatch()
90 && !entityAndCert[1].isBlank()) { in isMatch()
91 return entityAndCert[0].equals(entityName) && entityAndCert[1].equals(certDigest); in isMatch()