summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Patrick Tjin <pattjin@google.com> 2014-02-20 20:51:13 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-02-20 20:51:13 +0000
commitf72aa27a2adb01c5fa9bd372e1b433fba7060e0d (patch)
tree8b46ae3ef7ce499f7de6aa74e81aee61acf95e76
parent5febeff15f71f3826b91a51990c901746f97e950 (diff)
parenteefced119bc568d773b86c34cd8bc9d9574638f6 (diff)
Merge "Add uid to sensorservice's dump of active connections"
-rw-r--r--services/sensorservice/SensorService.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/services/sensorservice/SensorService.cpp b/services/sensorservice/SensorService.cpp
index a2f4332793..890717a2fa 100644
--- a/services/sensorservice/SensorService.cpp
+++ b/services/sensorservice/SensorService.cpp
@@ -750,11 +750,12 @@ void SensorService::SensorEventConnection::dump(String8& result) {
Mutex::Autolock _l(mConnectionLock);
for (size_t i = 0; i < mSensorInfo.size(); ++i) {
const FlushInfo& flushInfo = mSensorInfo.valueAt(i);
- result.appendFormat("\t %s | status: %s | pending flush events %d\n",
+ result.appendFormat("\t %s | status: %s | pending flush events %d | uid %d\n",
mService->getSensorName(mSensorInfo.keyAt(i)).string(),
flushInfo.mFirstFlushPending ? "First flush pending" :
"active",
- flushInfo.mPendingFlushEventsToSend);
+ flushInfo.mPendingFlushEventsToSend,
+ mUid);
}
}