Home
last modified time | relevance | path

Searched refs:cbinfo (Results 1 – 25 of 28) sorted by relevance

12

/base/location/frameworks/js/napi/include/
Dlocation_napi_system.h23 napi_value GetLocation(napi_env env, napi_callback_info cbinfo);
24 napi_value GetLocationType(napi_env env, napi_callback_info cbinfo);
25 napi_value Subscribe(napi_env env, napi_callback_info cbinfo);
26 napi_value Unsubscribe(napi_env env, napi_callback_info cbinfo);
27 napi_value GetSupportedCoordTypes(napi_env env, napi_callback_info cbinfo);
Dlocation_napi_event.h84 napi_value On(napi_env env, napi_callback_info cbinfo);
85 napi_value Off(napi_env env, napi_callback_info cbinfo);
86 napi_value GetCurrentLocation(napi_env env, napi_callback_info cbinfo);
/base/security/access_token/interfaces/kits/privacy/napi/include/
Dpermission_record_manager_napi.h50 napi_value AddPermissionUsedRecord(napi_env env, napi_callback_info cbinfo);
51 napi_value StartUsingPermission(napi_env env, napi_callback_info cbinfo);
52 napi_value StopUsingPermission(napi_env env, napi_callback_info cbinfo);
53 napi_value GetPermissionUsedRecords(napi_env env, napi_callback_info cbinfo);
/base/notification/eventhandler/frameworks/napi/include/
Devents_emitter.h76 napi_value JS_On(napi_env env, napi_callback_info cbinfo);
77 napi_value JS_Off(napi_env env, napi_callback_info cbinfo);
78 napi_value JS_Once(napi_env env, napi_callback_info cbinfo);
79 napi_value JS_Emit(napi_env env, napi_callback_info cbinfo);
/base/web/webview/interfaces/kits/napi/webasynccontroller/
Dnapi_web_async_controller.h36 static napi_value JS_StoreWebArchive(napi_env env, napi_callback_info cbinfo);
38 …static napi_value StoreWebArchiveInternal(napi_env env, napi_callback_info cbinfo, const std::stri…
Dnapi_web_async_controller.cpp48 napi_value NapiWebAsyncController::StoreWebArchiveInternal(napi_env env, napi_callback_info cbinfo, in StoreWebArchiveInternal() argument
60 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in StoreWebArchiveInternal()
73 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in StoreWebArchiveInternal()
94 napi_value NapiWebAsyncController::JS_StoreWebArchive(napi_env env, napi_callback_info cbinfo) in JS_StoreWebArchive() argument
106 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in JS_StoreWebArchive()
127 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in JS_StoreWebArchive()
137 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr); in JS_StoreWebArchive()
142 return StoreWebArchiveInternal(env, cbinfo, baseName, autoName); in JS_StoreWebArchive()
/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp86 napi_value GetLocation(napi_env env, napi_callback_info cbinfo) in GetLocation() argument
92 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in GetLocation()
153 napi_value GetLocationType(napi_env env, napi_callback_info cbinfo) in GetLocationType() argument
160 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in GetLocationType()
212 napi_value Subscribe(napi_env env, napi_callback_info cbinfo) in Subscribe() argument
219 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in Subscribe()
247 napi_value Unsubscribe(napi_env env, napi_callback_info cbinfo) in Unsubscribe() argument
260 napi_value GetSupportedCoordTypes(napi_env env, napi_callback_info cbinfo) in GetSupportedCoordTypes() argument
265 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in GetSupportedCoordTypes()
Dlocation_napi_event.cpp899 napi_value On(napi_env env, napi_callback_info cbinfo) in On() argument
906 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in On()
1349 bool VerifyOffFuncParam(napi_env env, napi_callback_info cbinfo, size_t& argc) in VerifyOffFuncParam() argument
1354 NAPI_CALL_BASE(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr), false); in VerifyOffFuncParam()
1386 napi_value Off(napi_env env, napi_callback_info cbinfo) in Off() argument
1394 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in Off()
1396 if (!VerifyOffFuncParam(env, cbinfo, argc)) { in Off()
1436 napi_value GetCurrentLocation(napi_env env, napi_callback_info cbinfo) in GetCurrentLocation() argument
1442 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, nullptr)); in GetCurrentLocation()
/base/notification/eventhandler/frameworks/napi/src/
Devents_emitter.cpp234 napi_value OnOrOnce(napi_env env, napi_callback_info cbinfo, bool once) in OnOrOnce() argument
238 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, NULL, NULL)); in OnOrOnce()
288 napi_value JS_On(napi_env env, napi_callback_info cbinfo) in JS_On() argument
291 return OnOrOnce(env, cbinfo, false); in JS_On()
294 napi_value JS_Once(napi_env env, napi_callback_info cbinfo) in JS_Once() argument
297 return OnOrOnce(env, cbinfo, true); in JS_Once()
300 napi_value JS_Off(napi_env env, napi_callback_info cbinfo) in JS_Off() argument
305 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, NULL, NULL)); in JS_Off()
456 napi_value JS_Emit(napi_env env, napi_callback_info cbinfo) in JS_Emit() argument
461 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, &argc, argv, NULL, NULL)); in JS_Emit()
/base/account/os_account/interfaces/kits/napi/distributedaccount/include/
Dnapi_distributed_account.h59 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
/base/security/access_token/interfaces/kits/privacy/napi/src/
Dpermission_record_manager_napi.cpp439 napi_value AddPermissionUsedRecord(napi_env env, napi_callback_info cbinfo) in AddPermissionUsedRecord() argument
450 if (!ParseAddPermissionRecord(env, cbinfo, *asyncContext)) { in AddPermissionUsedRecord()
502 napi_value StartUsingPermission(napi_env env, napi_callback_info cbinfo) in StartUsingPermission() argument
512 if (!ParseStartAndStopUsingPermission(env, cbinfo, *asyncContext)) { in StartUsingPermission()
564 napi_value StopUsingPermission(napi_env env, napi_callback_info cbinfo) in StopUsingPermission() argument
575 if (!ParseStartAndStopUsingPermission(env, cbinfo, *asyncContext)) { in StopUsingPermission()
628 napi_value GetPermissionUsedRecords(napi_env env, napi_callback_info cbinfo) in GetPermissionUsedRecords() argument
638 if (!ParseGetPermissionUsedRecords(env, cbinfo, *asyncContext)) { in GetPermissionUsedRecords()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_keyboard_delegate_setting.h57 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
Djs_input_method_engine_setting.h77 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
Djs_keyboard_delegate_setting.cpp115 napi_value JsKeyboardDelegateSetting::JsConstructor(napi_env env, napi_callback_info cbinfo) in JsConstructor() argument
119 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
Djs_input_method_engine_setting.cpp204 napi_value JsInputMethodEngineSetting::JsConstructor(napi_env env, napi_callback_info cbinfo) in JsConstructor() argument
208 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
Djs_text_input_client_engine.h321 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
Djs_text_input_client_engine.cpp121 napi_value JsTextInputClientEngine::JsConstructor(napi_env env, napi_callback_info cbinfo) in JsConstructor() argument
124 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_setting.h117 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
Djs_get_input_method_setting.cpp73 napi_value JsGetInputMethodSetting::JsConstructor(napi_env env, napi_callback_info cbinfo) in JsConstructor() argument
77 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
Djs_get_input_method_controller.h190 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
Djs_get_input_method_controller.cpp212 napi_value JsGetInputMethodController::JsConstructor(napi_env env, napi_callback_info cbinfo) in JsConstructor() argument
215 NAPI_CALL(env, napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr)); in JsConstructor()
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/include/
Dnapi_dlp_permission.h37 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
/base/security/access_token/interfaces/kits/accesstoken/napi/include/
Dnapi_atmanager.h148 static napi_value JsConstructor(napi_env env, napi_callback_info cbinfo);
/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
Dnapi_distributed_account.cpp318 napi_value NapiDistributedAccount::JsConstructor(napi_env env, napi_callback_info cbinfo) in JsConstructor() argument
321 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, nullptr); in JsConstructor()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h214 napi_value OsAccountJsConstructor(napi_env env, napi_callback_info cbinfo);

12