Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/companion/virtual/audio/
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()
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()
/frameworks/base/media/java/android/media/
DAudioRecord.java1655 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument
1656 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read()
1685 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument
1699 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read()
1700 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in read()
1701 || (offsetInShorts + sizeInShorts > audioData.length)) { in read()
1704 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts, in read()
2477 int offsetInShorts, int sizeInShorts, boolean isBlocking); in native_read_in_short_array() argument
DAudioTrack.java3266 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument
3267 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write()
3310 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument
3325 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write()
3326 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in write()
3327 || (offsetInShorts + sizeInShorts > audioData.length)) { in write()
3335 final int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat, in write()
4455 int offsetInShorts, int sizeInShorts, int format, in native_write_short() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...