Break up and rename buffer_hub_cilent.{h, cpp}

Code in buffer_hub_cilent.{h,cpp} was the main client side
implementation of bufferhub. With years of developements, the content
of it was complicated enough to deserved separated files. Also rename
stuff for clarification.

old names:

              +-------------------+
              |  BufferHubBuffer  |
              +---------^---------+
                        |
+------------------+    |     +------------------+
|  BufferProducer  +----+-----+  BufferConsumer  |
+------------------+          +------------------+

new names:

               +-----------------+
               |  BufferHubBase  |
               +--------^--------+
                        |
+------------------+    |     +------------------+
|  ProducerBuffer  +----+-----+  ConsumerBuffer  |
+------------------+          +------------------+

Rename rationale:

1/ BufferProducer was originally poorly named and gets easily confused
   with IGraphicBufferProducer. Actually, BufferProducer is a single
   buffer that can produce (i.e. write) data into a buffer, but it
   doesn't produce buffer. On the other hand, IGraphicBufferProducer
   is the producer end of a BufferQueue and it is used to produce buffers.

2/ BufferConsumer was originally poorly named and gets easily confused
   with IGraphicBufferConsumer. Actually, BufferConsumer is a single
   buffer that can consume (i.e. read) data from a buffer, but it
   doesn't consume buffer. On the other hand, IGraphicBufferConsumer
   is the consumer end of a BufferQueue and it is used to consume
   buffers.

3/ BufferHubBuffer is a pure base class and cannot be used
   standalone. The old name suggests that it's a buffer object backed
   by BufferHub, which might leads to confusion. Also, this rename is
   in preparation of rename DetachedBuffer to BufferHubBuffer.

Bug: 116855254
Test: Build system
Change-Id: Id545648f5bdc7660e58f7bb49722651ae3bcca70
diff --git a/libs/vr/libdvr/dvr_buffer_queue.cpp b/libs/vr/libdvr/dvr_buffer_queue.cpp
index 571558a..f4c6600 100644
--- a/libs/vr/libdvr/dvr_buffer_queue.cpp
+++ b/libs/vr/libdvr/dvr_buffer_queue.cpp
@@ -9,7 +9,7 @@
 
 using namespace android;
 using android::dvr::BufferConsumer;
-using android::dvr::BufferHubBuffer;
+using android::dvr::BufferHubBase;
 using android::dvr::BufferProducer;
 using android::dvr::ConsumerQueue;
 using android::dvr::ProducerQueue;
@@ -439,7 +439,7 @@
     consumer_queue_->SetBufferRemovedCallback(nullptr);
   } else {
     consumer_queue_->SetBufferRemovedCallback(
-        [callback, context](const std::shared_ptr<BufferHubBuffer>& buffer) {
+        [callback, context](const std::shared_ptr<BufferHubBase>& buffer) {
           // When buffer is removed from the queue, the slot is already invalid.
           auto read_buffer = std::make_unique<DvrReadBuffer>();
           read_buffer->read_buffer =
diff --git a/libs/vr/libdvr/dvr_internal.h b/libs/vr/libdvr/dvr_internal.h
index de8bb96..df8125a 100644
--- a/libs/vr/libdvr/dvr_internal.h
+++ b/libs/vr/libdvr/dvr_internal.h
@@ -16,8 +16,11 @@
 namespace android {
 namespace dvr {
 
-class BufferProducer;
-class BufferConsumer;
+// TODO(b/116855254): Remove this typedef once rename is complete in libdvr.
+// Note that the dvr::BufferProducer and dvr::BufferConsumer were poorly named,
+// they should really be named as ProducerBuffer and ConsumerBuffer.
+typedef class ProducerBuffer BufferProducer;
+typedef class ConsumerBuffer BufferConsumer;
 class IonBuffer;
 
 DvrBuffer* CreateDvrBufferFromIonBuffer(