Searched refs:powerCycle (Results 1 – 3 of 3) sorted by relevance
169 PowerCycle powerCycle = static_cast<PowerCycle>(static_cast<uint32_t>(arg1)); in notifySystemStateChange() local170 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() argument207 switch (powerCycle) { in handlePowerCycleChange()222 ALOGW("Unsupported power cycle: %d", powerCycle); in handlePowerCycleChange()
110 android::automotive::watchdog::internal::PowerCycle powerCycle);
393 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()