/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
DimenResourceLoader.java | 19 public float getValue(String resourceName, boolean isSystem) { 20 return getValue(resourceExtractor.getResourceId(resourceName, isSystem)); 24 protected void processNode(Node node, String name, boolean isSystem) { 25 dimenResolver.processResource(name, node.getTextContent(), this, isSystem);
|
StringResourceLoader.java | 16 public String getValue(String resourceName, boolean isSystem) { 17 return getValue(resourceExtractor.getResourceId(resourceName, isSystem)); 20 @Override protected void processNode(Node node, String name, boolean isSystem) { 21 stringResolver.processResource(name, node.getTextContent(), this, isSystem);
|
DocumentLoader.java | 32 public void loadResourceXmlDirs(boolean isSystem, File... resourceXmlDirs) throws Exception { 34 loadResourceXmlDir(resourceXmlDir, isSystem); 46 private void loadResourceXmlDir(File resourceXmlDir, boolean isSystem) throws Exception { 52 loadResourceXmlFile(file, isSystem); 56 private void loadResourceXmlFile(File file, boolean isSystem) throws Exception { 58 xmlLoader.processResourceXml(file, parse(file), isSystem);
|
AttrResourceLoader.java | 26 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { 36 classAttrEnumToValue.put(key(viewName, enumName, name, isSystem), value); 37 knownClassAttrs.add(key(viewName, enumName, isSystem)); 42 boolean isSystem = "android".equals(namespace); 43 String className = findKnownAttrClass(attrName, viewClass, isSystem); 44 return classAttrEnumToValue.get(key(className, attrName, attrValue, isSystem)); 48 boolean isSystem = "android".equals(namespace); 49 return findKnownAttrClass(attrName, viewClass, isSystem) != null; 52 private String findKnownAttrClass(String attrName, Class<?> clazz, boolean isSystem) { 55 if (isSystem) { [all...] |
IntegerResourceLoader.java | 27 public int getValue( String resourceName, boolean isSystem ) { 28 Integer resourceId = resourceExtractor.getResourceId(resourceName, isSystem); 30 throw new IllegalArgumentException("No such resource (" + isSystem + "): " + resourceName); 48 protected void processNode( Node node, String name, boolean isSystem ) { 49 integerResolver.processResource( name, node.getTextContent(), this, isSystem );
|
XmlLoader.java | 15 protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception;
|
XTagXmlResourceLoader.java | 38 protected void processResourceXml( File xmlFile, Document document, boolean isSystem ) throws Exception { 48 processNode( node, name, isSystem ); 69 protected abstract void processNode( Node node, String name, boolean isSystem );
|
XpathResourceXmlLoader.java | 21 @Override protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { 27 processNode(node, name, isSystem); 31 protected abstract void processNode(Node node, String name, boolean isSystem) throws XPathExpressionException;
|
StringArrayResourceLoader.java | 29 @Override protected void processNode(Node node, String name, boolean isSystem) throws XPathExpressionException { 39 arrayValues.add(stringResourceLoader.getValue(value , isSystem)); 44 String valuePointer = (isSystem ? "android:" : "") + "array/" + name;
|
ColorResourceLoader.java | 42 protected void processNode(Node node, String name, boolean isSystem) { 43 colorResolver.processResource(name, node.getTextContent(), this, isSystem);
|
ViewLoader.java | 40 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { 41 ViewNode topLevelNode = new ViewNode("top-level", new HashMap<String, String>(), isSystem); 44 if (isSystem) { 73 ViewNode viewNode = new ViewNode(name, attrMap, parent.isSystem); 154 boolean isSystem = false; 156 public ViewNode(String name, Map<String, String> attributes, boolean isSystem) { 159 this.isSystem = isSystem; 208 TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, View.class, isSystem); 245 TestAttributeSet attributeSet = new TestAttributeSet(attributes, resourceExtractor, attrResourceLoader, clazz, isSystem); [all...] |
PluralResourceLoader.java | 36 @Override protected void processNode(Node node, String name, boolean isSystem) throws XPathExpressionException { 46 rules.add(new Plural(quantity, stringResourceLoader.getValue(value, isSystem)));
|
ResourceExtractor.java | 59 boolean isSystem = false; 60 return getResourceId(value, isSystem);
|
ResourceReferenceResolver.java | 27 public void processResource(String name, String rawValue, ResourceValueConverter loader, boolean isSystem) { 42 if (isSystem) {
|
DrawableResourceLoader.java | 95 * @param isSystem System resource 101 protected void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception { 104 if (isSystem) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/category/ |
PropertyCategory.java | 62 Assert.isTrue(system.isSystem()); 149 public boolean isSystem() {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
PermissionMonitor.java | 129 boolean isSystem = hasSystemPermission(app); 131 if (isNetwork || isSystem) { 136 mApps.put(uid, isSystem); 238 boolean isSystem = hasSystemPermission(app); 239 if (isNetwork || isSystem) { 244 mApps.put(appUid, isSystem); 247 apps.put(appUid, isSystem);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
TestAttributeSet.java | 16 private boolean isSystem = false; 33 AttrResourceLoader attrResourceLoader, Class<? extends View> viewClass, boolean isSystem) { 38 this.isSystem = isSystem; 211 if (value != null && isSystem && value.startsWith("@+id")) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ManagedServices.java | 116 ComponentName component, int userid, boolean isSystem, ServiceConnection connection, 118 return new ManagedServiceInfo(service, component, userid, isSystem, connection, 139 + (info.isSystem?" SYSTEM":"")); 287 if (!service.isSystem) { 404 userid, false /*isSystem*/, this, targetSdkVersion); 499 true /*isSystem*/, null, Build.VERSION_CODES.LOLLIPOP); 552 public boolean isSystem; 557 int userid, boolean isSystem, ServiceConnection connection, int targetSdkVersion) { 561 this.isSystem = isSystem; [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
KeyEventTest.java | 447 assertTrue(mKeyEvent.isSystem()); 450 assertTrue(mKeyEvent.isSystem()); 453 assertTrue(mKeyEvent.isSystem()); 456 assertTrue(mKeyEvent.isSystem()); 459 assertTrue(mKeyEvent.isSystem()); 462 assertTrue(mKeyEvent.isSystem()); 465 assertTrue(mKeyEvent.isSystem()); 468 assertTrue(mKeyEvent.isSystem()); 471 assertTrue(mKeyEvent.isSystem()); 474 assertTrue(mKeyEvent.isSystem()); [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ResolveCache.java | 182 final boolean isSystem = (info.activityInfo.applicationInfo.flags 188 if (isSystem && firstSystem == null) firstSystem = info;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
ResourceValueCompleter.java | 101 addMatches(repository, prefix, true /* isSystem */, results); 109 addMatches(repository, prefix, true /* isSystem */, results); 126 addMatches(repository, prefix, false /* isSystem */, results); 141 private static void addMatches(ResourceRepository repository, String prefix, boolean isSystem, 143 int typeStart = isSystem 163 if (isSystem) {
|
/packages/apps/Settings/src/com/android/settings/ |
HomeSettings.java | 154 if (pref.isSystem) { 294 boolean isSystem; 331 isSystem = (altFlags & ApplicationInfo.FLAG_SYSTEM) != 0; 342 isSystem = (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; 356 if (isSystem) {
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
TrustedCertificateStore.java | 86 public static final boolean isSystem(String alias) { 140 if (cert == null || (isSystem(alias) 154 if (isSystem(alias)) { 550 if (isSystem(alias)) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceChooser.java | 432 updateNewButton(false /*isSystem*/); 446 updateNewButton(true /*isSystem*/); 777 boolean isSystem = false; 786 isSystem = true; 789 if (!isSystem && itemName == null) { 799 mProjectButton.setSelection(!isSystem); 800 mSystemButton.setSelection(isSystem); 801 updateNewButton(isSystem); 812 private void updateNewButton(boolean isSystem) { 813 mNewButton.setEnabled(!isSystem && ResourceHelper.canCreateResourceType(mResourceType)) [all...] |