Searched refs:mSupportedLatencyModes (Results 1 – 4 of 4) sorted by relevance
929 std::sort(mSupportedLatencyModes.begin(), mSupportedLatencyModes.end(), in sortSupportedLatencyModes_l()978 mSupportedLatencyModes = latencyModes; in attachOutput()1048 mSupportedLatencyModes = std::move(modes); in onSupportedLatencyModesChangedMsg()1071 audio_latency_mode_t requestedLatencyMode = mSupportedLatencyModes[0]; in selectHeadtrackingConnectionMode_l()1084 if (mSupportedLatencyModes.size() > 1) { in selectHeadtrackingConnectionMode_l()1085 requestedLatencyMode = mSupportedLatencyModes[1]; in selectHeadtrackingConnectionMode_l()1101 const bool supportsSetLatencyMode = !mSupportedLatencyModes.empty(); in checkSensorsState_l()1107 && mSupportedLatencyModes[0] != AUDIO_LATENCY_MODE_FREE; in checkSensorsState_l()1110 mSupportedLatencyModes.begin(), mSupportedLatencyModes.end(), in checkSensorsState_l()1111 AUDIO_LATENCY_MODE_LOW) != mSupportedLatencyModes.end(); in checkSensorsState_l()
171 return mSupportedLatencyModes; in getSupportedLatencyModes()543 std::vector<audio_latency_mode_t> mSupportedLatencyModes GUARDED_BY(mMutex);
6525 dprintf(fd, "Supported latency modes: %s\n", toString(mSupportedLatencyModes).c_str()); in dumpInternals_l()6550 mAfThreadCallback->onSupportedLatencyModesChanged(mId, mSupportedLatencyModes); in onHalLatencyModesChanged_l()6558 if (!mBluetoothLatencyModesEnabled.load() || mSupportedLatencyModes.empty()) { in setHalLatencyMode_l()6568 if (mSupportedLatencyModes.size() == 1) { in setHalLatencyMode_l()6570 latencyMode = mSupportedLatencyModes[0]; in setHalLatencyMode_l()6571 } else if (mSupportedLatencyModes.size() > 1) { in setHalLatencyMode_l()6605 if (latencyModes != mSupportedLatencyModes) { in updateHalSupportedLatencyModes_l()6608 mSupportedLatencyModes.swap(latencyModes); in updateHalSupportedLatencyModes_l()6619 *modes = mSupportedLatencyModes; in getSupportedLatencyModes()6626 if (modes != mSupportedLatencyModes) { in onRecommendedLatencyModeChanged()[all …]
1646 std::vector<audio_latency_mode_t> mSupportedLatencyModes = {AUDIO_LATENCY_MODE_LOW}; variable