Home
last modified time | relevance | path

Searched refs:ENCODING_PCM_16BIT (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioTrackTest.java118 _inTest_config, AudioFormat.ENCODING_PCM_16BIT) in constructorTestMultiSampleRate()
141 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorMono16MusicStream()
154 AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorStereo16MusicStream()
167 AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorMono16MusicStatic()
180 AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT, in testConstructorStereo16MusicStatic()
250 final int TYPE_TEST_FORMAT = AudioFormat.ENCODING_PCM_16BIT; in testConstructorStreamType()
305 final int TEST_FORMAT = AudioFormat.ENCODING_PCM_16BIT; in testPlaybackHeadPositionAfterInit()
326 final int TEST_FORMAT = AudioFormat.ENCODING_PCM_16BIT; in testPlaybackHeadPositionIncrease()
354 final int TEST_FORMAT = AudioFormat.ENCODING_PCM_16BIT; in testPlaybackHeadPositionAfterFlush()
384 final int TEST_FORMAT = AudioFormat.ENCODING_PCM_16BIT; in testPlaybackHeadPositionAfterStop()
[all …]
DMediaAudioEffectTest.java134 AudioFormat.ENCODING_PCM_16BIT, in getAudioRecord()
137 AudioFormat.ENCODING_PCM_16BIT) * 10); in getAudioRecord()
402 AudioFormat.ENCODING_PCM_16BIT, in test1_7AuxiliaryOnAudioTrack()
405 AudioFormat.ENCODING_PCM_16BIT), in test1_7AuxiliaryOnAudioTrack()
/frameworks/base/media/java/android/media/
DAudioFormat.java274 public static final int ENCODING_PCM_16BIT = 2; field in AudioFormat
384 case ENCODING_PCM_16BIT: in toLogFriendlyEncoding()
791 case ENCODING_PCM_16BIT: in getBytesPerSample()
810 case ENCODING_PCM_16BIT: in isValidEncoding()
850 case ENCODING_PCM_16BIT: in isPublicEncoding()
891 case ENCODING_PCM_16BIT: in isEncodingLinearPcm()
933 case ENCODING_PCM_16BIT: in isEncodingLinearFrames()
1223 mEncoding = ENCODING_PCM_16BIT; in setEncoding()
1225 case ENCODING_PCM_16BIT: in setEncoding()
1455 ENCODING_PCM_16BIT,
[all …]
DJetPlayer.java168 JET_OUTPUT_CHANNEL_CONFIG, AudioFormat.ENCODING_PCM_16BIT); in JetPlayer()
178 (AudioFormat.getBytesPerSample(AudioFormat.ENCODING_PCM_16BIT) * in JetPlayer()
DAudioRecord.java990 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in build()
996 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in build()
1172 mAudioFormat = AudioFormat.ENCODING_PCM_16BIT; in audioParamCheck()
1177 case AudioFormat.ENCODING_PCM_16BIT: in audioParamCheck()
/frameworks/base/core/jni/
Dandroid_media_AudioFormat.h23 #define ENCODING_PCM_16BIT 2 macro
66 case ENCODING_PCM_16BIT: in audioFormatToNative()
137 return ENCODING_PCM_16BIT; in audioFormatFromNative()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DSoundTriggerTest.java225 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testRecognitionEventParcelUnparcel_noData()
254 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testRecognitionEventParcelUnparcel_zeroData()
285 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testRecognitionEventParcelUnparcel_largeData()
316 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testRecognitionEventParcelUnparcel_largeAudioData()
346 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testKeyphraseRecognitionEventParcelUnparcel_noKeyphrases()
380 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testKeyphraseRecognitionEventParcelUnparcel_zeroData()
430 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testKeyphraseRecognitionEventParcelUnparcel_largeData()
/frameworks/base/core/tests/coretests/src/android/companion/virtual/audio/
DVirtualAudioSessionTest.java21 import static android.media.AudioFormat.ENCODING_PCM_16BIT;
67 .setEncoding(ENCODING_PCM_16BIT)
73 .setEncoding(ENCODING_PCM_16BIT)
/frameworks/base/media/tests/aidltests/src/com/android/media/
DAidlConversionUnitTests.java152 assertEquals(AudioFormat.ENCODING_PCM_16BIT, api.getEncoding()); in testAudioConfigConversionApiIndex()
167 assertEquals(AudioFormat.ENCODING_PCM_16BIT, api.getEncoding()); in testAudioConfigConversionApiLayout()
172 assertEquals(AudioFormat.ENCODING_PCM_16BIT, apiInput.getEncoding()); in testAudioConfigConversionApiLayout()
188 assertEquals(AudioFormat.ENCODING_PCM_16BIT, api.getEncoding()); in testAudioConfigBaseConversionApiIndex()
201 assertEquals(AudioFormat.ENCODING_PCM_16BIT, api.getEncoding()); in testAudioConfigBaseConversionApiLayout()
206 assertEquals(AudioFormat.ENCODING_PCM_16BIT, apiInput.getEncoding()); in testAudioConfigBaseConversionApiLayout()
220 assertEquals(AudioFormat.ENCODING_PCM_16BIT, api); in testAudioFormatConversionApiPcm16()
/frameworks/base/media/java/android/media/musicrecognition/
DRecognitionRequest.java20 import static android.media.AudioFormat.ENCODING_PCM_16BIT;
86 .setEncoding(ENCODING_PCM_16BIT)
/frameworks/base/core/java/android/speech/tts/
DSynthesisCallback.java46 AudioFormat.ENCODING_PCM_16BIT,
DPlaybackSynthesisCallback.java129 audioFormat != AudioFormat.ENCODING_PCM_16BIT && in start()
DFileSynthesisCallback.java109 audioFormat != AudioFormat.ENCODING_PCM_16BIT && in start()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioPolicyDeathTestActivity.java59 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in onCreate()
DAudioPolicyDeathTest.java175 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in createAudioTrack()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DSpatializerHelperTest.java141 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in testNoRoutingCanBeSpatialized()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DAudioTrackUnitTest.java52 TEST_SAMPLE_RATE).setEncoding(AudioFormat.ENCODING_PCM_16BIT).setChannelMask(
DAudioRecordUnitTest.java50 TEST_SAMPLE_RATE).setEncoding(AudioFormat.ENCODING_PCM_16BIT).setChannelMask(
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java70 public int encoding = AudioFormat.ENCODING_PCM_16BIT;
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/voiceinteraction/
DHotwordAudioStreamCopierTest.java63 .setEncoding(AudioFormat.ENCODING_PCM_16BIT)
/frameworks/proto_logging/stats/enums/stats/mediametrics/
Dmediametrics.proto164 ENCODING_PCM_16BIT = 2; enumerator
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java270 .setEncoding(AudioFormat.ENCODING_PCM_16BIT) in aidl2apiAudioFormatWithDefault()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java629 if (supportedAudioFormat == AudioFormat.ENCODING_PCM_16BIT) { in getSupportedShortAudioDescriptor()
679 AudioFormat.ENCODING_PCM_16BIT, in mapAudioCodecWithAudioFormat()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java592 case AudioFormat.ENCODING_PCM_16BIT: in run()
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java454 return AudioFormat.ENCODING_PCM_16BIT; in aidl2api_AudioFormat_AudioFormatEncoding()

12