Renaming isAttemptingFactoryReset to new name

Scope of isAttemptingFactoryReset method was updated to include both the
reboots that were triggered by RescueParty.
As it would be made an API, refactoring it to isRecoveryTriggeredReboot
which seems a better name with expanded scope.

Bug: b/289203818
Test: m
Change-Id: Ic4bc1765e2f08ad35ff23f0f6ea6dae0e4195e79
4 files changed