Home
last modified time | relevance | path

Searched refs:refObject (Results 1 – 2 of 2) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java282 Object refObject = null; in verify() local
286 refObject = new byte[refObjectLen]; in verify()
287 bb.get((byte[]) refObject); in verify()
290 refObject = new short[refObjectLen]; in verify()
291 bb.asShortBuffer().get((short[]) refObject); in verify()
294 refObject = new int[refObjectLen]; in verify()
295 int[] refArray = (int[]) refObject; in verify()
304 refObject = new int[refObjectLen]; in verify()
305 bb.asIntBuffer().get((int[]) refObject); in verify()
308 refObject = new float[refObjectLen]; in verify()
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputManager.java384 public float getRmsError(Object refObject, int audioFormat) { in getRmsError() argument
388 if (refObject instanceof float[]) { in getRmsError()
390 float[] refData = (float[]) refObject; in getRmsError()
400 } else if (refObject instanceof int[]) { in getRmsError()
401 int[] refData = (int[]) refObject; in getRmsError()
422 } else if (refObject instanceof short[]) { in getRmsError()
423 short[] refData = (short[]) refObject; in getRmsError()
434 } else if (refObject instanceof byte[]) { in getRmsError()
435 byte[] refData = (byte[]) refObject; in getRmsError()