Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 164) sorted by relevance

1234567

/cts/tests/tests/proto/src/android/util/proto/cts/
DEncodedBufferTest.java48 EncodedBuffer buffer; in testWriteRawByteWrapsChunks() local
103 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawBuffer() local
130 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawByte() local
165 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawVarint32() local
224 final EncodedBuffer buffer = new EncodedBuffer(1); in testStartEditingChunkSize1() local
256 final EncodedBuffer buffer = new EncodedBuffer(100); in testStartEditingChunkSize100() local
319 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteFromThisBuffer() local
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java50 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate() local
75 HardwareBuffer buffer = null; in testCreateFailsWithInvalidArguments() local
107 HardwareBuffer buffer = nativeCreateHardwareBuffer(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreateFromNativeObject() local
142 HardwareBuffer buffer = HardwareBuffer.create(dimen, dimen, HardwareBuffer.RGBA_8888, in testInvalidUsage() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DCircularBufferFloat.java35 public int write(float[] buffer) { in write()
46 public int write(float[] buffer, int offset, int numSamples) { in write()
77 public int readMostRecent(float[] buffer) { in readMostRecent()
88 public int readMostRecent(float[] buffer, int offset, int numSamples) { in readMostRecent()
DTapLatencyAnalyser.java51 public TapLatencyEvent[] analyze(float[] buffer, int offset, int numSamples) { in analyze()
68 private void highPassFilter(float[] buffer, int offset, int numSamples, in highPassFilter()
106 private void fillPeakBuffer(float[] buffer, int offset, int numSamples, float[] peakBuffer) { in fillPeakBuffer()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp122 AHardwareBuffer_Desc GetDescription(AHardwareBuffer* buffer) { in GetDescription()
155 AHardwareBuffer* buffer; in TEST() local
171 AHardwareBuffer* buffer; in TEST() local
192 AHardwareBuffer* buffer = NULL; in TEST() local
219 AHardwareBuffer* buffer = NULL; in TEST() local
235 AHardwareBuffer* buffer = NULL; in TEST() local
263 AHardwareBuffer* buffer; member
277 AHardwareBuffer* buffer = NULL; in TEST() local
325 AHardwareBuffer* buffer = nullptr; in TEST() local
368 AHardwareBuffer* buffer = NULL; in TEST() local
[all …]
/cts/tests/tests/os/src/android/os/cts/
DSharedMemoryTest.java114 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testReadWrite() local
135 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testReadOnly() local
161 ByteBuffer buffer; in testUseAfterClose() local
183 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testUseAfterUnmap() local
201 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testNdkInterop() local
252 ByteBuffer buffer = null; in testWriteToReadOnly() local
/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.cpp54 int WaveTableSource::pull(float* buffer, int numFrames, int numChans) { in pull()
84 void WaveTableSource::genSinWave(float* buffer, int length) { in genSinWave()
91 void WaveTableSource::genTriangleWave(float* buffer, int size, in genTriangleWave()
130 void WaveTableSource::genPulseWave(float* buffer, int size, in genPulseWave()
DSilenceAudioSource.cpp20 int SilenceAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull()
DNoiseAudioSource.cpp26 int NoiseAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull()
DBlipAudioSource.cpp36 int BlipAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioMetadataTest.java310 ByteBuffer buffer = nativeGetByteBuffer(bufferPackedAtJava, bufferPackedAtJava.limit()); in testCompatibilityR() local
325 ByteBuffer buffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testUnpackingInvalidBuffer() local
342 ByteBuffer buffer = nativeGetByteBuffer(bufferPackedAtJava, bufferPackedAtJava.limit()); in testPackingAndUnpacking() local
360 private static native ByteBuffer nativeGetByteBuffer(ByteBuffer buffer, int sizeInBytes); in nativeGetByteBuffer()
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp28 AHardwareBuffer* buffer = NULL; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() local
48 AHardwareBuffer* buffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer() local
/cts/tests/media/src/android/mediav2/cts/
DAdaptivePlaybackTest.java177 private MediaFormat createInputList(MediaFormat format, ByteBuffer buffer, in createInputList()
240 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testAdaptivePlayback() local
242 formats.add(createInputList(setUpSource(file), buffer, list, buffOffset, ptsOffset)); in testAdaptivePlayback() local
/cts/tests/tests/opengl/src/android/opengl/cts/
DParamsTest.java45 IntBuffer buffer = IntBuffer.allocate(1); in testBufferParam() local
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java113 public int pull(float[] buffer, int numFrames, int numChans) { in pull()
148 public static void genSinWave(float[] buffer) { in genSinWave()
164 float[] buffer, float maxValue, float minValue, float dutyCycle) { in genTriangleWave()
DSilenceAudioSource.java31 public int pull(float[] buffer, int numFrames, int numChans) { in pull()
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexApiDocumentParser.java82 public Stream<DexMember> parseAsStream(ByteBuffer buffer) { in parseAsStream()
85 public Stream<DexMember> parseAsStream(ByteBuffer buffer, int lineLengthEstimate) { in parseAsStream()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java46 HardwareBuffer buffer = HardwareBuffer.create(2, 4, format, 2, flags); in testLayeredBuffersForVr() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9547/
Dpoc.cpp28 void const *buffer = const_cast<void const *>((void *)tempBuffer); in main() local
/cts/tests/camera/libctscamera2jni/
Ddynamic-depth-validate-jni.cpp28 jbyte* buffer = env->GetByteArrayElements(dynamicDepthBuffer, NULL); in Java_android_hardware_camera2_cts_ImageReaderTest_validateDynamicDepthNative() local
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecTest.java119 ByteBuffer buffer = codec.getInputBuffer(index); in testCryptoError() local
171 ByteBuffer buffer = codec.getInputBuffer(index); in testCryptoErrorLostSessionState() local
/cts/hostsidetests/securitybulletin/securityPatch/includes/
DomxUtils.cpp154 android::IOMX::buffer_id *buffer) { in omxUtilsUseBuffer()
162 status_t omxUtilsEmptyBuffer(android::IOMX::buffer_id buffer, in omxUtilsEmptyBuffer()
167 status_t omxUtilsFillBuffer(android::IOMX::buffer_id buffer, in omxUtilsFillBuffer()
172 android::IOMX::buffer_id buffer) { in omxUtilsFreeBuffer()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/
Dpoc.cpp32 char buffer[16] = {0}; in writeParcelableHead() local
48 char buffer[100]; in writeRegion() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DPipeShort.java44 public int write(short[] buffer, int offset, int count) in write()
86 public int read(short[] buffer, int offset, int count) in read()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DLogcatHelper.java80 public static void assertLogcatMessage(Buffer buffer, Level level, String tag, String message) { in assertLogcatMessage()
93 public static void assertLogcatMessage(Buffer buffer, Level level, String tag, String message, in assertLogcatMessage()
132 public static void assertNoLogcatMessage(Buffer buffer, Level level, String tag, String message, in assertNoLogcatMessage()

1234567