OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shortArray
(Results
1 - 11
of
11
) sorted by null
/art/test/011-array-copy/src/
Main.java
84
short[]
shortArray
= new short[ARRAY_SIZE];
90
initShortArray(
shortArray
);
96
System.arraycopy(
shortArray
, srcPos,
shortArray
, dstPos, length);
106
} else if (intArray[i] !=
shortArray
[i]) {
108
Arrays.toString(
shortArray
));
/cts/tests/tests/media/src/android/media/cts/
AudioRecordNative.java
100
public int read(@NonNull short[]
shortArray
,
103
mNativeRecordInJavaObj,
shortArray
, offsetInSamples, sizeInSamples, readFlags);
162
private static native int nativeReadShortArray(long record, @NonNull short[]
shortArray
,
AudioTrackNative.java
102
public int write(@NonNull short[]
shortArray
,
105
mNativeTrackInJavaObj,
shortArray
, offsetInSamples, sizeInSamples, writeFlags);
164
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);
/external/caliper/examples/src/main/java/examples/
CopyArrayBenchmark.java
253
short[]
shortArray
;
264
shortArray
= new short[size];
277
shortArray
[i] = (short) num;
348
dummy += System.identityHashCode(strategy.copy(
shortArray
));
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
InjectedThing.java
63
@Inject short[]
shortArray
;
132
short[]
shortArray
,
200
@Inject void
shortArray
(short[]
shortArray
) {}
/art/runtime/
transaction_test.cc
400
Handle<mirror::
ShortArray
>
shortArray
=
402
ASSERT_TRUE(
shortArray
!= nullptr);
403
ASSERT_EQ(
shortArray
->GetLength(), 1);
404
ASSERT_EQ(
shortArray
->GetWithoutChecks(0), 0);
460
shortArray
->SetWithoutChecks<true>(0, 1);
472
EXPECT_EQ(
shortArray
->GetWithoutChecks(0), 0);
/cts/tests/tests/media/libaudiojni/
audio-track-native.cpp
568
jshortArray
shortArray
, jint offsetInSamples, jint sizeInSamples, jint writeFlags)
571
shortArray
, offsetInSamples, sizeInSamples, writeFlags);
572
return writeArray(env, clazz, jtrack,
shortArray
, offsetInSamples, sizeInSamples, writeFlags);
audio-record-native.cpp
660
jshortArray
shortArray
, jint offsetInSamples, jint sizeInSamples, jint readFlags)
662
return readArray(env, clazz, jrecord,
shortArray
, offsetInSamples, sizeInSamples, readFlags);
/cts/tests/tests/os/src/android/os/cts/
BundleTest.java
583
short[]
shortArray
= mBundle.getShortArray(KEY);
584
assertEquals(s1,
shortArray
[0]);
585
assertEquals(s2,
shortArray
[1]);
587
shortArray
= mBundle.getShortArray(KEY);
588
assertEquals(s1,
shortArray
[0]);
589
assertEquals(s2,
shortArray
[1]);
[
all
...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBundleTest.java
207
public void
shortArray
() {
Completed in 274 milliseconds