Searched refs:TimeCheck (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/utils/include/mediautils/ |
D | TimeCheck.h | 29 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/ |
D | TimeCheck.cpp | 121 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 …]
|
D | Android.bp | 58 "TimeCheck.cpp",
|
/frameworks/av/media/utils/tests/ |
D | timecheck_tests.cpp | 35 TimeCheck timeCheck("success", in TEST() 54 TimeCheck timeCheck("timeout", in TEST() 81 TimeCheck timeCheck("timeout",
|
/frameworks/av/media/utils/fuzzers/ |
D | TimeCheckFuzz.cpp | 47 android::mediautils::TimeCheck::setAudioHalPids(pids); in LLVMFuzzerTestOneInput() 51 android::mediautils::TimeCheck timeCheck(name.c_str(), {} /* onTimer */, in LLVMFuzzerTestOneInput()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1406 mediautils::TimeCheck check( in onTransact() 1418 }, mediautils::TimeCheck::kDefaultTimeoutDuration, in onTransact() 1419 mediautils::TimeCheck::kDefaultSecondChanceDuration, in onTransact()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 320 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()
|
D | Effects.cpp | 1817 mediautils::TimeCheck check( in onTransact()
|