Home
last modified time | relevance | path

Searched refs:parsed (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java138 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DWrappersTest.cs75 var parsed = TestWellKnownTypes.Parser.ParseFrom(bytes); in NonDefaultSingleValues()
77 Assert.AreEqual("x", parsed.StringField); in NonDefaultSingleValues()
78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues()
79 Assert.AreEqual(true, parsed.BoolField); in NonDefaultSingleValues()
80 Assert.AreEqual(12.5f, parsed.FloatField); in NonDefaultSingleValues()
81 Assert.AreEqual(12.25d, parsed.DoubleField); in NonDefaultSingleValues()
82 Assert.AreEqual(1, parsed.Int32Field); in NonDefaultSingleValues()
83 Assert.AreEqual(2L, parsed.Int64Field); in NonDefaultSingleValues()
84 Assert.AreEqual(3U, parsed.Uint32Field); in NonDefaultSingleValues()
85 Assert.AreEqual(4UL, parsed.Uint64Field); in NonDefaultSingleValues()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs131 var parsed = JsonParser.Default.Parse<TestWellKnownTypes>(json); in SingularWrappers_ExplicitNulls()
132 Assert.AreEqual(message, parsed); in SingularWrappers_ExplicitNulls()
148 IMessage parsed = (IMessage)Activator.CreateInstance(wrapperType); in Wrappers_Standalone()
150 JsonParser.Default.Merge(parsed, "null"); in Wrappers_Standalone()
151 Assert.AreEqual(expected, parsed); in Wrappers_Standalone()
153 JsonParser.Default.Merge(parsed, json); in Wrappers_Standalone()
155 Assert.AreEqual(expected, parsed); in Wrappers_Standalone()
171 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone()
173 Assert.AreEqual(expected, parsed); in BytesWrapper_Standalone()
237 var parsed = JsonParser.Default.Parse<T>(json);
[all …]
DGeneratedMessageTest.cs133 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_Empty()
134 Assert.AreEqual(message, parsed); in RoundTrip_Empty()
167 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_SingleValues()
168 Assert.AreEqual(message, parsed); in RoundTrip_SingleValues()
201 TestAllTypes parsed = TestAllTypes.Parser.ParseFrom(bytes); in RoundTrip_RepeatedValues()
202 Assert.AreEqual(message, parsed); in RoundTrip_RepeatedValues()
233 TestMap parsed = TestMap.Parser.ParseFrom(bytes); in RoundTrip_Maps()
234 Assert.AreEqual(message, parsed); in RoundTrip_Maps()
248 var parsed = TestMap.Parser.ParseFrom(bytes); in MapWithEmptyEntry()
249 Assert.AreEqual(1, parsed.MapInt32Bytes.Count); in MapWithEmptyEntry()
[all …]
/frameworks/base/tools/preload/
DMemoryUsage.java53 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/
DLogMakerTest.java61 LogMaker parsed = new LogMaker(out); in testSerializeDeserialize() local
63 assertEquals(category, parsed.getCategory()); in testSerializeDeserialize()
64 assertEquals(type, parsed.getType()); in testSerializeDeserialize()
65 assertEquals(subtype, parsed.getSubtype()); in testSerializeDeserialize()
66 assertEquals(timestamp, parsed.getTimestamp()); in testSerializeDeserialize()
67 assertEquals(packageName, parsed.getPackageName()); in testSerializeDeserialize()
68 assertEquals(counterName, parsed.getCounterName()); in testSerializeDeserialize()
69 assertEquals(bucket, parsed.getCounterBucket()); in testSerializeDeserialize()
70 assertEquals(value, parsed.getCounterValue()); in testSerializeDeserialize()
71 assertEquals("one", parsed.getTaggedData(1)); in testSerializeDeserialize()
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/
Dinput.py55 parsed = []
81 parsed.append( [task, pid, tgid, time, mark, line, lineno] )
92 return tracked_pids, driver_tgids, parsed
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/
DDeveloperTuningforkParserTest.java101 Settings parsed = Settings.parseFrom(settingsBinary); in checkSettings() local
103 assertThat(parsed).isEqualTo(settings); in checkSettings()
126 FidelityParams parsed = FidelityParams.parseFrom(devFidelityBinary); in checkFidelityParameters() local
128 assertThat(parsed).isEqualTo(devParameters1); in checkFidelityParameters()
/frameworks/base/services/core/java/com/android/server/location/
DGnssSatelliteBlacklistHelper.java86 List<Integer> parsed = new ArrayList<>(strings.length); in parseSatelliteBlacklist() local
94 parsed.add(value); in parseSatelliteBlacklist()
97 return parsed; in parseSatelliteBlacklist()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser_unittest.cc1768 FileDescriptorProto parsed; in TEST_F() local
1769 parser_->Parse(input_.get(), &parsed); in TEST_F()
1777 parsed.set_name("google/protobuf/unittest.proto"); in TEST_F()
1789 const FileDescriptor* actual = pool_.BuildFile(parsed); in TEST_F()
1790 parsed.Clear(); in TEST_F()
1793 actual->CopyTo(&parsed); in TEST_F()
1800 SortMessages(&parsed); in TEST_F()
1805 EXPECT_EQ(expected.DebugString(), parsed.DebugString()); in TEST_F()
1818 FileDescriptorProto parsed; in TEST_F() local
1819 parser_->Parse(input_.get(), &parsed); in TEST_F()
[all …]
/frameworks/ml/nn/tools/systrace_parser/
Dparse_systrace.py28 tracked_pids, driver_tgids, parsed = parse_trace_part(trace)
42 for [task, pid, tgid, time, mark, line, lineno] in parsed:
/frameworks/base/core/java/com/android/internal/os/
DKernelWakelockReader.java160 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks()
176 if (parsed && name.length() > 0) { in parseProcWakelocks()
191 } else if (!parsed) { in parseProcWakelocks()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp603 bool parsed = ConfigDescription::Parse(label, &config_descriptor); in ScreenDensityGroupTagHandler() local
604 if (parsed && in ScreenDensityGroupTagHandler()
630 bool parsed = ConfigDescription::Parse(text, &config_descriptor); in ScreenDensityGroupTagHandler() local
631 if (parsed && in ScreenDensityGroupTagHandler()
670 bool parsed = ConfigDescription::Parse(label, &config_descriptor); in LocaleGroupTagHandler() local
671 if (parsed && in LocaleGroupTagHandler()
697 bool parsed = ConfigDescription::Parse(text, &config_descriptor); in LocaleGroupTagHandler() local
698 if (parsed && in LocaleGroupTagHandler()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBUnknownFieldSetTest.m46 // An empty message that has been parsed from allFieldsData. So, it has
202 // Make sure fields are properly parsed to the UnknownFieldSet even when
236 GPBUnknownFieldSet* parsed = [[[GPBUnknownFieldSet alloc] init] autorelease];
237 [parsed mergeFromData:data];
238 GPBUnknownField* field2 = [parsed getField:1];
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp1186 bool parsed = false; in parse() local
1189 parsed = parseSelectDisplay(length); in parse()
1192 parsed = parseSetError(length); in parse()
1195 parsed = parseSetChangedCompositionTypes(length); in parse()
1198 parsed = parseSetDisplayRequests(length); in parse()
1201 parsed = parseSetPresentFence(length); in parse()
1204 parsed = parseSetReleaseFences(length); in parse()
1207 parsed = parseSetPresentOrValidateDisplayResult(length); in parse()
1210 parsed = false; in parse()
1216 if (!parsed) { in parse()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
Dbenchmarks.proto49 // The payload(s) for this dataset. They should be parsed or serialized
60 // over and over. A single message parsed repeatedly could yield unusually
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DFieldPresenceTest.java172 TestAllTypes parsed = TestAllTypes.parseFrom(message.toByteString()); in testLazyField() local
173 assertTrue(parsed.hasOptionalLazyMessage()); in testLazyField()
174 assertEquals(message.getOptionalLazyMessage(), parsed.getOptionalLazyMessage()); in testLazyField()
/frameworks/av/media/utils/
DEventLogTags.logtags2 # This is installed on the device, in /system/etc, and parsed by logcat.
/frameworks/native/services/surfaceflinger/EventLog/
DEventLogTags.logtags2 # This is installed on the device, in /system/etc, and parsed by logcat.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance.proto94 // If the input was successfully parsed but errors occurred when
104 // If the input was successfully parsed and the requested output was
108 // If the input was successfully parsed and the requested output was JSON,
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java524 PackageParser.Package parsed = PackageUtil.getPackageInfo(this, sourceFile); in processPackageUri() local
527 if (parsed == null) { in processPackageUri()
533 mPkgInfo = PackageParser.generatePackageInfo(parsed, null, in processPackageUri()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto221 // parsed and so all extensions are known.
362 // Should this field be parsed lazily? Lazy applies only to message-type
363 // fields. It means that when the outer message is initially parsed, the
364 // inner message's contents will not be parsed but instead stored in encoded
365 // form. The inner message will actually be parsed when it is first accessed.
384 // parsed in order to perform the check, defeating the purpose of lazy
389 // been parsed.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Ddescriptor.proto221 // parsed and so all extensions are known.
362 // Should this field be parsed lazily? Lazy applies only to message-type
363 // fields. It means that when the outer message is initially parsed, the
364 // inner message's contents will not be parsed but instead stored in encoded
365 // form. The inner message will actually be parsed when it is first accessed.
384 // parsed in order to perform the check, defeating the purpose of lazy
389 // been parsed.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DUnknownFieldSetTest.java340 UnknownFieldSet parsed = UnknownFieldSet.parseFrom(data); in testLargeVarint() local
341 UnknownFieldSet.Field field = parsed.getField(1); in testLargeVarint()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.proto265 // parsed and so all extensions are known.
428 // The parsed descriptor looks like:
496 // Should this field be parsed lazily? Lazy applies only to message-type
497 // fields. It means that when the outer message is initially parsed, the
498 // inner message's contents will not be parsed but instead stored in encoded
499 // form. The inner message will actually be parsed when it is first accessed.
518 // parsed in order to perform the check, defeating the purpose of lazy
523 // been parsed.

12