136 #ifndef _IARM_PWRMGR_INTERNAL_
137 #define _IARM_PWRMGR_INTERNAL_
139 IARM_Result_t PWRMgr_Start(
int argc,
char *argv[]);
140 IARM_Result_t PWRMgr_Loop();
141 IARM_Result_t PWRMgr_Stop(
void);
143 IARM_Result_t initReset();
144 int checkResetSequence(
int keyType,
int keyCode);
145 void setResetPowerState(IARM_Bus_PWRMgr_PowerState_t newPwrState);
146 void PwrMgr_Reset(IARM_Bus_PWRMgr_PowerState_t newState,
bool isFPKeyPress);
147 void performReboot(
const char * requestor,
const char * reboot_reason_custom,
const char * reboot_reason_other);