Home
last modified time | relevance | path

Searched refs:sizeInShorts (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/core/java/android/companion/virtual/audio/
H A DAudioCapture.java164 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument
165 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read()
169 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument
174 sizeRead = mAudioRecord.read(audioData, offsetInShorts, sizeInShorts, readMode); in read()
H A DAudioInjection.java181 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument
182 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write()
186 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument
191 sizeWrite = mAudioTrack.write(audioData, offsetInShorts, sizeInShorts, writeMode); in write()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioRecord.java1662 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument
1663 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read()
1692 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument
1706 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read()
1707 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in read()
1708 || (offsetInShorts + sizeInShorts > audioData.length)) { in read()
1711 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts, in read()
2484 int offsetInShorts, int sizeInShorts, boolean isBlocking); in native_read_in_short_array() argument
H A DAudioTrack.java3265 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument
3266 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write()
3309 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument
3324 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write()
3325 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in write()
3326 || (offsetInShorts + sizeInShorts > audioData.length)) { in write()
3334 final int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat, in write()
4454 int offsetInShorts, int sizeInShorts, int format, in native_write_short() argument
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...