Searched refs:failRef_ (Results 1 – 4 of 4) sorted by relevance
/base/powermgr/battery_manager/frameworks/napi/ |
D | system_battery.cpp | 112 napi_create_reference(env, failCallBack, 1, &failRef_); in CreateCallbackRef() 149 RETURN_IF(failRef_ == nullptr); in FailCallback() 151 napi_get_reference_value(env, failRef_, &fail); in FailCallback() 161 napi_delete_reference(env, failRef_); in FailCallback() 172 napi_delete_reference(env, failRef_); in FailCallback()
|
D | system_battery.h | 76 napi_ref failRef_ = nullptr; variable
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness.h | 100 napi_ref failRef_ = nullptr; variable
|
D | brightness.cpp | 60 ReleaseReference(failRef_); in ~Brightness() 193 napi_create_reference(env_, failCallBack, 1, &failRef_); in CreateCallbackRef() 343 CallFunction(failRef_, argc, argv); in ExecuteCallback()
|