Home
last modified time | relevance | path

Searched refs:offsetInBytes (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.cpp102 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, in resolve() argument
104 if (offsetInBytes < 0) { in resolve()
105 ALOGE("illegal offsetInBytes = %d", offsetInBytes); in resolve()
107 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) { in resolve()
110 offsetInBytes, sizeInBytes, mSizeInBytes); in resolve()
126 *regionAddressPtr = mResolvedAddress + offsetInBytes; in resolve()
128 ALOGV("offset by %d, *regionAddressPtr = %p", offsetInBytes, *regionAddressPtr); in resolve()
DSharedRegionParcelable.cpp38 mOffsetInBytes(parcelable.offsetInBytes), in SharedRegionParcelable()
44 result.offsetInBytes = mOffsetInBytes; in parcelable()
DSharedMemoryParcelable.h58 aaudio_result_t resolve(int32_t offsetInBytes, int32_t sizeInBytes, void **regionAddressPtr);
/frameworks/base/core/java/android/companion/virtual/audio/
DAudioCapture.java112 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
113 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read()
117 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument
122 sizeRead = mAudioRecord.read(audioData, offsetInBytes, sizeInBytes, readMode); in read()
DAudioInjection.java121 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument
122 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write()
126 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument
131 sizeWrite = mAudioTrack.write(audioData, offsetInBytes, sizeInBytes, writeMode); in write()
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/
DSharedRegion.aidl21 int offsetInBytes;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java156 int offsetInBytes, in setAttributeValues() argument
163 offsetInBytes, in setAttributeValues()
301 int offsetInBytes, in setShaderAttributeVertexFrame() argument
/frameworks/base/media/java/android/media/
DAudioRecord.java1581 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
1582 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read()
1612 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument
1624 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read()
1625 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in read()
1626 || (offsetInBytes + sizeInBytes > audioData.length)) { in read()
1630 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read()
2474 int offsetInBytes, int sizeInBytes, boolean isBlocking); in native_read_in_byte_array() argument
DAudioTrack.java3151 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument
3152 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write()
3197 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument
3209 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write()
3210 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in write()
3211 || (offsetInBytes + sizeInBytes > audioData.length)) { in write()
3219 final int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write()
4451 int offsetInBytes, int sizeInBytes, int format, in native_write_byte() argument
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp509 dataY = (uint8_t *)pData + layout.offsetInBytes; in extractP010Gralloc4PlaneLayout()
525 dataCb = (uint8_t *)pData + layout.offsetInBytes; in extractP010Gralloc4PlaneLayout()
526 dataCr = (uint8_t *)pData + layout.offsetInBytes + 2; in extractP010Gralloc4PlaneLayout()
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp316 planeLayoutA.offsetInBytes = 0; in TEST_F()
332 planeLayoutRGB.offsetInBytes = 0; in TEST_F()
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp709 err = encodeInteger<int64_t>(static_cast<int64_t>(input.offsetInBytes), output); in encodePlaneLayout()
750 err = decodeInteger<int64_t>(input, &output->offsetInBytes); in decodePlaneLayout()
/frameworks/native/libs/ui/
DGralloc5.cpp651 uint8_t *tmpData = static_cast<uint8_t *>(data) + planeLayout.offsetInBytes; in lock()
DGralloc4.cpp336 uint8_t* tmpData = static_cast<uint8_t*>(data) + planeLayout.offsetInBytes; in lock()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp440 addr[planeId] = pointer + plane.offsetInBytes + (component.offsetInBits / 8); in Gralloc4Mapper_lock()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...