/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderTest.java | 61 assertEquals(Uri.parse("content://com.example/"), in testValidateIncomingUri_Normal() 62 mCp.validateIncomingUri(Uri.parse("content://com.example/"))); in testValidateIncomingUri_Normal() 63 assertEquals(Uri.parse("content://com.example/foo/bar"), in testValidateIncomingUri_Normal() 64 mCp.validateIncomingUri(Uri.parse("content://com.example/foo/bar"))); in testValidateIncomingUri_Normal() 65 assertEquals(Uri.parse("content://com.example/foo%2Fbar"), in testValidateIncomingUri_Normal() 66 mCp.validateIncomingUri(Uri.parse("content://com.example/foo%2Fbar"))); in testValidateIncomingUri_Normal() 67 assertEquals(Uri.parse("content://com.example/foo%2F%2Fbar"), in testValidateIncomingUri_Normal() 68 mCp.validateIncomingUri(Uri.parse("content://com.example/foo%2F%2Fbar"))); in testValidateIncomingUri_Normal() 73 assertEquals(Uri.parse("content://com.example/"), in testValidateIncomingUri_Shady() 74 mCp.validateIncomingUri(Uri.parse("content://com.example//"))); in testValidateIncomingUri_Shady() [all …]
|
D | ContentResolverTest.java | 113 Uri.parse("content://com.example/"), new Size(1280, 960), null, in testLoadThumbnail_Normal() 128 Uri.parse("content://com.example/"), new Size(320, 240), null, in testLoadThumbnail_Scaling() 143 Uri.parse("content://com.example/"), new Size(240, 320), null, in testLoadThumbnail_Aspect() 158 Uri.parse("content://com.example/"), new Size(320, 240), null, in testLoadThumbnail_Tiny() 174 Uri.parse("content://com.example/"), new Size(1080, 540), null, in testLoadThumbnail_Large() 186 assertTranslate(Uri.parse("content://com.example/path/?foo=bar&baz=meow")); in testTranslateDeprecatedDataPath() 187 assertTranslate(Uri.parse("content://com.example/path/subpath/12/")); in testTranslateDeprecatedDataPath() 188 assertTranslate(Uri.parse("content://com.example/path/subpath/12")); in testTranslateDeprecatedDataPath() 189 assertTranslate(Uri.parse("content://com.example/path/12")); in testTranslateDeprecatedDataPath() 190 assertTranslate(Uri.parse("content://com.example/")); in testTranslateDeprecatedDataPath() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 49 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); in testParcelling() 80 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri() 93 Uri.parse("foo:bob%20lee").getSchemeSpecificPart()); in testStringUri() 95 Uri.parse("foo:bob%20lee").getEncodedSchemeSpecificPart()); in testStringUri() 97 Uri.parse("foo:/bob%20lee").getEncodedPath()); in testStringUri() 98 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 100 Uri.parse("foo:?bob%20lee").getEncodedQuery()); in testStringUri() 101 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); in testStringUri() 103 Uri.parse("foo:#bob%20lee").getEncodedFragment()); in testStringUri() 108 assertTrue(Uri.parse("bob").isHierarchical()); in testStringUriIsHierarchical() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 52 setClock(Instant.parse("2015-11-20T10:15:30.00Z")); in testSimpleMonth() 54 ZonedDateTime.parse("2010-11-14T00:00:00.000Z"), in testSimpleMonth() 63 ZonedDateTime.parse("2015-11-14T00:00:00.00Z"), in testSimpleMonth() 64 ZonedDateTime.parse("2015-12-14T00:00:00.00Z")), it.next()); in testSimpleMonth() 67 ZonedDateTime.parse("2015-10-14T00:00:00.00Z"), in testSimpleMonth() 68 ZonedDateTime.parse("2015-11-14T00:00:00.00Z")), it.next()); in testSimpleMonth() 72 setClock(Instant.parse("2015-01-01T10:15:30.00Z")); in testSimpleDays() 74 ZonedDateTime.parse("2010-11-14T00:11:00.000Z"), in testSimpleDays() 75 ZonedDateTime.parse("2010-11-20T00:11:00.000Z"), in testSimpleDays() 83 ZonedDateTime.parse("2010-11-17T00:11:00.00Z"), in testSimpleDays() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | CutoutSpecificationTest.java | 140 assertThrows(NullPointerException.class, () -> mParser.parse(null)); in parse_nullString_shouldTriggerException() 145 CutoutSpecification cutoutSpecification = mParser.parse(""); in parse_emptyString_pathShouldBeNull() 151 CutoutSpecification cutoutSpecification = mParser.parse(WITHOUT_BIND_CUTOUT_SPECIFICATION); in parse_withoutBindMarker_shouldHaveNoLeftBound() 157 CutoutSpecification cutoutSpecification = mParser.parse(WITHOUT_BIND_CUTOUT_SPECIFICATION); in parse_withoutBindMarker_shouldHaveNoRightBound() 163 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveLeftBound() 169 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveTopBound() 175 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveRightBound() 181 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldHaveBottomBound() 187 CutoutSpecification cutoutSpecification = mParser.parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_shouldMatchExpectedSafeInset() 194 .parse(WITH_BIND_CUTOUT_SPECIFICATION); in parse_withBindMarker_tabletLikeDevice_shouldHaveLeftBound() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 70 Uri.parse("content://c/a/"), in testUri() 71 Uri.parse("content://c/"), in testUri() 72 Uri.parse("content://x/"), in testUri() 73 Uri.parse("content://c/b/"), in testUri() 74 Uri.parse("content://c/a/a1/1/"), in testUri() 75 Uri.parse("content://c/a/a1/2/"), in testUri() 76 Uri.parse("content://c/b/1/"), in testUri() 77 Uri.parse("content://c/b/2/"), in testUri() 104 Uri.parse("content://c/"), in testUriNotNotify() 105 Uri.parse("content://x/"), in testUriNotNotify() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertXmlTest.java | 48 CertXml certXml = CertXml.parse(certXmlBytes); in parse_succeeds() 55 CertXml.parse(TestData.readTestFile("xml/valid-cert-file-no-intermediates.xml")); in parse_succeedsIfNoIntermediateCerts() 61 CertXml certXml = CertXml.parse(certXmlBytes); in parse_checkIntermediateCerts() 70 CertXml certXml = CertXml.parse(certXmlBytes); in parse_checkEndpointCerts() 78 CertXml.parse( in parse_doesNotThrowIfNoRefreshInterval() 89 CertXml.parse( in parse_throwsIfNoEndpointCert() 101 CertXml.parse( in parse_throwsIfNoSerial() 113 CertXml.parse( in parse_throwsIfTwoSerials() 121 CertXml certXml = CertXml.parse(certXmlBytes); in parseAndValidateAllCerts_succeeds() 132 CertXml certXml = CertXml.parse(certXmlBytes); in parseAndValidate_returnsExpectedCertPath() [all …]
|
D | SigXmlTest.java | 46 SigXml sigXml = SigXml.parse(sigXmlBytes); in parseAndVerifyFileSignature_succeeds() 53 SigXml sigXml = SigXml.parse(sigXmlBytes); in parseAndVerifyFileSignature_throwsIfExpiredCert() 64 SigXml sigXml = SigXml.parse(sigXmlBytes); in parseAndVerifyFileSignature_throwsIfInvalidSignature() 79 SigXml sigXml = SigXml.parse(sigXmlBytes); in parseAndVerifyFileSignature_throwsIfRootCertWithWrongCommonName() 91 SigXml.parse(TestData.readTestFile("xml/valid-sig-file-no-intermediates.sig.xml")); in parse_succeedsWithoutIntermediateCerts() 100 SigXml.parse( in parse_throwsIfNoSignerCert() 112 SigXml.parse( in parse_throwsIfTwoSignerCerts() 124 SigXml.parse( in parse_throwsIfNoSignatureValue() 136 SigXml.parse( in parse_throwsIfTwoSignatureValues()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | VisualVoicemailSmsParserTest.java | 28 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing() 44 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing_TrailingSemiColon() 60 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing_EmptyPrefix() 76 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing_EmptyField() 83 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_NotVvm() 91 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_PrefixMismatch() 99 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MissingFirstColon() 107 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MissingSecondColon() 115 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MessageEndAfterClientPrefix() 123 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MessageEndAfterPrefix() [all …]
|
D | NitzDataTest.java | 33 assertNull(NitzData.parse("38/06/20,00:00:00+0")); in testParse_dateOutsideAllowedRange() 41 assertNull(NitzData.parse("38/06/20,00:00:00")); in testParse_missingRequiredFields() 49 NitzData nitz = NitzData.parse("15/06/20,01:02:03-1,0"); in testParse_withDst() 56 NitzData nitz = NitzData.parse("15/06/20,01:02:03+8,1"); in testParse_withDst() 63 NitzData nitz = NitzData.parse("15/06/20,01:02:03-8,1"); in testParse_withDst() 74 NitzData nitz = NitzData.parse("15/06/20,01:02:03+4"); in testParse_noDstField() 81 NitzData nitz = NitzData.parse("15/06/20,01:02:03-4"); in testParse_noDstField() 91 NitzData nitz = NitzData.parse("15/06/20,01:02:03-32,1,America!Los_Angeles"); in testParse_androidEmulatorTimeZoneExtension() 100 assertNotNull(NitzData.parse("15/06/20,01:02:03-32").toString()); in testToString() 101 assertNotNull(NitzData.parse("15/06/20,01:02:03-32,4").toString()); in testToString() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccPkcs15.java | 314 tlvRule.parse(data, false); in parseOdf() 318 tlvAsnPath.parse(ruleString, true); in parseOdf() 319 tlvPath.parse(tlvAsnPath.getValue(), true); in parseOdf() 338 acRules = dodfTag.parse(acRules, false); in parseDodf() 342 ruleString = commonObjectAttributes.parse(ruleString, false); in parseDodf() 346 ruleString = commonDataObjectAttributes.parse(ruleString, false); in parseDodf() 351 ruleString = subClassAttributes.parse(ruleString, false); in parseDodf() 356 oidDoTag.parse(ruleString, true); in parseDodf() 360 oidDo.parse(ruleString, true); in parseDodf() 364 oidTag.parse(ruleString, false); in parseDodf() [all …]
|
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | CodeUtilsTest.kt | 64 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_true() 73 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_notStatic() 82 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_differentClass() 91 StaticJavaParser.parse(code), "org.example.Test", "") in checkWildcardStaticImported_notWildcard() 100 StaticJavaParser.parse(code), "org.example.Test")) in isClassImportedOrSamePackage_imported() 108 StaticJavaParser.parse(code), "org.example.test.Test")) in isClassImportedOrSamePackage_samePackage() 117 StaticJavaParser.parse(code), "org.example.Test2")) in isClassImportedOrSamePackage_false() 126 val imported = CodeUtils.staticallyImportedMethods(StaticJavaParser.parse(code), in staticallyImportedMethods_ab() 138 val imported = CodeUtils.staticallyImportedMethods(StaticJavaParser.parse(code), in staticallyImportedMethods_differentClass() 150 val imported = CodeUtils.staticallyImportedMethods(StaticJavaParser.parse(code), in staticallyImportedMethods_notStatic()
|
D | ProtoLogCallProcessorTest.kt | 69 visitor.process(StaticJavaParser.parse(code), processor, "") in process_samePackage() 96 visitor.process(StaticJavaParser.parse(code), processor, "") in process_imported() 115 visitor.process(StaticJavaParser.parse(code), processor, "") in process_importedStatic() 133 visitor.process(StaticJavaParser.parse(code), processor, "") in process_groupNotImported() 150 visitor.process(StaticJavaParser.parse(code), processor, "") in process_protoLogNotImported() 165 visitor.process(StaticJavaParser.parse(code), processor, "") in process_unknownGroup() 179 visitor.process(StaticJavaParser.parse(code), processor, "") in process_staticGroup() 193 visitor.process(StaticJavaParser.parse(code), processor, "") in process_badGroup() 207 visitor.process(StaticJavaParser.parse(code), processor, "") in process_invalidSignature() 223 visitor.process(StaticJavaParser.parse(code), processor, "") in process_disabled()
|
D | LogParserTest.kt | 67 fun parse() { in parse() method in com.android.protolog.tool.LogParserTest 79 parser.parse(buildProtoInput(logBuilder), getConfigDummyStream(), printStream) in parse() 101 parser.parse(buildProtoInput(logBuilder), getConfigDummyStream(), printStream) in parse_formatting() 124 parser.parse(buildProtoInput(logBuilder), getConfigDummyStream(), printStream) in parse_invalidParamsTooMany() 144 parser.parse(buildProtoInput(logBuilder), getConfigDummyStream(), printStream) in parse_invalidParamsNotEnough() 157 parser.parse(stream, getConfigDummyStream(), printStream) in parse_invalidMagicNumber() 169 parser.parse(stream, getConfigDummyStream(), printStream) in parse_invalidVersion() 182 parser.parse(buildProtoInput(logBuilder), getConfigDummyStream(), printStream) in parse_noConfig()
|
D | SourceTransformerTest.kt | 176 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() 190 code = StaticJavaParser.parse(out) in <lambda>() 213 var code = StaticJavaParser.parse(TEST_CODE_MULTICALLS) in <lambda>() 232 code = StaticJavaParser.parse(out) in <lambda>() 255 var code = StaticJavaParser.parse(TEST_CODE_MULTILINE) in <lambda>() 270 code = StaticJavaParser.parse(out) in <lambda>() 293 var code = StaticJavaParser.parse(TEST_CODE_NO_PARAMS) in <lambda>() 307 code = StaticJavaParser.parse(out) in <lambda>() 327 var code = StaticJavaParser.parse(TEST_CODE) in <lambda>() 341 code = StaticJavaParser.parse(out) in <lambda>() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceFilter_test.cpp | 32 ASSERT_EQ(NO_ERROR, filter.parse(String8(""))); in TEST() 47 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 57 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 68 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 80 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr_FR,sw360dp,normal,en_US"))); in TEST() 91 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr"))); in TEST() 102 ASSERT_EQ(NO_ERROR, filter.parse(String8("fr_FR,en_US,normal,large,xxhdpi,sw320dp"))); in TEST() 115 ASSERT_EQ(NO_ERROR, filter.parse(String8("sw600dp"))); in TEST() 128 ASSERT_EQ(NO_ERROR, filter.parse(String8("de-rDE"))); in TEST() 139 EXPECT_EQ(NO_ERROR, filter.parse(String8("de_DE"))); in TEST() [all …]
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | CsvParserTest.java | 67 CsvParser.parse(is, collector); in testEmpty() 79 CsvParser.parse(is, collector); in testOnlyNewline() 91 CsvParser.parse(is, collector); in testTwoLines() 106 CsvParser.parse(is, collector); in testEscapedEmpty() 119 CsvParser.parse(is, collector); in testEscapedText() 132 CsvParser.parse(is, collector); in testEscapedQuotes() 145 CsvParser.parse(is, collector); in testEscapedCommas() 158 CsvParser.parse(is, collector); in testEscapedQuotesAndCommas() 171 CsvParser.parse(is, collector); in testNoNewline() 184 CsvParser.parse(is, collector); in testNoNewlineWithCommas() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | HbpcdLookup.java | 29 Uri.parse("content://" + AUTHORITY); 47 Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_IDD); 60 Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_LOOKUP_TABLE); 80 Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_SID_CONFLICT); 93 Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_SID_RANGE); 106 Uri.parse("content://" + AUTHORITY + "/" + PATH_ARBITRARY_MCC_SID_MATCH); 119 Uri.parse("content://" + AUTHORITY + "/" + PATH_NANP_AREA_CODE);
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
D | Ipv6UtilsTest.java | 59 EthernetHeader eth = Struct.parse(EthernetHeader.class, b); in testBuildRsPacket() 63 Ipv6Header ipv6 = Struct.parse(Ipv6Header.class, b); in testBuildRsPacket() 69 Icmpv6Header icmpv6 = Struct.parse(Icmpv6Header.class, b); in testBuildRsPacket() 88 EthernetHeader eth = Struct.parse(EthernetHeader.class, b); in testBuildRaPacket() 92 Ipv6Header ipv6 = Struct.parse(Ipv6Header.class, b); in testBuildRaPacket() 98 Icmpv6Header icmpv6 = Struct.parse(Icmpv6Header.class, b); in testBuildRaPacket() 102 RaHeader ra = Struct.parse(RaHeader.class, b); in testBuildRaPacket() 109 PrefixInformationOption pio = Struct.parse(PrefixInformationOption.class, b); in testBuildRaPacket() 111 pio = Struct.parse(PrefixInformationOption.class, b); in testBuildRaPacket() 119 EthernetHeader eth = Struct.parse(EthernetHeader.class, b); in testBuildEchoRequestPacket() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | VerifierDeviceIdentityTest.java | 178 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED); in testVerifierDeviceIdentity_Parse_Normal() 187 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_MAXVALUE_ENCODED); in testVerifierDeviceIdentity_Parse_MaxValue() 194 VerifierDeviceIdentity.parse("AAAA-AAAA-AAAA-"); in testVerifierDeviceIdentity_Parse_TooShort() 203 VerifierDeviceIdentity.parse("----------------"); in testVerifierDeviceIdentity_Parse_WayTooShort() 212 VerifierDeviceIdentity.parse("AAAA-AAAA-AAAA-AA"); in testVerifierDeviceIdentity_Parse_TooLong() 221 VerifierDeviceIdentity.parse(TEST_OVERFLOW_ENCODED); in testVerifierDeviceIdentity_Parse_Overflow() 231 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_1_ENCODED_LOWERCASE); in testVerifierDeviceIdentity_Parse_SquashToUppercase() 240 VerifierDeviceIdentity id1 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_CORRECTED); in testVerifierDeviceIdentity_Parse_1I_And_0O_Substitution() 242 VerifierDeviceIdentity id2 = VerifierDeviceIdentity.parse(TEST_SUBSTITUTION_UNCORRECTED); in testVerifierDeviceIdentity_Parse_1I_And_0O_Substitution()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerServiceTest.java | 206 Timeouts defaults = Timeouts.parse("3600000001:3600000002:3600000003"); in testTimeouts() 211 Timeouts empty = Timeouts.parse(""); in testTimeouts() 216 Timeouts partial0 = Timeouts.parse("10000::"); in testTimeouts() 221 Timeouts partial1 = Timeouts.parse("10000:10001:"); in testTimeouts() 226 Timeouts fullDefault = Timeouts.parse("3600000000:3600000000:3600000000"); in testTimeouts() 231 Timeouts full = Timeouts.parse("10000:10001:10002"); in testTimeouts() 236 Timeouts invalid0 = Timeouts.parse(":10000"); in testTimeouts() 241 Timeouts invalid1 = Timeouts.parse(":10000::"); in testTimeouts() 246 Timeouts invalid2 = Timeouts.parse("10000:10001:abcd"); in testTimeouts() 251 Timeouts invalid3 = Timeouts.parse(":10000:"); in testTimeouts() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 85 NitzData lonSummerNitzDataWithOffset = NitzData.parse(lonSummerTimeString + ",4"); in testLookupByNitzByNitz() 92 NitzData lonWinterNitzDataWithOffset = NitzData.parse(lonWinterTimeString + ",0"); in testLookupByNitzByNitz() 99 NitzData lonSummerNitzDataWithoutOffset = NitzData.parse(lonSummerTimeString); in testLookupByNitzByNitz() 106 NitzData lonWinterNitzDataWithoutOffset = NitzData.parse(lonWinterTimeString); in testLookupByNitzByNitz() 126 NitzData mtvSummerNitzDataWithOffset = NitzData.parse(mtvSummerTimeString + ",4"); in testLookupByNitzByNitz() 133 NitzData mtvWinterNitzDataWithOffset = NitzData.parse(mtvWinterTimeString + ",0"); in testLookupByNitzByNitz() 140 NitzData mtvSummerNitzDataWithoutOffset = NitzData.parse(mtvSummerTimeString); in testLookupByNitzByNitz() 147 NitzData mtvWinterNitzDataWithoutOffset = NitzData.parse(mtvWinterTimeString); in testLookupByNitzByNitz() 164 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_filterByEffectiveDate() 174 NitzData nitzData = NitzData.parse(nitzString); in testLookupByNitzCountry_filterByEffectiveDate() [all …]
|
/frameworks/native/cmds/installd/ |
D | file_parsing.h | 29 bool ParseFile(std::istream& input_stream, Func parse) { in ParseFile() argument 45 if (!parse(line)) { in ParseFile() 54 bool ParseFile(std::string_view str_file, Func parse) { in ParseFile() argument 59 return ParseFile(ifs, parse); in ParseFile()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | BatteryStatsReader.java | 38 public static ActivityReport parse(InputStream stream) throws ParseException, IOException { in parse() method in BatteryStatsReader 40 return parser.parse(); in parse() 63 ActivityReport parse() throws ParseException, IOException { in parse() method in BatteryStatsReader.Parser 64 mBs = RawBatteryStats.parse(mStream); in parse()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PerPackageReadTimeouts.java | 62 static Timeouts parse(String timeouts) { in parse() method in PerPackageReadTimeouts.Timeouts 91 static VersionCodes parse(String codes) { in parse() method in PerPackageReadTimeouts.VersionCodes 135 static PerPackageReadTimeouts parse(String timeoutsStr, VersionCodes defaultVersionCodes, in parse() method in PerPackageReadTimeouts 145 timeouts = Timeouts.parse(splits[3]); in parse() 148 versionCodes = VersionCodes.parse(splits[2]); in parse() 174 final Timeouts defaultTimeouts = Timeouts.parse(defaultTimeoutsStr); in parseDigestersList() 179 PerPackageReadTimeouts timeouts = PerPackageReadTimeouts.parse(packages[i], in parseDigestersList()
|