Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c942c4c0 authored by Steven Moreland's avatar Steven Moreland
Browse files

Add vendor dumpsys.

$ adb shell /vendor/bin/dumpsys -l
<hangs>
$ adb shell /vendor/bin/sh -c "/vendor/bin/dumpsys -l"
Currently running services:
...
$ adb root
$ adb shell /vendor/bin/dumpsys -l
Currently running services:
...

Bug: 123433249
Test: manual (see above)
Change-Id: I4d74be3ef43e7d65154be27c4cf85ab32e09dfef
parent 7f2f2f20
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@ cc_defaults {
    static_libs: [
        "libserviceutils",
    ],

    clang: true,
}

//
@@ -36,7 +34,6 @@ cc_library_static {
    export_include_dirs: ["."],
}


//
// Executable
//
@@ -51,4 +48,15 @@ cc_binary {
    ],
}

subdirs = ["tests"]
cc_binary {
    name: "dumpsys_vendor",
    stem: "dumpsys",

    vendor: true,

    defaults: ["dumpsys_defaults"],

    srcs: [
        "main.cpp",
    ],
}
+10 −3
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
cc_library_static {
    name: "libserviceutils",

    vendor_available: true,

    cflags: [
        "-Wall",
        "-Werror",
@@ -27,8 +29,13 @@ cc_library_static {
        "PriorityDumper.cpp",
    ],

    clang: true,
    header_libs: [
        "libutils_headers",
    ],

    export_header_lib_headers: [
        "libutils_headers",
    ],

    export_include_dirs: ["include"],
}

subdirs = ["tests"]