-
Notifications
You must be signed in to change notification settings - Fork 351
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
Implemented SQLite parser plugin for android's turbo.db database #4880
Conversation
Thanks for the PR, I'll take a look as time permits. |
rebased with upstream for failing CI tests |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4880 +/- ##
==========================================
+ Coverage 85.10% 85.11% +0.01%
==========================================
Files 428 429 +1
Lines 38836 38865 +29
==========================================
+ Hits 33051 33080 +29
Misses 5785 5785 ☔ View full report in Codecov by Sentry. |
self.assertEqual(number_of_warnings, 0) | ||
|
||
expected_event_values = { | ||
'battery_level': 99, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style nit: 4 space continuation indentation.
@@ -12,6 +12,17 @@ short_source: 'LOG' | |||
source: 'Android App Usage' | |||
--- | |||
type: 'conditional' | |||
data_type: 'android:event:battery' | |||
message: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given that both battery_saver and charge_type are enumerations, let's add their values here
@rick-slin a couple of small nits, I'll push some additional changes shortly to address them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
One line description of pull request
Implemented SQLite parser plugin for android's turbo.db database
Description:
The turbo.db database from Android devices logs the battery level for the device over time.
Notes:
All contributions to Plaso undergo code review.
This makes sure that the code has appropriate test coverage and conforms to the
Plaso style guide.
One of the maintainers will examine your code, and may request changes. Check off the items below in
order, and then a maintainer will review your code.
Checklist: