aidl_parser_fuzzer: try add filename hint

In order to parse valid files, the fuzzer previously needed to have the
filename present in the input text twice. This constraint makes it
difficult to even find valid programs.

Future considerations:
- clear out old/existing corpus
- manually create "good" corpus entries for the fuzzer

Bug: 195473218
Test: aidl_parser_fuzzer
Change-Id: I56ee41469b5563cd7c1b927319d21a7856480515
diff --git a/tests/aidl_parser_fuzzer.cpp b/tests/aidl_parser_fuzzer.cpp
index 4c11a13..7013684 100644
--- a/tests/aidl_parser_fuzzer.cpp
+++ b/tests/aidl_parser_fuzzer.cpp
@@ -48,7 +48,16 @@
   }
 
   while (provider.remaining_bytes() > 0) {
-    io.SetFileContents(provider.ConsumeRandomLengthString(), provider.ConsumeRandomLengthString());
+    const std::string name = provider.ConsumeRandomLengthString();
+    const std::string contents = provider.ConsumeRandomLengthString();
+    io.SetFileContents(name, contents);
+
+    // b/195473218#comment9. Make it easier for the compiler to find files,
+    // probabilistically, so that the fuzzer does not have to guess it needs the
+    // same exact string in both places.
+    if (provider.ConsumeBool()) {
+      args.emplace_back(name);
+    }
   }
 
   if (kFuzzLog) {