/frameworks/av/services/audiopolicy/tests/ |
D | spatializer_tests.cpp | 77 const static inline std::vector<audio_latency_mode_t> sA2DPLatencyModes = { 81 const static inline std::vector<audio_latency_mode_t> sBLELatencyModes = { 116 std::vector<audio_latency_mode_t> latencies = sA2DPLatencyModes; in TEST_F() 119 std::vector<audio_latency_mode_t> supportedLatencies = in TEST_F() 134 std::vector<audio_latency_mode_t> latencies = sBLELatencyModes; in TEST_F() 137 std::vector<audio_latency_mode_t> supportedLatencies = in TEST_F() 144 std::vector<audio_latency_mode_t> orderedLowLatencyModes = in TEST_F() 147 std::vector<audio_latency_mode_t> supportedLowLatencyModes; in TEST_F() 155 std::vector<audio_latency_mode_t>::iterator lastIt = orderedLowLatencyModes.begin(); in TEST_F() 169 std::vector<audio_latency_mode_t> latencies = sA2DPLatencyModes; in TEST_F() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | Spatializer.h | 142 audio_io_handle_t output, const std::vector<audio_latency_mode_t>& modes) override; 169 std::vector<audio_latency_mode_t> getSupportedLatencyModes() const { in getSupportedLatencyModes() 175 std::vector<audio_latency_mode_t> getOrderedLowLatencyModes() const { in getOrderedLowLatencyModes() 180 audio_latency_mode_t getRequestedLatencyMode() const { in getRequestedLatencyMode() 214 static std::string toString(audio_latency_mode_t mode) { in toString() 228 audio_io_handle_t output, std::vector<audio_latency_mode_t>&& modes); 463 audio_latency_mode_t selectHeadtrackingConnectionMode_l() REQUIRES(mMutex); 543 std::vector<audio_latency_mode_t> mSupportedLatencyModes GUARDED_BY(mMutex); 545 std::vector<audio_latency_mode_t> mOrderedLowLatencyModes; 547 audio_latency_mode_t mRequestedLatencyMode GUARDED_BY(mMutex) = AUDIO_LATENCY_MODE_FREE; [all …]
|
D | Spatializer.cpp | 138 const std::vector<audio_latency_mode_t>& latencyModes) in LatencyModes() 143 std::vector<audio_latency_mode_t> mLatencyModes; 222 const std::map<std::string, audio_latency_mode_t> Spatializer::sStringToLatencyModeMap = { 930 [this](audio_latency_mode_t x, audio_latency_mode_t y) { in sortSupportedLatencyModes_l() 975 std::vector<audio_latency_mode_t> latencyModes; in attachOutput() 1033 audio_io_handle_t output, const std::vector<audio_latency_mode_t>& modes) { in onSupportedLatencyModesChanged() 1043 audio_io_handle_t output, std::vector<audio_latency_mode_t>&& modes) { in onSupportedLatencyModesChangedMsg() 1064 audio_latency_mode_t Spatializer::selectHeadtrackingConnectionMode_l() { in selectHeadtrackingConnectionMode_l() 1071 audio_latency_mode_t requestedLatencyMode = mSupportedLatencyModes[0]; in selectHeadtrackingConnectionMode_l()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | StreamHalInterface.h | 131 virtual void onRecommendedLatencyModeChanged(std::vector<audio_latency_mode_t> modes) = 0; 260 virtual status_t setLatencyMode(audio_latency_mode_t mode) = 0; 273 virtual status_t getRecommendedLatencyModes(std::vector<audio_latency_mode_t> *modes) = 0;
|
/frameworks/av/media/libaudiohal/impl/ |
D | StreamHalHidl.h | 208 status_t setLatencyMode(audio_latency_mode_t mode) override; 209 status_t getRecommendedLatencyModes(std::vector<audio_latency_mode_t> *modes) override; 213 void onRecommendedLatencyModeChanged(const std::vector<audio_latency_mode_t>& modes);
|
D | StreamHalHidl.cpp | 904 status_t StreamOutHalHidl::setLatencyMode(audio_latency_mode_t mode) { in setLatencyMode() 911 status_t StreamOutHalHidl::getRecommendedLatencyModes(std::vector<audio_latency_mode_t> *modes) { in getRecommendedLatencyModes() 919 modes->push_back(static_cast<audio_latency_mode_t>(hidlModes[i])); in getRecommendedLatencyModes() 937 std::vector<audio_latency_mode_t> modes; in onRecommendedLatencyModeChanged() 939 modes.push_back(static_cast<audio_latency_mode_t>(hidlModes[i])); in onRecommendedLatencyModeChanged() 966 status_t StreamOutHalHidl::setLatencyMode(audio_latency_mode_t mode __unused) { in setLatencyMode() 971 std::vector<audio_latency_mode_t> *modes __unused) { in getRecommendedLatencyModes() 1011 const std::vector<audio_latency_mode_t>& modes) { in onRecommendedLatencyModeChanged()
|
D | StreamHalAidl.h | 379 status_t setLatencyMode(audio_latency_mode_t mode) override; 380 status_t getRecommendedLatencyModes(std::vector<audio_latency_mode_t> *modes) override;
|
D | StreamHalAidl.cpp | 906 status_t StreamOutHalAidl::setLatencyMode(audio_latency_mode_t mode) { in setLatencyMode() 914 status_t StreamOutHalAidl::getRecommendedLatencyModes(std::vector<audio_latency_mode_t> *modes) { in getRecommendedLatencyModes() 924 ::aidl::android::convertContainer<std::vector<audio_latency_mode_t>>( in getRecommendedLatencyModes()
|
D | DeviceHalAidl.cpp | 416 ::aidl::android::convertContainer<std::vector<audio_latency_mode_t>>( in onRecommendedLatencyModeChanged()
|
/frameworks/av/services/audioflinger/ |
D | Threads.h | 1161 audio_latency_mode_t /* mode */) override { return INVALID_OPERATION; } in setRequestedLatencyMode() argument 1164 std::vector<audio_latency_mode_t>* /* modes */) override { in getSupportedLatencyModes() argument 1603 std::vector<audio_latency_mode_t> modes) final; 1646 std::vector<audio_latency_mode_t> mSupportedLatencyModes = {AUDIO_LATENCY_MODE_LOW}; 1648 audio_latency_mode_t mSetLatencyMode = 1649 (audio_latency_mode_t)AUDIO_LATENCY_MODE_INVALID; 1689 std::vector<audio_latency_mode_t>* modes) override; 1943 status_t setRequestedLatencyMode(audio_latency_mode_t mode) final EXCLUDES_ThreadBase_Mutex; 1954 audio_latency_mode_t mRequestedLatencyMode = AUDIO_LATENCY_MODE_FREE;
|
D | IAfThread.h | 120 const std::vector<audio_latency_mode_t>& modes) 525 virtual status_t setRequestedLatencyMode(audio_latency_mode_t mode) = 0; 527 virtual status_t getSupportedLatencyModes(std::vector<audio_latency_mode_t>* modes)
|
D | AudioFlinger.h | 238 audio_io_handle_t output, audio_latency_mode_t mode) final 242 std::vector<audio_latency_mode_t>* modes) const final EXCLUDES_AudioFlinger_Mutex; 405 audio_io_handle_t output, const std::vector<audio_latency_mode_t>& modes) final
|
D | Threads.cpp | 356 static std::string toString(audio_latency_mode_t mode) { in toString() 363 static std::string toString(const std::vector<audio_latency_mode_t>& elements) { in toString() 6567 audio_latency_mode_t latencyMode = AUDIO_LATENCY_MODE_FREE; in setHalLatencyMode_l() 6600 std::vector<audio_latency_mode_t> latencyModes; in updateHalSupportedLatencyModes_l() 6614 std::vector<audio_latency_mode_t>* modes) { in getSupportedLatencyModes() 6624 std::vector<audio_latency_mode_t> modes) { in onRecommendedLatencyModeChanged() 7950 audio_latency_mode_t latencyMode = AUDIO_LATENCY_MODE_FREE; in setHalLatencyMode_l() 7978 status_t SpatializerThread::setRequestedLatencyMode(audio_latency_mode_t mode) { in setRequestedLatencyMode()
|
D | AudioFlinger.cpp | 1569 audio_io_handle_t output, audio_latency_mode_t mode) { in setRequestedLatencyMode() 1582 std::vector<audio_latency_mode_t>* modes) const { in getSupportedLatencyModes() 2181 audio_io_handle_t output, const std::vector<audio_latency_mode_t>& modes) { in onSupportedLatencyModesChanged()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 372 audio_io_handle_t output, audio_latency_mode_t mode) = 0; 375 std::vector<audio_latency_mode_t>* modes) const = 0; 501 audio_latency_mode_t mode) override; 503 audio_io_handle_t output, std::vector<audio_latency_mode_t>* modes) const override;
|
D | AudioSystem.h | 671 audio_io_handle_t output, audio_latency_mode_t mode); 674 std::vector<audio_latency_mode_t>* modes); 780 audio_io_handle_t output, const std::vector<audio_latency_mode_t>& modes) = 0;
|
/frameworks/av/media/audioaidlconversion/include/media/ |
D | AidlConversionCppNdk-impl.h | 410 ConversionResult<audio_latency_mode_t> 413 legacy2aidl_audio_latency_mode_t_AudioLatencyMode(audio_latency_mode_t legacy);
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 829 audio_io_handle_t output, audio_latency_mode_t mode) { in setRequestedLatencyMode() 837 audio_io_handle_t output, std::vector<audio_latency_mode_t>* modes) const { in getSupportedLatencyModes() 849 convertContainer<std::vector<audio_latency_mode_t>>(modesAidl, in getSupportedLatencyModes() 1427 audio_latency_mode_t modeLegacy = VALUE_OR_RETURN_BINDER( in setRequestedLatencyMode() 1437 std::vector<audio_latency_mode_t> modesLegacy; in getSupportedLatencyModes()
|
D | AudioSystem.cpp | 769 std::vector<audio_latency_mode_t> modesLegacy = VALUE_OR_RETURN_BINDER_STATUS( in onSupportedLatencyModesChanged() 770 convertContainer<std::vector<audio_latency_mode_t>>( in onSupportedLatencyModesChanged() 2590 audio_io_handle_t output, audio_latency_mode_t mode) { in setRequestedLatencyMode() 2599 std::vector<audio_latency_mode_t>* modes) { in getSupportedLatencyModes()
|
/frameworks/av/media/audioaidlconversion/ |
D | AidlConversionCppNdk.cpp | 3001 ConversionResult<audio_latency_mode_t> 3016 legacy2aidl_audio_latency_mode_t_AudioLatencyMode(audio_latency_mode_t legacy) { in legacy2aidl_audio_latency_mode_t_AudioLatencyMode()
|