Add initial parser for ADB state in Dumpsys (#547)

* Add initial parser for ADB dumpsys

* Add ADBState tests and support for AndroidQF and
check-adb

* Handle case where ADB is not available in device dumpsys
This commit is contained in:
Donncha Ó Cearbhaill
2024-10-18 15:31:25 +02:00
committed by GitHub
parent a03f4e55ff
commit 665806db98
14 changed files with 373 additions and 11 deletions
+3 -1
View File
@@ -71,9 +71,11 @@ class TestHashes:
== "f0e32fe8a7fd5ac0e2de19636d123c0072e979396986139ba2bc49ec385dc325"
)
assert hashes[1]["file_path"] == os.path.join(path, "dumpsys.txt")
# This needs to be updated when we add or edit files in AndroidQF folder
assert (
hashes[1]["sha256"]
== "cfae0e04ef139b5a2ae1e2b3d400ce67eb98e67ff66f56ba2a580fe41bc120d0"
== "1bd255f656a7f9d5647a730f0f0cc47053115576f11532d41bf28c16635b193d"
)