diff options
author | Aravind Akella <aakella@google.com> | 2014-07-25 18:04:57 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-24 15:37:54 +0000 |
commit | c268068c55afaaa441fda903b1b84a5b5c8a0a01 (patch) | |
tree | 0d95a1dd42efb6f46afe49d8e4d5734ffe90ea0c /include | |
parent | 2295687487a0f2cc3e77915d5b0fe794d3af4d20 (diff) | |
parent | 56ae42613c91f6a6fb0dc3f626daa24666fd18c2 (diff) | |
download | frameworks_native-c268068c55afaaa441fda903b1b84a5b5c8a0a01.zip frameworks_native-c268068c55afaaa441fda903b1b84a5b5c8a0a01.tar.gz frameworks_native-c268068c55afaaa441fda903b1b84a5b5c8a0a01.tar.bz2 |
Merge "SensorService performance improvements." into lmp-dev
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/BitTube.h | 3 | ||||
-rw-r--r-- | include/gui/ISensorEventConnection.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/BitTube.h b/include/gui/BitTube.h index d32df84..3ecac52 100644 --- a/include/gui/BitTube.h +++ b/include/gui/BitTube.h @@ -48,6 +48,9 @@ public: // get receive file-descriptor int getFd() const; + // get the send file-descriptor. + int getSendFd() const; + // send objects (sized blobs). All objects are guaranteed to be written or the call fails. template <typename T> static ssize_t sendObjects(const sp<BitTube>& tube, diff --git a/include/gui/ISensorEventConnection.h b/include/gui/ISensorEventConnection.h index b296797..f64c6b8 100644 --- a/include/gui/ISensorEventConnection.h +++ b/include/gui/ISensorEventConnection.h @@ -40,7 +40,6 @@ public: nsecs_t maxBatchReportLatencyNs, int reservedFlags) = 0; virtual status_t setEventRate(int handle, nsecs_t ns) = 0; virtual status_t flush() = 0; - virtual void decreaseWakeLockRefCount() = 0; }; // ---------------------------------------------------------------------------- |