Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java144 public EqualsFilter(ValueProvider valueProvider, String attrValue) { in EqualsFilter() argument
146 mFilterValue = attrValue; in EqualsFilter()
158 public ContainsFilter(ValueProvider valueProvider, String attrValue) { in ContainsFilter() argument
160 mFilterValue = attrValue; in ContainsFilter()
172 public StartsWithFilter(ValueProvider valueProvider, String attrValue) { in StartsWithFilter() argument
174 mFilterValue = attrValue; in StartsWithFilter()
186 public PatternStringFilter(ValueProvider valueProvider, String attrValue) { in PatternStringFilter() argument
188 mPattern = new PatternMatcher(attrValue, PatternMatcher.PATTERN_SIMPLE_GLOB); in PatternStringFilter()
200 public RegexFilter(ValueProvider valueProvider, String attrValue) { in RegexFilter() argument
202 this.mPattern = Pattern.compile(attrValue); in RegexFilter()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1255 final String attrValue = in.getAttributeValue(attrNdx); in restoreFromXml() local
1257 attrName + " value=" + attrValue); in restoreFromXml()
1259 if (taskId == INVALID_TASK_ID) taskId = Integer.parseInt(attrValue); in restoreFromXml()
1261 realActivity = ComponentName.unflattenFromString(attrValue); in restoreFromXml()
1263 realActivitySuspended = Boolean.valueOf(attrValue); in restoreFromXml()
1265 origActivity = ComponentName.unflattenFromString(attrValue); in restoreFromXml()
1267 affinity = attrValue; in restoreFromXml()
1269 rootAffinity = attrValue; in restoreFromXml()
1272 rootHasReset = Boolean.valueOf(attrValue); in restoreFromXml()
1274 autoRemoveRecents = Boolean.valueOf(attrValue); in restoreFromXml()
[all …]
DActivityRecord.java1438 final String attrValue = in.getAttributeValue(attrNdx); in restoreFromXml() local
1440 "ActivityRecord: attribute name=" + attrName + " value=" + attrValue); in restoreFromXml()
1442 createTime = Long.valueOf(attrValue); in restoreFromXml()
1444 launchedFromUid = Integer.parseInt(attrValue); in restoreFromXml()
1446 launchedFromPackage = attrValue; in restoreFromXml()
1448 resolvedType = attrValue; in restoreFromXml()
1450 componentSpecified = Boolean.valueOf(attrValue); in restoreFromXml()
1452 userId = Integer.parseInt(attrValue); in restoreFromXml()
1454 taskDescription.restoreFromXml(attrName, attrValue); in restoreFromXml()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DLayoutFileParser.java245 String value = escapeQuotes(attr.attrValue.getText(), true); in parseExpressions()
250 L.e("Expecting '}' in expression '%s'", attr.attrValue.getText()); in parseExpressions()
258 valueLocation.startLine = attr.attrValue.getLine() - 1; in parseExpressions()
259 valueLocation.startOffset = attr.attrValue.getCharPositionInLine() + in parseExpressions()
260 attr.attrValue.getText().indexOf(strippedValue); in parseExpressions()
319 final String name = escapeQuotes(className.attrValue.getText(), true); in parseData()
322 className.attrValue.getLine() - 1, in parseData()
323 className.attrValue.getCharPositionInLine() + 1, in parseData()
324 className.attrValue.getLine() - 1, in parseData()
325 className.attrValue.getCharPositionInLine() + name.length() in parseData()
[all …]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java196 final String value = input.attrValue.getText(); in expressionAttributes()
197 isExpression = isExpressionText(input.attrValue.getText()); in expressionAttributes()
284 return isExpressionText(expressions.get(0).attrValue.getText()); in hasExpressionAttributes()
331 String textWithQuotes = attr.attrValue.getText(); in defaultReplacement()
/frameworks/base/core/java/android/app/
DActivityManager.java1163 public void restoreFromXml(String attrName, String attrValue) { in restoreFromXml() argument
1165 setLabel(attrValue); in restoreFromXml()
1167 setPrimaryColor((int) Long.parseLong(attrValue, 16)); in restoreFromXml()
1169 setBackgroundColor((int) Long.parseLong(attrValue, 16)); in restoreFromXml()
1171 setIconFilename(attrValue); in restoreFromXml()
1889 public void restoreFromXml(String attrName, String attrValue) { in restoreFromXml() argument
1891 taskWidth = Integer.parseInt(attrValue); in restoreFromXml()
1893 taskHeight = Integer.parseInt(attrValue); in restoreFromXml()
1895 screenOrientation = Integer.parseInt(attrValue); in restoreFromXml()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java390 int attrValue = arrayValue[index]; in parseStyleable() local
391 sRMap.put(attrValue, Pair.of(ResourceType.ATTR, attrName)); in parseStyleable()
392 revRAttrMap.put(attrName, attrValue); in parseStyleable()
/frameworks/base/tools/aapt2/xml/
DXmlDom.h100 const StringPiece16& attrValue);
DXmlDom.cpp365 const StringPiece16& attrValue) { in findChildWithAttribute() argument
382 if (attr && attrValue == attr->value) { in findChildWithAttribute()
/frameworks/data-binding/compilerCommon/
DXMLParser.g447 attribute : attrName=Name '=' attrValue=STRING ; // Our STRING is AttValue in spec
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParser.java483 public Token attrValue; field in XMLParser.AttributeContext
514 setState(89); _localctx.attrValue = match(STRING); in attribute()
/frameworks/base/core/java/android/content/
DIntent.java8815 final String attrValue = in.getAttributeValue(attrNdx); in restoreFromXml() local
8817 intent.setAction(attrValue); in restoreFromXml()
8819 intent.setData(Uri.parse(attrValue)); in restoreFromXml()
8821 intent.setType(attrValue); in restoreFromXml()
8823 intent.setComponent(ComponentName.unflattenFromString(attrValue)); in restoreFromXml()
8825 intent.setFlags(Integer.parseInt(attrValue, 16)); in restoreFromXml()