Home
last modified time | relevance | path

Searched defs:method (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/aosp14/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
H A DDexBuilderTest.java48 Method method = clazz.getMethod("return5"); in return5() local
56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5() local
64 Method method = clazz.getMethod("returnParam", int.class); in returnParam() local
73 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength() local
81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero() local
90 Method method = clazz.getMethod("returnIfNotZero", int.class); in returnIfNotZero() local
99 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch() local
107 Method method = clazz.getMethod("returnNull"); in returnNull() local
115 Method method = clazz.getMethod("makeString"); in makeString() local
178 Method method = clazz.getMethod("readStaticField"); in readStaticField() local
[all …]
/aosp14/frameworks/base/tests/testables/src/android/testing/
H A DAndroidTestingRunner.java54 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
60 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores()
67 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters()
74 protected Statement withPotentialTimeout(FrameworkMethod method, Object test, Statement next) { in withPotentialTimeout()
87 protected List<FrameworkMethod> looperWrap(FrameworkMethod method, Object test, in looperWrap()
101 protected FrameworkMethod looperWrap(FrameworkMethod method, Object test, in looperWrap()
111 public boolean shouldRunOnUiThread(FrameworkMethod method) { in shouldRunOnUiThread()
H A DTestWithLooperRule.java44 public Statement apply(Statement base, FrameworkMethod method, Object target) { in apply()
75 private void wrapMethodInStatement(Statement base, FrameworkMethod method, Object target) in wrapMethodInStatement()
116 FrameworkMethod method, Object target) in wrapFieldMethodFor()
138 protected FrameworkMethod looperWrap(FrameworkMethod method, Object test, in looperWrap()
148 protected List<FrameworkMethod> looperWrap(FrameworkMethod method, Object test, in looperWrap()
/aosp14/frameworks/base/startop/view_compiler/
H A Ddex_testcase_generator.cc59 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
150 [](MethodBuilder& method) { in GenerateSimpleTestCases()
179 [](MethodBuilder& method) { in GenerateSimpleTestCases()
190 [](MethodBuilder& method) { in GenerateSimpleTestCases()
202 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
222 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
246 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
262 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
277 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
291 [&](MethodBuilder& method) { in GenerateSimpleTestCases()
[all …]
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/resource/
H A Dresource_items.json4 "method": "getFormatAbbrMonthNames" string
8 "method": "getFormatAbbrDayNames" string
12 "method": "getPatterns", string
39 "method": "getPatterns", string
114 "method": "getAmPmMarkers" string
118 "method": "getPluralRules" string
150 "method": "getPatterns", string
177 "method": "getPatterns", string
216 "method": "getPatterns", string
237 "method": "getWeekdata" string
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/cpp/
H A Dsa_cpp_client_proxy_code_emitter.cpp102 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceProxyAddCacheAbleAPI() local
138 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceProxyUnRegisterDeathRecipient() local
172 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceProxyMethodDecls() local
180 void SaCppClientProxyCodeEmitter::EmitInterfaceProxyMethodDecl(AutoPtr<ASTMethod> &method, StringBu… in EmitInterfaceProxyMethodDecl()
255 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceProxyMethodImpls() local
263 void SaCppClientProxyCodeEmitter::EmitInterfaceProxyMethodImpl(AutoPtr<ASTMethod> &method, StringBu… in EmitInterfaceProxyMethodImpl()
272 void SaCppClientProxyCodeEmitter::EmitInterfaceProxyMethodPreSendRequest(AutoPtr<ASTMethod> &method in EmitInterfaceProxyMethodPreSendRequest()
289 …lientProxyCodeEmitter::EmitInterfaceProxyMethodPostSendRequest(AutoPtr<ASTMethod> &method, StringB… in EmitInterfaceProxyMethodPostSendRequest()
297 void SaCppClientProxyCodeEmitter::EmitInterfaceProxyMethodBody(AutoPtr<ASTMethod> &method, StringBu… in EmitInterfaceProxyMethodBody()
356 void SaCppClientProxyCodeEmitter::EmitInterfaceProxyMethodReply(AutoPtr<ASTMethod> &method, StringB… in EmitInterfaceProxyMethodReply()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowTestRunner.java54 protected Statement methodInvoker(FrameworkMethod method, Object test) { in methodInvoker()
58 private Statement wrapStatement(Statement statement, FrameworkMethod method, Object target) { in wrapStatement()
73 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores()
94 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters()
106 private FrameworkMethod wrapMethod(FrameworkMethod method, Object target) { in wrapMethod()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcpp_service_stub_code_emitter.cpp128 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitStubMethodDecls() local
140 …for (const auto &method : interface->GetMethodsBySystem(Options::GetInstance().GetSystemLevel())) { in EmitStubMethodDecls() local
151 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubMethodDecl() argument
159 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubStaticMethodDecl() argument
239 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherLibInclusions() local
261 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherFileInclusions() local
387 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitStubMethodImpls() local
398 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubMethodImpl() argument
414 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubStaticMethodImpl() argument
459 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubCallMethod() argument
[all …]
H A Dc_service_impl_code_emitter.cpp137 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitLowServiceImplGetMethod() local
142 AutoPtr<ASTMethod> method = interface_->GetVersionMethod(); in EmitLowServiceImplGetMethod() local
287 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitServiceImplMethodImpls() local
296 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitServiceImplMethodImpl() argument
325 AutoPtr<ASTMethod> method = interface_->GetVersionMethod(); in EmitServiceImplGetVersionMethod() local
364 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitKernelServiceImplGetMethod() local
390 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitServiceImplGetMethod() local
395 AutoPtr<ASTMethod> method = interface_->GetVersionMethod(); in EmitServiceImplGetMethod() local
H A Dcpp_client_proxy_code_emitter.cpp187 …for (const auto &method : interface->GetMethodsBySystem(Options::GetInstance().GetSystemLevel())) { in EmitProxyMethodDecls() local
194 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitProxyMethodDecls() local
211 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitProxyMethodDecl() argument
235 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitProxyStaticMethodDecl() argument
423 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherLibInclusions() local
442 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherFileInclusions() local
713 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyMethodImpl()
739 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyStaticMethodImpl()
762 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyMethodBody()
783 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyStaticMethodBody()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/cpp/
H A Dcpp_service_stub_code_emitter.cpp135 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitStubMethodDecls() local
147 …for (const auto &method : interface->GetMethodsBySystem(Options::GetInstance().GetSystemLevel())) { in EmitStubMethodDecls() local
158 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubMethodDecl() argument
166 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubStaticMethodDecl() argument
244 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherLibInclusions() local
266 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherFileInclusions() local
391 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitStubMethodImpls() local
403 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubMethodImpl() argument
419 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubStaticMethodImpl() argument
464 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitStubCallMethod() argument
[all …]
H A Dcpp_client_proxy_code_emitter.cpp202 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitProxyMethodDecls() local
219 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitProxyMethodDecl() argument
243 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitProxyStaticMethodDecl() argument
423 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherLibInclusions() local
442 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in GetSourceOtherFileInclusions() local
630 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitProxyMethodImpls() local
724 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyMethodImpl()
750 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyStaticMethodImpl()
773 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyMethodBody()
794 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) in EmitProxyStaticMethodBody()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dc_service_impl_code_emitter.cpp144 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitLowServiceImplGetMethod() local
149 AutoPtr<ASTMethod> method = interface_->GetVersionMethod(); in EmitLowServiceImplGetMethod() local
294 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitServiceImplMethodImpls() local
303 const AutoPtr<ASTMethod> &method, StringBuilder &sb, const std::string &prefix) const in EmitServiceImplMethodImpl() argument
332 AutoPtr<ASTMethod> method = interface_->GetVersionMethod(); in EmitServiceImplGetVersionMethod() local
371 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitKernelServiceImplGetMethod() local
397 …for (const auto &method : interface_->GetMethodsBySystem(Options::GetInstance().GetSystemLevel()))… in EmitServiceImplGetMethod() local
402 AutoPtr<ASTMethod> method = interface_->GetVersionMethod(); in EmitServiceImplGetMethod() local
/ohos5.0/foundation/communication/netstack/test/unittest/http_client/
H A DHttpClientRequestTest.cpp90 string method = req.GetMethod(); variable
98 string method = req.GetMethod(); variable
107 string method = req.GetMethod(); variable
270 bool method = req.MethodForGet(""); variable
277 bool method = req.MethodForGet("GET"); variable
284 bool method = req.MethodForPost(""); variable
291 bool method = req.MethodForPost("POST"); variable
/ohos5.0/base/security/device_security_level/test/dslm_unit_test/cmocker/
H A Dc_mocker.h70 #define DECLARE_METHOD(ret, method, args) … argument
77 #define IMPLEMENT_FUNCTION_INTERNAL(cls, method, count, signature, invoker) … argument
104 #define IMPLEMENT_FUNCTION_WITH_INVOKER(cls, ret, method, args, invoker) \ argument
107 #define IMPLEMENT_FUNCTION(cls, ret, method, args) \ argument
/ohos5.0/drivers/peripheral/user_auth/test/unittest/mocks/inc/
H A Dc_mocker.h70 #define DECLARE_METHOD(ret, method, args) … argument
77 #define IMPLEMENT_FUNCTION_INTERNAL(cls, method, count, signature, invoker) … argument
104 #define IMPLEMENT_FUNCTION_WITH_INVOKER(cls, ret, method, args, invoker) \ argument
107 #define IMPLEMENT_FUNCTION(cls, ret, method, args) \ argument
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/
H A Dsa_ts_interface_code_emitter.cpp70 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceDefinition() local
76 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceDefinition() local
81 void SaTsInterfaceCodeEmitter::EmitInterfaceMethod(AutoPtr<ASTMethod> &method, StringBuilder &sb, in EmitInterfaceMethod()
96 void SaTsInterfaceCodeEmitter::EmitInterfaceMethodCallback(AutoPtr<ASTMethod> &method, StringBuilde… in EmitInterfaceMethodCallback()
H A Dsa_ts_service_stub_code_emitter.cpp91 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceStubMethodImpls() local
105 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceStubMethodImpls() local
118 void SaTsServiceStubCodeEmitter::EmitInterfaceStubMethodImpl(AutoPtr<ASTMethod> &method, StringBuil… in EmitInterfaceStubMethodImpl()
151 void SaTsServiceStubCodeEmitter::EmitInterfaceStubMethodPromiseImpl(AutoPtr<ASTMethod> &method, Str… in EmitInterfaceStubMethodPromiseImpl()
190 void SaTsServiceStubCodeEmitter::EmitMethodPromiseOutParamImpl(AutoPtr<ASTMethod> &method, StringBu… in EmitMethodPromiseOutParamImpl()
H A Dsa_ts_client_proxy_code_emitter.cpp84 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceProxyMethodImpls() local
94 void SaTsClientProxyCodeEmitter::EmitInterfaceProxyMethodBody(AutoPtr<ASTMethod> &method, StringBui… in EmitInterfaceProxyMethodBody()
133 void SaTsClientProxyCodeEmitter::EmitInterfaceMethodCallback(AutoPtr<ASTMethod> &method, StringBuil… in EmitInterfaceMethodCallback()
144 void SaTsClientProxyCodeEmitter::EmitInterfaceMethodErrorCallback(AutoPtr<ASTMethod> &method, Strin… in EmitInterfaceMethodErrorCallback()
178 void SaTsClientProxyCodeEmitter::EmitInterfaceMethodCallbackInner(AutoPtr<ASTMethod> &method, Strin… in EmitInterfaceMethodCallbackInner()
H A Dsa_ts_code_emitter.cpp27 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in CheckInterfaceType() local
92 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceMethodCommands() local
102 AutoPtr<ASTMethod> method = interface_->GetMethod(i); in EmitInterfaceImports() local
139 void SATsCodeEmitter::EmitInterfaceMethodHead(AutoPtr<ASTMethod> &method, StringBuilder &sb, in EmitInterfaceMethodHead()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_interface_type.cpp29 void ASTInterfaceType::AddMethod(const AutoPtr<ASTMethod> &method) in AddMethod()
69 for (const auto &method : methods_) { in GetMethodsBySystem() local
104 for (auto method : methods_) { in Dump() local
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/caller/
H A Dcaller.js64 call(method, data) { argument
119 callWithResult(method, data) { argument
257 callCheck(method, data) { argument
281 buildMsgData(method, data) { argument
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/varhandles/
H A Dgenerate_java.py48 def __init__(self, code, static, vartype, flavour, klass, method, memloc, argument
100 def BenchVHField(code, static, vartype, flavour, method): argument
104 def BenchVHArray(code, vartype, flavour, method): argument
108 def BenchVHByteArrayView(code, byteorder, vartype, flavour, method): argument
112 def BenchReflect(code, static, vartype, method): argument
116 def BenchUnsafe(code, static, vartype, method): argument
/ohos5.0/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_async_callback.h55 napi_ref& method; member
60 napi_ref& method; member
66 napi_ref& method; member
/ohos5.0/foundation/ability/idl_tool/ast/
H A Dast_interface_type.cpp30 void ASTInterfaceType::AddMethod(ASTMethod* method) in AddMethod()
77 for (auto method : methods_) { in Dump() local

12345678910>>...18