diff options
| author | 2014-02-20 20:51:13 +0000 | |
|---|---|---|
| committer | 2014-02-20 20:51:13 +0000 | |
| commit | f72aa27a2adb01c5fa9bd372e1b433fba7060e0d (patch) | |
| tree | 8b46ae3ef7ce499f7de6aa74e81aee61acf95e76 | |
| parent | 5febeff15f71f3826b91a51990c901746f97e950 (diff) | |
| parent | eefced119bc568d773b86c34cd8bc9d9574638f6 (diff) | |
Merge "Add uid to sensorservice's dump of active connections"
| -rw-r--r-- | services/sensorservice/SensorService.cpp | 5 |
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); } } |