support legacy hal, and basic spec for wifi hal
Change-Id: I10dc64ab03ad90930ec66eaba5798997605f771a
diff --git a/sysfuzzer/vtscompiler/VtsCompilerUtils.cpp b/sysfuzzer/vtscompiler/VtsCompilerUtils.cpp
index f4b098d..45afb3c 100644
--- a/sysfuzzer/vtscompiler/VtsCompilerUtils.cpp
+++ b/sysfuzzer/vtscompiler/VtsCompilerUtils.cpp
@@ -134,6 +134,8 @@
return "GenerateGpsPositionMode()";
} else if (!strcmp(arg.aggregate_type().c_str(), "GpsPositionRecurrence")) {
return "GenerateGpsPositionRecurrence()";
+ } else if (!strcmp(arg.aggregate_type().c_str(), "wifi_handle*")) {
+ return "(wifi_handle*) malloc(sizeof(wifi_handle))";
} else {
cerr << __FILE__ << ":" << __LINE__ << " "
<< "unknown instance type " << arg.aggregate_type() << endl;