Home
last modified time | relevance | path

Searched refs:ARGV_ZERO (Results 1 – 2 of 2) sorted by relevance

/base/theme/screenlock_mgr/frameworks/js/napi/src/
Dnapi_screenlock_ability.cpp242 if (CheckParamType(env, argv[ARGV_ZERO], napi_function) != napi_ok) { in NAPI_Lock()
247 napi_create_reference(env, argv[ARGV_ZERO], 1, &callbackRef); in NAPI_Lock()
290 napi_typeof(env, argv[ARGV_ZERO], &valueType); in NAPI_UnlockScreen()
294 napi_create_reference(env, argv[ARGV_ZERO], 1, &callbackRef); in NAPI_UnlockScreen()
333 if (CheckParamType(env, argv[ARGV_ZERO], napi_function) != napi_ok) { in NAPI_Unlock()
338 napi_create_reference(env, argv[ARGV_ZERO], 1, &callbackRef); in NAPI_Unlock()
437 if (CheckParamType(env, argv[ARGV_ZERO], napi_string) != napi_ok) { in NAPI_ScreenLockSendEvent()
443 napi_get_value_string_utf8(env, argv[ARGV_ZERO], event, MAX_VALUE_LEN, &len); in NAPI_ScreenLockSendEvent()
/base/theme/screenlock_mgr/utils/include/
Dscreenlock_common.h110 constexpr int ARGV_ZERO = 0; variable