/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 414 case DEVICE_ROLE_PREFERRED: { in setDevicesRoleForT() 437 const device_role_t roleToRemove = DEVICE_ROLE_PREFERRED; in setDevicesRoleForT() 466 case DEVICE_ROLE_PREFERRED: in removeDevicesRoleForT() 495 case DEVICE_ROLE_PREFERRED: in removeAllDevicesRoleForT() 523 case DEVICE_ROLE_PREFERRED: in getDevicesRoleForT() 603 case DEVICE_ROLE_PREFERRED: in addDevicesRoleForCapturePreset() 614 role == DEVICE_ROLE_PREFERRED ? DEVICE_ROLE_DISABLED : DEVICE_ROLE_PREFERRED, in addDevicesRoleForCapturePreset() 641 case DEVICE_ROLE_PREFERRED: in doRemoveDevicesRoleForCapturePreset() 717 DEVICE_ROLE_PREFERRED, availableDevices, activeDevices) != NO_ERROR) { in getActiveMediaDevices() 755 strategy, DEVICE_ROLE_PREFERRED, preferredStrategyDevices); in getPreferredAvailableDevicesForProductStrategy()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audiosystem_tests.cpp | 412 DEVICE_ROLE_PREFERRED, devices)); in TEST_F() 415 status = AudioSystem::getDevicesForRoleAndStrategy(mediaStrategy.getId(), DEVICE_ROLE_PREFERRED, in TEST_F() 427 DEVICE_ROLE_PREFERRED, outputDevices)); in TEST_F() 429 DEVICE_ROLE_PREFERRED, devices)); in TEST_F() 432 DEVICE_ROLE_PREFERRED)); in TEST_F() 434 mediaStrategy.getId(), DEVICE_ROLE_PREFERRED, devices)); in TEST_F() 481 const device_role_t role = DEVICE_ROLE_PREFERRED; in TEST_F()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 240 if (role == DEVICE_ROLE_PREFERRED) { in setDevicesRoleForStrategy() 268 if (status != NO_ERROR || role == DEVICE_ROLE_PREFERRED) { in removeDevicesRoleForStrategy() 293 if (status != NO_ERROR || role == DEVICE_ROLE_PREFERRED || prevDisabledDevices.empty()) { in clearDevicesRoleForStrategy()
|
/frameworks/av/media/libaudioclient/ |
D | PolicyAidlConversion.cpp | 433 return DEVICE_ROLE_PREFERRED; in aidl2legacy_DeviceRole_device_role_t() 445 case DEVICE_ROLE_PREFERRED: in legacy2aidl_device_role_t_DeviceRole()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 3316 const device_role_t role = DEVICE_ROLE_PREFERRED; in TEST_F() 3426 DevicesRoleForCapturePresetParam({AUDIO_SOURCE_MIC, DEVICE_ROLE_PREFERRED}), 3428 DEVICE_ROLE_PREFERRED}), 3430 DEVICE_ROLE_PREFERRED}), 3431 DevicesRoleForCapturePresetParam({AUDIO_SOURCE_VOICE_CALL, DEVICE_ROLE_PREFERRED}), 3432 DevicesRoleForCapturePresetParam({AUDIO_SOURCE_CAMCORDER, DEVICE_ROLE_PREFERRED}), 3434 DEVICE_ROLE_PREFERRED}), 3436 DEVICE_ROLE_PREFERRED}), 3438 DEVICE_ROLE_PREFERRED}), 3439 DevicesRoleForCapturePresetParam({AUDIO_SOURCE_UNPROCESSED, DEVICE_ROLE_PREFERRED}), [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceInventory.java | 799 capturePreset, AudioSystem.DEVICE_ROLE_PREFERRED, devices); in reapplyExternalDevicesRoles() 1257 capturePreset, AudioSystem.DEVICE_ROLE_PREFERRED, devices); in onSaveSetPreferredDevicesForCapturePreset() 1263 capturePreset, AudioSystem.DEVICE_ROLE_PREFERRED, in onSaveClearPreferredDevicesForCapturePreset() 1284 strategy, AudioSystem.DEVICE_ROLE_PREFERRED, devices, false /* internal */); in setPreferredDevicesForStrategy() 1293 strategy, AudioSystem.DEVICE_ROLE_PREFERRED, devices, true /* internal */); in setPreferredDevicesForStrategyInt() 1309 strategy, AudioSystem.DEVICE_ROLE_PREFERRED, false /*internal */); in removePreferredDevicesForStrategy() 1316 strategy, AudioSystem.DEVICE_ROLE_PREFERRED, true /*internal */); in removePreferredDevicesForStrategyInt() 1389 capturePreset, AudioSystem.DEVICE_ROLE_PREFERRED, devices); in setPreferredDevicesForCapturePreset() 1408 capturePreset, AudioSystem.DEVICE_ROLE_PREFERRED); in clearPreferredDevicesForCapturePreset()
|
D | AudioService.java | 3096 strategy, AudioSystem.DEVICE_ROLE_PREFERRED, devices); in getPreferredDevicesForStrategy() 3299 capturePreset, AudioSystem.DEVICE_ROLE_PREFERRED, devices); in getPreferredDevicesForCapturePreset()
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.cpp | 565 inputSource, DEVICE_ROLE_PREFERRED, preferredDevices); in getPreferredAvailableDevicesForInputSource()
|
/frameworks/base/media/java/android/media/ |
D | AudioManager.java | 2581 executor, listener, AudioSystem.DEVICE_ROLE_PREFERRED); in addOnPreferredDevicesForCapturePresetChangedListener() 2604 listener, AudioSystem.DEVICE_ROLE_PREFERRED); in removeOnPreferredDevicesForCapturePresetChangedListener() 2694 AudioSystem.DEVICE_ROLE_PREFERRED, 2761 case AudioSystem.DEVICE_ROLE_PREFERRED: { in dispatchDevicesRoleChanged()
|
D | AudioSystem.java | 1678 public static final int DEVICE_ROLE_PREFERRED = 1; field in AudioSystem
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 7392 mEngine->getDevicesForRoleAndStrategy(mCommunnicationStrategy, DEVICE_ROLE_PREFERRED, devices); in isScoRequestedForComm()
|
/frameworks/base/core/api/ |
D | test-current.txt | 2016 field public static final int DEVICE_ROLE_PREFERRED = 1; // 0x1
|