Home
last modified time | relevance | path

Searched refs:getByteString (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLazyStringArrayListTest.java80 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
81 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString()
82 assertSame(BYTE_STRING_C, list.getByteString(2)); in testJustByteString()
85 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
86 assertSame(BYTE_STRING_C, list.getByteString(1)); in testJustByteString()
112 ByteString aPrimeByteString = list.getByteString(0); in testConversionBackAndForth()
114 ByteString bPrimeByteString = list.getByteString(1); in testConversionBackAndForth()
116 assertEquals(BYTE_STRING_B, list.getByteString(1)); in testConversionBackAndForth()
119 assertSame(aPrimeByteString, list.getByteString(0)); in testConversionBackAndForth()
120 assertSame(bPrimeByteString, list.getByteString(1)); in testConversionBackAndForth()
[all …]
DUnmodifiableLazyStringListTest.java61 assertEquals(BYTE_STRING_A, list.getByteString(0)); in testReadOnlyMethods()
62 assertEquals(BYTE_STRING_B, list.getByteString(1)); in testReadOnlyMethods()
63 assertEquals(BYTE_STRING_C, list.getByteString(2)); in testReadOnlyMethods()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyStringArrayListTest.java81 assertSame(byteStringList.get(0), list.getByteString(0)); in testJustStrings()
82 assertSame(byteStringList.get(1), list.getByteString(1)); in testJustStrings()
92 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
93 assertSame(BYTE_STRING_B, list.getByteString(1)); in testJustByteString()
94 assertSame(BYTE_STRING_C, list.getByteString(2)); in testJustByteString()
97 assertSame(BYTE_STRING_A, list.getByteString(0)); in testJustByteString()
98 assertSame(BYTE_STRING_C, list.getByteString(1)); in testJustByteString()
128 ByteString aPrimeByteString = list.getByteString(0); in testConversionBackAndForth()
130 ByteString bPrimeByteString = list.getByteString(1); in testConversionBackAndForth()
132 assertEquals(BYTE_STRING_B, list.getByteString(1)); in testConversionBackAndForth()
[all …]
DUnmodifiableLazyStringListTest.java61 assertEquals(BYTE_STRING_A, list.getByteString(0)); in testReadOnlyMethods()
62 assertEquals(BYTE_STRING_B, list.getByteString(1)); in testReadOnlyMethods()
63 assertEquals(BYTE_STRING_C, list.getByteString(2)); in testReadOnlyMethods()
66 assertSame(list.getByteString(0), byteStringList.get(0)); in testReadOnlyMethods()
67 assertSame(list.getByteString(1), byteStringList.get(1)); in testReadOnlyMethods()
68 assertSame(list.getByteString(2), byteStringList.get(2)); in testReadOnlyMethods()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUnmodifiableLazyStringList.java72 public ByteString getByteString(int index) { in getByteString() method in UnmodifiableLazyStringList
73 return list.getByteString(index); in getByteString()
DLazyStringList.java58 ByteString getByteString(int index); in getByteString() method
DLazyStringArrayList.java238 public ByteString getByteString(int index) { in getByteString() method in LazyStringArrayList
381 return list.getByteString(index); in get()