From be275f5cdc741bb87618600962f6de50b58db96a Mon Sep 17 00:00:00 2001 From: BeefRa Date: Mon, 2 Dec 2024 13:19:03 +0700 Subject: [PATCH] Add Prediction Related Fields to Android App Launch Unit Test and Remove App Launch from pinfo_tool.py --- log2timeline-20241202T054857.log.gz | Bin 0 -> 233 bytes tests/cli/pinfo_tool.py | 1 - .../parsers/sqlite_plugins/android_app_launch.py | 3 +++ timeline.csv | 7 +++++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 log2timeline-20241202T054857.log.gz create mode 100644 timeline.csv diff --git a/log2timeline-20241202T054857.log.gz b/log2timeline-20241202T054857.log.gz new file mode 100644 index 0000000000000000000000000000000000000000..60ff5660abf541773d6c5a086529bdc30ad9cc72 GIT binary patch literal 233 zcmb2|=HLkR@=a&@pOc?%RFavSnvkHjlS`%s zK?Vj}jW%vE+Hl2iqd|BFUpddG&tHoBLoa;rJ#&UzdB!_jqhZD7Add6;r~Gug%nbrAFk}WYyfQSrcI7b>0|UeV z|3*&R&tGsje&mRc;;qZ)&&v0whOTt|xwG|S>(Z4=9kiJpr#R^a literal 0 HcmV?d00001 diff --git a/tests/cli/pinfo_tool.py b/tests/cli/pinfo_tool.py index a0a52f5ada..2ef2f09a1b 100644 --- a/tests/cli/pinfo_tool.py +++ b/tests/cli/pinfo_tool.py @@ -679,7 +679,6 @@ def testPrintStorageInformationAsText(self): 'rplog', 'spotlight_storedb', 'sqlite', - 'sqlite/android_app_launch', 'sqlite/android_calls', 'sqlite/android_sms', 'sqlite/android_webview', diff --git a/tests/parsers/sqlite_plugins/android_app_launch.py b/tests/parsers/sqlite_plugins/android_app_launch.py index dafec0288c..621a18e072 100644 --- a/tests/parsers/sqlite_plugins/android_app_launch.py +++ b/tests/parsers/sqlite_plugins/android_app_launch.py @@ -29,6 +29,9 @@ def testParse(self): 'launch_time': '2022-12-04T16:59:28.297+00:00', 'package_name': 'com.android.settings', 'launch_location_id': 4, + 'prediction_ui_surface_id': 1, + 'prediction_source_id': 3, + 'prediction_rank': -1, 'id': 2980 } diff --git a/timeline.csv b/timeline.csv new file mode 100644 index 0000000000..a938835926 --- /dev/null +++ b/timeline.csv @@ -0,0 +1,7 @@ +datetime,timestamp_desc,source,source_long,message,parser,display_name,tag +2024-11-30T19:42:39.853098+00:00,Content Modification Time,FILE,File stat,OS:/home/bai/storage/SimpleStorage Type: file Owner identifier: 1000 Group identifier: 1000 Mode: 0o664 Number of links: 1,filestat,OS:/home/bai/storage/SimpleStorage,- +2024-12-02T04:48:59.583284+00:00,Last Access Time,FILE,File stat,OS:/home/bai/storage/SimpleStorage Type: file Owner identifier: 1000 Group identifier: 1000 Mode: 0o664 Number of links: 1,filestat,OS:/home/bai/storage/SimpleStorage,- +2024-12-02T05:44:47.819926+00:00,Content Modification Time,FILE,File stat,OS:/home/bai/storage Type: directory Owner identifier: 1000 Group identifier: 1000 Mode: 0o775 Number of links: 2,filestat,OS:/home/bai/storage,- +2024-12-02T05:44:47.819926+00:00,Metadata Modification Time,FILE,File stat,OS:/home/bai/storage Type: directory Owner identifier: 1000 Group identifier: 1000 Mode: 0o775 Number of links: 2,filestat,OS:/home/bai/storage,- +2024-12-02T05:44:47.819926+00:00,Metadata Modification Time,FILE,File stat,OS:/home/bai/storage/SimpleStorage Type: file Owner identifier: 1000 Group identifier: 1000 Mode: 0o664 Number of links: 1,filestat,OS:/home/bai/storage/SimpleStorage,- +2024-12-02T05:44:47.888934+00:00,Last Access Time,FILE,File stat,OS:/home/bai/storage Type: directory Owner identifier: 1000 Group identifier: 1000 Mode: 0o775 Number of links: 2,filestat,OS:/home/bai/storage,-