Home
last modified time | relevance | path

Searched refs:powerCycle (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DWatchdogInternalHandler.cpp169 PowerCycle powerCycle = static_cast<PowerCycle>(static_cast<uint32_t>(arg1)); in notifySystemStateChange() local
170 if (powerCycle >= PowerCycle::NUM_POWER_CYLES) { in notifySystemStateChange()
172 StringPrintf("Invalid power cycle %d", powerCycle)); in notifySystemStateChange()
174 return handlePowerCycleChange(powerCycle); in notifySystemStateChange()
206 Status WatchdogInternalHandler::handlePowerCycleChange(PowerCycle powerCycle) { in handlePowerCycleChange() argument
207 switch (powerCycle) { in handlePowerCycleChange()
222 ALOGW("Unsupported power cycle: %d", powerCycle); in handlePowerCycleChange()
DWatchdogInternalHandler.h110 android::automotive::watchdog::internal::PowerCycle powerCycle);
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java393 int powerCycle; in subscribePowerCycleChange()
397 powerCycle = PowerCycle.POWER_CYCLE_SHUTDOWN_PREPARE; in subscribePowerCycleChange()
401 powerCycle = PowerCycle.POWER_CYCLE_SHUTDOWN_ENTER; in subscribePowerCycleChange()
404 powerCycle = PowerCycle.POWER_CYCLE_RESUME; in subscribePowerCycleChange()
414 powerCycle, /* arg2= */ -1); in subscribePowerCycleChange()
416 Slogf.d(TAG, "Notified car watchdog daemon of power cycle(%d)", powerCycle); in subscribePowerCycleChange()