/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | EncodedBufferTest.java | 48 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/ |
D | CircularBufferFloat.java | 35 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()
|
D | TapLatencyAnalyser.java | 51 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/ |
D | HardwareBufferTest.java | 47 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/ |
D | AHardwareBufferTest.cpp | 120 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/ |
D | SharedMemoryTest.java | 114 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/ |
D | AudioSignalFactoryTest.cpp | 25 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
|
D | BufferTest.cpp | 41 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/ |
D | AudioMetadataTest.java | 309 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/ |
D | AudioSignalFactory.cpp | 28 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
|
D | AudioRemote.cpp | 45 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/ |
D | android_hardware_cts_HardwareBufferTest.cpp | 28 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/ |
D | AdaptivePlaybackTest.java | 129 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/ |
D | ParamsTest.java | 45 IntBuffer buffer = IntBuffer.allocate(1); in testBufferParam() local
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | WaveTableSource.java | 113 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()
|
D | SilenceAudioSource.java | 31 public int pull(float[] buffer, int numFrames, int numChans) { in pull()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | DexApiDocumentParser.java | 82 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/ |
D | HardwareBufferVrTest.java | 46 HardwareBuffer buffer = HardwareBuffer.create(2, 4, format, 2, flags); in testLayeredBuffersForVr() local
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | SilenceAudioSource.cpp | 20 int SilenceAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull()
|
D | NoiseAudioSource.cpp | 26 int NoiseAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskDownload.cpp | 46 android::sp<Buffer> buffer = getTestCase()->findBuffer(id); in run() local
|
/cts/tests/camera/libctscamera2jni/ |
D | dynamic-depth-validate-jni.cpp | 28 jbyte* buffer = env->GetByteArrayElements(dynamicDepthBuffer, NULL); in Java_android_hardware_camera2_cts_ImageReaderTest_validateDynamicDepthNative() local
|
/cts/hostsidetests/securitybulletin/securityPatch/includes/ |
D | omxUtils.cpp | 154 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/ |
D | poc.cpp | 32 char buffer[16] = {0}; in writeParcelableHead() local 48 char buffer[100]; in writeRegion() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | PipeShort.java | 44 public int write(short[] buffer, int offset, int count) in write() 86 public int read(short[] buffer, int offset, int count) in read()
|