/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/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/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 | 102 // For fuzzing, only passthrough mode provides coverage. in GetService() 103 // If binder mode is not requested, attempt to open HAL in passthrough mode. in GetService() 104 // If the attempt fails, fall back to binder mode. in GetService() 107 cerr << __func__ << ": Failed to open HAL in passthrough mode. " in GetService() 108 << "Falling back to binder mode." << endl; in GetService() 110 cerr << "HAL opened in passthrough mode." << endl; in GetService() 116 cerr << __func__ << ": Failed to open HAL in binder mode." << endl; in GetService() 119 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/mlts/benchmark/ |
D | build_and_run_benchmark.sh | 64 MODE="${1:-scoring}" 68 case "$MODE" in 117 echo "Unknown execution mode: $1" 139 build/soong/soong_ui.bash --make-mode ${APP} 2>&1 | tee ${TMPFILE} 152 build/soong/soong_ui.bash --make-mode nn_stress_test 175 if [[ "$MODE" == "scoring" ]]; then 190 adb shell 'echo ro.setupwizard.mode=DISABLED > /data/local.prop' 221 if [[ "$MODE" == "scoring" ]]; then 237 if [[ "$MODE" == "scoring" ]]; then
|
/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/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/vti/test_serving/gae/ |
D | queue.yaml | 3 mode: push 12 mode: push
|
/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/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/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/runners/target/gtest/ |
D | gtest_main.cpp | 118 " 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-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-testcase/fuzz/iface_fuzzer/include/ |
D | ProtoFuzzerUtils.h | 79 // Controls whether HAL is opened in passthrough or binder mode. 80 // Binder mode is default. Used for testing.
|
/test/vts-testcase/vndk/golden/ |
D | extract_lsdump.py | 240 with lsdump_zip.open(name, mode='r') as lsdump_file: 286 with zipfile.ZipFile(args.input_path, mode='r') as input_zip: 289 with zipfile.ZipFile(args.output_path, mode='w',
|
/test/vti/dashboard/ |
D | gradle.properties | 4 mode= key
|
/test/vts-testcase/performance/hwbinder_benchmark/ |
D | HwBinderPerformanceTest.py | 111 "Start to run the benchmark with HIDL mode %s (%s bit mode)",
|
/test/vts-testcase/performance/fmq_benchmark/ |
D | FmqPerformanceTest.py | 82 logging.info("Start the benchmark service(%s bit mode)", bits) 96 logging.info("Start to run the benchmark (%s bit mode)", bits)
|