Home
last modified time | relevance | path

Searched refs:TimeCheck (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/utils/include/mediautils/
DTimeCheck.h29 class TimeCheck {
48 static constexpr TimeCheck::Duration kDefaultTimeoutDuration = std::chrono::milliseconds(3000);
56 static constexpr TimeCheck::Duration kDefaultSecondChanceDuration =
86 explicit TimeCheck(std::string_view tag, OnTimerFunc&& onTimer,
90 TimeCheck() = default;
93 TimeCheck(const TimeCheck& other) = delete;
94 TimeCheck& operator=(const TimeCheck&) = delete;
96 ~TimeCheck();
147 TimeCheck makeTimeCheckStatsForClassMethod(
/frameworks/av/media/utils/
DTimeCheck.cpp121 void TimeCheck::accessAudioHalPids(std::vector<pid_t>* pids, bool update) { in accessAudioHalPids()
134 void TimeCheck::setAudioHalPids(const std::vector<pid_t>& pids) { in setAudioHalPids()
139 std::vector<pid_t> TimeCheck::getAudioHalPids() { in getAudioHalPids()
146 TimerThread& TimeCheck::getTimeCheckThread() { in getTimeCheckThread()
152 std::string TimeCheck::toString() { in toString()
158 TimeCheck::TimeCheck(std::string_view tag, OnTimerFunc&& onTimer, Duration requestedTimeoutDuration, in TimeCheck() function in android::mediautils::TimeCheck
177 TimeCheck::~TimeCheck() { in ~TimeCheck()
184 std::string TimeCheck::analyzeTimeouts( in analyzeTimeouts()
224 void TimeCheck::TimeCheckHandler::onCancel(TimerThread::Handle timerHandle) const in onCancel()
226 if (TimeCheck::getTimeCheckThread().cancelTask(timerHandle) && onTimer) { in onCancel()
[all …]
DAndroid.bp58 "TimeCheck.cpp",
/frameworks/av/media/utils/tests/
Dtimecheck_tests.cpp35 TimeCheck timeCheck("success", in TEST()
54 TimeCheck timeCheck("timeout", in TEST()
81 TimeCheck timeCheck("timeout",
/frameworks/av/media/utils/fuzzers/
DTimeCheckFuzz.cpp47 android::mediautils::TimeCheck::setAudioHalPids(pids); in LLVMFuzzerTestOneInput()
51 android::mediautils::TimeCheck timeCheck(name.c_str(), {} /* onTimer */, in LLVMFuzzerTestOneInput()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1406 mediautils::TimeCheck check( in onTransact()
1418 }, mediautils::TimeCheck::kDefaultTimeoutDuration, in onTransact()
1419 mediautils::TimeCheck::kDefaultSecondChanceDuration, in onTransact()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp320 mediautils::TimeCheck::setAudioHalPids(pids); in setAudioHalPids()
897 timeCheckStats = mediautils::TimeCheck::toString(); in dump()
5113 mediautils::TimeCheck check( in onTransactWrapper()
5125 }, mediautils::TimeCheck::kDefaultTimeoutDuration, in onTransactWrapper()
5126 mediautils::TimeCheck::kDefaultSecondChanceDuration, in onTransactWrapper()
DEffects.cpp1817 mediautils::TimeCheck check( in onTransact()