/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DirectByteBufferTest.java | 78 short[] shortArray = new short[] { 42, 24 }; 81 shortBuf.put(shortArray); 84 shortBuf.get(shortArray); 86 assertEquals(42, shortArray[0]); 87 assertEquals(24, shortArray[1]);
|
/art/test/011-array-copy/src/ |
Main.java | 78 short[] shortArray = new short[ARRAY_SIZE]; 83 initShortArray(shortArray); 88 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length); 97 } else if (intArray[i] != shortArray[i]) { 99 Arrays.toString(shortArray));
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioRecordNative.java | 89 public int read(@NonNull short[] shortArray, 92 mNativeRecordInJavaObj, shortArray, offsetInSamples, sizeInSamples, readFlags); 145 private static native int nativeReadShortArray(long record, @NonNull short[] shortArray,
|
AudioTrackNative.java | 96 public int write(@NonNull short[] shortArray, 99 mNativeTrackInJavaObj, shortArray, offsetInSamples, sizeInSamples, writeFlags); 152 private static native int nativeWriteShortArray(long track, @NonNull short[] shortArray,
|
/art/test/045-reflect-array/src/ |
Main.java | 126 Object shortArray = Array.newInstance(Short.TYPE, 1); 127 Array.setShort(shortArray, 0, (short) -1); 128 if (Array.getInt(shortArray, 0) != -1) { 132 Short box = (Short) Array.get(shortArray, 0);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ArraysTest.java | 66 short[] shortArray; 314 Arrays.binarySearch(shortArray, counter) == counter); 321 shortArray[counter] -= 50; 325 Arrays.binarySearch(shortArray, (short) (counter - 50)) == counter); [all...] |
/art/runtime/ |
transaction_test.cc | 408 mirror::ShortArray* shortArray = shortArrayField->GetObject(h_klass.Get())->AsShortArray(); 409 ASSERT_TRUE(shortArray != nullptr); 410 ASSERT_EQ(shortArray->GetLength(), 1); 411 ASSERT_EQ(shortArray->GetWithoutChecks(0), 0); 464 shortArray->SetWithoutChecks<true>(0, 1); 477 EXPECT_EQ(shortArray->GetWithoutChecks(0), 0);
|
/cts/tests/tests/os/src/android/os/cts/ |
BundleTest.java | 580 short[] shortArray = mBundle.getShortArray(KEY); 581 assertEquals(s1, shortArray[0]); 582 assertEquals(s2, shortArray[1]); 584 shortArray = mBundle.getShortArray(KEY); 585 assertEquals(s1, shortArray[0]); 586 assertEquals(s2, shortArray[1]);
|
/cts/tests/tests/media/libaudiojni/ |
audio-track-native.cpp | 565 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint writeFlags) 568 shortArray, offsetInSamples, sizeInSamples, writeFlags); 569 return writeArray(env, clazz, jtrack, shortArray, offsetInSamples, sizeInSamples, writeFlags);
|
audio-record-native.cpp | 621 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) 623 return readArray(env, clazz, jrecord, shortArray, offsetInSamples, sizeInSamples, readFlags);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpPacket.java | 471 short[] shortArray = new short[(end - start) / 2]; 472 shortBuf.get(shortArray); 474 for (short s : shortArray) { 478 start += shortArray.length * 2; [all...] |
/libcore/luni/src/main/java/java/io/ |
ObjectOutputStream.java | [all...] |
ObjectInputStream.java | [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
OldAndroidNIOTest.java | 52 short[] shortArray = new short[8]; 53 ShortBuffer sb = ShortBuffer.wrap(shortArray);
|
/prebuilts/tools/common/m2/repository/org/codehaus/groovy/groovy-all/2.3.6/ |
groovy-all-2.3.6.jar | |