mirror of
https://github.com/mvt-project/mvt.git
synced 2026-02-12 16:42:45 +00:00
Refactor Android modules to remove duplication (#368)
* Remove duplicated detection logic from GetProp modules * Deduplicate settings and processes * Refactor detection in artifacts * Improves Artifact class --------- Co-authored-by: tek <tek@randhome.io>
This commit is contained in:
committed by
GitHub
parent
1d740ad802
commit
57d4aca72e
14
tests/artifacts/android_data/getprop.txt
Normal file
14
tests/artifacts/android_data/getprop.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
[af.fast_track_multiplier]: [1]
|
||||
[audio.deep_buffer.media]: [true]
|
||||
[audio.offload.min.duration.secs]: [30]
|
||||
[audio.offload.video]: [true]
|
||||
[av.debug.disable.pers.cache]: [1]
|
||||
[dalvik.vm.appimageformat]: [lz4]
|
||||
[dalvik.vm.dex2oat-Xms]: [64m]
|
||||
[dalvik.vm.dex2oat-Xmx]: [512m]
|
||||
|
||||
[dalvik.vm.dex2oat-max-image-block-size]: [524288]
|
||||
[dalvik.vm.dex2oat-minidebuginfo]: [true]
|
||||
[dalvik.vm.dex2oat-resolve-startup-strings]: [true]
|
||||
[dalvik.vm.dexopt.secondary]: [true]
|
||||
[dalvik.vm.heapgrowthlimit]: [192m]
|
||||
18
tests/artifacts/android_data/ps.txt
Normal file
18
tests/artifacts/android_data/ps.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
USER PID PPID VSZ RSS WCHAN ADDR S NAME
|
||||
root 1 0 68696 2864 0 0 S init
|
||||
root 2 0 0 0 0 0 S [kthreadd]
|
||||
root 4 2 0 0 0 0 S [kworker/0:0H]
|
||||
root 5 2 0 0 0 0 S [kworker/u16:0]
|
||||
root 6 2 0 0 0 0 S [ksoftirqd/0]
|
||||
root 7 2 0 0 0 0 S [rcu_preempt]
|
||||
root 8 2 0 0 0 0 S [rcu_sched]
|
||||
root 9 2 0 0 0 0 S [rcu_bh]
|
||||
root 10 2 0 0 0 0 S [rcuop/0]
|
||||
root 11 2 0 0 0 0 S [rcuos/0]
|
||||
root 12 2 0 0 0 0 S [rcuob/0]
|
||||
root 13 2 0 0 0 0 S [migration/0]
|
||||
root 14 2 0 0 0 0 S [lru-add-drain]
|
||||
root 15 2 0 0 0 0 S [cpuhp/0]
|
||||
root 16 2 0 0 0 0 S [cpuhp/1]
|
||||
root 17 2 0 0 0 0 S [migration/1]
|
||||
root 18 2 0 0 0 0 S [ksoftirqd/1]
|
||||
Reference in New Issue
Block a user