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.java1470 public static int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
1471 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
1478 public static int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
1479 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
1500 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
1501 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1507 public static short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
1508 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
1529 public static float byteArrayToFloat(byte[] valueBuf) { in byteArrayToFloat() argument
1530 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.java215 private int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
216 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
221 private short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
222 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/media/libaudioprocessing/
DAudioMixer.cpp373 int32_t *valueBuf = reinterpret_cast<int32_t*>(value); in setParameter() local
390 if (track->mainBuffer != valueBuf) { in setParameter()
391 track->mainBuffer = valueBuf; in setParameter()
392 ALOGV("setParameter(TRACK, MAIN_BUFFER, %p)", valueBuf); in setParameter()
457 if (track->teeBuffer != valueBuf) { in setParameter()
458 track->teeBuffer = valueBuf; in setParameter()
459 ALOGV("setParameter(TRACK, TEE_BUFFER, %p)", valueBuf); in setParameter()
DAudioMixerBase.cpp356 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()
378 if (track->auxBuffer != valueBuf) { in setParameter()
379 track->auxBuffer = valueBuf; in setParameter()
380 ALOGV("setParameter(TRACK, AUX_BUFFER, %p)", valueBuf); in setParameter()
409 if (track->teeBuffer != valueBuf) { in setParameter()
410 track->teeBuffer = valueBuf; in setParameter()
411 ALOGV("setParameter(TRACK, TEE_BUFFER, %p)", valueBuf); in setParameter()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp383 char valueBuf[PROPERTY_VALUE_MAX]; in doDrawInfoPage() local
385 property_get(kPropertyNames[i], valueBuf, ""); in doDrawInfoPage()
386 if (valueBuf[0] == '\0') { in doDrawInfoPage()
389 String8 str(String8::format("%s: [%s]", kPropertyNames[i], valueBuf)); in doDrawInfoPage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java1491 protected int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
1492 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
1496 protected int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
1497 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
1510 protected short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
1511 return byteArrayToShort(valueBuf, 0); in byteArrayToShort()
1514 protected short byteArrayToShort(byte[] valueBuf, int offset) { in byteArrayToShort() argument
1515 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()