Searched refs:napiValRef_ (Results 1 – 2 of 2) sorted by relevance
62 ReleaseReference(napiValRef_); in ~Brightness()107 if (napiValRef_ == nullptr) { in SystemSetValue()112 napi_get_reference_value(env_, napiValRef_, &napiVal); in SystemSetValue()115 ReleaseReference(napiValRef_); in SystemSetValue()130 if (napiValRef_ == nullptr) { in SetMode()135 napi_get_reference_value(env_, napiValRef_, &napiMode); in SetMode()140 ReleaseReference(napiValRef_); in SetMode()148 if (napiValRef_ == nullptr) { in SetKeepScreenOn()152 napi_get_reference_value(env_, napiValRef_, &napiKeep); in SetKeepScreenOn()156 ReleaseReference(napiValRef_); in SetKeepScreenOn()[all …]
102 napi_ref napiValRef_ = nullptr; variable