IVGCVSW-3181 Add HAL 1.2 support to android-nn-driver

 * Updated Android.mk to build HAL 1.2 driver
 * Added 1.2 HalPolicy and ArmnnDriver
 * Added 1.2 ArmnnPreparedModel
 * Updated converters and utilities to accept new HAL 1.2 operands and operand types.

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I62856deab24e106f72cccce09468db4971756fa6
diff --git a/1.2/HalPolicy.hpp b/1.2/HalPolicy.hpp
new file mode 100644
index 0000000..d27e4c7
--- /dev/null
+++ b/1.2/HalPolicy.hpp
@@ -0,0 +1,31 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "../ConversionUtils.hpp"
+
+#include <HalInterfaces.h>
+
+namespace armnn_driver
+{
+namespace hal_1_2
+{
+
+class HalPolicy
+{
+public:
+    using Model                     = V1_2::Model;
+    using Operand                   = V1_2::Operand;
+    using Operation                 = V1_2::Operation;
+    using OperationType             = V1_2::OperationType;
+    using ExecutionCallback         = V1_2::IExecutionCallback;
+    using getSupportedOperations_cb = V1_2::IDevice::getSupportedOperations_1_2_cb;
+
+    static bool ConvertOperation(const Operation& operation, const Model& model, ConversionData& data);
+};
+
+} // namespace hal_1_2
+} // namespace armnn_driver
\ No newline at end of file