/frameworks/av/services/audiopolicy/engine/interface/ |
D | EngineInterface.h | 42 std::map<std::pair<audio_source_t, device_role_t>, AudioDeviceTypeAddrVector>; 338 virtual status_t setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, 350 virtual status_t removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, 362 device_role_t role) = 0; 375 virtual status_t getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, 391 virtual status_t setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, 406 virtual status_t addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, 420 device_role_t role, const AudioDeviceTypeAddrVector& devices) = 0; 431 device_role_t role); 445 device_role_t role, AudioDeviceTypeAddrVector &devices) const = 0;
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | EngineBase.h | 108 status_t setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, 111 status_t removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, 114 status_t clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) override; 116 status_t getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role, 148 status_t setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, 151 status_t addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role, 160 device_role_t role, const AudioDeviceTypeAddrVector& devices, 164 device_role_t role, const AudioDeviceTypeAddrVector& devices) override; 167 device_role_t role) override; 170 device_role_t role, AudioDeviceTypeAddrVector &devices) const override; [all …]
|
D | ProductStrategy.h | 169 std::map<std::pair<product_strategy_t, device_role_t>, AudioDeviceTypeAddrVector>;
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 405 std::map<std::pair<T, device_role_t>, AudioDeviceTypeAddrVector>& tDevicesRoleMap, in setDevicesRoleForT() argument 406 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in setDevicesRoleForT() 418 const device_role_t roleToRemove = DEVICE_ROLE_DISABLED; in setDevicesRoleForT() 437 const device_role_t roleToRemove = DEVICE_ROLE_PREFERRED; in setDevicesRoleForT() 457 std::map<std::pair<T, device_role_t>, AudioDeviceTypeAddrVector>& tDevicesRoleMap, in removeDevicesRoleForT() argument 458 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in removeDevicesRoleForT() 487 std::map<std::pair<T, device_role_t>, AudioDeviceTypeAddrVector>& tDevicesRoleMap, in removeAllDevicesRoleForT() argument 488 T t, device_role_t role, const std::string& logStr, std::function<bool(T)> p) { in removeAllDevicesRoleForT() 514 const std::map<std::pair<T, device_role_t>, AudioDeviceTypeAddrVector>& tDevicesRoleMap, in getDevicesRoleForT() argument 515 T t, device_role_t role, AudioDeviceTypeAddrVector &devices, const std::string& logStr, in getDevicesRoleForT() [all …]
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 340 device_role_t role, 344 device_role_t role, 348 device_role_t role) = 0; 351 device_role_t role, 355 device_role_t role, 359 device_role_t role, 363 audio_source_t audioSource, device_role_t role, 367 device_role_t role) = 0; 370 device_role_t role,
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 78 status_t setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, 81 status_t removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, 83 status_t clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) override;
|
D | Engine.cpp | 228 status_t Engine::setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in setDevicesRoleForStrategy() 256 status_t Engine::removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role, in removeDevicesRoleForStrategy() 282 status_t Engine::clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) in clearDevicesRoleForStrategy()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | PolicyAidlConversion.h | 97 ConversionResult<device_role_t> 100 legacy2aidl_device_role_t_DeviceRole(device_role_t legacy);
|
D | AudioSystem.h | 564 device_role_t role, const AudioDeviceTypeAddrVector &devices); 567 device_role_t role, const AudioDeviceTypeAddrVector &devices); 570 device_role_t role); 573 device_role_t role, AudioDeviceTypeAddrVector &devices); 576 device_role_t role, const AudioDeviceTypeAddrVector &devices); 579 device_role_t role, const AudioDeviceTypeAddrVector &devices); 582 audio_source_t audioSource, device_role_t role, 586 audio_source_t audioSource, device_role_t role); 589 device_role_t role, AudioDeviceTypeAddrVector &devices);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 312 device_role_t role, 316 device_role_t role, 320 device_role_t role); 323 device_role_t role, 327 device_role_t role, 331 device_role_t role, 335 audio_source_t audioSource, device_role_t role, 339 device_role_t role); 342 device_role_t role,
|
D | AudioPolicyManager.cpp | 4185 device_role_t role, in setDevicesRoleForStrategy() 4276 device_role_t role, in removeDevicesRoleForStrategy() 4309 device_role_t role) in clearDevicesRoleForStrategy() 4338 device_role_t role, in getDevicesForRoleAndStrategy() 4344 audio_source_t audioSource, device_role_t role, const AudioDeviceTypeAddrVector &devices) { in setDevicesRoleForCapturePreset() 4360 audio_source_t audioSource, device_role_t role, const AudioDeviceTypeAddrVector &devices) { in addDevicesRoleForCapturePreset() 4377 audio_source_t audioSource, device_role_t role, const AudioDeviceTypeAddrVector& devices) in removeDevicesRoleForCapturePreset() 4398 device_role_t role) { in clearDevicesRoleForCapturePreset() 4411 audio_source_t audioSource, device_role_t role, AudioDeviceTypeAddrVector &devices) { in getDevicesForRoleAndCapturePreset()
|
/frameworks/av/media/libaudioclient/ |
D | PolicyAidlConversion.cpp | 427 ConversionResult<device_role_t> 441 legacy2aidl_device_role_t_DeviceRole(device_role_t legacy) { in legacy2aidl_device_role_t_DeviceRole()
|
D | AudioSystem.cpp | 2338 device_role_t role, in setDevicesRoleForStrategy() 2355 device_role_t role, in removeDevicesRoleForStrategy() 2372 AudioSystem::clearDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role) { in clearDevicesRoleForStrategy() 2384 device_role_t role, in getDevicesForRoleAndStrategy() 2402 device_role_t role, in setDevicesRoleForCapturePreset() 2420 device_role_t role, in addDevicesRoleForCapturePreset() 2437 audio_source_t audioSource, device_role_t role, const AudioDeviceTypeAddrVector& devices) { in removeDevicesRoleForCapturePreset() 2453 device_role_t role) { in clearDevicesRoleForCapturePreset() 2466 device_role_t role, in getDevicesForRoleAndCapturePreset()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 2267 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in setDevicesRoleForStrategy() 2290 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in removeDevicesRoleForStrategy() 2311 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in clearDevicesRoleForStrategy() 2330 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in getDevicesForRoleAndStrategy() 2358 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in setDevicesRoleForCapturePreset() 2378 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in addDevicesRoleForCapturePreset() 2398 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in removeDevicesRoleForCapturePreset() 2416 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in clearDevicesRoleForCapturePreset() 2433 device_role_t role = VALUE_OR_RETURN_BINDER_STATUS( in getDevicesForRoleAndCapturePreset()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 2856 static_cast<device_role_t>(role), nDevices)); in android_media_AudioSystem_setDevicesRoleForStrategy() 2871 static_cast<device_role_t>(role), nDevices)); in android_media_AudioSystem_removeDevicesRoleForStrategy() 2880 (device_role_t)role), in android_media_AudioSystem_clearDevicesRoleForStrategy() 2890 static_cast<device_role_t>(role), nDevices)); in android_media_AudioSystem_getDevicesForRoleAndStrategy() 2916 static_cast<device_role_t>(role), in android_media_AudioSystem_setDevicesRoleForCapturePreset() 2931 static_cast<device_role_t>(role), in android_media_AudioSystem_addDevicesRoleForCapturePreset() 2947 static_cast<device_role_t>(role), in android_media_AudioSystem_removeDevicesRoleForCapturePreset() 2958 static_cast<device_role_t>(role)))); in android_media_AudioSystem_clearDevicesRoleForCapturePreset() 2969 static_cast<device_role_t>(role), in android_media_AudioSystem_getDevicesForRoleAndCapturePreset()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audiosystem_tests.cpp | 481 const device_role_t role = DEVICE_ROLE_PREFERRED; in TEST_F()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 3235 using DevicesRoleForCapturePresetParam = std::tuple<audio_source_t, device_role_t>; 3249 const device_role_t role = std::get<1>(GetParam()); in TEST_P() 3316 const device_role_t role = DEVICE_ROLE_PREFERRED; in TEST_F() 3374 const device_role_t role = DEVICE_ROLE_DISABLED; in TEST_F()
|