Searched refs:GetNamedInt32Value (Results 1 - 4 of 4) sorted by relevance
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
H A D | efficiency_resources_operation.cpp | 53 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 D | standby_napi_module.cpp | 257 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 D | common.cpp | 265 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 D | common.h | 79 static napi_value GetNamedInt32Value(const napi_env &env, napi_value &object, const char* utf8name,
|
Completed in 3 milliseconds