Fix a bunch more lint.
(If you ignore the compilers, we've got relatively little lint now. Fits on
a single screen.)
Change-Id: I51389002894d4fd8cf46f79d2bac57079322a030
diff --git a/src/jdwp/jdwp_handler.cc b/src/jdwp/jdwp_handler.cc
index f873da2..95d4c09 100644
--- a/src/jdwp/jdwp_handler.cc
+++ b/src/jdwp/jdwp_handler.cc
@@ -1425,13 +1425,7 @@
VLOG(jdwp) << StringPrintf(" Handling DDM packet (%.4s)", buf);
- /*
- * On first DDM packet, notify all handlers that DDM is running.
- */
- if (!state->ddmActive) {
- state->ddmActive = true;
- Dbg::DdmConnected();
- }
+ state->NotifyDdmsActive();
/*
* If they want to send something back, we copy it into the buffer.
@@ -1628,7 +1622,7 @@
* so waitForDebugger() doesn't return if we stall for a bit here.
*/
Dbg::GoActive();
- QuasiAtomic::Swap64(0, &lastActivityWhen);
+ QuasiAtomic::Swap64(0, &last_activity_time_ms_);
}
/*
@@ -1697,7 +1691,7 @@
* the initial setup. Only update if this is a non-DDMS packet.
*/
if (pHeader->cmdSet != kJDWPDdmCmdSet) {
- QuasiAtomic::Swap64(MilliTime(), &lastActivityWhen);
+ QuasiAtomic::Swap64(MilliTime(), &last_activity_time_ms_);
}
/* tell the VM that GC is okay again */