Home
last modified time | relevance | path

Searched refs:PressureLevel (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DPressureMonitor.h59 enum PressureLevel { enum
73 virtual void onPressureChanged(PressureLevel pressureLevel) = 0;
98 static std::string PressureLevelToString(PressureLevel pressureLevel);
169 const PressureLevel kPressureLevel = PRESSURE_LEVEL_NONE;
185 android::base::Result<PressureLevel> waitForLatestPressureLevel(int psiEpollFd,
230 PressureLevel mLatestPressureLevel GUARDED_BY(mMutex);
DPressureMonitor.cpp41 std::string PressureMonitorInterface::PressureLevelToString(PressureLevel pressureLevel) { in PressureLevelToString()
290 Result<PressureMonitor::PressureLevel> PressureMonitor::waitForLatestPressureLevel( in waitForLatestPressureLevel()
292 PressureLevel highestActivePressure; in waitForLatestPressureLevel()
332 highestActivePressure = static_cast<PressureLevel>(events[i].data.u32); in waitForLatestPressureLevel()
339 PressureLevel pressureLevel; in notifyPressureChange()
DPerformanceProfiler.h205 std::unordered_map<PressureMonitorInterface::PressureLevel, std::chrono::milliseconds>
308 void onPressureChanged(PressureMonitorInterface::PressureLevel) override;
327 void setLatestPressureLevelLocked(PressureMonitorInterface::PressureLevel pressureLevel);
330 std::unordered_map<PressureMonitorInterface::PressureLevel, std::chrono::milliseconds>
338 PressureMonitorInterface::PressureLevel mLatestPressureLevel;
345 std::unordered_map<PressureMonitorInterface::PressureLevel, std::chrono::milliseconds>
DPerformanceProfiler.cpp65 std::unordered_map<PressureMonitorInterface::PressureLevel, std::chrono::milliseconds>;
277 PressureMonitorInterface::PressureLevel pressureLevel = in pressureLevelDurationMapToString()
278 static_cast<PressureMonitorInterface::PressureLevel>(i); in pressureLevelDurationMapToString()
1334 PressureMonitorInterface::PressureLevel pressureLevel) { in setLatestPressureLevelLocked()
1354 void PerformanceProfiler::onPressureChanged(PressureMonitorInterface::PressureLevel pressureLevel) { in onPressureChanged()
/packages/services/Car/cpp/watchdog/server/tests/
DMockPressureChangeCallback.h31 MOCK_METHOD(void, onPressureChanged, (PressureMonitorInterface::PressureLevel), (override));
DPressureMonitorTest.cpp158 PressureMonitorInterface::PressureLevel highestPressureLevel =
DPerformanceProfilerTest.cpp73 using PressureLevelDurationPair = std::pair<PressureMonitorInterface::PressureLevel, int64_t>;
76 std::unordered_map<PressureMonitorInterface::PressureLevel, std::chrono::milliseconds>;