Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.cpp107 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, in resolve() argument
109 if (offsetInBytes < 0) { in resolve()
110 ALOGE("SharedMemoryParcelable illegal offsetInBytes = %d", offsetInBytes); in resolve()
112 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) { in resolve()
115 offsetInBytes, sizeInBytes, mSizeInBytes); in resolve()
131 *regionAddressPtr = mResolvedAddress + offsetInBytes; in resolve()
134 offsetInBytes, *regionAddressPtr); in resolve()
DSharedRegionParcelable.cpp42 int32_t offsetInBytes, in setup() argument
45 mOffsetInBytes = offsetInBytes; in setup()
DSharedRegionParcelable.h40 void setup(int32_t sharedMemoryIndex, int32_t offsetInBytes, int32_t sizeInBytes);
DSharedMemoryParcelable.h57 aaudio_result_t resolve(int32_t offsetInBytes, int32_t sizeInBytes, void **regionAddressPtr);
/frameworks/base/media/java/android/media/
DAudioRecord.java1066 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
1067 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read()
1097 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument
1108 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read()
1109 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in read()
1110 || (offsetInBytes + sizeInBytes > audioData.length)) { in read()
1114 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read()
1754 int offsetInBytes, int sizeInBytes, boolean isBlocking); in native_read_in_byte_array() argument
DAudioTrack.java2120 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument
2121 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write()
2166 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument
2178 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write()
2179 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in write()
2180 || (offsetInBytes + sizeInBytes > audioData.length)) { in write()
2184 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write()
3069 int offsetInBytes, int sizeInBytes, int format, in native_write_byte() argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java156 int offsetInBytes, in setAttributeValues() argument
163 offsetInBytes, in setAttributeValues()
298 int offsetInBytes, in setShaderAttributeVertexFrame() argument