1{
2  "mainline-presubmit": [
3    {
4      "name": "CtsNNAPITestCases[com.google.android.neuralnetworks.apex]"
5    }
6  ],
7  "neuralnetworks-mainline-presubmit": [
8    {
9      "name": "CtsNNAPITestCases"
10    }
11  ],
12  "presubmit": [
13    {
14      "name": "NeuralNetworksTest_utils"
15    },
16    {
17      "name": "CtsNNAPIJavaTestCases"
18    }
19  ],
20  "presubmit-large": [
21    {
22      "name": "NeuralNetworksTest_static",
23      "options": [
24        {
25          // Restrict NeuralNetworksTest_static to run only a single
26          // pass consisting of:
27          // * useCpuOnly = 0
28          // * computeMode = ComputeMode::ASYNC
29          //
30          // The value here is a bitmask indicating only "pass 2"
31          // should be run (4 = 2^2). The bit conversions can be
32          // found in packages/modules/NeuralNetworks/runtime/test/TestMain.cpp.
33          "native-test-flag": "4"
34        }
35      ]
36    },
37    // TODO(b/244359503): Re-enable once the conversion layer is fixed.
38    // {
39    //   "name": "NeuralNetworksTest_v2_static",
40    //   "options": [
41    //     {
42    //       // Restrict NeuralNetworksTest_v2_static to run only a single
43    //       // pass consisting of:
44    //       // * useCpuOnly = 0
45    //       // * computeMode = ComputeMode::ASYNC
46    //       //
47    //       // The value here is a bitmask indicating only "pass 2"
48    //       // should be run (4 = 2^2). The bit conversions can be
49    //       // found in packages/modules/NeuralNetworks/runtime/test/TestMain.cpp.
50    //       "native-test-flag": "4"
51    //     }
52    //   ]
53    // },
54    {
55      "name": "CtsNNAPITestCases"
56    }
57  ],
58  "imports": [
59    {
60      "path": "hardware/interfaces/neuralnetworks"
61    },
62    {
63      "path": "external/tensorflow/tensorflow/lite/delegates/nnapi"
64    }
65  ]
66}
67