Fan Xu | f35719a | 2018-10-10 11:38:31 -0700 | [diff] [blame^] | 1 | #include <log/log.h> |
| 2 | #include <private/dvr/IBufferHub.h> |
| 3 | |
| 4 | namespace android { |
| 5 | namespace dvr { |
| 6 | |
| 7 | IMPLEMENT_META_INTERFACE(BufferHub, "android.dvr.IBufferHub"); |
| 8 | |
| 9 | status_t BnBufferHub::onTransact(uint32_t code, const Parcel& data, |
| 10 | Parcel* reply, uint32_t flags) { |
| 11 | switch (code) { |
| 12 | default: |
| 13 | // Should not reach |
| 14 | ALOGE("onTransact(): unknown code %u received!", code); |
| 15 | return BBinder::onTransact(code, data, reply, flags); |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | } // namespace dvr |
| 20 | } // namespace android |