-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #11760 - [ota-requestor-app] Abort query image download on time…
…out (#15768) * Issue #11760 - [ota-provider-app] Support for error/timeout midway in transfer * restyle-diff.sh changes * Code review changes. - Moved mTimeout to BDXDownloader class. - Moved prevPercentageComplete to BDXDownloader class. - Renamed StartTimeoutTimerHandler to TransferTimeoutCheckHandler. - Added sanity checks. * Code review changes. - Moved mTimeoutSec to a constant define kTimeoutSec. - Moved resetting of timeout timer and prevPercentageComplete to a Reset() function. * Code review changes. - Renamed prevPercentageComplete to mPrevPercentageComplete * Code review changes. - Renmed CheckTransferTimeout() to HasTransferTimedOut(). - Calculate timeout using block counter instead of percentage complete. - Use 5*60 instead of 300 for timeout value for readability. * Fix merge issues.
- Loading branch information
1 parent
aa78f49
commit 7b42e10
Showing
4 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters