Home
last modified time | relevance | path

Searched refs:formatType (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java444 public Integer getIntValue(int formatType, int offset) { in getIntValue() argument
445 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getIntValue()
447 switch (formatType) { in getIntValue()
482 public Float getFloatValue(int formatType, int offset) { in getFloatValue() argument
483 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getFloatValue()
485 switch (formatType) { in getFloatValue()
537 public boolean setValue(int value, int formatType, int offset) { in setValue() argument
538 int len = offset + getTypeLen(formatType); in setValue()
542 switch (formatType) { in setValue()
584 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument
[all …]
/frameworks/wilhelm/src/
Ddata.c351 SLuint32 formatType; in checkDataFormat() local
353 pDataFormat->mFormatType = formatType = SL_DATAFORMAT_NULL; in checkDataFormat()
355 formatType = *(SLuint32 *)pFormat; in checkDataFormat()
356 switch (formatType) { in checkDataFormat()
607 SL_LOGE("%s: formatType=%u", name, (unsigned) formatType); in checkDataFormat()
613 if ((SL_RESULT_SUCCESS == result) && (formatType != pDataFormat->mFormatType)) { in checkDataFormat()
614 SL_LOGE("%s: formatType changed from %u to %u", name, formatType, in checkDataFormat()
624 switch (formatType) { in checkDataFormat()
630 actualMask = 1L << formatType; in checkDataFormat()
638 SL_LOGE("%s: data format %d not allowed", name, formatType); in checkDataFormat()
/frameworks/wilhelm/src/android/
Dandroid_sles_conversions.h48 switch (df_pcm->formatType) { in sles_to_android_sampleFormat()
DAudioRecorder_to_android.cpp172 SLuint32 formatType = *(SLuint32 *)pAudioSnk->pFormat; in android_audioRecorder_checkSourceSinkSupport() local
173 if (SL_DATAFORMAT_PCM == formatType) { in android_audioRecorder_checkSourceSinkSupport()
/frameworks/wilhelm/src/desktop/
DSndFile.c141 SLuint32 formatType = *(SLuint32 *)pAudioSrc->pFormat; in SndFile_checkAudioPlayerSourceSink() local
158 switch (formatType) { in SndFile_checkAudioPlayerSourceSink()
/frameworks/wilhelm/tests/sandbox/
Dxa.c81 fmtMime.formatType = XA_DATAFORMAT_MIME; in main()
Durimime.c61 format_mime.formatType = SL_DATAFORMAT_MIME; in main()
Dconfigbq.c108 format_pcm.formatType = SL_DATAFORMAT_PCM; in main()
Dintbufq.c112 pcm.formatType = SL_DATAFORMAT_PCM; in main()
/frameworks/wilhelm/tests/listening/
DseekTorture.c65 mime.formatType = SL_DATAFORMAT_MIME; in main()
/frameworks/wilhelm/tests/examples/
DslesTestPlayFdPath.cpp120 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayPathFromFD()
DslesTestDecodeToBuffQueue.cpp334 decMime.formatType = SL_DATAFORMAT_MIME; in TestDecToBuffQueue()
346 pcm.formatType = SL_DATAFORMAT_PCM; in TestDecToBuffQueue()
DslesTestSawtoothBufferQueue.cpp169 pcm.formatType = SL_DATAFORMAT_PCM; in TestPlaySawtoothBufferQueue()
DslesTestVirtualizerPath.cpp132 mime.formatType = SL_DATAFORMAT_MIME; in TestVirtualizerPathFromFD()
DslesTestBassBoostPath.cpp131 mime.formatType = SL_DATAFORMAT_MIME; in TestBassBoostPathFromFD()
DslesTestRecBuffQueue.cpp207 pcm.formatType = SL_DATAFORMAT_PCM; in TestRecToBuffQueue()
DslesTestEqFdPath.cpp136 mime.formatType = SL_DATAFORMAT_MIME; in TestEQPathFromFD()
/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp113 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayUri()
DslesTestPlayStreamType.cpp118 mime.formatType = SL_DATAFORMAT_MIME; in TestStreamTypeConfiguration()
DslesTestPlayUri2.cpp127 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayUri()
DslesTestLoopUri.cpp171 mime.formatType = SL_DATAFORMAT_MIME; in TestLoopUri()
DslesTestPlayUri.cpp177 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayUri()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1196 int formatType = defaultFormattingType; in formatNumber() local
1200 formatType = FORMAT_NANP; in formatNumber()
1203 formatType = FORMAT_JAPAN; in formatNumber()
1205 formatType = FORMAT_UNKNOWN; in formatNumber()
1209 switch (formatType) { in formatNumber()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp151 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayUri()
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h47 SLuint32 formatType; member

12