Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java1411 public static int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
1412 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
1419 public static int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
1420 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
1441 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
1442 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1448 public static short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
1449 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
1470 public static float byteArrayToFloat(byte[] valueBuf) { in byteArrayToFloat() argument
1471 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()
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()
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()
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/av/media/libaudioprocessing/
DAudioMixer.cpp355 int32_t *valueBuf = reinterpret_cast<int32_t*>(value); in setParameter() local
371 if (track->mainBuffer != valueBuf) { in setParameter()
372 track->mainBuffer = valueBuf; in setParameter()
373 ALOGV("setParameter(TRACK, MAIN_BUFFER, %p)", valueBuf); in setParameter()
DAudioMixerBase.cpp351 int32_t *valueBuf = reinterpret_cast<int32_t*>(value); in setParameter() local
366 if (track->mainBuffer != valueBuf) { in setParameter()
367 track->mainBuffer = valueBuf; in setParameter()
368 ALOGV("setParameter(TRACK, MAIN_BUFFER, %p)", valueBuf); in setParameter()
373 if (track->auxBuffer != valueBuf) { in setParameter()
374 track->auxBuffer = valueBuf; in setParameter()
375 ALOGV("setParameter(TRACK, AUX_BUFFER, %p)", valueBuf); in setParameter()
/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()