/base/location/frameworks/js/napi/source/ |
D | location_napi_event.cpp | 457 } else if (argc == PARAM2) { in GetObjectArgsNum() 588 if (argc != PARAM2) { in OnLocationServiceStateCallback() 597 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnLocationServiceStateCallback() 633 if (valueType != napi_object || !CheckIfParamIsFunctionType(env, argv[PARAM2])) { in OnCachedGnssLocationsReportingCallback() 639 NAPI_ASSERT_BASE(env, CheckIfParamIsFunctionType(env, argv[PARAM2]), in OnCachedGnssLocationsReportingCallback() 649 if (g_cachedLocationCallbacks.IsCallbackInMap(env, argv[PARAM2])) { in OnCachedGnssLocationsReportingCallback() 657 NAPI_CALL_BASE(env, napi_create_reference(env, argv[PARAM2], PARAM1, &handlerRef), false); in OnCachedGnssLocationsReportingCallback() 675 if (argc != PARAM2) { in OnGnssStatusChangeCallback() 684 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnGnssStatusChangeCallback() 723 if (valueType != napi_object || !CheckIfParamIsFunctionType(env, argv[PARAM2])) { in OnLocationChangeCallback() [all …]
|
D | location_napi_adapter.cpp | 380 …if (argc < PARAM1 || argc > PARAM2 || (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[1])… in CreateReverseGeocodeAsyncContext() 433 …if (argc < PARAM1 || argc > PARAM2 || (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[1])… in CreateReverseGeocodeAsyncContext() 519 if (argc != PARAM2) { in CreateReverseGeocodeAsyncContext() 685 …if (argc < PARAM1 || argc > PARAM2 || (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[1])… in CreateReverseGeocodeAsyncContext() 705 if (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[PARAM1])) { in CreateReverseGeocodeAsyncContext()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
D | napi_cert_defines.h | 30 constexpr int32_t PARAM2 = 2; variable
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/ |
D | auth_common.h | 38 constexpr size_t PARAM2 = 2; variable
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_remove_group.cpp | 76 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 81 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters()
|
/base/location/interfaces/inner_api/include/ |
D | constant_definition.h | 33 const int32_t PARAM2 = 2; variable
|
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
D | napi_crypto_framework_defines.h | 32 constexpr int32_t PARAM2 = 2; variable
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | remove.cpp | 97 if (!ParseCallbackFunc(env, argv[PARAM2], params)) { in ParseHashcodeTypeParams() 119 if (!ParseRemoveReason(env, argv[PARAM2], params)) { in ParseBundleOptionTypeParams() 254 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 259 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters()
|
D | cancel.cpp | 78 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 83 napi_create_reference(env, argv[PARAM2], 1, ¶s.callback); in ParseParameters() 381 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 386 napi_get_value_int32(env, argv[PARAM2], ¶s.userId); in ParseParameters()
|
D | display_badge.cpp | 62 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 67 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters()
|
D | publish.cpp | 88 if (GetCallback(env, argv[PARAM2], params) == nullptr) { in ParseParameters() 420 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParsePublishAsBundleParameters() 426 napi_get_value_int32(env, argv[PARAM2], &userId); in ParsePublishAsBundleParameters()
|
D | enable_notification.cpp | 62 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 67 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters()
|
D | distributed.cpp | 100 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 105 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters() 637 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 642 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters()
|
D | disturb_mode.cpp | 130 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 135 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParameters()
|
D | slot.cpp | 312 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParametersSetSlotByBundle() 317 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParametersSetSlotByBundle() 1206 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParametersEnableSlot() 1211 napi_get_value_bool(env, argv[PARAM2], ¶ms.enable); in ParseParametersEnableSlot() 1335 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParametersIsEnableSlot() 1340 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParametersIsEnableSlot()
|
D | subscribe.cpp | 1254 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 1259 napi_create_reference(env, argv[PARAM2], 1, &callback); in ParseParameters()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_impl.cpp | 89 callbackRef = Common::MakeShared<JsRefHolder>(env, argv[PARAM2]); in Execute() 205 NAPI_CALL(env, UserAuthNapiHelper::GetInt32Value(env, argv[PARAM2], authTrustLevel)); in Auth()
|
D | auth_instance_v9.cpp | 133 ret = UserAuthNapiHelper::GetUint32Value(env, argv[PARAM2], authTrustLevel); in Init()
|
/base/location/frameworks/js/napi/include/ |
D | callback_manager.h | 131 if (argc != PARAM2) { in RegCallback()
|
/base/security/dlp_permission_service/interfaces/kits/napi_common/include/ |
D | napi_common.h | 38 constexpr int32_t PARAM2 = 2; variable
|
/base/security/dlp_permission_service/interfaces/kits/napi_common/src/ |
D | napi_common.cpp | 614 if (!GetDlpProperty(env, argv[PARAM2], asyncContext.property)) { in GetGenerateDlpFileParams() 852 if (!GetInt64Value(env, argv[PARAM2], res)) { in GetInstallDlpSandboxParams() 901 if (!GetInt64Value(env, argv[PARAM2], res)) { in GetUninstallDlpSandboxParams()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
D | common.h | 33 constexpr uint8_t PARAM2 = 2; variable
|