Home
last modified time | relevance | path

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

12345

/base/security/device_security_level/test/dslm_unit_test/cmocker/
Dc_mocker.h70 #define DECLARE_METHOD(ret, method, args) … argument
72 …MOCK_METHOD(ret, method, args); …
73 …using typeof##method = ret (*)(GMOCK_PP_REPEAT(PARAMETER, SIGNATURE(ret, args), GMOCK_PP_NARG0 arg…
74 …using get##method = std::function<typeof##method()>; …
75 const static typeof##method default##method;
77 #define IMPLEMENT_FUNCTION_INTERNAL(cls, method, count, signature, invoker) … argument
78 …const cls::typeof##method cls::default##method = reinterpret_cast<cls::typeof##method>(invoker); …
79 …testing::internal::Function<GMOCK_PP_REMOVE_PARENS(signature)>::Result method( …
83 …static auto lookup = reinterpret_cast<cls::typeof##method>(dlsym(RTLD_NEXT, #method)); \
86 …auto *stub = cls::default##method != nullptr ? cls::default##method : lookup; \
[all …]
/base/inputmethod/imf/
DREADME.md5 …is used to connect the application and input method. the application can input text through the in…
16 The input method framework currently has four modules, as follows:
22 …input method framework, including the binding between application and input method service, applic…
24 2. Input method client
28 …e bridge between input method framework service and input method delivery, including monitoring th…
30 3. Input method service
34 Function: as the core of the input method framework, the main processing logic of the input method
36 4. Input method JS interface
44 …the edit attribute control to invoke the default input method application through the input method
46 2. Typing can be carried out through the input method application, and characters can be input to t…
[all …]
/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension_connection.cpp126 napi_value method = nullptr; in HandleOnAbilityDisconnectDone() local
127 napi_get_named_property(engine_, obj, "onDisconnect", &method); in HandleOnAbilityDisconnectDone()
128 if (method == nullptr) { in HandleOnAbilityDisconnectDone()
152 napi_call_function(engine_, obj, method, NapiPrintUtils::ARGC_ONE, argv, &callResult); in HandleOnAbilityDisconnectDone()
175 napi_value method = nullptr; in CallJsFailed() local
176 napi_get_named_property(engine_, obj, "onFailed", &method); in CallJsFailed()
177 if (method == nullptr) { in CallJsFailed()
187 napi_call_function(engine_, obj, method, NapiPrintUtils::ARGC_ONE, argv, &callResult); in CallJsFailed()
Djs_print_callback.cpp76 napi_value method = nullptr; in BuildJsWorker() local
77 napi_get_named_property(env, obj, name.c_str(), &method); in BuildJsWorker()
78 if (method == nullptr) { in BuildJsWorker()
92 jsParam_.jsMethod = method; in BuildJsWorker()
Djs_print_extension.cpp190 napi_value method = nullptr; in OnConnect() local
191 napi_get_named_property(nativeEngine, obj, "onConnect", &method); in OnConnect()
192 if (method == nullptr) { in OnConnect()
198 napi_call_function(nativeEngine, obj, method, NapiPrintUtils::ARGC_ONE, argv, &remoteNative); in OnConnect()
229 napi_value method = nullptr; in OnDisconnect() local
230 napi_get_named_property(nativeEngine, obj, "onDisconnect", &method); in OnDisconnect()
231 if (method == nullptr) { in OnDisconnect()
236 napi_call_function(nativeEngine, obj, method, NapiPrintUtils::ARGC_ONE, argv, &callResult); in OnDisconnect()
272 napi_value method = nullptr; in CallObjectMethod() local
273 napi_get_named_property(nativeEngine, obj, name, &method); in CallObjectMethod()
[all …]
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/module_loader/
Djs_user_auth_extension.cpp98 bool IsMethodNative(napi_env env, napi_value value, napi_value method) in IsMethodNative() argument
100 if (method == nullptr) { in IsMethodNative()
104 napi_typeof(env, method, &valuetype); in IsMethodNative()
453 napi_value method = nullptr; in CallObjectMethod() local
454 napi_get_named_property(env, value, name, &method); in CallObjectMethod()
455 if (!IsMethodNative(env, value, method)) { in CallObjectMethod()
462 if (napi_call_function(env, value, method, argc, argv, &callFunctionResult) != napi_ok) { in CallObjectMethod()
489 napi_value method = nullptr; in CallOnConnect() local
490 napi_get_named_property(env, value, "onConnect", &method); in CallOnConnect()
491 if (method == nullptr) { in CallOnConnect()
[all …]
/base/telephony/sms_mms/services/mms/
Ddata_request.cpp32 int32_t DataRequest::HttpRequest(int32_t slotId, const std::string &method, std::shared_ptr<MmsNetw… in HttpRequest() argument
44 return netClient->Execute(method, contentUrl, pduDir); in HttpRequest()
47 int32_t DataRequest::ExecuteMms(const std::string &method, std::shared_ptr<MmsNetworkManager> mmsNe… in ExecuteMms() argument
70 int32_t executeResult = HttpRequest(slotId_, method, mmsNetworkMgr, contentUrl, pduDir); in ExecuteMms()
/base/time/time_service/
DREADME.md34 … | Set the system time (1970-01-01 to the present in milliseconds), Promise method. |
36 …ck: AsyncCallback<boolean>): void; | Set the system time (Date format), Promise method. |
37 …se<boolean> | Set system time (Date format), callback method. |
38 …back: AsyncCallback<boolean>): void | Set the system time zone, callback method. …
39 …ring): Promise<boolean> | Set the system time zone, Promise method. …
45 …ons: TimerOptions, callback: AsyncCallback<number>): void | Create timer, callback method |
46 | createTimer(options: TimerOptions): Promise<number> | Create timer, promise method
51 …er(timer: number, callback: AsyncCallback<boolean>): void | Destroy the timer, callback method |
52 …troyTimer(timer: number): Promise<boolean> | Destroy the timer, the promise method |
/base/inputmethod/imf/frameworks/kits/extension/src/
Djs_inputmethod_extension.cpp287 napi_value method = nullptr; in OnConnect() local
288 napi_get_named_property(env, obj, "onConnect", &method); in OnConnect()
289 if (method == nullptr) { in OnConnect()
295 napi_call_function(env, obj, method, ARGC_ONE, argv, &remoteNapi); in OnConnect()
327 napi_value method = nullptr; in OnDisconnect() local
328 napi_get_named_property(env, obj, "onDisconnect", &method); in OnDisconnect()
329 if (method == nullptr) { in OnDisconnect()
334 napi_call_function(env, obj, method, ARGC_ONE, argv, &remoteNapi); in OnDisconnect()
371 napi_value method = nullptr; in CallObjectMethod() local
372 napi_get_named_property(env, obj, name, &method); in CallObjectMethod()
[all …]
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h47 AddMethod method; member
53 method = AddMethod::INVALID; in AddFilter()
73 static bool ProcessFirewallMethod(int32_t type, AddMethod &method);
/base/security/device_auth/frameworks/inc/lite/
Dipc_dev_auth_stub.h29 IpcServiceCall method; member
39 int32_t SetCallMap(IpcServiceCall method, int32_t methodId);
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dweb_download_item.cpp34 method(""), in WebDownloadItem()
60 method(""), in WebDownloadItem()
79 this->method = std::string(WebDownloadItem_Method(downloadItem)); in WebDownloadItem()
/base/telephony/sms_mms/services/mms/include/
Ddata_request.h31 …int32_t HttpRequest(int32_t slotId, const std::string &method, std::shared_ptr<MmsNetworkManager> …
33 int32_t ExecuteMms(const std::string &method, std::shared_ptr<MmsNetworkManager> mmsNetworkMgr,
Dmms_network_client.h32 int32_t Execute(const std::string &method, const std::string &mmsc, std::string &data);
40 int32_t HttpRequest(const std::string &method, const std::string &url, const std::string &data);
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp31 data.WriteInt32(static_cast<int32_t>(filter.method)); in WriteAddFilterConfig()
45 IptablesUtils::ProcessFirewallMethod(data.ReadInt32(), filter.method); in ReadAddFilterConfig()
84 bool IptablesUtils::ProcessFirewallMethod(int32_t type, AddMethod &method) in ProcessFirewallMethod() argument
87 method = AddMethod(type); in ProcessFirewallMethod()
/base/security/device_auth/frameworks/inc/standard/
Dipc_dev_auth_stub.h25 IpcServiceCall method; member
39 int32_t SetCallMap(IpcServiceCall method, int32_t methodId);
/base/request/request/services/service/request/c_wrapper/include/
Dc_task_config.h60 CStringWrapper method; member
82 std::string method; member
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DResourceConfiguration.java70 String method; field in ResourceConfiguration.ConfigItem
94 return method; in getMethod()
/base/security/device_auth/frameworks/src/lite/
Dipc_dev_auth_stub.c71 if ((g_callMapTable[i].methodId == methodId) && (g_callMapTable[i].method != NULL)) { in GetCallMethodByMethodId()
72 return g_callMapTable[i].method; in GetCallMethodByMethodId()
229 int32_t SetCallMap(IpcServiceCall method, int32_t methodId) in SetCallMap() argument
260 g_callMapTable[g_callMapElemNum].method = method; in SetCallMap()
/base/security/device_auth/frameworks/src/standard/
Dipc_dev_auth_stub.cpp88 if ((callMapTable[i].methodId == methodId) && (callMapTable[i].method != nullptr)) { in GetCallMethodByMethodId()
89 return callMapTable[i].method; in GetCallMethodByMethodId()
238 int32_t ServiceDevAuth::SetCallMap(IpcServiceCall method, int32_t methodId) in SetCallMap() argument
270 callMapTable[callMapElemNum].method = method; in SetCallMap()
/base/request/request/frameworks/js/napi/src/
Djs_initialize.cpp568 config.method = config.action == Action::UPLOAD ? "PUT" : "GET"; in ParseMethod()
570 config.method = "POST"; in ParseMethod()
572 std::string method = NapiUtils::Convert2String(env, jsConfig, "method"); in ParseMethod() local
573 if (!method.empty()) { in ParseMethod()
574 transform(method.begin(), method.end(), method.begin(), ::toupper); in ParseMethod()
575 if (config.action == Action::UPLOAD && (method == "POST" || method == "PUT")) { in ParseMethod()
576 config.method = method; in ParseMethod()
578 if (config.action == Action::DOWNLOAD && (method == "POST" || method == "GET")) { in ParseMethod()
579 config.method = method; in ParseMethod()
829 config.method = "GET"; in ParseDownloadConfig()
/base/notification/common_event_service/frameworks/extension/src/
Djs_static_subscriber_extension.cpp226 napi_value method = nullptr; in OnReceiveEvent() local
227 napi_get_named_property(env, obj, "onReceiveEvent", &method); in OnReceiveEvent()
228 if (method == nullptr) { in OnReceiveEvent()
232 napi_call_function(env, obj, method, ARGC_ONE, argv, nullptr); in OnReceiveEvent()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dsmaps_memory_info.cpp177 for (const auto &method : sMapsMethodVec_) { in CalcSmapsStatData() local
178 auto it = valueMap.find(method.first); in CalcSmapsStatData()
180 method.second(memSmapsInfo, it->second); in CalcSmapsStatData()
190 for (const auto &method : sMapsMethodVec_) { in CalcSmapsInfo() local
191 string key = method.first; in CalcSmapsInfo()
194 method.second(memSmapsInfo, strtoull(obj.at(key).c_str(), nullptr, BASE)); in CalcSmapsInfo()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp128 if (addFilter.method == IPTABLES::AddMethod::APPEND) { in ConvertAddFilterToIptablesCommand()
130 } else if (addFilter.method == IPTABLES::AddMethod::INSERT) { in ConvertAddFilterToIptablesCommand()
140 ConvertRuleNoCommand(addFilter.method, addFilter.ruleNo, command); in ConvertAddFilterToIptablesCommand()
295 void IptablesRulePlugin::ConvertRuleNoCommand(const IPTABLES::AddMethod &method, uint32_t ruleNo, s… in ConvertRuleNoCommand() argument
297 if (method == IPTABLES::AddMethod::INSERT && ruleNo != 0) { in ConvertRuleNoCommand()
/base/account/os_account/
DREADME.md134 …3421233134612"></a>Queries information about a distributed account. This method uses an asynchrono…
139 …7342133394620"></a>Queries information about a distributed account. This method uses a promise to …
144 …1534263304617"></a>Updates information about a distributed account. This method uses an asynchrono…
149 …0342193384611"></a>Updates information about a distributed account. This method uses a promise to …
489 …3134612"></a><a name="p63421233134612"></a>Activates an OS account. This method uses an asynchrono…
494 …3134612"></a><a name="p63421233134612"></a>Activates an OS account. This method uses a promise to …
499 …42133394620"></a>Checks whether multiple OS accounts are supported. This method uses an asynchrono…
504 …42133394620"></a>Checks whether multiple OS accounts are supported. This method uses a promise to …
509 …ame="p1534263304617"></a>Checks whether an OS account is activated. This method uses an asynchrono…
514 …ame="p1534263304617"></a>Checks whether an OS account is activated. This method uses a promise to …
[all …]

12345