HomeSort by relevance Sort by last modified time
    Searched refs:isSystem (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /external/robolectric/v1/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 {
38 arrayValues.add(stringResourceLoader.getValue(value , isSystem));
43 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) {
  /packages/apps/Settings/src/com/android/settings/notification/
ZenRuleInfo.java 14 if (isSystem != that.isSystem) return false;
38 public boolean isSystem;
ZenRuleSelectionDialog.java 108 if (!ri.isSystem) {
117 if (ri.isSystem) {
141 rt.isSystem = true;
155 rt.isSystem = true;
  /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/pm/
PackageSetting.java 77 public boolean isSystem() {
87 return isSystem();
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
Utils.java 136 public static boolean isSystem(PermissionApp app, ArraySet<String> launcherPkgs) {
137 return isSystem(app.getAppInfo(), launcherPkgs);
140 public static boolean isSystem(AppPermissions app, ArraySet<String> launcherPkgs) {
141 return isSystem(app.getPackageInfo().applicationInfo, launcherPkgs);
144 public static boolean isSystem(ApplicationInfo info, ArraySet<String> launcherPkgs) {
  /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/v1/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/packages/SystemUI/src/com/android/systemui/qs/customize/
TileQueryHelper.java 109 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) {
119 info.isSystem = isSystem;
137 public boolean isSystem;
  /packages/apps/Stk/src/com/android/stk/
BootCompletedReceiver.java 48 if (!android.os.Process.myUserHandle().isSystem()) {
  /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...]
  /frameworks/base/services/core/java/com/android/server/notification/
ManagedServices.java 156 ComponentName component, int userid, boolean isSystem, ServiceConnection connection,
158 return new ManagedServiceInfo(service, component, userid, isSystem, connection,
179 + (info.isSystem?" SYSTEM":"")
528 if (!service.isSystem && !service.isGuest(this)) {
600 registerServiceLocked(name, userid, true /* isSystem */);
605 registerServiceLocked(name, userid, false /* isSystem */);
609 final boolean isSystem) {
667 userid, isSystem, this, targetSdkVersion);
764 true /*isSystem*/, null /*connection*/, Build.VERSION_CODES.LOLLIPOP);
    [all...]

Completed in 798 milliseconds

1 2 3 4 5