Searched defs:offsetInBytes (Results 1 - 5 of 5) sorted by relevance
/frameworks/av/media/libaaudio/src/binding/ |
H A D | SharedMemoryParcelable.cpp | 101 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, argument 104 if (offsetInBytes < 0) { 105 ALOGE("SharedMemoryParcelable illegal offsetInBytes = %d", offsetInBytes); 107 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) { 108 ALOGE("SharedMemoryParcelable out of range, offsetInBytes = %d, " 110 offsetInBytes, sizeInBytes, mSizeInBytes); 122 *regionAddressPtr = mResolvedAddress + offsetInBytes; 125 offsetInBytes, *regionAddressPtr);
|
H A D | SharedRegionParcelable.cpp | 42 int32_t offsetInBytes, 45 mOffsetInBytes = offsetInBytes; 41 setup(int32_t sharedMemoryIndex, int32_t offsetInBytes, int32_t sizeInBytes) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 156 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 D | AudioRecord.java | 1053 * @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 D | AudioTrack.java | 2084 * @param offsetInBytes the offset expressed in bytes in audioData where the data to write 2103 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { argument 2104 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); 2126 * @param offsetInBytes the offset expressed in bytes in audioData where the data to write 2149 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, argument 2161 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 2162 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow 2163 || (offsetInBytes + sizeInBytes > audioData.length)) { 2167 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, 3051 int offsetInBytes, in 3050 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format, boolean isBlocking) argument [all...] |
Completed in 1140 milliseconds