Home
last modified time | relevance | path

Searched refs:AUDIO_FORMAT_DEFAULT (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp217 String8(""), AUDIO_FORMAT_DEFAULT) == nullptr) || in getDevicesForStrategyInt()
219 txDevice, String8(""), AUDIO_FORMAT_DEFAULT) != nullptr) && in getDevicesForStrategyInt()
378 AUDIO_FORMAT_DEFAULT)) != nullptr) { in getDevicesForStrategyInt()
503 AUDIO_DEVICE_IN_BLUETOOTH_A2DP, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForInputSource()
507 AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForInputSource()
520 String8(""), AUDIO_FORMAT_DEFAULT)) == nullptr) { in getDeviceForInputSource()
528 AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForInputSource()
555 AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForInputSource()
572 AUDIO_DEVICE_IN_VOICE_CALL, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForInputSource()
581 AUDIO_DEVICE_IN_REMOTE_SUBMIX, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForInputSource()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp54 mCurrentEncodedFormat = AUDIO_FORMAT_DEFAULT; in DeviceDescriptor()
108 return (mCurrentEncodedFormat != AUDIO_FORMAT_DEFAULT); in hasCurrentEncodedFormat()
272 format == AUDIO_FORMAT_DEFAULT) || in getDevice()
273 (itemAt(i)->supportsFormat(format) && format != AUDIO_FORMAT_DEFAULT)) { in getDevice()
340 if ((device = getDevice(deviceType, String8(""), AUDIO_FORMAT_DEFAULT)) != nullptr) { in getFirstExistingDevice()
359 getDevice(deviceType, String8(""), AUDIO_FORMAT_DEFAULT); in getDeviceForOpening()
DPolicyAudioPort.cpp165 AUDIO_FORMAT_DEFAULT,
228 format = AUDIO_FORMAT_DEFAULT; in pickAudioProfile()
256 if (formatToCompare != AUDIO_FORMAT_DEFAULT && pickedChannelMask != AUDIO_CHANNEL_NONE in pickAudioProfile()
DHwModule.cpp282 if (encodedFormat != AUDIO_FORMAT_DEFAULT) { in getModuleForDeviceType()
331 if (encodedFormat != AUDIO_FORMAT_DEFAULT) { in getDeviceDescriptor()
382 profile->getSupportedDevices().getDevice(type, String8(), AUDIO_FORMAT_DEFAULT); in createDevice()
DAudioPolicyMix.cpp348 return availableOutputDevices.getDevice(deviceType, address, AUDIO_FORMAT_DEFAULT); in getDeviceAndMixForOutput()
373 availDevices.getDevice(device, mix->mDeviceAddress, AUDIO_FORMAT_DEFAULT); in getDeviceAndMixForInputSource()
/frameworks/base/core/jni/
Dandroid_media_AudioFormat.h89 return AUDIO_FORMAT_DEFAULT; in audioFormatToNative()
150 case AUDIO_FORMAT_DEFAULT: in audioFormatFromNative()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java439 AudioSystem.AUDIO_FORMAT_DEFAULT); in handleDeviceConnection()
446 device, deviceName, address, AudioSystem.AUDIO_FORMAT_DEFAULT)); in handleDeviceConnection()
452 AudioSystem.AUDIO_FORMAT_DEFAULT); in handleDeviceConnection()
661 AudioSystem.AUDIO_FORMAT_DEFAULT; in makeA2dpDeviceUnavailableLater()
673 AudioSystem.AUDIO_FORMAT_DEFAULT); in makeA2dpSrcAvailable()
677 address, AudioSystem.AUDIO_FORMAT_DEFAULT)); in makeA2dpSrcAvailable()
684 AudioSystem.AUDIO_FORMAT_DEFAULT); in makeA2dpSrcUnavailable()
698 AudioSystem.AUDIO_FORMAT_DEFAULT); in makeHearingAidDeviceAvailable()
702 address, AudioSystem.AUDIO_FORMAT_DEFAULT)); in makeHearingAidDeviceAvailable()
713 AudioSystem.AUDIO_FORMAT_DEFAULT); in makeHearingAidDeviceUnavailable()
DBtHelper.java122 this(btDevice, -1, AudioSystem.AUDIO_FORMAT_DEFAULT); in BluetoothA2dpDeviceInfo()
235 return AudioSystem.AUDIO_FORMAT_DEFAULT; in getA2dpCodec()
239 return AudioSystem.AUDIO_FORMAT_DEFAULT; in getA2dpCodec()
243 return AudioSystem.AUDIO_FORMAT_DEFAULT; in getA2dpCodec()
1010 return AudioSystem.AUDIO_FORMAT_DEFAULT; in mapBluetoothCodecToAudioFormat()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioProfile.h33 static sp<AudioProfile> createFullDynamic(audio_format_t dynamicFormat = AUDIO_FORMAT_DEFAULT);
54 bool hasValidFormat() const { return mFormat != AUDIO_FORMAT_DEFAULT; } in hasValidFormat()
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp47 audio_format_t transferFormat = AUDIO_FORMAT_DEFAULT;
278 if (transferFormat == AUDIO_FORMAT_DEFAULT) { in main()
283 if (transferFormat == AUDIO_FORMAT_DEFAULT) { in main()
288 if (transferFormat == AUDIO_FORMAT_DEFAULT) { in main()
293 if (transferFormat == AUDIO_FORMAT_DEFAULT) { in main()
298 if (transferFormat == AUDIO_FORMAT_DEFAULT) { in main()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h40 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), in AudioIoDescriptor()
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp129 androidFormat = AUDIO_FORMAT_DEFAULT; in AAudioConvert_aaudioToAndroidDataFormat()
148 case AUDIO_FORMAT_DEFAULT: in AAudioConvert_androidToAAudioDataFormat()
/frameworks/av/services/audioflinger/
DSpdifStreamOut.cpp40 , mApplicationFormat(AUDIO_FORMAT_DEFAULT) in SpdifStreamOut()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp995 address.c_str(), name.c_str(), AUDIO_FORMAT_DEFAULT)); in TEST_P()
999 address.c_str(), name.c_str(), AUDIO_FORMAT_DEFAULT)); in TEST_P()
1003 address.c_str(), name.c_str(), AUDIO_FORMAT_DEFAULT)); in TEST_P()
1007 address.c_str(), name.c_str(), AUDIO_FORMAT_DEFAULT)); in TEST_P()
1011 "", "", AUDIO_FORMAT_DEFAULT)); in TEST_P()
1022 address.c_str(), name.c_str(), AUDIO_FORMAT_DEFAULT)); in TEST_P()
1044 address.c_str(), name.c_str(), AUDIO_FORMAT_DEFAULT)); in TEST_P()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_audiorecord.cpp45 AUDIO_FORMAT_DEFAULT, in testRecord()
Dtest_create_audiotrack.cpp44 AUDIO_FORMAT_DEFAULT, in testTrack()
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h32 static const audio_format_t gDynamicFormat = AUDIO_FORMAT_DEFAULT;
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h153 audio_format_t mAudioFormat = AUDIO_FORMAT_DEFAULT;
DAAudioStreamParameters.cpp54 case AUDIO_FORMAT_DEFAULT: in isFormatValid()
DAudioStream.h560 audio_format_t mFormat = AUDIO_FORMAT_DEFAULT;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp209 device->setEncodedFormat(AUDIO_FORMAT_DEFAULT); in setDeviceConnectionStateInt()
386 mHwModules.getDeviceDescriptor(device, device_address, "", AUDIO_FORMAT_DEFAULT, in getDeviceConnectionState()
408 device, String8(device_address), AUDIO_FORMAT_DEFAULT) != 0) ? in getDeviceConnectionState()
540 mHwModules.getModuleForDeviceType(AUDIO_DEVICE_IN_TELEPHONY_RX, AUDIO_FORMAT_DEFAULT); in updateCallRouting()
542 mHwModules.getModuleForDeviceType(AUDIO_DEVICE_OUT_TELEPHONY_TX, AUDIO_FORMAT_DEFAULT); in updateCallRouting()
547 AUDIO_FORMAT_DEFAULT); in updateCallRouting()
551 AUDIO_FORMAT_DEFAULT); in updateCallRouting()
614 AUDIO_DEVICE_IN_TELEPHONY_RX, String8(), AUDIO_FORMAT_DEFAULT)); in createTelephonyPatch()
618 AUDIO_DEVICE_OUT_TELEPHONY_TX, String8(), AUDIO_FORMAT_DEFAULT)); in createTelephonyPatch()
956 AUDIO_FORMAT_DEFAULT); in getOutputForAttrInt()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp266 *deviceTypes.begin(), address, AUDIO_FORMAT_DEFAULT); in getDevicesForProductStrategy()
346 …return availableInputDevices.getDevice(deviceType, String8(address.c_str()), AUDIO_FORMAT_DEFAULT); in getInputDeviceForAttributes()
/frameworks/wilhelm/tests/examples/
DslesTestRecBuffQueue.cpp41 audio_format_t transferFormat = AUDIO_FORMAT_DEFAULT;
551 if (transferFormat == AUDIO_FORMAT_DEFAULT) { in main()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp144 if (getFormat() == AUDIO_FORMAT_DEFAULT) { in open()
DAAudioServiceEndpointMMAP.cpp112 if (audioFormat == AUDIO_FORMAT_DEFAULT || audioFormat == AUDIO_FORMAT_PCM_FLOAT) { in open()

12