summaryrefslogtreecommitdiff
path: root/libs/gui/IDisplayEventConnection.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2017-03-31 16:30:42 -0700
committer Dan Stoza <stoza@google.com> 2017-04-06 11:42:52 -0700
commit27c8115510cebda13cbe24fd4caa946ea9c5003c (patch)
tree1f905493d9c2122f921ee78b3c18b24e70222b79 /libs/gui/IDisplayEventConnection.cpp
parent1e438d2c9ce366ef98452ed6e50699196433bf2c (diff)
libgui: Format BitTube and move into gui namespace
Reformats BitTube using the framework default .clang-format and moves it into the android::gui namespace. Test: m -j + manual testing Change-Id: I5ea748b809f37c2ec4dcfb41e7b84daf7a084368
Diffstat (limited to 'libs/gui/IDisplayEventConnection.cpp')
-rw-r--r--libs/gui/IDisplayEventConnection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/gui/IDisplayEventConnection.cpp b/libs/gui/IDisplayEventConnection.cpp
index 2de2f8a2f4..d3ee39c16f 100644
--- a/libs/gui/IDisplayEventConnection.cpp
+++ b/libs/gui/IDisplayEventConnection.cpp
@@ -31,11 +31,11 @@ public:
~BpDisplayEventConnection() override;
- status_t getDataChannel(sp<BitTube>* outChannel) const override {
+ status_t getDataChannel(sp<gui::BitTube>* outChannel) const override {
Parcel data, reply;
data.writeInterfaceToken(IDisplayEventConnection::getInterfaceDescriptor());
remote()->transact(GET_DATA_CHANNEL, data, &reply);
- *outChannel = new BitTube(reply);
+ *outChannel = new gui::BitTube(reply);
return NO_ERROR;
}
@@ -65,7 +65,7 @@ status_t BnDisplayEventConnection::onTransact(uint32_t code, const Parcel& data,
switch (code) {
case GET_DATA_CHANNEL: {
CHECK_INTERFACE(IDisplayEventConnection, data, reply);
- sp<BitTube> channel;
+ sp<gui::BitTube> channel;
getDataChannel(&channel);
channel->writeToParcel(reply);
return NO_ERROR;