Home
last modified time | relevance | path

Searched refs:unpacked (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmAlphabetTest.java238 byte unpacked[]; in testBasic()
240 unpacked = IccUtils.hexStringToBytes("566F696365204D61696C"); in testBasic()
242 GsmAlphabet.gsm8BitUnpackedToString(unpacked, 0, unpacked.length)); in testBasic()
244 assertEquals(IccUtils.bytesToHexString(unpacked), in testBasic()
248 unpacked = GsmAlphabet.stringToGsm8BitPacked(sGsmExtendedChars); in testBasic()
250 assertEquals(2 * sGsmExtendedChars.length(), unpacked.length); in testBasic()
252 GsmAlphabet.gsm8BitUnpackedToString(unpacked, 0, unpacked.length)); in testBasic()
255 assertEquals(2 * sGsmExtendedChars.length(), unpacked.length); in testBasic()
258 unpacked = new byte[3]; in testBasic()
259 GsmAlphabet.stringToGsm8BitUnpackedField(sGsmExtendedChars, unpacked, in testBasic()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DAnyTest.cs80 var unpacked = any.Unpack<TestAllTypes>(); in Unpack_Success()
81 Assert.AreEqual(message, unpacked); in Unpack_Success()
89 var unpacked = any.Unpack<TestAllTypes>(); in Unpack_CustomPrefix_Success()
90 Assert.AreEqual(message, unpacked); in Unpack_CustomPrefix_Success()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dextension_set_unittest.cc639 unittest::TestUnpackedTypes unpacked; in TEST() local
640 TestUtil::SetUnpackedFields(&unpacked); in TEST()
641 EXPECT_TRUE(unpacked.SerializeAsString() == destination.SerializeAsString()); in TEST()
Dunittest_proto3.proto332 // to test packed <-> unpacked wire compatibility.
Dunittest.proto721 // to test packed <-> unpacked wire compatibility.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests+Serialization.m760 // packed is optional, a repeated field should parse when packed or unpacked.
772 @"Data should differ (packed vs unpacked) use");
791 // unpacked.
803 @"Data should differ (packed vs unpacked) use");
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dreflection_test.py2678 unpacked = unittest_pb2.TestUnpackedTypes()
2679 test_util.SetAllUnpackedFields(unpacked)
2681 serialized = unpacked.SerializeToString()
2692 unpacked = unittest_pb2.TestUnpackedTypes()
2696 unpacked.MergeFromString(serialized))
2699 self.assertEqual(expected, unpacked)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest.proto582 // to test packed <-> unpacked wire compatibility.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest.proto582 // to test packed <-> unpacked wire compatibility.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt415 unpacked forms.
931 unpacked input. The [packed=true] option only affects serializers.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBMessage.m2035 // Primitive, repeated types can be packed on unpacked on the wire, and are
2319 // Primitive, repeated types can be packed on unpacked on the wire, and