Searched refs:byteArray (Results 1 – 4 of 4) sorted by relevance
/art/test/020-string/src/ |
D | Main.java | 98 byte[] byteArray = "byteArray".getBytes(); in constructorTest() 108 String s2 = new String(byteArray); in constructorTest() 109 String s3 = new String(byteArray, 1); in constructorTest() 110 String s4 = new String(byteArray, 0, 4); in constructorTest() 111 String s5 = new String(byteArray, 2, 4, 5); in constructorTest() 114 String s6 = new String(byteArray, 2, 4, charsetName); in constructorTest() 115 String s7 = new String(byteArray, charsetName); in constructorTest() 119 String s8 = new String(byteArray, 3, 3, charset); in constructorTest() 120 String s9 = new String(byteArray, charset); in constructorTest()
|
/art/test/011-array-copy/src/ |
D | Main.java | 83 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/ |
D | fill_array_data.smali | 71 .method public static byteArray([B)V
|
/art/runtime/ |
D | transaction_test.cc | 390 Handle<mirror::ByteArray> byteArray = in TEST_F() local 392 ASSERT_TRUE(byteArray != nullptr); in TEST_F() 393 ASSERT_EQ(byteArray->GetLength(), 1); in TEST_F() 394 ASSERT_EQ(byteArray->GetWithoutChecks(0), 0); in TEST_F() 464 byteArray->SetWithoutChecks<true>(0, 1); in TEST_F() 476 EXPECT_EQ(byteArray->GetWithoutChecks(0), 0); in TEST_F()
|