Home
last modified time | relevance | path

Searched defs:asyncInfo (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp46 auto asyncInfo = new RunningLockAsyncInfo(); in CreateRunningLock() local
92 auto asyncInfo = new RunningLockAsyncInfo(); in IsRunningLockTypeSupported() local
202 …e RunningLockInterface::CreateInstanceForRunningLock(napi_env env, RunningLockAsyncInfo* asyncInfo) in CreateInstanceForRunningLock()
232 void RunningLockInterface::CreateRunningLockCallBack(napi_env env, RunningLockAsyncInfo* asyncInfo) in CreateRunningLockCallBack()
239 RunningLockAsyncInfo* asyncInfo = (RunningLockAsyncInfo*)data; in CreateRunningLockCallBack() local
243 RunningLockAsyncInfo* asyncInfo = (RunningLockAsyncInfo*)data; in CreateRunningLockCallBack() local
272 …ingLockInterface::IsRunningLockTypeSupportedCallBack(napi_env env, RunningLockAsyncInfo* asyncInfo) in IsRunningLockTypeSupportedCallBack()
279 RunningLockAsyncInfo* asyncInfo = (RunningLockAsyncInfo*)data; in IsRunningLockTypeSupportedCallBack() local
290 RunningLockAsyncInfo* asyncInfo = (RunningLockAsyncInfo*)data; in IsRunningLockTypeSupportedCallBack() local
Drunninglock_napi.cpp49 std::unique_ptr<AsyncCallbackInfo> asyncInfo = std::make_unique<AsyncCallbackInfo>(); in Create() local
129 napi_env& env, napi_value argv[], std::unique_ptr<AsyncCallbackInfo>& asyncInfo) in CreateAsyncCallback()
146 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in CreateAsyncCallback() local
152 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in CreateAsyncCallback() local
163 napi_env& env, napi_value argv[], std::unique_ptr<AsyncCallbackInfo>& asyncInfo) in CreatePromise()
181 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in CreatePromise() local
187 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in CreatePromise() local
201 void RunningLockNapi::AsyncWork(napi_env& env, std::unique_ptr<AsyncCallbackInfo>& asyncInfo, in AsyncWork()
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_napi.cpp94 std::unique_ptr<AsyncCallbackInfo> asyncInfo = std::make_unique<AsyncCallbackInfo>(); in SetPowerMode() local
143 napi_env& env, napi_value argv[], std::unique_ptr<AsyncCallbackInfo>& asyncInfo) in SetPowerModeCallback()
158 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in SetPowerModeCallback() local
164 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in SetPowerModeCallback() local
174 napi_env& env, napi_value argv[], std::unique_ptr<AsyncCallbackInfo>& asyncInfo) in SetPowerModePromise()
189 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in SetPowerModePromise() local
195 AsyncCallbackInfo* asyncInfo = (AsyncCallbackInfo*)data; in SetPowerModePromise() local
210 void PowerNapi::AsyncWork(napi_env& env, std::unique_ptr<AsyncCallbackInfo>& asyncInfo, const std::… in AsyncWork()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dbattery_stats.cpp33 std::unique_ptr<AsyncCallbackInfo> asyncInfo = std::make_unique<AsyncCallbackInfo>(); in StatsAsyncCallBack() local
60 std::unique_ptr<AsyncCallbackInfo> asyncInfo = std::make_unique<AsyncCallbackInfo>(); in StatsPromise() local
/base/powermgr/battery_manager/frameworks/js/napi/
Dsystem_battery.cpp233 std::unique_ptr<SystemBattery> asyncInfo = std::make_unique<SystemBattery>(); in GetStatus() local
244 SystemBattery *asyncInfo = (SystemBattery*)data; in GetStatus() local