Crates.io | dumpsys-rs |
lib.rs | dumpsys-rs |
version | 0.1.1 |
source | src |
created_at | 2024-07-07 06:49:09.514956 |
updated_at | 2024-07-07 06:53:10.67566 |
description | `dumpsys-rs` is a Rust library for retrieving and dumping service information in an Android system. It provides a convenient way to fetch detailed status information from different system services, similar to the `dumpsys` command in the Android shell. |
homepage | |
repository | https://github.com/shadow3aaa/dumpsys-rs |
max_upload_size | |
id | 1294597 |
size | 39,624 |
dumpsys-rs
is a Rust library for retrieving and dumping service information in an Android system. It provides a convenient way to fetch detailed status information from different system services, similar to the dumpsys
command in the Android shell.
Dumpsys
struct with the desired service name.dump
method with a list of arguments to get the service dump information.use dumpsys_rs::{Dumpsys, error::Error};
/* equals to dumpsys SurfaceFlinger --latency */
let result: Result<String, Error> = Dumpsys::new("SurfaceFlinger")
.unwrap()
.dump(&["--latency"]);
dumpsys-rs
is licensed under GNU General Public License v3.0 only
.