Searched refs:mustExist (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertUtils.java | 161 static List<String> getXmlNodeContents(@MustExist int mustExist, Element rootNode, in getXmlNodeContents() argument 175 if ((children.size() == 0 && mustExist != MUST_EXIST_UNENFORCED) in getXmlNodeContents() 188 if (mustExist == MUST_EXIST_EXACTLY_ONE && leafs.size() != 1) { in getXmlNodeContents() 193 if (mustExist == MUST_EXIST_AT_LEAST_ONE && leafs.size() == 0) { in getXmlNodeContents()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 409 private File getFileForDocId(String docId, boolean visible, boolean mustExist) in getFileForDocId() argument 412 return buildFile(root, docId, visible, mustExist); in getFileForDocId() 453 private File buildFile(RootInfo root, String docId, boolean visible, boolean mustExist) in buildFile() argument 466 if (mustExist && !target.exists()) { in buildFile()
|