Home
last modified time | relevance | path

Searched refs:byteArray (Results 1 – 4 of 4) sorted by relevance

/art/test/020-string/src/
DMain.java91 byte[] byteArray = "byteArray".getBytes(); in constructorTest()
101 String s2 = new String(byteArray); in constructorTest()
102 String s3 = new String(byteArray, 1); in constructorTest()
103 String s4 = new String(byteArray, 0, 4); in constructorTest()
104 String s5 = new String(byteArray, 2, 4, 5); in constructorTest()
107 String s6 = new String(byteArray, 2, 4, charsetName); in constructorTest()
108 String s7 = new String(byteArray, charsetName); in constructorTest()
112 String s8 = new String(byteArray, 3, 3, charset); in constructorTest()
113 String s9 = new String(byteArray, charset); in constructorTest()
/art/test/011-array-copy/src/
DMain.java83 byte[] byteArray = new byte[ARRAY_SIZE]; in makeCopies()
89 initByteArray(byteArray); in makeCopies()
95 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); in makeCopies()
102 if (intArray[i] != byteArray[i]) { in makeCopies()
104 Arrays.toString(byteArray)); in makeCopies()
/art/test/412-new-array/smali/
Dfill_array_data.smali44 .method public static byteArray([B)V
/art/runtime/
Dtransaction_test.cc394 mirror::ByteArray* byteArray = byteArrayField->GetObject(h_klass.Get())->AsByteArray(); in TEST_F() local
395 ASSERT_TRUE(byteArray != nullptr); in TEST_F()
396 ASSERT_EQ(byteArray->GetLength(), 1); in TEST_F()
397 ASSERT_EQ(byteArray->GetWithoutChecks(0), 0); in TEST_F()
462 byteArray->SetWithoutChecks<true>(0, 1); in TEST_F()
475 EXPECT_EQ(byteArray->GetWithoutChecks(0), 0); in TEST_F()