Home
last modified time | relevance | path

Searched full:mode (Results 1 – 25 of 114) sorted by relevance

12345

/test/suite_harness/tools/cts-tradefed/res/config/
Dcts-instant-option-setup.xml18 <!-- Exclude tests applicable only to full mode -->
24 <option name="compatibility:module-arg" value="CtsSystemUiTestCases:instant-mode:true" />
32 <option name="compatibility:module-arg" value="CtsAppWidgetTestCases:instant-mode:true" />
35 <option name="compatibility:module-arg" value="CtsAccessibilityTestCases:instant-mode:true" />
38 …<option name="compatibility:module-arg" value="CtsAccessibilityServiceTestCases:instant-mode:true"…
41 <option name="compatibility:module-arg" value="CtsAnimationTestCases:instant-mode:true" />
44 <option name="compatibility:module-arg" value="CtsAutoFillServiceTestCases:instant-mode:true" />
47 …<option name="compatibility:module-arg" value="CtsBackgroundRestrictionsTestCases:instant-mode:tru…
53 <option name="compatibility:module-arg" value="CtsInputMethodTestCases:instant-mode:true" />
56 <option name="compatibility:module-arg" value="CtsPdfTestCases:instant-mode:true" />
[all …]
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsPerformanceJobServletTest.java62 * @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/
Dtest_vtsc.py33 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/
Dhal_service_name_utils_unittest.py63 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 …]
Dhal_service_name_utils.py66 """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/
Dfile_lock.py35 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/
DProfilingPointSummaryTest.java50 * @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/
DStatSummary.java34 * <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/
DCodeGenBase.cpp55 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()
DCodeGenBase.h72 void Translate(VtsCompileMode mode,
79 void TranslateToFile(VtsCompileMode mode,
/test/vts/compilation_tools/vtsc/
DVtsCompilerMain.cpp50 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/
DProtoFuzzerRunner.cpp104 // For fuzzing, only passthrough mode provides coverage. in GetService()
105 // If binder mode is not requested, attempt to open HAL in passthrough mode. in GetService()
106 // If the attempt fails, fall back to binder mode. in GetService()
109 cerr << __func__ << ": Failed to open HAL in passthrough mode. " in GetService()
110 << "Falling back to binder mode." << endl; in GetService()
112 cerr << "HAL opened in passthrough mode." << endl; in GetService()
118 cerr << __func__ << ": Failed to open HAL in binder mode." << endl; in GetService()
121 cerr << "HAL opened in binder mode." << endl; in GetService()
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py43 _gtest_results: list of GtestResult objects, used during batch mode
58 logging.debug("Disable batch mode when collecting tests.")
74 In non-batch mode, each object respresents a test case in the
77 In batch mode, each object represents a gtest binary located at
79 list in batch mode. Test case names are stored in full_name
131 # Avoid batch mode as it creates overly large filters
134 # Gtest batch mode
232 '''Parse batch mode gtest results
267 '''Check a gtest test case result in batch mode
/test/vts/utils/native/trace_processor/
DTraceProcessorMain.cpp56 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/vts/testcases/template/hal_hidl_gtest/
Dhal_hidl_gtest.py96 """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/vti/test_serving/gae/
Dqueue.yaml3 mode: push
12 mode: push
/test/vts/runners/target/vts_hal_hidl_target/
DVtsHalHidlTargetTestEnvBase.h28 // 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.
/test/vts/drivers/resource/include/hidl_handle_driver/
DVtsHidlHandleDriver.h63 // 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/
Dcommand_test.py61 "--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/
DVtsFastbootVerification.py33 """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/
Dutils.py595 """Force the device to set airplane mode on or off by adb shell command.
599 new_state: Turn on airplane mode if True.
600 Turn off airplane mode if False.
625 """Force the device into doze mode.
631 True if device is in doze mode.
637 b'Now forced in to idle mode\r\n'):
655 """Force the device not in doze mode.
661 True if device is not in doze mode.
/test/vts/drivers/resource/resource_manager/
DVtsResourceManager.cpp69 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-testcase/kernel/api/tun/
Dvts_kernel_tun_test.cpp57 int VtsKernelTunTest::TunInit(short mode) { in TunInit() argument
59 .ifr_flags = mode, in TunInit()
/test/vts/runners/target/gtest/
Dgtest_main.cpp118 " Use isolation mode, Run each test in a separate process.\n" in PrintHelpInfo()
122 " Don't use isolation mode, run all tests in a single process.\n" in PrintHelpInfo()
125 " It takes effect only in isolation mode. Deafult deadline is 90000 " in PrintHelpInfo()
129 " It takes effect only in isolation mode. Default warnline is 2000 " in PrintHelpInfo()
134 "In isolation mode, you can send SIGQUIT to the parent process to show " in PrintHelpInfo()
966 // To run DeathTest in threadsafe mode, gtest requires that the user must in AddPathSeparatorInTestProgramPath()
970 // threadsafe mode, in AddPathSeparatorInTestProgramPath()
1008 // isolation test mode
1017 // options is used to pass out test options in isolation mode.
1068 // Parse arguments that make us can't run in isolation mode. in PickOptions()
[all …]
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsTraceCollectPreparer.java46 static final String SELINUX_PERMISSIVE = "Permissive"; // selinux permissive mode
107 // Set selinux permissive mode. in setUp()
120 // Reset selinux permission mode. in tearDown()

12345