CHERRY-PICK FAFT: pulling wake* common code into firmware_test

Pulling delayed, wake_by_power_button,
wake_by_lid_switch, suspend_as_reboot into
firmware_test as it's common to both
firmware_DevModeStress and firmware_ECWakeSource.
Also increased WAKE_DELAY to 10, which is needed
for gnawty.

TEST=tested on gnawty

Original Change-Id: Ib699f325b6d88980a1e028b770bcd0ea7febd166
Original Signed-off-by: Shelley Chen <>
Original Reviewed-on:
Original Reviewed-by: Wai-Hong Tam <>

Change-Id: If4ca23587adbc789bed596e042b447668c125000
Signed-off-by: <>
Reviewed-by: Bernie Thompson <>
Commit-Queue: Agnes Cheng <>
3 files changed