Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/
DWavWriter.java98 int numShorts = buffer.position(); in toLittleEndianBytes() local
100 byte[] result = new byte[numShorts * 2]; in toLittleEndianBytes()
101 for (int shortIdx = 0; shortIdx < numShorts; shortIdx++) { in toLittleEndianBytes()
DAudioDebug.java102 int numShorts = audioBuffer.position(); in onAudioRecorded() local
103 int numBytes = numShorts * 2; in onAudioRecorded()
128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/development/audio/
DWavWriter.java98 int numShorts = buffer.position(); in toLittleEndianBytes() local
100 byte[] result = new byte[numShorts * 2]; in toLittleEndianBytes()
101 for (int shortIdx = 0; shortIdx < numShorts; shortIdx++) { in toLittleEndianBytes()
DAudioDebug.java102 int numShorts = audioBuffer.position(); in onAudioRecorded() local
103 int numBytes = numShorts * 2; in onAudioRecorded()
128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DIpUtils.java60 final int numShorts = (end - start) / 2; in checksum() local
61 for (int i = 0; i < numShorts; i++) { in checksum()
64 start += numShorts * 2; in checksum()