Searched defs:offsetInBytes (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libaaudio/src/binding/
H A DSharedRegionParcelable.cpp42 int32_t offsetInBytes,
45 mOffsetInBytes = offsetInBytes;
41 setup(int32_t sharedMemoryIndex, int32_t offsetInBytes, int32_t sizeInBytes) argument
H A DSharedMemoryParcelable.cpp107 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, argument
109 if (offsetInBytes < 0) {
110 ALOGE("SharedMemoryParcelable illegal offsetInBytes = %d", offsetInBytes);
112 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) {
113 ALOGE("SharedMemoryParcelable out of range, offsetInBytes = %d, "
115 offsetInBytes, sizeInBytes, mSizeInBytes);
131 *regionAddressPtr = mResolvedAddress + offsetInBytes;
134 offsetInBytes, *regionAddressPtr);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java156 int offsetInBytes,
163 offsetInBytes,
298 int offsetInBytes,
151 setAttributeValues(String attributeName, VertexFrame vertexData, int type, int componentCount, int strideInBytes, int offsetInBytes, boolean normalize) argument
293 setShaderAttributeVertexFrame(String attributeName, VertexFrame vertexData, int type, int componentCount, int strideInBytes, int offsetInBytes, boolean normalize) argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java1053 * @param offsetInBytes index in audioData from which the data is written expressed in bytes.
1066 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { argument
1067 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING);
1076 * @param offsetInBytes index in audioData to which the data is written expressed in bytes.
1097 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, argument
1108 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0)
1109 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow
1110 || (offsetInBytes + sizeInBytes > audioData.length)) {
1114 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes,
1754 int offsetInBytes, in
1753 native_read_in_byte_array(byte[] audioData, int offsetInBytes, int sizeInBytes, boolean isBlocking) argument
[all...]
H A DAudioTrack.java2101 * @param offsetInBytes the offset expressed in bytes in audioData where the data to write
2120 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { argument
2121 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING);
2143 * @param offsetInBytes the offset expressed in bytes in audioData where the data to write
2166 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, argument
2178 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0)
2179 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow
2180 || (offsetInBytes + sizeInBytes > audioData.length)) {
2184 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat,
3069 int offsetInBytes, in
3068 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format, boolean isBlocking) argument
[all...]

Completed in 220 milliseconds