Home
last modified time | relevance | path

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

12

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbASFormat.java43 public UsbASFormat(int length, byte type, byte subtype, byte formatType, int mSubclass) { in UsbASFormat() argument
45 mFormatType = formatType; in UsbASFormat()
72 byte formatType = stream.getByte(); in allocDescriptor()
75 switch (formatType) { in allocDescriptor()
78 return new Usb20ASFormatI(length, type, subtype, formatType, subclass); in allocDescriptor()
80 return new Usb10ASFormatI(length, type, subtype, formatType, subclass); in allocDescriptor()
85 return new Usb20ASFormatII(length, type, subtype, formatType, subclass); in allocDescriptor()
87 return new Usb10ASFormatII(length, type, subtype, formatType, subclass); in allocDescriptor()
92 return new Usb20ASFormatIII(length, type, subtype, formatType, subclass); in allocDescriptor()
97 return new UsbASFormat(length, type, subtype, formatType, subclass); in allocDescriptor()
DUsb20ASFormatI.java34 public Usb20ASFormatI(int length, byte type, byte subtype, byte formatType, int subclass) { in Usb20ASFormatI() argument
35 super(length, type, subtype, formatType, subclass); in Usb20ASFormatI()
DUsb20ASFormatIII.java34 public Usb20ASFormatIII(int length, byte type, byte subtype, byte formatType, int subclass) { in Usb20ASFormatIII() argument
35 super(length, type, subtype, formatType, subclass); in Usb20ASFormatIII()
DUsb20ASFormatII.java37 public Usb20ASFormatII(int length, byte type, byte subtype, byte formatType, int subclass) { in Usb20ASFormatII() argument
38 super(length, type, subtype, formatType, subclass); in Usb20ASFormatII()
DUsb20ASFormatIIEx.java37 public Usb20ASFormatIIEx(int length, byte type, byte subtype, byte formatType, byte subclass) { in Usb20ASFormatIIEx() argument
38 super(length, type, subtype, formatType, subclass); in Usb20ASFormatIIEx()
DUsb10ASFormatII.java41 public Usb10ASFormatII(int length, byte type, byte subtype, byte formatType, int subclass) { in Usb10ASFormatII() argument
42 super(length, type, subtype, formatType, subclass); in Usb10ASFormatII()
DUsb10ASFormatI.java36 public Usb10ASFormatI(int length, byte type, byte subtype, byte formatType, int subclass) { in Usb10ASFormatI() argument
37 super(length, type, subtype, formatType, subclass); in Usb10ASFormatI()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java527 public Integer getIntValue(int formatType, int offset) { in getIntValue() argument
528 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getIntValue()
530 switch (formatType) { in getIntValue()
564 public Float getFloatValue(int formatType, int offset) { in getFloatValue() argument
565 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getFloatValue()
567 switch (formatType) { in getFloatValue()
619 public boolean setValue(int value, int formatType, int offset) { in setValue() argument
620 int len = offset + getTypeLen(formatType); in setValue()
624 switch (formatType) { in setValue()
666 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument
[all …]
/frameworks/wilhelm/src/
Ddata.cpp345 SLuint32 formatType; in checkDataFormat() local
347 pDataFormat->mFormatType = formatType = SL_DATAFORMAT_NULL; in checkDataFormat()
349 formatType = *(SLuint32 *)pFormat; in checkDataFormat()
350 switch (formatType) { in checkDataFormat()
572 SL_LOGE("%s: formatType=%u", name, (unsigned) formatType); in checkDataFormat()
578 if ((SL_RESULT_SUCCESS == result) && (formatType != pDataFormat->mFormatType)) { in checkDataFormat()
579 SL_LOGE("%s: formatType changed from %u to %u", name, formatType, in checkDataFormat()
589 switch (formatType) { in checkDataFormat()
595 actualMask = 1L << formatType; in checkDataFormat()
603 SL_LOGE("%s: data format %d not allowed", name, formatType); in checkDataFormat()
/frameworks/wilhelm/src/android/
Dandroid_sles_conversions.h33 switch (df_pcm->formatType) { in sles_to_android_sampleFormat()
/frameworks/wilhelm/src/desktop/
DSndFile.cpp141 SLuint32 formatType = *(SLuint32 *)pAudioSrc->pFormat; in SndFile_checkAudioPlayerSourceSink() local
158 switch (formatType) { in SndFile_checkAudioPlayerSourceSink()
/frameworks/wilhelm/tests/sandbox/
Dxa.c83 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()
/frameworks/wilhelm/tests/listening/
DseekTorture.c65 mime.formatType = SL_DATAFORMAT_MIME; in main()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp334 decMime.formatType = SL_DATAFORMAT_MIME; in TestDecToBuffQueue()
346 pcm.formatType = SL_DATAFORMAT_PCM; in TestDecToBuffQueue()
DslesTestPlayFdPath.cpp141 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayPathFromFD()
DslesTestSawtoothBufferQueue.cpp166 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()
/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp112 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()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp148 mime.formatType = SL_DATAFORMAT_MIME; in TestPlayUri()
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h49 SLuint32 formatType; member

12