/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | VerificationParamsTest.java | 39 private final static Uri VERIFICATION_URI = Uri.parse(VERIFICATION_URI_STRING); 40 private final static Uri ORIGINATING_URI = Uri.parse(ORIGINATING_URI_STRING); 41 private final static Uri REFERRER = Uri.parse(REFERRER_STRING); 69 Uri.parse(VERIFICATION_URI_STRING), Uri.parse(ORIGINATING_URI_STRING), in testEquals_Success() 70 Uri.parse(REFERRER_STRING), ORIGINATING_UID); in testEquals_Success() 80 Uri.parse("http://a.different.uri/"), Uri.parse(ORIGINATING_URI_STRING), in testEquals_VerificationUri_Failure() 81 Uri.parse(REFERRER_STRING), ORIGINATING_UID); in testEquals_VerificationUri_Failure() 91 Uri.parse(VERIFICATION_URI_STRING), Uri.parse("http://a.different.uri/"), in testEquals_OriginatingUri_Failure() 92 Uri.parse(REFERRER_STRING), ORIGINATING_UID); in testEquals_OriginatingUri_Failure() 102 Uri.parse(VERIFICATION_URI_STRING), Uri.parse(ORIGINATING_URI_STRING), in testEquals_Referrer_Failure() [all …]
|
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/core/tests/coretests/src/android/net/ |
D | UriTest.java | 46 parcelAndUnparcel(Uri.parse("foo:bob%20lee")); in testParcelling() 77 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri() 90 Uri.parse("foo:bob%20lee").getSchemeSpecificPart()); in testStringUri() 92 Uri.parse("foo:bob%20lee").getEncodedSchemeSpecificPart()); in testStringUri() 94 Uri.parse("foo:/bob%20lee").getEncodedPath()); in testStringUri() 95 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 97 Uri.parse("foo:?bob%20lee").getEncodedQuery()); in testStringUri() 98 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); in testStringUri() 100 Uri.parse("foo:#bob%20lee").getEncodedFragment()); in testStringUri() 105 assertTrue(Uri.parse("bob").isHierarchical()); in testStringUriIsHierarchical() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderTest.java | 60 assertEquals(Uri.parse("content://com.example/"), in testValidateIncomingUri_Normal() 61 mCp.validateIncomingUri(Uri.parse("content://com.example/"))); in testValidateIncomingUri_Normal() 62 assertEquals(Uri.parse("content://com.example/foo/bar"), in testValidateIncomingUri_Normal() 63 mCp.validateIncomingUri(Uri.parse("content://com.example/foo/bar"))); in testValidateIncomingUri_Normal() 64 assertEquals(Uri.parse("content://com.example/foo%2Fbar"), in testValidateIncomingUri_Normal() 65 mCp.validateIncomingUri(Uri.parse("content://com.example/foo%2Fbar"))); in testValidateIncomingUri_Normal() 66 assertEquals(Uri.parse("content://com.example/foo%2F%2Fbar"), in testValidateIncomingUri_Normal() 67 mCp.validateIncomingUri(Uri.parse("content://com.example/foo%2F%2Fbar"))); in testValidateIncomingUri_Normal() 72 assertEquals(Uri.parse("content://com.example/"), in testValidateIncomingUri_Shady() 73 mCp.validateIncomingUri(Uri.parse("content://com.example//"))); in testValidateIncomingUri_Shady() [all …]
|
D | ContentResolverTest.java | 108 Uri.parse("content://com.example/"), new Size(1280, 960), null, in testLoadThumbnail_Normal() 123 Uri.parse("content://com.example/"), new Size(320, 240), null, in testLoadThumbnail_Scaling() 138 Uri.parse("content://com.example/"), new Size(240, 320), null, in testLoadThumbnail_Aspect() 153 Uri.parse("content://com.example/"), new Size(320, 240), null, in testLoadThumbnail_Tiny() 165 assertTranslate(Uri.parse("content://com.example/path/?foo=bar&baz=meow")); in testTranslateDeprecatedDataPath() 166 assertTranslate(Uri.parse("content://com.example/path/subpath/12/")); in testTranslateDeprecatedDataPath() 167 assertTranslate(Uri.parse("content://com.example/path/subpath/12")); in testTranslateDeprecatedDataPath() 168 assertTranslate(Uri.parse("content://com.example/path/12")); in testTranslateDeprecatedDataPath() 169 assertTranslate(Uri.parse("content://com.example/")); in testTranslateDeprecatedDataPath() 170 assertTranslate(Uri.parse("content://com.example")); in testTranslateDeprecatedDataPath()
|
/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/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 48 Uri.parse("content://c/a/"), in testUri() 49 Uri.parse("content://c/"), in testUri() 50 Uri.parse("content://x/"), in testUri() 51 Uri.parse("content://c/b/"), in testUri() 52 Uri.parse("content://c/a/a1/1/"), in testUri() 53 Uri.parse("content://c/a/a1/2/"), in testUri() 54 Uri.parse("content://c/b/1/"), in testUri() 55 Uri.parse("content://c/b/2/"), in testUri() 82 Uri.parse("content://c/"), in testUriNotNotify() 83 Uri.parse("content://x/"), in testUriNotNotify() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | ANQPParser.java | 62 return VenueNameElement.parse(payload); in parseElement() 64 return RoamingConsortiumElement.parse(payload); in parseElement() 66 return IPAddressTypeAvailabilityElement.parse(payload); in parseElement() 68 return NAIRealmElement.parse(payload); in parseElement() 70 return ThreeGPPNetworkElement.parse(payload); in parseElement() 72 return DomainNameElement.parse(payload); in parseElement() 93 return HSFriendlyNameElement.parse(payload); in parseHS20Element() 95 return HSWanMetricsElement.parse(payload); in parseHS20Element() 97 return HSConnectionCapabilityElement.parse(payload); in parseHS20Element() 99 return HSOsuProvidersElement.parse(payload); in parseHS20Element()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | ParseExceptionsTest.java | 63 DescriptorProto parse(InputStream in) throws IOException; in parse() method 87 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream() 98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry() 109 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream() 120 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStreamAndExtensionRegistry() 132 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStream() 143 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStreamAndExtensionRegistry() 154 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStream() 165 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry() 178 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_CodedInputStream() [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 | 26 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing() 42 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing_TrailingSemiColon() 58 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing_EmptyPrefix() 74 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsing_EmptyField() 81 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_NotVvm() 89 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_PrefixMismatch() 97 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MissingFirstColon() 105 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MissingSecondColon() 113 WrappedMessageData result = VisualVoicemailSmsParser.parse("//VVM", in testParsingFail_MessageEndAfterClientPrefix() 121 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 …]
|
D | TimeZoneLookupHelperTest.java | 77 NitzData lonSummerNitzDataWithOffset = NitzData.parse(lonSummerTimeString + ",4"); in testLookupByNitzdByNitz() 84 NitzData lonWinterNitzDataWithOffset = NitzData.parse(lonWinterTimeString + ",0"); in testLookupByNitzdByNitz() 91 NitzData lonSummerNitzDataWithoutOffset = NitzData.parse(lonSummerTimeString); in testLookupByNitzdByNitz() 98 NitzData lonWinterNitzDataWithoutOffset = NitzData.parse(lonWinterTimeString); in testLookupByNitzdByNitz() 118 NitzData mtvSummerNitzDataWithOffset = NitzData.parse(mtvSummerTimeString + ",4"); in testLookupByNitzdByNitz() 125 NitzData mtvWinterNitzDataWithOffset = NitzData.parse(mtvWinterTimeString + ",0"); in testLookupByNitzdByNitz() 132 NitzData mtvSummerNitzDataWithoutOffset = NitzData.parse(mtvSummerTimeString); in testLookupByNitzdByNitz() 139 NitzData mtvWinterNitzDataWithoutOffset = NitzData.parse(mtvWinterTimeString); in testLookupByNitzdByNitz() 165 NitzData nitzData = NitzData.parse(summerTimeNitzStringWithDst); in testLookupByNitzCountry() 192 NitzData nitzData = NitzData.parse(winterTimeNitzStringWithDst); in testLookupByNitzCountry() [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/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/opt/telephony/src/java/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/ |
D | EAPMethod.java | 56 public static EAPMethod parse(ByteBuffer payload) throws ProtocolException { in parse() method in EAPMethod 90 return ExpandedEAPMethod.parse(payload, length, false); in parseAuthParam() 92 return NonEAPInnerAuth.parse(payload, length); in parseAuthParam() 94 return InnerAuthEAP.parse(payload, length); in parseAuthParam() 96 return ExpandedEAPMethod.parse(payload, length, true); in parseAuthParam() 98 return CredentialType.parse(payload, length, false); in parseAuthParam() 100 return CredentialType.parse(payload, length, true); in parseAuthParam() 102 return VendorSpecificAuth.parse(payload, length); in parseAuthParam()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | RcsMessageStoreControllerTest.java | 84 Uri.parse("content://rcs/thread"), null, null, null, null, null)); in testGetRcsThreads() 102 Uri expectedCanonicalAddressUri = Uri.parse("content://rcs/canonical-address") in testCreateRcsParticipant() 116 Uri.parse("content://rcs/participant"), expectedRcsValues, in testCreateRcsParticipant() 117 Uri.parse("content://rcs/participant/1001"))); in testCreateRcsParticipant() 131 Uri.parse("content://rcs/participant/551"), null, null, contentValues, 0)); in testUpdateRcsParticipantAlias() 145 Uri.parse("content://rcs/p2p_thread/123"), null, null, contentValues, 0)); in testSet1To1ThreadFallbackThreadId() 158 Uri.parse("content://rcs/group_thread/345"), null, null, contentValues, 0)); in testSetGroupThreadName() 172 Uri.parse("content://rcs/group_thread/345"), null, null, contentValues, 0)); in testSetGroupThreadIcon() 175 mRcsMessageStoreController.setGroupThreadIcon(345, Uri.parse("newIcon"), in testSetGroupThreadIcon() 187 Uri.parse("content://rcs/group_thread/454"), null, null, contentValues, 0)); in testSetGroupThreadOwner()
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 52 public static void parse(String xml, ContentHandler contentHandler) in parse() method in Xml 57 reader.parse(new InputSource(new StringReader(xml))); in parse() 67 public static void parse(Reader in, ContentHandler contentHandler) in parse() method in Xml 71 reader.parse(new InputSource(in)); in parse() 78 public static void parse(InputStream in, Encoding encoding, in parse() method in Xml 84 reader.parse(source); in parse()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/eap/ |
D | ExpandedEAPMethodTest.java | 46 ExpandedEAPMethod.parse( in parseEmptyBuffer() 58 ExpandedEAPMethod.parse(ByteBuffer.wrap(TEST_DATA_BYTES), in parseBufferWithInvalidLength() 69 ExpandedEAPMethod.parse(ByteBuffer.wrap(TEST_DATA_BYTES, 0, TEST_DATA_BYTES.length - 1), in parseBufferWithTruncatedBuffer() 83 ExpandedEAPMethod actual = ExpandedEAPMethod.parse( in parseBufferForNonInnerEAPMethod() 98 ExpandedEAPMethod actual = ExpandedEAPMethod.parse( in parseBufferForTunneledEAPMethod()
|
D | VendorSpecificAuthTest.java | 42 VendorSpecificAuth.parse(ByteBuffer.wrap(new byte[0]), 1); in parseEmptyBuffer() 52 VendorSpecificAuth.parse( in parseTruncatedBuffer() 65 assertEquals(expected, VendorSpecificAuth.parse(ByteBuffer.wrap(TEST_DATA), 0)); in parseBufferWithZeroLength() 78 VendorSpecificAuth.parse(ByteBuffer.wrap(TEST_DATA), TEST_DATA.length); in parseBuffer()
|
/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/net/java/android/net/netlink/ |
D | NetlinkMessage.java | 45 public static NetlinkMessage parse(ByteBuffer byteBuffer) { in parse() method in NetlinkMessage 47 final StructNlMsgHdr nlmsghdr = StructNlMsgHdr.parse(byteBuffer); in parse() 63 return (NetlinkMessage) NetlinkErrorMessage.parse(nlmsghdr, byteBuffer); in parse() 71 return (NetlinkMessage) RtNetlinkNeighborMessage.parse(nlmsghdr, byteBuffer); in parse() 73 return (NetlinkMessage) InetDiagMessage.parse(nlmsghdr, byteBuffer); in parse()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | CellularNetworkTest.java | 49 CellularNetwork.parse(ByteBuffer.allocate(0)); in parseBufferWithEmptyBuffer() 61 assertNull(CellularNetwork.parse(ByteBuffer.wrap(testData))); in parseBufferWithInvalidIEIType() 74 CellularNetwork.parse(ByteBuffer.wrap(testData, 0, testData.length - 1)); in parseBufferWithIncompleteData() 89 CellularNetwork.parse(ByteBuffer.wrap(testData)); in parseBufferWithMismatchIEISizeAndPLMNCount() 109 assertEquals(expected, CellularNetwork.parse(ByteBuffer.wrap(testData))); in parseBufferWithTestData()
|