Home
last modified time | relevance | path

Searched refs:isSystem (Results 1 – 25 of 26) sorted by relevance

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DAttrResourceLoader.java26 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
36 classAttrEnumToValue.put(key(viewName, enumName, name, isSystem), value); in processResourceXml()
37 knownClassAttrs.add(key(viewName, enumName, isSystem)); in processResourceXml()
42 boolean isSystem = "android".equals(namespace); in convertValueToEnum()
43 String className = findKnownAttrClass(attrName, viewClass, isSystem); in convertValueToEnum()
44 return classAttrEnumToValue.get(key(className, attrName, attrValue, isSystem)); in convertValueToEnum()
48 boolean isSystem = "android".equals(namespace); in hasAttributeFor()
49 return findKnownAttrClass(attrName, viewClass, isSystem) != null; in hasAttributeFor()
52 private String findKnownAttrClass(String attrName, Class<?> clazz, boolean isSystem) { in findKnownAttrClass() argument
55 if (isSystem) { in findKnownAttrClass()
[all …]
DDocumentLoader.java32 public void loadResourceXmlDirs(boolean isSystem, File... resourceXmlDirs) throws Exception { in loadResourceXmlDirs() argument
34 loadResourceXmlDir(resourceXmlDir, isSystem); in loadResourceXmlDirs()
46 private void loadResourceXmlDir(File resourceXmlDir, boolean isSystem) throws Exception { in loadResourceXmlDir() argument
52 loadResourceXmlFile(file, isSystem); in loadResourceXmlDir()
56 private void loadResourceXmlFile(File file, boolean isSystem) throws Exception { in loadResourceXmlFile() argument
58 xmlLoader.processResourceXml(file, parse(file), isSystem); in loadResourceXmlFile()
DIntegerResourceLoader.java27 public int getValue( String resourceName, boolean isSystem ) { in getValue() argument
28 Integer resourceId = resourceExtractor.getResourceId(resourceName, isSystem); in getValue()
30 … throw new IllegalArgumentException("No such resource (" + isSystem + "): " + resourceName); in getValue()
48 protected void processNode( Node node, String name, boolean isSystem ) { in processNode() argument
49 integerResolver.processResource( name, node.getTextContent(), this, isSystem ); in processNode()
DStringResourceLoader.java16 public String getValue(String resourceName, boolean isSystem) { in getValue() argument
17 return getValue(resourceExtractor.getResourceId(resourceName, isSystem)); in getValue()
20 @Override protected void processNode(Node node, String name, boolean isSystem) { in processNode() argument
21 stringResolver.processResource(name, node.getTextContent(), this, isSystem); in processNode()
DDimenResourceLoader.java19 public float getValue(String resourceName, boolean isSystem) { in getValue() argument
20 return getValue(resourceExtractor.getResourceId(resourceName, isSystem)); in getValue()
24 protected void processNode(Node node, String name, boolean isSystem) { in processNode() argument
25 dimenResolver.processResource(name, node.getTextContent(), this, isSystem); in processNode()
DViewLoader.java40 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
41 ViewNode topLevelNode = new ViewNode("top-level", new HashMap<String, String>(), isSystem); in processResourceXml()
44 if (isSystem) { in processResourceXml()
73 ViewNode viewNode = new ViewNode(name, attrMap, parent.isSystem); in processNode()
154 boolean isSystem = false; field in ViewLoader.ViewNode
156 public ViewNode(String name, Map<String, String> attributes, boolean isSystem) { in ViewNode() argument
159 this.isSystem = isSystem; in ViewNode()
208 …et = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, View.class, isSystem); in constructFragment()
245 …buteSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, clazz, isSystem); in constructView()
DXpathResourceXmlLoader.java21 …@Override protected void processResourceXml(File xmlFile, Document document, boolean isSystem) thr… in processResourceXml() argument
27 processNode(node, name, isSystem); in processResourceXml()
31 …protected abstract void processNode(Node node, String name, boolean isSystem) throws XPathExpressi… in processNode() argument
DXTagXmlResourceLoader.java38 …protected void processResourceXml( File xmlFile, Document document, boolean isSystem ) throws Exce… in processResourceXml() argument
48 processNode( node, name, isSystem ); in processResourceXml()
69 protected abstract void processNode( Node node, String name, boolean isSystem ); in processNode() argument
DStringArrayResourceLoader.java29 …@Override protected void processNode(Node node, String name, boolean isSystem) throws XPathExpress… in processNode() argument
38 arrayValues.add(stringResourceLoader.getValue(value , isSystem)); in processNode()
43 String valuePointer = (isSystem ? "android:" : "") + "array/" + name; in processNode()
DColorResourceLoader.java42 protected void processNode(Node node, String name, boolean isSystem) { in processNode() argument
43 colorResolver.processResource(name, node.getTextContent(), this, isSystem); in processNode()
DResourceReferenceResolver.java27 …id processResource(String name, String rawValue, ResourceValueConverter loader, boolean isSystem) { in processResource() argument
42 if (isSystem) { in processResource()
DResourceExtractor.java59 boolean isSystem = false; in getLocalResourceId()
60 return getResourceId(value, isSystem); in getLocalResourceId()
DPluralResourceLoader.java36 …@Override protected void processNode(Node node, String name, boolean isSystem) throws XPathExpress… in processNode() argument
46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem))); in processNode()
DXmlLoader.java15 …protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) thro… in processResourceXml() argument
DDrawableResourceLoader.java101 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
104 if (isSystem) { in processResourceXml()
DPreferenceLoader.java34 …protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Except… in processResourceXml() argument
DResourceLoader.java220 …outResourceXmlSubDirs( DocumentLoader layoutDocumentLoader, File xmlResourceDir, boolean isSystem ) in loadLayoutResourceXmlSubDirs() argument
223 …layoutDocumentLoader.loadResourceXmlDirs( isSystem, xmlResourceDir.listFiles( LAYOUT_DIR_FILE_FILT… in loadLayoutResourceXmlSubDirs()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/
DTestAttributeSet.java16 private boolean isSystem = false; field in TestAttributeSet
33 … AttrResourceLoader attrResourceLoader, Class<? extends View> viewClass, boolean isSystem) { in TestAttributeSet() argument
38 this.isSystem = isSystem; in TestAttributeSet()
211 if (value != null && isSystem && value.startsWith("@+id")) { in getAttributeValueInMap()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DTrustedCertificateStore.java91 public static final boolean isSystem(String alias) { in isSystem() method in TrustedCertificateStore
151 if (cert == null || (isSystem(alias) in getCertificate()
165 if (isSystem(alias)) { in fileForAlias()
615 if (isSystem(alias)) { in deleteCertificateEntry()
/external/clang/include/clang/Frontend/
DFrontendOptions.h105 bool isSystem() const { return IsSystem; } in isSystem() function
/external/conscrypt/platform/src/test/java/org/conscrypt/
DTrustedCertificateStoreTest.java816 if (!TrustedCertificateStore.isSystem(alias)) { in testSystemCaCertsUseCorrectFileNames()
921 boolean system = TrustedCertificateStore.isSystem(alias); in assertAliases()
967 if (TrustedCertificateStore.isSystem(alias)) { in file()
/external/clang/lib/Frontend/
DDependencyFile.cpp225 bool visitInputFile(StringRef Filename, bool isSystem,
DCompilerInstance.cpp733 Kind = Input.isSystem() ? SrcMgr::C_System : SrcMgr::C_User; in InitializeSourceManager()
/external/clang/include/clang/Serialization/
DASTReader.h200 virtual bool visitInputFile(StringRef Filename, bool isSystem, in visitInputFile() argument
255 bool visitInputFile(StringRef Filename, bool isSystem,
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp2156 UBool isSystem; in TestCanonicalID() member
2189 if (isSystemID != data[i].isSystem) { in TestCanonicalID()

12