Searched refs:PressureLevel (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/cpp/watchdog/server/src/ |
D | PressureMonitor.h | 59 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);
|
D | PressureMonitor.cpp | 41 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()
|
D | PerformanceProfiler.h | 205 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>
|
D | PerformanceProfiler.cpp | 65 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/ |
D | MockPressureChangeCallback.h | 31 MOCK_METHOD(void, onPressureChanged, (PressureMonitorInterface::PressureLevel), (override));
|
D | PressureMonitorTest.cpp | 158 PressureMonitorInterface::PressureLevel highestPressureLevel =
|
D | PerformanceProfilerTest.cpp | 73 using PressureLevelDurationPair = std::pair<PressureMonitorInterface::PressureLevel, int64_t>; 76 std::unordered_map<PressureMonitorInterface::PressureLevel, std::chrono::milliseconds>;
|