/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
D | ExpressionVisitorTest.java | 54 final Expr parsed = mParser.parse(input, null, null); in parse() local 55 assertSame(klass, parsed.getClass()); in parse() 56 return (T) parsed; in parse() 127 final TernaryExpr parsed = parse("a > b ? 5 : 4", TernaryExpr.class); in testTernary() local 129 assertTrue(parsed.getPred() instanceof ComparisonExpr); in testTernary() 130 assertTrue(parsed.getIfTrue() instanceof SymbolExpr); in testTernary() 131 assertTrue(parsed.getIfFalse() instanceof SymbolExpr); in testTernary() 132 ComparisonExpr pred = (ComparisonExpr) parsed.getPred(); in testTernary() 133 SymbolExpr ifTrue = (SymbolExpr) parsed.getIfTrue(); in testTernary() 134 SymbolExpr ifFalse = (SymbolExpr) parsed.getIfFalse(); in testTernary() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonEvent.java | 138 final String[] parsed = rawEvent.split(" "); in parseRawEvent() local 139 if (parsed.length < 2) { in parseRawEvent() 147 code = Integer.parseInt(parsed[0]); in parseRawEvent() 148 skiplength = parsed[0].length() + 1; in parseRawEvent() 155 if (parsed.length < 3) { in parseRawEvent() 159 cmdNumber = Integer.parseInt(parsed[1]); in parseRawEvent() 160 skiplength += parsed[1].length() + 1; in parseRawEvent() 167 if (parsed.length > 2 && parsed[2].equals(SENSITIVE_MARKER)) { in parseRawEvent() 168 skiplength += parsed[2].length() + 1; in parseRawEvent() 169 logMessage = parsed[0] + " " + parsed[1] + " {}"; in parseRawEvent() [all …]
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/ |
D | HtmlTest.kt | 31 val parsed = "<b>Hi</b> © > <".parseAsHtml().toString() in <lambda>() constant 32 assertEquals("Hi \u00a9 > <", parsed) in <lambda>() 36 val parsed = "<b>Hi</b> © > <".parseAsHtml(FROM_HTML_MODE_COMPACT).toString() in <lambda>() constant 37 assertEquals("Hi \u00a9 > <", parsed) in <lambda>() 41 val parsed = "<b>Hi</b> © > <" in <lambda>() constant 44 assertEquals("Hi \u00a9 > <", parsed) in <lambda>() 48 val parsed = "<b>Hi</b> © > <" in <lambda>() constant 51 assertEquals("Hi \u00a9 > <", parsed) in <lambda>()
|
/frameworks/base/tools/preload/ |
D | MemoryUsage.java | 53 String[] parsed = line.split(","); in MemoryUsage() local 55 nativeSharedPages = Integer.parseInt(parsed[1]); in MemoryUsage() 56 javaSharedPages = Integer.parseInt(parsed[2]); in MemoryUsage() 57 otherSharedPages = Integer.parseInt(parsed[3]); in MemoryUsage() 58 nativePrivatePages = Integer.parseInt(parsed[4]); in MemoryUsage() 59 javaPrivatePages = Integer.parseInt(parsed[5]); in MemoryUsage() 60 otherPrivatePages = Integer.parseInt(parsed[6]); in MemoryUsage() 61 allocCount = Integer.parseInt(parsed[7]); in MemoryUsage() 62 allocSize = Integer.parseInt(parsed[8]); in MemoryUsage() 63 freedCount = Integer.parseInt(parsed[9]); in MemoryUsage() [all …]
|
/frameworks/base/core/tests/coretests/src/android/metrics/ |
D | LogMakerTest.java | 60 LogMaker parsed = new LogMaker(out); in testSerializeDeserialize() local 62 assertEquals(category, parsed.getCategory()); in testSerializeDeserialize() 63 assertEquals(type, parsed.getType()); in testSerializeDeserialize() 64 assertEquals(subtype, parsed.getSubtype()); in testSerializeDeserialize() 65 assertEquals(timestamp, parsed.getTimestamp()); in testSerializeDeserialize() 66 assertEquals(packageName, parsed.getPackageName()); in testSerializeDeserialize() 67 assertEquals(counterName, parsed.getCounterName()); in testSerializeDeserialize() 68 assertEquals(bucket, parsed.getCounterBucket()); in testSerializeDeserialize() 69 assertEquals(value, parsed.getCounterValue()); in testSerializeDeserialize() 70 assertEquals("one", parsed.getTaggedData(1)); in testSerializeDeserialize() [all …]
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/parser/ |
D | SqlParserTest.kt | 42 val parsed = SqlParser.parse("DELETE FROM users where id > 3") in deleteQuery() constant 43 assertThat(parsed.errors, `is`(emptyList())) in deleteQuery() 44 assertThat(parsed.type, `is`(QueryType.DELETE)) in deleteQuery() 55 val parsed = SqlParser.parse("UPDATE users set name = :name where id = :id") in updateQuery() constant 56 assertThat(parsed.errors, `is`(emptyList())) in updateQuery() 57 assertThat(parsed.type, `is`(QueryType.UPDATE)) in updateQuery()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssSatelliteBlacklistHelper.java | 89 List<Integer> parsed = new ArrayList<>(strings.length); in parseSatelliteBlacklist() local 97 parsed.add(value); in parseSatelliteBlacklist() 100 return parsed; in parseSatelliteBlacklist()
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
D | ExecutionPathTest.java | 60 Expr parsed = lb.parse(mExpression, null, null); in simpleExpr() local 64 List<ExecutionPath> result = parsed.toExecutionPath(paths); in simpleExpr()
|
D | ExprModelTest.java | 204 MathExpr parsed = parse(lb, "user.name + \" \" + (user.lastName ?? \"\")", MathExpr.class); in testTernaryWithPlus() local 228 assertSame(parsed.getRight(), readNow.get(0)); in testTernaryWithPlus() 233 assertSame(parsed, readNow.get(0)); in testTernaryWithPlus() 773 final MathExpr parsed = parse(lb, "a * (3 + 2)", MathExpr.class); in testNoFlagsForNonBindingStatic() local 776 assertEquals(1, parsed.getRight().getInvalidFlags().cardinality()); in testNoFlagsForNonBindingStatic() 778 assertEquals(2, parsed.getLeft().getInvalidFlags().cardinality()); in testNoFlagsForNonBindingStatic() 789 final MathExpr parsed = parse(lb, "a * (3 + 2)", MathExpr.class); in testFlagsForBindingStatic() local 794 assertEquals(parsed.getRight().getInvalidFlags(), staticParsed.getInvalidFlags()); in testFlagsForBindingStatic() 796 assertEquals(2, parsed.getLeft().getInvalidFlags().cardinality()); in testFlagsForBindingStatic() 1135 final Expr parsed = binder.parse(input, null, null); in parse() local [all …]
|
/frameworks/support/navigation/safe-args-gradle-plugin/src/main/kotlin/androidx/navigation/safeargs/gradle/ |
D | SafeArgsPlugin.kt | 68 val parsed = XmlSlurper(false, false).parse(manifest) in BaseVariant() constant 69 return parsed.getProperty("@package").toString() in BaseVariant()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelWakelockReader.java | 156 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks() 172 if (parsed && name.length() > 0) { in parseProcWakelocks() 187 } else if (!parsed) { in parseProcWakelocks()
|
/frameworks/support/jetifier/jetifier/source-transformer/ |
D | rewritePackageNames.py | 67 parsed = json.loads("".join(nonCommentLines)) 68 return JetifierConfig(parsed)
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.cpp | 601 bool parsed = ConfigDescription::Parse(label, &config_descriptor); in ScreenDensityGroupTagHandler() local 602 if (parsed && in ScreenDensityGroupTagHandler() 628 bool parsed = ConfigDescription::Parse(text, &config_descriptor); in ScreenDensityGroupTagHandler() local 629 if (parsed && in ScreenDensityGroupTagHandler() 668 bool parsed = ConfigDescription::Parse(label, &config_descriptor); in LocaleGroupTagHandler() local 669 if (parsed && in LocaleGroupTagHandler() 695 bool parsed = ConfigDescription::Parse(text, &config_descriptor); in LocaleGroupTagHandler() local 696 if (parsed && in LocaleGroupTagHandler()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | ComposerHal.cpp | 978 bool parsed = false; in parse() local 981 parsed = parseSelectDisplay(length); in parse() 984 parsed = parseSetError(length); in parse() 987 parsed = parseSetChangedCompositionTypes(length); in parse() 990 parsed = parseSetDisplayRequests(length); in parse() 993 parsed = parseSetPresentFence(length); in parse() 996 parsed = parseSetReleaseFences(length); in parse() 999 parsed = parseSetPresentOrValidateDisplayResult(length); in parse() 1002 parsed = false; in parse() 1008 if (!parsed) { in parse()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
D | LayoutBinder.java | 300 final Expr parsed = mExpressionParser.parse(input, locationInFile, target); in parse() local 301 parsed.setBindingExpression(true); in parse() 302 return parsed; in parse()
|
/frameworks/base/tools/aapt2/ |
D | Flags.cpp | 164 flag.parsed = true; in Parse() 178 if (flag.required && !flag.parsed) { in Parse()
|
D | Flags.h | 62 bool parsed; member
|
D | readme.md | 19 - Fixed issue where ints and floats with trailing whitespace would not be parsed. (bug 62902869)
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/parser/ |
D | SqlParser.kt | 150 val parsed = parser.parse() in parse() constant 151 val statementList = parsed.sql_stmt_list() in parse()
|
/frameworks/native/services/surfaceflinger/EventLog/ |
D | EventLogTags.logtags | 2 # This is installed on the device, in /system/etc, and parsed by logcat.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SIMRecords.java | 2031 String[] parsed = new String[numPlmns]; in parseBcdPlmnList() local 2033 parsed[numValidPlmns] = IccUtils.bcdPlmnToString(data, i * packedBcdPlmnLenBytes); in parseBcdPlmnList() 2035 if (!TextUtils.isEmpty(parsed[numValidPlmns])) numValidPlmns++; in parseBcdPlmnList() 2037 String[] ret = Arrays.copyOf(parsed, numValidPlmns); in parseBcdPlmnList()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 795 Intent parsed = null; in parseIntentAttributeNoDefault() local 798 parsed = Intent.parseUri(value, /* flags =*/ 0); in parseIntentAttributeNoDefault() 803 return parsed; in parseIntentAttributeNoDefault() 808 Intent parsed = parseIntentAttributeNoDefault(parser, attribute); in parseIntentAttribute() local 809 if (parsed == null) { in parseIntentAttribute() 811 parsed = new Intent(Intent.ACTION_VIEW); in parseIntentAttribute() 813 return parsed; in parseIntentAttribute()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 1005 Package parsed = useCaches ? getCachedResult(packageFile, flags) : null; in parsePackage() local 1006 if (parsed != null) { in parsePackage() 1007 return parsed; in parsePackage() 1012 parsed = parseClusterPackage(packageFile, flags); in parsePackage() 1014 parsed = parseMonolithicPackage(packageFile, flags); in parsePackage() 1018 cacheResult(packageFile, flags, parsed); in parsePackage() 1027 return parsed; in parsePackage() 1170 private void cacheResult(File packageFile, int flags, Package parsed) { in cacheResult() argument 1185 final byte[] cacheEntry = toCacheEntry(parsed); in cacheResult()
|
/frameworks/base/proto/src/ |
D | ipconnectivity.proto | 371 // The total number of received RAs that could not be parsed.
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3369 Provider parsed = parseProviderInfoXml(providerId, ri, provider); in updateProvidersForPackageLocked() local 3370 if (parsed != null) { in updateProvidersForPackageLocked() 3373 provider.info = parsed.info; in updateProvidersForPackageLocked()
|