Home
last modified time | relevance | path

Searched refs:GetNamedInt32Value (Results 1 - 4 of 4) sorted by relevance

/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp53 napi_value GetNamedInt32Value(const napi_env &env, napi_value &object, const char* utf8name, in GetNamedInt32Value() function
71 BGTASK_LOGD("GetNamedInt32Value: %{public}s is %{public}d", utf8name, result); in GetNamedInt32Value()
109 if (!GetNamedInt32Value(env, argv[0], "resourceTypes", resourceNumber)) { in ParseParameters()
117 if (!GetNamedInt32Value(env, argv[0], "timeOut", timeOut)) { in ParseParameters()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dstandby_napi_module.cpp257 if (!Common::GetNamedInt32Value(env, argv[0], "resourceTypes", allowType) || allowType <= 0 in ParseAllowResParameters()
262 if (!Common::GetNamedInt32Value(env, argv[0], "uid", uid) || uid < 0) { in ParseAllowResParameters()
270 if (!Common::GetNamedInt32Value(env, argv[0], "duration", duration)) { in ParseAllowResParameters()
H A Dcommon.cpp265 napi_value Common::GetNamedInt32Value(const napi_env &env, napi_value &object, const char* utf8name, in GetNamedInt32Value() function in OHOS::DevStandbyMgr::Common
271 STANDBYSERVICE_LOGE("GetNamedInt32Value failed, %{public}s not exist, is nullptr", utf8name); in GetNamedInt32Value()
276 STANDBYSERVICE_LOGE("GetNamedInt32Value failed, %{public}s is nullptr", utf8name); in GetNamedInt32Value()
279 STANDBYSERVICE_LOGD("GetNamedInt32Value: %{public}s is %{public}d", utf8name, result); in GetNamedInt32Value()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/include/
H A Dcommon.h79 static napi_value GetNamedInt32Value(const napi_env &env, napi_value &object, const char* utf8name,

Completed in 3 milliseconds