-
Notifications
You must be signed in to change notification settings - Fork 319
Add a dumpsys adb interceptor to add command line controls #6234
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
Conversation
86fdf6d to
533200d
Compare
Codecov Report
@@ Coverage Diff @@
## main #6234 +/- ##
============================================
- Coverage 68.82% 68.74% -0.09%
- Complexity 4407 4432 +25
============================================
Files 663 667 +4
Lines 26490 26576 +86
Branches 3105 3117 +12
============================================
+ Hits 18233 18270 +37
- Misses 7075 7121 +46
- Partials 1182 1185 +3
|
...-core/src/main/java/com/mapbox/navigation/core/trip/service/NavigationNotificationService.kt
Outdated
Show resolved
Hide resolved
533200d to
c9ff633
Compare
libnavigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpHandler.kt
Outdated
Show resolved
Hide resolved
...avigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/HelpDumpInterceptor.kt
Outdated
Show resolved
Hide resolved
...avigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/HelpDumpInterceptor.kt
Outdated
Show resolved
Hide resolved
libnavigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpCommand.kt
Outdated
Show resolved
Hide resolved
...igation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpInterceptor.kt
Show resolved
Hide resolved
...igation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpInterceptor.kt
Show resolved
Hide resolved
libnavigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpHandler.kt
Outdated
Show resolved
Hide resolved
...app/src/main/java/com/mapbox/navigation/qa_test_app/dump/NavigationViewApiDumpInterceptor.kt
Outdated
Show resolved
Hide resolved
...m/mapbox/navigation/qa_test_app/view/customnavview/MapboxNavigationViewCustomizedActivity.kt
Outdated
Show resolved
Hide resolved
...m/mapbox/navigation/qa_test_app/view/customnavview/MapboxNavigationViewCustomizedActivity.kt
Show resolved
Hide resolved
562be44 to
4d46bae
Compare
ba1097c to
3789f59
Compare
...igation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpInterceptor.kt
Outdated
Show resolved
Hide resolved
...avigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/HelpDumpInterceptor.kt
Show resolved
Hide resolved
libnavigation-core/src/main/java/com/mapbox/navigation/core/internal/dump/MapboxDumpHandler.kt
Outdated
Show resolved
Hide resolved
...app/src/main/java/com/mapbox/navigation/qa_test_app/dump/NavigationViewApiDumpInterceptor.kt
Outdated
Show resolved
Hide resolved
ce494df to
d22f8dc
Compare
|
FIXED: Issue was here #6288 (comment) This EDIT: solution around the internet appears to be a memory issue when searching for the error https://support.circleci.com/hc/en-us/articles/360021812453-Common-Android-memory-issues EDIT2: Trying to disable the daemon or increasing memory still fails. EDIT3: I'm pretty sure this problem started after rebasing. It was passing before .. |
f8b2308 to
8d1d1a8
Compare
f4f9a60 to
10f78c5
Compare
10f78c5 to
e14f29a
Compare
Description
This gives us the ability to define lifecycle aware adb commands that can alter the sdk state. It creates an open interface so that downstream solutions can define their own interceptors.
This pull requests adds a couple examples to the
qa-test-app.Another example I was thinking, is if we added a
replay:lng:xx.xxxxreplay:lat:yy.yyyycommands. That would allow you to run simulations with location data from external machines.DropInUi commands
dropin:start_free_driveallows you to trigger theNavigationViewApi.startFreeDrivefunction from the command line.Navigation commands
There is not really a mechanism to change the distance formatter unit type. But this interceptor makes it easy, with this command you can override the distance formatter type.
Command line experience
Full explanation when no arguments are passed
More compact results when the
helpcommand is passed. From here you can discover the available commands.Get help on the specific command, for example
help:dropinExecute the command that you found.