| /test/vti/dashboard/src/test/java/com/android/vts/job/ |
| D | VtsPerformanceJobServletTest.java | 62 * @param regressionMode The regression mode. 122 VtsProfilingRegressionMode mode = VtsProfilingRegressionMode.VTS_REGRESSION_MODE_INCREASING; in setUp() local 123 ProfilingPointSummary summary = new ProfilingPointSummary("", "", mode); in setUp() 124 ProfilingPointSummaryEntity pt = createProfilingReport(LABELS, HIGH_VALS, mode); in setUp() 134 mode = VtsProfilingRegressionMode.VTS_REGRESSION_MODE_DECREASING; in setUp() 135 summary = new ProfilingPointSummary("", "", mode); in setUp() 136 pt = createProfilingReport(LABELS, LOW_VALS, mode); in setUp() 150 mode = VtsProfilingRegressionMode.VTS_REGRESSION_MODE_INCREASING; in setUp() 151 summary = new ProfilingPointSummary("", "", mode); in setUp() 152 pt = createProfilingReport(LABELS, LOW_VALS, mode); in setUp() [all …]
|
| /test/vts/compilation_tools/vtsc/test/ |
| D | test_vtsc.py | 33 Runs vtsc with specified mode on a bunch of files and compares the output 81 """Run tests for DRIVER mode. """ 111 """Run tests for PROFILER mode. """ 136 """Run tests for Fuzzer mode. """ 146 def RunFuzzerTest(self, mode, vts_file_path, source_file_name): argument 148 self._vtsc_path, "-m" + mode, vts_file_path, 149 os.path.join(self._output_dir, mode), 150 os.path.join(self._output_dir, mode, "") 154 canonical_source_file = os.path.join(self._canonical_dir, mode, 156 output_source_file = os.path.join(self._output_dir, mode, [all …]
|
| /test/vts/utils/python/hal/ |
| D | hal_service_name_utils_unittest.py | 63 mode = hal_service_name_utils.CombMode.NAME_MATCH 65 mode) 68 ["s1"], {}, mode) 71 ["s1"], {"s1": ["n1"]}, mode) 74 ["s1"], {"s1": ["n1", "n2"]}, mode) 77 ["s1", "s2"], {"s1": ["n1", "n2"]}, mode) 81 "s2": ["n3"]}, mode) 85 "s2": ["n3", "n4"]}, mode) 89 "s2": []}, mode) 93 "s2": ["n1", "n2"]}, mode) [all …]
|
| D | hal_service_name_utils.py | 66 """Enum for service name combination mode""" 74 mode=CombMode.FULL_PERMUTATION): argument 82 mode: CombMode that determines the combination strategy. 87 if mode == CombMode.FULL_PERMUTATION: 89 elif mode == CombMode.NAME_MATCH: 93 logging.warning("Unknown comb mode, use default comb mode instead.")
|
| /test/framework/harnesses/host_controller/utils/ipc/ |
| D | file_lock.py | 35 def __init__(self, file_name=None, mode=None): argument 41 mode: string, the mode argument to open() function. 57 self._OpenFile(file_name, mode) 59 def _OpenFile(self, serial, mode=None): argument 64 mode: string, the mode argument to open() function. 72 if not mode: 73 mode = "w+" 75 os.path.join(self._devlock_dir, serial), mode, 0)
|
| /test/vti/dashboard/src/test/java/com/android/vts/util/ |
| D | ProfilingPointSummaryTest.java | 50 * @param regressionMode The regression mode. 78 VtsProfilingRegressionMode mode = VtsProfilingRegressionMode.VTS_REGRESSION_MODE_INCREASING; in setUp() local 79 summary = new ProfilingPointSummary("x", "y", mode); in setUp() 80 ProfilingPointSummaryEntity pt = createProfilingReport(labels, values, mode); in setUp() 123 VtsProfilingRegressionMode mode = VtsProfilingRegressionMode.VTS_REGRESSION_MODE_INCREASING; in testIterator() local 124 ProfilingPointSummaryEntity pt = createProfilingReport(labels, values, mode); in testIterator() 136 VtsProfilingRegressionMode mode = VtsProfilingRegressionMode.VTS_REGRESSION_MODE_INCREASING; in testUpdateLabelGrouped() local 137 summary = new ProfilingPointSummary("x", "y", mode); in testUpdateLabelGrouped() 138 ProfilingPointSummaryEntity pt = createProfilingReport(labels, values, mode); in testUpdateLabelGrouped()
|
| /test/vti/dashboard/src/main/java/com/android/vts/util/ |
| D | StatSummary.java | 34 * <p>Sets the label, min, max, mean, sum of squared error, n, and mode as provided. 42 * @param mode The VtsProfilingRegressionMode to use when analyzing performance. 51 VtsProfilingRegressionMode mode) { in StatSummary() argument 58 this.regression_mode = mode; in StatSummary() 68 * @param mode The VtsProfilingRegressionMode to use when analyzing performance. 70 public StatSummary(String label, VtsProfilingRegressionMode mode) { in StatSummary() argument 71 this(label, Double.MAX_VALUE, Double.MIN_VALUE, 0, 0, 0, mode); in StatSummary() 180 * Gets the regression mode.
|
| /test/vts/compilation_tools/vtsc/code_gen/ |
| D | CodeGenBase.cpp | 55 void Translate(VtsCompileMode mode, in Translate() argument 63 TranslateToFile(mode, input_vts_file_path, output_header_file_path.c_str(), in Translate() 66 TranslateToFile(mode, input_vts_file_path, output_cpp_file_path, in Translate() 70 void TranslateToFile(VtsCompileMode mode, in TranslateToFile() argument 95 if (mode == kDriver) { in TranslateToFile() 117 } else if (mode == kFuzzer) { in TranslateToFile() 138 } else if (mode == kProfiler) { in TranslateToFile()
|
| D | CodeGenBase.h | 72 void Translate(VtsCompileMode mode, 79 void TranslateToFile(VtsCompileMode mode,
|
| /test/mlts/benchmark/ |
| D | build_and_run_benchmark.sh | 7 MODE="${1:-scoring}" 9 case "$MODE" in 20 echo "Unknown execution mode: $1" 36 build/soong/soong_ui.bash --make-mode NeuralNetworksApiBenchmark 75 adb shell 'echo ro.setupwizard.mode=DISABLED > /data/local.prop' 105 if [[ "$MODE" == "scoring" ]]; then 121 if [[ "$MODE" == "scoring" ]]; then
|
| /test/vts/compilation_tools/vtsc/ |
| D | VtsCompilerMain.cpp | 50 android::vts::VtsCompileMode mode = android::vts::kDriver; in main() local 61 mode = android::vts::kProfiler; in main() 63 cout << "- mode: PROFILER" << endl; in main() 66 mode = android::vts::kFuzzer; in main() 68 cout << "- mode: FUZZER" << endl; in main() 100 mode, argv[opt_count + 1], argv[opt_count + 2], argv[opt_count + 3]); in main() 119 mode, argv[opt_count + 1], argv[opt_count + 2], type); in main() 145 mode, src_file.c_str(), dst_file.c_str(), type); in main()
|
| /test/vts-testcase/fuzz/iface_fuzzer/ |
| D | ProtoFuzzerRunner.cpp | 106 // For fuzzing, only passthrough mode provides coverage. in GetService() 107 // If binder mode is not requested, attempt to open HAL in passthrough mode. in GetService() 108 // If the attempt fails, fall back to binder mode. in GetService() 111 cerr << __func__ << ": Failed to open HAL in passthrough mode. " in GetService() 112 << "Falling back to binder mode." << endl; in GetService() 114 cerr << "HAL opened in passthrough mode." << endl; in GetService() 120 cerr << __func__ << ": Failed to open HAL in binder mode." << endl; in GetService() 123 cerr << "HAL opened in binder mode." << endl; in GetService()
|
| /test/vts/testcases/template/gtest_binary_test/ |
| D | gtest_binary_test.py | 45 _gtest_results: list of GtestResult objects, used during batch mode 60 logging.debug("Disable batch mode when collecting tests.") 76 In non-batch mode, each object respresents a test case in the 79 In batch mode, each object represents a gtest binary located at 81 list in batch mode. Test case names are stored in full_name 138 # Gtest batch mode 235 '''Parse batch mode gtest results 270 '''Check a gtest test case result in batch mode 282 If the test cases should run in batch mode, this method executes the 285 If the test cases should run in batch mode but be skipped (e.g., HAL is
|
| /test/vts/utils/native/trace_processor/ |
| D | TraceProcessorMain.cpp | 56 printf("Unknown operation mode: %s\n", str.c_str()); in getModeCode() 63 "--mode: The operation applied to the trace file.\n" in ShowUsage() 102 string mode = kDefaultMode; in main() local 112 {"mode", required_argument, nullptr, 'm'}, in main() 129 mode = string(optarg); in main() 148 switch (getModeCode(mode)) { in main() 178 switch (getModeCode(mode)) { in main()
|
| /test/vti/test_serving/gae/ |
| D | queue.yaml | 3 mode: push 12 mode: push
|
| /test/vts/testcases/template/hal_hidl_gtest/ |
| D | hal_hidl_gtest.py | 96 """Create testcases and conditionally enable passthrough mode. 100 passthrough mode on the test environment. 180 logging.debug("service comb mode: %d", comb_mode) 182 # If request NO_COMBINATION mode, return the initial test cases directly. 207 """Enable passthrough mode by setting getStub to true. 220 'enable passthrough mode option.')
|
| /test/vts/runners/target/vts_hal_hidl_target/ |
| D | VtsHalHidlTargetTestEnvBase.h | 28 // Enum class indicates the required combination mode for registered services. 97 void setServiceCombMode(HalServiceCombMode mode) { mode_ = mode; } in setServiceCombMode() argument 146 // Required combination mode for hal service instances.
|
| D | VtsHalHidlTargetTestBase.h | 88 * Call interface's getService and use passthrough mode if set from host. 99 * environment and use passthrough mode if set from host.
|
| /test/vts/drivers/resource/include/hidl_handle_driver/ |
| D | VtsHidlHandleDriver.h | 63 // to be opened with the flag and mode, and a list of integers needed in 68 // @param mode file access mode, details in Linux man page. 72 HandleId CreateFileHandle(string filepath, int flag, int mode,
|
| /test/framework/harnesses/host_controller/command_processor/ |
| D | command_test.py | 61 "--test-exec-mode", 198 result_paths[0], mode="r") as result_zip: 200 "log-result.xml", mode="rU") as result_xml: 219 logging.error("unsupported exec mode: %s", args.test_exec_mode)
|
| /test/vts/testcases/host/fastboot/ |
| D | VtsFastbootVerification.py | 33 """Initializes the DUT and places devices into fastboot mode. 50 # The below command blocks until the device enters fastbootd mode to 51 # ensure that the device is in fastbootd mode when setUpClass exits.
|
| /test/vts/runners/host/ |
| D | utils.py | 593 """Force the device to set airplane mode on or off by adb shell command. 597 new_state: Turn on airplane mode if True. 598 Turn off airplane mode if False. 623 """Force the device into doze mode. 629 True if device is in doze mode. 635 b'Now forced in to idle mode\r\n'): 653 """Force the device not in doze mode. 659 True if device is not in doze mode.
|
| /test/vts-testcase/kernel/api/tun/ |
| D | vts_kernel_tun_test.cpp | 57 int VtsKernelTunTest::TunInit(short mode) { in TunInit() argument 59 .ifr_flags = mode, in TunInit()
|
| /test/vts/drivers/resource/resource_manager/ |
| D | VtsResourceManager.cpp | 69 int mode = 0; in ProcessHidlHandleCommand() local 70 // Translate the mode into C++ flags and modes. in ProcessHidlHandleCommand() 77 mode = S_IRWXU; // User has the right to read/write/execute. in ProcessHidlHandleCommand() 81 mode = S_IRWXU; in ProcessHidlHandleCommand() 90 mode = S_IRWXU; in ProcessHidlHandleCommand() 95 mode = S_IRWXU; in ProcessHidlHandleCommand() 100 LOG(ERROR) << "Host side creates a file with mode x, " in ProcessHidlHandleCommand() 105 mode = S_IRWXU; in ProcessHidlHandleCommand() 112 LOG(ERROR) << "Unknown file mode."; in ProcessHidlHandleCommand() 122 hidl_handle_driver_.CreateFileHandle(filepath, flag, mode, int_data); in ProcessHidlHandleCommand()
|
| /test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
| D | VtsTraceCollectPreparer.java | 46 static final String SELINUX_PERMISSIVE = "Permissive"; // selinux permissive mode 107 // Set selinux permissive mode. in setUp() 120 // Reset selinux permission mode. in tearDown()
|