-
Notifications
You must be signed in to change notification settings - Fork 625
Fireperf: use the new class FrameMetricsRecorder
in AppStateMonitor
and FragmentStateMonitor
#3683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a5bab3d
Add tests for `snapshot()`
leotianlizhan 207a203
Remove all null and use Optional instead
leotianlizhan 994ee80
snapshot uses FrameMetricsCalculator, make snapshot private, make te…
leotianlizhan f3ec1a0
remove equals
leotianlizhan 02fa988
use FrameMetricsRecorder in AppStateMonitor and FragmentStateMonitor.…
leotianlizhan 5e745d1
undereference when activity is destroyed
leotianlizhan f0c5110
cbetter javadoc and comments
leotianlizhan ae95028
use new api startFragment
leotianlizhan 29f1fd1
fix 1 test
leotianlizhan 17cd156
remove test that is already covered in FrameMetricsRecorderTest
leotianlizhan b27349d
fix conflict
leotianlizhan 85ed9a4
fix mistake when rebasing
leotianlizhan 877d37b
Update tests for Fragment State Monitor tests.
visumickey 2c7eea1
Update tests to be more relevant and accurate.
visumickey ed07861
Update the Google Java Format!
visumickey bd254d0
Make the mock fragment class package-private.
visumickey b405eec
Remove the redundant Assert include.
visumickey f693a23
Fix the failing unit tests.
visumickey 59031eb
Fix the failing tests since onActivityCreated need not be called.
visumickey 6246b4f
Revert the test change.
visumickey fa9616b
Start frame recording when the performance monitoring is enabled at r…
visumickey 30439a0
Enable screen trace creation only when the app goes back to foregroun…
visumickey 7946ac5
Add the missing static import.
visumickey 63ad346
Fix the failing test by adding all the activity lifecycle events.
visumickey 252490b
Fix the failing unit tests.
visumickey 69aa698
Make the state of Fragment State Monitor and Metrics Recorder visible…
visumickey 14ea1fc
Fix the failing fragment monitor tests.
visumickey 857d9f2
Fix the failing tests.
visumickey f1e6fbf
Address some of the github comments.
visumickey fc74585
Address few more comments.
visumickey d4aba4f
Unify the mocks in a single group in unit tests.
visumickey c02d236
Move away from doReturn().when() and use when().thenReturn() as recom…
visumickey abc8dd3
Revert back one method conversion from Mockito.when to Mockito.doThen.
visumickey 630843e
Start frame recording when the activity is not recorded already!
visumickey 79cd01c
Move the FrameMetricsAggregator class reference to Frame Metrics Reco…
visumickey 23d4663
Static import PerfFrameMetrics.
visumickey 09a4fb1
Keep style gods happy!
visumickey 1a62a8e
Address the last set of comments.
visumickey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.