Use modern c++ code style for incidentd.
This cl does not contain code logic changes.
Bug: 77333635
Test: manual and incidentd_test
Change-Id: Iea0a402b1051defd45159ca267e6dd705f9ffa49
diff --git a/cmds/incidentd/src/IncidentService.h b/cmds/incidentd/src/IncidentService.h
index 0ab34ed..e176bfd 100644
--- a/cmds/incidentd/src/IncidentService.h
+++ b/cmds/incidentd/src/IncidentService.h
@@ -28,11 +28,14 @@
#include "Throttler.h"
+namespace android {
+namespace os {
+namespace incidentd {
+
using namespace android;
using namespace android::base;
using namespace android::binder;
using namespace android::os;
-using namespace std;
// ================================================================================
class ReportRequestQueue : public virtual RefBase {
@@ -126,4 +129,8 @@
status_t cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args);
};
+} // namespace incidentd
+} // namespace os
+} // namespace android
+
#endif // INCIDENT_SERVICE_H