Searched refs:offsetInBytes (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libaaudio/src/binding/ |
D | SharedMemoryParcelable.cpp | 113 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, in resolve() argument 115 if (offsetInBytes < 0) { in resolve() 116 ALOGE("illegal offsetInBytes = %d", offsetInBytes); in resolve() 118 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) { in resolve() 121 offsetInBytes, sizeInBytes, mSizeInBytes); in resolve() 137 *regionAddressPtr = mResolvedAddress + offsetInBytes; in resolve() 139 ALOGV("offset by %d, *regionAddressPtr = %p", offsetInBytes, *regionAddressPtr); in resolve()
|
D | SharedRegionParcelable.cpp | 43 int32_t offsetInBytes, in setup() argument 46 mOffsetInBytes = offsetInBytes; in setup()
|
D | SharedRegionParcelable.h | 40 void setup(int32_t sharedMemoryIndex, int32_t offsetInBytes, int32_t sizeInBytes);
|
D | SharedMemoryParcelable.h | 57 aaudio_result_t resolve(int32_t offsetInBytes, int32_t sizeInBytes, void **regionAddressPtr);
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1072 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument 1073 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read() 1103 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument 1114 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read() 1115 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in read() 1116 || (offsetInBytes + sizeInBytes > audioData.length)) { in read() 1120 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read() 1768 int offsetInBytes, int sizeInBytes, boolean isBlocking); in native_read_in_byte_array() argument
|
D | AudioTrack.java | 2215 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument 2216 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write() 2261 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument 2273 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write() 2274 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in write() 2275 || (offsetInBytes + sizeInBytes > audioData.length)) { in write() 2279 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write() 3206 int offsetInBytes, int sizeInBytes, int format, in native_write_byte() argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | ShaderProgram.java | 156 int offsetInBytes, in setAttributeValues() argument 163 offsetInBytes, in setAttributeValues() 298 int offsetInBytes, in setShaderAttributeVertexFrame() argument
|