/frameworks/av/media/libaaudio/src/binding/ |
D | SharedMemoryParcelable.cpp | 44 void SharedMemoryParcelable::setup(const unique_fd& fd, int32_t sizeInBytes) { in setup() argument 46 ALOGV("setup(fd = %d -> %d, size = %d) this = %p\n", fd.get(), mFd.get(), sizeInBytes, this); in setup() 47 mSizeInBytes = sizeInBytes; in setup() 114 aaudio_result_t SharedMemoryParcelable::resolve(int32_t offsetInBytes, int32_t sizeInBytes, in resolve() argument 119 } else if ((offsetInBytes + sizeInBytes) > mSizeInBytes) { in resolve() 122 offsetInBytes, sizeInBytes, mSizeInBytes); in resolve()
|
D | SharedMemoryParcelable.h | 50 void setup(const android::base::unique_fd& fd, int32_t sizeInBytes); 57 aaudio_result_t resolve(int32_t offsetInBytes, int32_t sizeInBytes, void **regionAddressPtr);
|
D | SharedRegionParcelable.cpp | 44 int32_t sizeInBytes) { in setup() argument 47 mSizeInBytes = sizeInBytes; in setup()
|
D | AudioEndpointParcelable.cpp | 54 int32_t sizeInBytes) { in addFileDescriptor() argument 59 mSharedMemories[index].setup(fd, sizeInBytes); in addFileDescriptor()
|
D | SharedRegionParcelable.h | 40 void setup(int32_t sharedMemoryIndex, int32_t offsetInBytes, int32_t sizeInBytes);
|
D | AudioEndpointParcelable.h | 51 int32_t addFileDescriptor(const android::base::unique_fd& fd, int32_t sizeInBytes);
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 2445 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument 2446 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write() 2491 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument 2503 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write() 2504 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in write() 2505 || (offsetInBytes + sizeInBytes > audioData.length)) { in write() 2513 final int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write() 2774 public int write(@NonNull ByteBuffer audioData, int sizeInBytes, in write() argument 2787 if ( (audioData == null) || (sizeInBytes < 0) || (sizeInBytes > audioData.remaining())) { in write() 2788 Log.e(TAG, "AudioTrack.write() called with invalid size (" + sizeInBytes + ") value"); in write() [all …]
|
D | AudioRecord.java | 1164 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument 1165 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read() 1195 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument 1206 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read() 1207 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow in read() 1208 || (offsetInBytes + sizeInBytes > audioData.length)) { in read() 1212 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read() 1365 public int read(@NonNull ByteBuffer audioBuffer, int sizeInBytes) { in read() argument 1366 return read(audioBuffer, sizeInBytes, READ_BLOCKING); in read() 1398 public int read(@NonNull ByteBuffer audioBuffer, int sizeInBytes, @ReadMode int readMode) { in read() argument [all …]
|
D | MediaSync.java | 575 int sizeInBytes, long presentationTimeUs); in native_updateQueuedAudioData() argument
|
/frameworks/av/media/libaudiohal/impl/ |
D | StreamPowerLog.h | 72 void log(const void *buffer, size_t sizeInBytes) const { in log() argument 75 mPowerLog, buffer, sizeInBytes / mFrameSize, audio_utils_get_real_time_ns()); in log()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 239 int32_t *sizeInBytes) { in AAudioConvert_framesToBytes() argument 240 *sizeInBytes = 0; in AAudioConvert_framesToBytes() 253 *sizeInBytes = numFrames * bytesPerFrame; in AAudioConvert_framesToBytes()
|
D | AAudioUtilities.h | 59 int32_t *sizeInBytes);
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 95 bool allocSharedMem(int sizeInBytes) { in allocSharedMem() argument 96 mMemHeap = new MemoryHeapBase(sizeInBytes, 0, "AudioTrack Heap Base"); in allocSharedMem() 100 mMemBase = new MemoryBase(mMemHeap, 0, sizeInBytes); in allocSharedMem() 640 size_t sizeInBytes = sizeInSamples * sizeof(T); in writeToTrack() local 642 written = track->write(data + offsetInSamples, sizeInBytes, blocking); in writeToTrack() 649 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { in writeToTrack() 650 sizeInBytes = track->sharedBuffer()->size(); in writeToTrack() 652 memcpy(track->sharedBuffer()->pointer(), data + offsetInSamples, sizeInBytes); in writeToTrack() 653 written = sizeInBytes; in writeToTrack() 706 jobject javaByteBuffer, jint byteOffset, jint sizeInBytes, in android_media_AudioTrack_write_native_bytes() argument [all …]
|
D | android_media_AudioRecord.cpp | 520 const size_t sizeInBytes = sizeInSamples * sizeof(*recordBuff); in android_media_AudioRecord_readInArray() local 522 recordBuff + offsetInSamples, sizeInBytes, isReadBlocking == JNI_TRUE /* blocking */); in android_media_AudioRecord_readInArray() 534 jobject jBuffer, jint sizeInBytes, in android_media_AudioRecord_readInDirectBuffer() argument 557 capacity < sizeInBytes ? capacity : sizeInBytes, in android_media_AudioRecord_readInDirectBuffer()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | MemoryStatUtil.java | 297 final long sizeInBytes = Long.parseLong(m.group(2)); in parseProcessIonHeapSizesFromDebugfs() local 304 allocations.totalSizeInBytes += sizeInBytes; in parseProcessIonHeapSizesFromDebugfs() 306 allocations.maxSizeInBytes = Math.max(allocations.maxSizeInBytes, sizeInBytes); in parseProcessIonHeapSizesFromDebugfs()
|
/frameworks/base/media/jni/ |
D | android_media_MediaSync.h | 41 status_t updateQueuedAudioData(int sizeInBytes, int64_t presentationTimeUs);
|
D | android_media_MediaSync.cpp | 110 int sizeInBytes, int64_t presentationTimeUs) { in updateQueuedAudioData() argument 111 return mSync->updateQueuedAudioData(sizeInBytes, presentationTimeUs); in updateQueuedAudioData() 258 JNIEnv *env, jobject thiz, jint sizeInBytes, jlong presentationTimeUs) { in android_media_MediaSync_native_updateQueuedAudioData() argument 265 status_t err = sync->updateQueuedAudioData(sizeInBytes, presentationTimeUs); in android_media_MediaSync_native_updateQueuedAudioData()
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 298 size_t sizeInBytes, int64_t presentationTimeUs) { in updateQueuedAudioData() argument 299 if (sizeInBytes == 0) { in updateQueuedAudioData() 310 int64_t numFrames = sizeInBytes / mAudioTrack->frameSize(); in updateQueuedAudioData()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaSync.h | 97 size_t sizeInBytes, int64_t presentationTimeUs);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 1411 one.sizeInBytes = 54321; in testRingBufferStatus() 1422 two.sizeInBytes = 300; in testRingBufferStatus()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiVendorHal.java | 1600 ans.ringBufferByteSize = h.sizeInBytes; in ringBufferStatus()
|