vehicle hal update: add zone to subscription and others

- add zones to subscribe and mocking
- extend config_flags to config_array

bug: 25265553

Change-Id: Icfc1911178daa4ff4b5b6f12bc8e0002af5530bb
diff --git a/libvehiclenetwork/native/IVehicleNetwork.cpp b/libvehiclenetwork/native/IVehicleNetwork.cpp
index e956f2e..6c55700 100644
--- a/libvehiclenetwork/native/IVehicleNetwork.cpp
+++ b/libvehiclenetwork/native/IVehicleNetwork.cpp
@@ -134,12 +134,13 @@
     }
 
     virtual status_t subscribe(const sp<IVehicleNetworkListener> &listener, int32_t property,
-                float sampleRate) {
+                float sampleRate, int32_t zones) {
         Parcel data, reply;
         data.writeInterfaceToken(IVehicleNetwork::getInterfaceDescriptor());
         data.writeStrongBinder(IInterface::asBinder(listener));
         data.writeInt32(property);
         data.writeFloat(sampleRate);
+        data.writeInt32(zones);
         status_t status = remote()->transact(SUBSCRIBE, data, &reply);
         return status;
     }
@@ -320,7 +321,8 @@
                     interface_cast<IVehicleNetworkListener>(data.readStrongBinder());
             int32_t property = data.readInt32();
             float sampleRate = data.readFloat();
-            r = subscribe(listener, property, sampleRate);
+            int32_t zones = data.readInt32();
+            r = subscribe(listener, property, sampleRate, zones);
             BinderUtil::fillNoResultReply(reply);
             return r;
         } break;