Home
last modified time | relevance | path

Searched refs:putShort (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java270 buf.putShort((short)0); // length in fillInPacket()
271 buf.putShort((short)0); // id in fillInPacket()
272 buf.putShort(IP_FLAGS_OFFSET); // ip offset: don't fragment in fillInPacket()
276 buf.putShort((short) 0); // checksum in fillInPacket()
284 buf.putShort(srcUdp); in fillInPacket()
285 buf.putShort(destUdp); in fillInPacket()
287 buf.putShort((short) 0); // length in fillInPacket()
289 buf.putShort((short) 0); // UDP checksum -- initially zero in fillInPacket()
298 buf.putShort((short) 0); // Elapsed Seconds in fillInPacket()
301 buf.putShort((short) 0x8000); // Flags in fillInPacket()
[all …]
/frameworks/base/core/java/android/speech/tts/
DFileSynthesisCallback.java295 header.putShort(WAV_FORMAT_PCM); in makeWavHeader()
296 header.putShort((short) channelCount); in makeWavHeader()
299 header.putShort(blockAlign); in makeWavHeader()
300 header.putShort(bitsPerSample); in makeWavHeader()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DOrderedDataOutputStream.java39 mByteBuffer.putShort(value); in writeShort()
DExifModifier.java186 mByteBuffer.putShort((short) tag.getValueAt(i)); in writeTagValue()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java122 mOutputBuffer.putShort((short)service); in sendMessage()
123 mOutputBuffer.putShort((short)what); in sendMessage()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
DObexAppParameters.java109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DByteArrayHelpers.java183 byteBuffer.putShort((Short)value); in toByteArray()
/frameworks/base/core/java/android/os/
DBundle.java298 public void putShort(String key, short value) { in putShort() method in Bundle
299 super.putShort(key, value); in putShort()
DBaseBundle.java368 void putShort(String key, short value) { in putShort() method in BaseBundle
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1334 converter.putShort(sValue); in shortToByteArray()
/frameworks/base/core/java/android/content/
DIntent.java4239 else if (uri.startsWith("s.", i)) b.putShort(key, Short.parseShort(value)); in parseUri()
4399 intent.mExtras.putShort(key, Short.parseShort(value)); in getIntentOld()
5728 mExtras.putShort(name, value); in putExtra()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1527 converter.putShort(sValue); in shortToByteArray()
/frameworks/base/api/
Dcurrent.txt21463 method public void putShort(java.lang.String, short);
43404 method public abstract java.nio.ByteBuffer putShort(short);
43405 method public abstract java.nio.ByteBuffer putShort(int, short);