Initialize Double field for Float16 parameter

Bug: http://b/27512382

Add missing initialization of the Double field corresponding to Float16
parameter to vector parameters when vector size is one.

Change-Id: Ida81ebc6151019df164dede5f769d79d60c32afa
diff --git a/api/GenerateTestFiles.cpp b/api/GenerateTestFiles.cpp
index 92633d2..a09c21f 100644
--- a/api/GenerateTestFiles.cpp
+++ b/api/GenerateTestFiles.cpp
@@ -557,6 +557,13 @@
             if (p->mVectorSize == "1") {
                 mJava->indent() << "args." << p->variableName << " = " << p->javaArrayName << "[i]"
                                 << ";\n";
+                // Convert the Float16 parameter to double and store it in the appropriate field in
+                // the Arguments class.
+                if (p->isFloat16Parameter()) {
+                    mJava->indent() << "args." << p->doubleVariableName << " = "
+                                    << "Float16Utils.convertFloat16ToDouble(args."
+                                    << p->variableName << ");\n";
+                }
             } else {
                 mJava->indent() << "for (int j = 0; j < " << p->mVectorSize << " ; j++)";
                 mJava->startBlock();