Allow fine grain verbose logging control through system property.

  - Existing DEBUG and INFO change to the new mechanism, existing ERROR and
    WARNING unchanged.
  - By default, all verbose logging are disabled.
  - setprop debug.nn.vlog 1 enables all verbose logging.
  - setprop debug.nn.vlog "tag1 tag2 ..." only enable the selected tags.
  - Available tags:
      all: same as 1.
      model: enable logging with tag MODEL.
      compilation: enable logging with tag COMPILATION.
      execution: enable logging with tag EXECUTION.
      cpuexe: enable logging with tag CPUEXE.
      manager: enable logging with tag MANAGER.
      driver: enable logging with tag DRIVER.

Bug: 63905942
Test: mm
Test: NeuralNetworksTests pass
Test: manually set property to allow individual module to logging
      verbosely
Test: tested with debug.nn.partition default -> 0 -> 1 to make
      sure getProp still works fine

Change-Id: Iaa0ffa62176dabcdc35058748597df720fd6e47e
diff --git a/runtime/NeuralNetworks.cpp b/runtime/NeuralNetworks.cpp
index f9785c2..979ca7f 100644
--- a/runtime/NeuralNetworks.cpp
+++ b/runtime/NeuralNetworks.cpp
@@ -235,6 +235,7 @@
 }
 
 int ANeuralNetworksModel_create(ANeuralNetworksModel** model) {
+    initVLogMask();
     if (!model) {
         LOG(ERROR) << "ANeuralNetworksModel_create passed a nullptr";
         return ANEURALNETWORKS_UNEXPECTED_NULL;