/base/location/frameworks/js/napi/source/ |
D | location_napi_event.cpp | 422 } else if (argc == PARAM2) { in GetObjectArgsNum() 553 if (argc != PARAM2) { in OnLocationServiceStateCallback() 562 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnLocationServiceStateCallback() 598 if (valueType != napi_object || !CheckIfParamIsFunctionType(env, argv[PARAM2])) { in OnCachedGnssLocationsReportingCallback() 604 NAPI_ASSERT_BASE(env, CheckIfParamIsFunctionType(env, argv[PARAM2]), in OnCachedGnssLocationsReportingCallback() 614 if (g_cachedLocationCallbacks.IsCallbackInMap(env, argv[PARAM2])) { in OnCachedGnssLocationsReportingCallback() 622 NAPI_CALL_BASE(env, napi_create_reference(env, argv[PARAM2], PARAM1, &handlerRef), false); in OnCachedGnssLocationsReportingCallback() 640 if (argc != PARAM2) { in OnGnssStatusChangeCallback() 649 NAPI_ASSERT_BASE(env, argc == PARAM2, "number of parameters is wrong", INPUT_PARAMS_ERROR); in OnGnssStatusChangeCallback() 685 if (valueType != napi_object || !CheckIfParamIsFunctionType(env, argv[PARAM2])) { in OnLocationChangeCallback() [all …]
|
D | location_napi_adapter.cpp | 390 …if (argc < PARAM1 || argc > PARAM2 || (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[1])… in CreateReverseGeocodeAsyncContext() 443 …if (argc < PARAM1 || argc > PARAM2 || (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[1])… in CreateReverseGeocodeAsyncContext() 531 if (argc != PARAM2) { in CreateReverseGeocodeAsyncContext() 697 …if (argc < PARAM1 || argc > PARAM2 || (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[1])… in CreateReverseGeocodeAsyncContext() 717 if (argc == PARAM2 && !CheckIfParamIsFunctionType(env, argv[PARAM1])) { in CreateReverseGeocodeAsyncContext()
|
/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 | 66 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 71 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 | 33 constexpr int32_t PARAM2 = 2; variable
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | cancel.cpp | 66 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 71 napi_create_reference(env, argv[PARAM2], 1, ¶s.callback); in ParseParameters() 349 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 354 napi_get_value_int32(env, argv[PARAM2], ¶s.userId); in ParseParameters()
|
D | remove.cpp | 76 if (!ParseCallbackFunc(env, argv[PARAM2], params)) { in ParseHashcodeTypeParams() 98 if (!ParseRemoveReason(env, argv[PARAM2], params)) { in ParseBundleOptionTypeParams() 220 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 225 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); 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() 410 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParsePublishAsBundleParameters() 416 napi_get_value_int32(env, argv[PARAM2], &userId); in ParsePublishAsBundleParameters()
|
D | enable_notification.cpp | 63 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 68 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() 1334 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParametersIsEnableSlot() 1339 napi_create_reference(env, argv[PARAM2], 1, ¶ms.callback); in ParseParametersIsEnableSlot()
|
D | subscribe.cpp | 1140 NAPI_CALL(env, napi_typeof(env, argv[PARAM2], &valuetype)); in ParseParameters() 1145 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 | 152 ret = UserAuthNapiHelper::GetUint32Value(env, argv[PARAM2], authTrustLevel); in Init()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
D | common.h | 33 constexpr uint8_t PARAM2 = 2; variable
|