summaryrefslogtreecommitdiffstats
path: root/libs/gui/ISensorEventConnection.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-10-20 18:42:02 -0700
committerMathias Agopian <mathias@google.com>2011-10-20 18:42:02 -0700
commit12cdf5116c312b8fb4f96bd8ea64134ce06e899d (patch)
treeb0c46b0b5630baa709d226162ba758d6e4ded023 /libs/gui/ISensorEventConnection.cpp
parent79235d2a93086538817391c847a8063442e1e1f0 (diff)
downloadframeworks_base-12cdf5116c312b8fb4f96bd8ea64134ce06e899d.zip
frameworks_base-12cdf5116c312b8fb4f96bd8ea64134ce06e899d.tar.gz
frameworks_base-12cdf5116c312b8fb4f96bd8ea64134ce06e899d.tar.bz2
Rename SensorChannel to BitTube
Diffstat (limited to 'libs/gui/ISensorEventConnection.cpp')
-rw-r--r--libs/gui/ISensorEventConnection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/gui/ISensorEventConnection.cpp b/libs/gui/ISensorEventConnection.cpp
index a5083fe..0e51e8e 100644
--- a/libs/gui/ISensorEventConnection.cpp
+++ b/libs/gui/ISensorEventConnection.cpp
@@ -25,7 +25,7 @@
#include <binder/IInterface.h>
#include <gui/ISensorEventConnection.h>
-#include <gui/SensorChannel.h>
+#include <gui/BitTube.h>
namespace android {
// ----------------------------------------------------------------------------
@@ -44,12 +44,12 @@ public:
{
}
- virtual sp<SensorChannel> getSensorChannel() const
+ virtual sp<BitTube> getSensorChannel() const
{
Parcel data, reply;
data.writeInterfaceToken(ISensorEventConnection::getInterfaceDescriptor());
remote()->transact(GET_SENSOR_CHANNEL, data, &reply);
- return new SensorChannel(reply);
+ return new BitTube(reply);
}
virtual status_t enableDisable(int handle, bool enabled)
@@ -83,7 +83,7 @@ status_t BnSensorEventConnection::onTransact(
switch(code) {
case GET_SENSOR_CHANNEL: {
CHECK_INTERFACE(ISensorEventConnection, data, reply);
- sp<SensorChannel> channel(getSensorChannel());
+ sp<BitTube> channel(getSensorChannel());
channel->writeToParcel(reply);
return NO_ERROR;
} break;