Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 62) sorted by relevance

123

/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DBar.profiler.cpp29 std::vector<void *> *args __attribute__((__unused__))) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() argument
50 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
58 if ((*args).size() != 2) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
59 …(ERROR) << "Number of arguments does not match. expect: 2, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
63 …d__)) = reinterpret_cast<::android::hardware::tests::foo::V1_0::IFoo::Discriminator*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
71 …t<::android::hardware::hidl_vec<::android::hardware::tests::foo::V1_0::IFoo::Union>*> ((*args)[1]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
89 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
90 …OR) << "Number of return values does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
94 …oid::hardware::hidl_vec<::android::hardware::tests::foo::V1_0::IFoo::ContainsUnion>*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
122 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
[all …]
DTestMsgQ.profiler.cpp26 std::vector<void *> *args __attribute__((__unused__))) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() argument
47 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
55 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
56 …(ERROR) << "Number of arguments does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
60 …e__((__unused__)) = reinterpret_cast<::android::hardware::MQDescriptorSync<int32_t>*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
83 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
84 …OR) << "Number of return values does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
88 … bool *result_val_0 __attribute__((__unused__)) = reinterpret_cast<bool*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
111 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
119 if ((*args).size() != 2) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
[all …]
DNfc.profiler.cpp18 std::vector<void *> *args __attribute__((__unused__))) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc() argument
39 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
47 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
48 …(ERROR) << "Number of arguments does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
52 …nused__)) = reinterpret_cast<sp<::android::hardware::nfc::V1_0::INfcClientCallback>*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
65 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
66 …OR) << "Number of return values does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
70 …ribute__((__unused__)) = reinterpret_cast<::android::hardware::nfc::V1_0::NfcStatus*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
93 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
101 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
[all …]
DMemoryTest.profiler.cpp21 std::vector<void *> *args __attribute__((__unused__))) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest() argument
42 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
50 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
51 …(ERROR) << "Number of arguments does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
55 …l_0 __attribute__((__unused__)) = reinterpret_cast<::android::hardware::hidl_memory*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
79 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
80 …OR) << "Number of return values does not match. expect: 1, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
84 …l_0 __attribute__((__unused__)) = reinterpret_cast<::android::hardware::hidl_memory*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
118 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
126 if ((*args).size() != 2) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
[all …]
DNfcClientCallback.profiler.cpp18 std::vector<void *> *args __attribute__((__unused__))) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback() argument
39 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
47 if ((*args).size() != 2) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
48 …(ERROR) << "Number of arguments does not match. expect: 2, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
52 …tribute__((__unused__)) = reinterpret_cast<::android::hardware::nfc::V1_0::NfcEvent*> ((*args)[0]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
60 …ribute__((__unused__)) = reinterpret_cast<::android::hardware::nfc::V1_0::NfcStatus*> ((*args)[1]); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
73 if ((*args).size() != 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
74 …OR) << "Number of return values does not match. expect: 0, actual: " << (*args).size() << ", metho… in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
93 if (!args) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
101 if ((*args).size() != 1) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
[all …]
/test/vts-testcase/vndk/golden/
Ddump_abi.py202 args = arg_parser.parse_args()
209 if not all([args.platform_vndk_version,
210 args.binder_bitness,
211 args.target_main_arch,
212 args.target_arch,
213 args.target_arch_variant]):
232 if args.platform_vndk_version:
233 platform_vndk_version = args.platform_vndk_version
235 if args.binder_bitness:
236 binder_bitness = args.binder_bitness
[all …]
Dextract_lsdump.py281 args = arg_parser.parse_args()
285 if zipfile.is_zipfile(args.input_path):
286 with zipfile.ZipFile(args.input_path, mode='r') as input_zip:
289 with zipfile.ZipFile(args.output_path, mode='w',
295 ParseLsdumpFile(args.input_path, args.output_path)
/test/vts-testcase/kernel/gki/
Dcpio.cpp34 std::vector<char*> ToCStringArray(std::vector<std::string>* args) { in ToCStringArray() argument
36 ret.reserve(args->size() + 1); in ToCStringArray()
37 for (auto& arg : *args) { in ToCStringArray()
46 android::base::Result<void> Exec(std::vector<std::string>* args, in Exec() argument
50 return ErrnoError() << "Unable to execute `" << Join(*args, " ") in Exec()
56 auto c_args = ToCStringArray(args); in Exec()
60 PLOG(FATAL) << "Unable to execute `" << Join(*args, " ") in Exec()
66 return ErrnoError() << "Unable to execute `" << Join(*args, " ") in Exec()
69 return Error() << "Unable to execute `" << Join(*args, " ") in Exec()
72 return Error() << "Unable to execute `" << Join(*args, " ") in Exec()
[all …]
/test/vts/runners/target/gtest/
Dgtest_main.cpp78 va_list args; in ColoredPrintf() local
79 va_start(args, fmt); in ColoredPrintf()
82 vprintf(fmt, args); in ColoredPrintf()
85 vprintf(fmt, args); in ColoredPrintf()
89 va_end(args); in ColoredPrintf()
965 static void AddPathSeparatorInTestProgramPath(std::vector<char*>& args) { in AddPathSeparatorInTestProgramPath() argument
975 if (strchr(args[0], '/') == NULL) { in AddPathSeparatorInTestProgramPath()
983 args[0] = strdup(path); in AddPathSeparatorInTestProgramPath()
987 static void AddGtestFilterSynonym(std::vector<char*>& args) { in AddGtestFilterSynonym() argument
989 for (size_t i = 1; i < args.size(); ++i) { in AddGtestFilterSynonym()
[all …]
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py69 args='', argument
81 self.args = args
138 args = ' %s' % self.args if self.args else ''
144 args=args)
230 def args(self): member in BinaryTestCase
234 @args.setter
235 def args(self, args): argument
237 self._args = _SafeStrip(args)
/test/app_compat/csuite/pylib/
Dcsuite_test.py66 def run_tests(args: Any, unittest_argv: Sequence[Text]) -> None:
82 _DEVICE_SERIAL = args.serial
84 with open(args.test_output_file, 'w') as test_output_file:
94 def __init__(self, *args, **kwargs): argument
96 stream=test_output_file, *args, **kwargs)
105 args, unittest_argv = create_arg_parser(add_help=True).parse_known_args(
107 run_tests(args, unittest_argv)
/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation_event.py235 def LogD(self, *args): argument
237 self._Log(logging.debug, *args)
239 def LogI(self, *args): argument
241 self._Log(logging.info, *args)
243 def LogW(self, *args): argument
245 self._Log(logging.warn, *args)
247 def LogE(self, *args): argument
249 self._Log(logging.error, *args)
251 def _Log(self, log_func, *args): argument
253 log_func(*args)
/test/app_compat/csuite/integration_tests/
Dcsuite_test_utils.py174 args: Sequence[Text],
190 return self.run(['shell'] + args, check)
193 args: Sequence[Text],
196 return _run_command(self._args + args, check=check)
208 def _run_command(args, check=True, **kwargs) -> subprocess.CompletedProcess: argument
215 args_str = [str(t) for t in args]
225 return subprocess.run(args, check=check, **kwargs)
278 args, unittest_argv = parser.parse_known_args(sys.argv)
280 _KEEP_TEMP_DIRS = args.keep_temp_dirs
281 logging.basicConfig(level=getattr(logging, args.log_level))
[all …]
/test/vts/utils/python/controllers/
Dfastboot.py79 def args(self, *args): member in FastbootProxy
80 return exe_cmd(' '.join((self.fastboot_str, ) + args))
83 def fastboot_call(*args): argument
85 arg_str = ' '.join(str(elem) for elem in args)
Dandroid.py112 def _rpc(self, method, *args): argument
116 data = {'id': apiid, 'method': method, 'params': args}
131 def rpc_call(*args): argument
132 return self._rpc(name, *args)
/test/vts-testcase/kernel/ltp/shell_environment/
Dshell_environment.py43 return all([method(*args) for method, args in self._cleanup_jobs])
45 def AddCleanupJob(self, method, *args): argument
47 if (method, args) not in self._cleanup_jobs:
48 self._cleanup_jobs.append((method, args))
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py279 args=(n_bit, ),
282 def RunGeneratedTestsMultiThread(self, test_func, settings, args, argument
328 args=args,
343 args=args,
361 executor.submit(self.RunLtpWorker, q, args, name_func, i)
381 args=args,
386 def RunLtpWorker(self, testcases, args, name_func, id): argument
401 test_name = name_func(test_case, *args)
444 def InternalResultReportMultiThread(self, test_name, function, args, argument
462 self.execOneTest(test_name, function, args, **kwargs)
/test/vti/test_serving/gae/testing/
De2e_test.py124 args = parser.parse_args() variable
126 result = main(args.sdk_path, args.test_path, args.test_pattern)
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py89 args = self.args[tag] if tag in self.args else ''
95 gtest_list_args = args + " --gtest_list_tests"
106 args=gtest_list_args)
127 envp=envp, args=args)
/test/vts/utils/python/coverage/
Dcoverage_utils.py744 args = parser.parse_args() variable
746 if args.operation != "init_coverage" and args.operation != "get_coverage":
754 args.serial,
756 args.gcov_rescource_path,
764 if args.operation == "init_coverage":
765 coverage.InitializeDeviceCoverage(serial=args.serial)
766 elif args.operation == "get_coverage":
767 if args.report_prefix:
768 coverage.SetCoverageReportFilePrefix(args.report_prefix)
769 if args.report_path:
[all …]
/test/vts/utils/python/common/
Dcmd_utils.py36 *args): argument
75 callback_on_timeout(*args)
103 def ExecuteOneShellCommand(cmd, timeout=None, callback_on_timeout=None, *args): argument
128 str(cmd), timeout, callback_on_timeout, *args)
/test/vts/utils/python/mirror/
Dnative_entity_mirror.py181 def __getattr__(self, api_name, *args, **kwargs): argument
190 def RemoteCall(*args, **kwargs): argument
196 logging.debug("remote call %s%s", api_name, args)
197 if args:
198 for arg_msg, value_msg in zip(func_msg.arg, args):
305 def MessageGenerator(*args, **kwargs): argument
307 if args:
308 return self.Py2Pb(api_name, args)
/test/vts-testcase/vndk/
Dutils.py41 def Execute(self, *args): argument
52 cmd.extend(args)
202 def _Test(self, *args): argument
204 out, err, return_code = self.Execute("test", *args)
207 (args, out, err))
/test/vts/utils/python/performance/
Dbenchmark_parser.py69 args = []
72 args.append(name[1].encode("utf-8") if len(name) >= 2 else "")
73 return args
/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py125 def get(self, *args, **kwargs): argument
129 def post(self, *args, **kwargs): argument
133 def put(self, *args, **kwargs): argument
137 def delete(self, *args, **kwargs): argument
141 def head(self, *args, **kwargs): argument

123