summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNingyuan Wang2017-04-04 18:21:44 -0500
committerNingyuan Wang2017-04-05 12:41:41 -0500
commitb340bb56044c125a5b8bed939b78a14a9b94bdcc (patch)
tree58c197689a016e9f7ba4c12e20146693a0cd2f60 /server.h
parente7ef2190998c4540635031b3872f18b3d03a39c8 (diff)
downloadsystem-connectivity-wificond-b340bb56044c125a5b8bed939b78a14a9b94bdcc.tar.gz
system-connectivity-wificond-b340bb56044c125a5b8bed939b78a14a9b94bdcc.tar.xz
system-connectivity-wificond-b340bb56044c125a5b8bed939b78a14a9b94bdcc.zip
Allow wificond to dump logs
This adds the dump() function for wificond to dump logs to provided fd. Bug: 31336376 Test: compile Test: manual test, see wificond dump logs in bug report Change-Id: Ia27cee9c14728095d9843dfc08994ec981283ee3
Diffstat (limited to 'server.h')
-rw-r--r--server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.h b/server.h
index a0f5b2c..f4f71d9 100644
--- a/server.h
+++ b/server.h
@@ -81,6 +81,7 @@ class Server : public android::net::wifi::BnWificond {
81 std::vector<android::sp<android::IBinder>>* out_client_ifs) override; 81 std::vector<android::sp<android::IBinder>>* out_client_ifs) override;
82 android::binder::Status GetApInterfaces( 82 android::binder::Status GetApInterfaces(
83 std::vector<android::sp<android::IBinder>>* out_ap_ifs) override; 83 std::vector<android::sp<android::IBinder>>* out_ap_ifs) override;
84 status_t dump(int fd, const Vector<String16>& args) override;
84 85
85 // Call this once on startup. It ignores all the invariants held 86 // Call this once on startup. It ignores all the invariants held
86 // in wificond and tries to restore ourselves to a blank state by 87 // in wificond and tries to restore ourselves to a blank state by