Home
last modified time | relevance | path

Searched refs:valueBuf (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1369 public static int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
1370 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
1377 public static int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
1378 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
1399 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
1400 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1406 public static short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
1407 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
1428 public static float byteArrayToFloat(byte[] valueBuf) { in byteArrayToFloat() argument
1429 return byteArrayToFloat(valueBuf, 0); in byteArrayToFloat()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVirtualizerTest.java206 private int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
207 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
212 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
213 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
DBassBoostTest.java209 private int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
210 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
215 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
216 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
DPresetReverbTest.java235 private int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
236 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
241 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
242 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
DEqualizerTest.java341 private int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
342 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
347 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
348 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp380 char valueBuf[PROPERTY_VALUE_MAX]; in doDrawInfoPage() local
382 property_get(kPropertyNames[i], valueBuf, ""); in doDrawInfoPage()
383 if (valueBuf[0] == '\0') { in doDrawInfoPage()
386 String8 str(String8::format("%s: [%s]", kPropertyNames[i], valueBuf)); in doDrawInfoPage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1493 protected int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
1494 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
1498 protected int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
1499 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
1512 protected short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
1513 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1516 protected short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
1517 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp647 int32_t *valueBuf = reinterpret_cast<int32_t*>(value); in setParameter() local
663 if (track->mainBuffer != valueBuf) { in setParameter()
664 track->mainBuffer = valueBuf; in setParameter()
665 ALOGV("setParameter(TRACK, MAIN_BUFFER, %p)", valueBuf); in setParameter()
673 if (track->auxBuffer != valueBuf) { in setParameter()
674 track->auxBuffer = valueBuf; in setParameter()
675 ALOGV("setParameter(TRACK, AUX_BUFFER, %p)", valueBuf); in setParameter()