Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 52) sorted by relevance

123

/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBusinessLogicExecutor.java46 public boolean executeCondition(String method, String... args) { in executeCondition() argument
47 logDebug("Executing condition: %s", formatExecutionString(method, args)); in executeCondition()
49 return (Boolean) invokeMethod(method, args); in executeCondition()
53 "BusinessLogic: Failed to invoke condition method %s with args: %s", method, in executeCondition()
65 public void executeAction(String method, String... args) { in executeAction() argument
66 logDebug("Executing action: %s", formatExecutionString(method, args)); in executeAction()
68 invokeMethod(method, args); in executeAction()
72 "BusinessLogic: Failed to invoke action method %s with args: %s", method, in executeAction()
93 protected abstract String formatExecutionString(String method, String... args); in formatExecutionString() argument
103 protected Object invokeMethod(String method, String... args) throws ClassNotFoundException, in invokeMethod() argument
[all …]
/test/framework/harnesses/host_controller/build/
Dbuild_provider_pab.py214 def CallBuildsvc(self, method, params, account_id): argument
232 data = {"method": method, "params": params, "xsrf": self._xsrf}
273 method=GET, argument
292 if method == POST:
310 elif method == GET:
347 method=method)
361 def GetLatestBuildId(self, account_id, branch, target, method=GET): argument
379 method=method)
385 if method == POST:
391 elif method == GET:
[all …]
Dbuild_provider_pab_test.py120 method='POST')
147 method='POST')
168 method='POST')
189 method='POST')
209 method='POST')
229 method='POST')
245 method='POST')
269 method='POST')
282 method='POST')
296 method='POST')
[all …]
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base.py185 method = _filter["method"]
197 if method == Status.FILTER_METHOD[Status.FILTER_Has]:
209 if method == Status.FILTER_METHOD[Status.FILTER_LessThan]:
213 elif method == Status.FILTER_METHOD[Status.FILTER_GreaterThan]:
221 if method == Status.FILTER_METHOD[Status.FILTER_EqualTo]:
224 elif method == Status.FILTER_METHOD[Status.FILTER_LessThan]:
227 elif method == Status.FILTER_METHOD[Status.FILTER_GreaterThan]:
230 elif method == Status.FILTER_METHOD[
234 elif method == Status.FILTER_METHOD[
238 elif method == Status.FILTER_METHOD[Status.FILTER_NotEqualTo]:
[all …]
Dschedule_info.py35 @endpoints.method(
51 @endpoints.method(
110 @endpoints.method(
125 @endpoints.method(
140 @endpoints.method(
172 @endpoints.method(
188 @endpoints.method(
Dlab_info.py35 @endpoints.method(
50 @endpoints.method(
133 @endpoints.method(
155 @endpoints.method(
169 @endpoints.method(
Dbuild_info.py30 @endpoints.method(
70 @endpoints.method(
83 @endpoints.method(
Dhost_info.py67 @endpoints.method(
107 @endpoints.method(
121 @endpoints.method(
Djob_queue.py39 @endpoints.method(
84 @endpoints.method(
180 @endpoints.method(
194 @endpoints.method(
/test/framework/harnesses/host_controller/command_processor/
Dcommand_build.py46 def UpdateBuild(self, account_id, branch, targets, artifact_type, method, argument
74 method=method,
81 if method == "GET":
119 method, userinfo_file, noauth_local_webserver, argument
138 method, userinfo_file, noauth_local_webserver,
205 args.artifact_type, args.method,
237 args.method,
Dcommand_config.py52 def UpdateConfig(self, account_id, branch, targets, config_type, method, argument
74 method=method)
82 def FetchConfig(self, account_id, branch, target, config_type, method): argument
104 method="GET")
120 method=method))
168 def UpdateConfigLoop(self, account_id, branch, target, config_type, method, argument
190 method, update_build, clear_schedule,
390 args.config_type, args.method, args.update_build,
421 args.method,
Dcommand_fetch.py128 method=args.method,
139 method=args.method,
/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py155 method = self.request.POST.get('__method__')
156 if not method: # Backbone's _method parameter.
157 method = self.request.POST.get('_method')
158 if method not in valid:
159 logging.debug('Invalid method %s requested!', method)
160 method = None
162 self.request.route.handler_method, method)
163 self.request.route.handler_method = method
/test/suite_harness/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java99 DexMethod method = getMethod(clazz, "publicStringMethodInt", "I"); in testT0() local
100 assertPublic(method); in testT0()
101 method = getMethod(clazz, "protectedStringMethodInt", "I");/** a.b.C */ in testT0()
102 assertProtected(method); in testT0()
103 method = getMethod(clazz, "defaultStringMethodInt", "I"); in testT0()
104 assertDefault(method); in testT0()
105 method = getMethod(clazz, "privateStringMethodInt", "I"); in testT0()
106 assertPrivate(method); in testT0()
330 DexMethod method = getMethod(A, "m", "I"); in testParameterAnnotation() local
331 assertEquals(1, method.getParameters().size()); in testParameterAnnotation()
[all …]
DDexTestsCommon.java133 for (DexMethod method : clazz.getMethods()) { in getMethod()
134 List<String> methodsParamTypeNames = getParamTypeNames(method.getParameters()); in getMethod()
135 if(methodName.equals(method.getName()) && paramTypeNames.equals(methodsParamTypeNames)){ in getMethod()
136 return method; in getMethod()
/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/compilation_tools/vtsc/code_gen/profiler/
DHalHidlProfilerCodeGen.cpp363 Formatter& out, const FunctionSpecificationMessage& method) { in GenerateProfilerForMethod() argument
365 out << "msg.set_name(\"" << method.name() << "\");\n"; in GenerateProfilerForMethod()
382 out << "if ((*args).size() != " << method.arg().size() << ") {\n"; in GenerateProfilerForMethod()
385 << method.arg().size() in GenerateProfilerForMethod()
386 << ", actual: \" << (*args).size() << \", method name: " << method.name() in GenerateProfilerForMethod()
391 for (int i = 0; i < method.arg().size(); i++) { in GenerateProfilerForMethod()
392 const VariableSpecificationMessage arg = method.arg(i); in GenerateProfilerForMethod()
420 out << "if ((*args).size() != " << method.return_type_hidl().size() in GenerateProfilerForMethod()
424 << method.return_type_hidl().size() in GenerateProfilerForMethod()
425 << ", actual: \" << (*args).size() << \", method name: " << method.name() in GenerateProfilerForMethod()
[all …]
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DTestMsgQ.profiler.cpp25 const char* method __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() argument
43 if (strcmp(method, "configureFmqSyncReadWrite") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
107 if (strcmp(method, "getFmqUnsyncWrite") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
178 if (strcmp(method, "requestWriteFmqSync") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
232 if (strcmp(method, "requestReadFmqSync") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
286 if (strcmp(method, "requestWriteFmqUnsync") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
340 if (strcmp(method, "requestReadFmqUnsync") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
394 if (strcmp(method, "requestBlockingRead") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
440 if (strcmp(method, "requestBlockingReadDefaultEventFlagBits") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
486 if (strcmp(method, "requestBlockingReadRepeat") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
DNfc.profiler.cpp17 const char* method __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc() argument
35 if (strcmp(method, "open") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
89 if (strcmp(method, "write") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
148 if (strcmp(method, "coreInitialized") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
207 if (strcmp(method, "prediscover") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
253 if (strcmp(method, "close") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
299 if (strcmp(method, "controlGranted") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
345 if (strcmp(method, "powerCycle") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
DBar.profiler.cpp28 const char* method __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() argument
46 if (strcmp(method, "convertToBoolIfSmall") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
118 if (strcmp(method, "doThis") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
164 if (strcmp(method, "doThatAndReturnSomething") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
218 if (strcmp(method, "doQuiteABit") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
296 if (strcmp(method, "doSomethingElse") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
360 if (strcmp(method, "doStuffAndReturnAString") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
407 if (strcmp(method, "mapThisVector") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
471 if (strcmp(method, "callMe") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
517 if (strcmp(method, "useAnEnum") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
[all …]
DMemoryTest.profiler.cpp20 const char* method __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest() argument
38 if (strcmp(method, "haveSomeMemory") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
114 if (strcmp(method, "fillMemory") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
179 if (strcmp(method, "haveSomeMemoryBlock") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
233 if (strcmp(method, "set") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
290 if (strcmp(method, "get") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
DNfcClientCallback.profiler.cpp17 const char* method __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback() argument
35 if (strcmp(method, "sendEvent") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
89 if (strcmp(method, "sendData") == 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
/test/vts-testcase/kernel/ltp/shell_environment/definitions/base_definitions/
Dcheck_setup_cleanup.py103 def InternalCall(self, method): argument
109 success = method()
112 "failed.") % method.__name__
/test/suite_harness/tools/dex-tools/src/dex/reader/
DDexClassImpl.java291 EncodedMethod method = null; in getDexMethods() local
293 method = methods[i]; in getDexMethods()
294 methodIdIdx = (i == 0) ? method.method_idx_diff : methodIdIdx in getDexMethods()
295 + method.method_idx_diff; in getDexMethods()
299 method.access_flags, idToMethodAnnotation in getDexMethods()
/test/vti/test_serving/gae/frontend/src/app/shared/filter/
Dfilter.component.ts69 this.currentFilter.method = undefined;
84 return this.filterMethods.find((x) => x.value === filter.method).sign;

123