Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 165) 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/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/hardware/src/android/hardware/cts/
DHardwareBufferTest.java47 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate() local
72 HardwareBuffer buffer = null; in testCreateFailsWithInvalidArguments() local
104 HardwareBuffer buffer = nativeCreateHardwareBuffer(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreateFromNativeObject() local
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp120 AHardwareBuffer_Desc GetDescription(AHardwareBuffer* buffer) { in GetDescription()
153 AHardwareBuffer* buffer; in TEST() local
169 AHardwareBuffer* buffer; in TEST() local
190 AHardwareBuffer* buffer = NULL; in TEST() local
217 AHardwareBuffer* buffer = NULL; in TEST() local
233 AHardwareBuffer* buffer = NULL; in TEST() local
261 AHardwareBuffer* buffer; member
275 AHardwareBuffer* buffer = NULL; in TEST() local
323 AHardwareBuffer* buffer = nullptr; in TEST() local
367 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/suite/audio_quality/test/
DAudioSignalFactoryTest.cpp25 void testSignalBasic(android::sp<Buffer>& buffer, int maxPositive, in testSignalBasic()
44 android::sp<Buffer> buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, in TEST_F() local
53 android::sp<Buffer> buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, in TEST_F() local
DBufferTest.cpp41 std::unique_ptr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); in TEST_F() local
66 std::unique_ptr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); in TEST_F() local
/cts/tests/tests/media/src/android/media/cts/
DAudioMetadataTest.java309 ByteBuffer buffer = nativeGetByteBuffer(bufferPackedAtJava, bufferPackedAtJava.limit()); in testCompatibilityR() local
324 ByteBuffer buffer = ByteBuffer.allocate(BYTE_BUFFER_REFERENCE.length); in testUnpackingInvalidBuffer() local
341 ByteBuffer buffer = nativeGetByteBuffer(bufferPackedAtJava, bufferPackedAtJava.limit()); in testPackingAndUnpacking() local
359 private static native ByteBuffer nativeGetByteBuffer(ByteBuffer buffer, int sizeInBytes); in nativeGetByteBuffer()
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp28 android::sp<Buffer> buffer(new Buffer(bufferSize)); in generateSineWave() local
49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)); in generateWhiteNoise() local
74 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)); in generateZeroSound() local
DAudioRemote.cpp45 bool AudioRemotePlayback::startPlaybackOrRecord(android::sp<Buffer>& buffer, int numberRepetition) in startPlaybackOrRecord()
72 bool AudioRemoteRecording::startPlaybackOrRecord(android::sp<Buffer>& buffer, in startPlaybackOrRecord()
/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.java129 private MediaFormat createInputList(MediaFormat format, ByteBuffer buffer, in createInputList()
203 ByteBuffer buffer = ByteBuffer.allocate(totalSize); in testAdaptivePlayback() local
205 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/apps/CtsVerifier/jni/megaaudio/player/
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()
/cts/suite/audio_quality/lib/src/task/
DTaskDownload.cpp46 android::sp<Buffer> buffer = getTestCase()->findBuffer(id); in run() 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/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()

1234567