Home
last modified time | relevance | path

Searched refs:RetWorkInfo (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.h27 struct RetWorkInfo { struct
48 RetWorkInfo* data; argument
53 FFI_EXPORT int32_t CJ_StartWork(RetWorkInfo work);
54 FFI_EXPORT int32_t CJ_StopWork(RetWorkInfo work, bool needCancel);
55 FFI_EXPORT int32_t CJ_GetWorkStatus(int32_t workId, RetWorkInfo& result);
59 int32_t GetWorkInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo);
60 …int32_t GetNetWorkInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondit…
61 …int32_t GetChargeInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasConditi…
62 …int32_t GetBatteryInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondit…
64 …int32_t GetRepeatInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasConditi…
[all …]
H A Dwork_scheduler_ffi.cpp28 int32_t CJ_StartWork(RetWorkInfo work) in CJ_StartWork()
40 int32_t CJ_StopWork(RetWorkInfo work, bool needCancel) in CJ_StopWork()
52 int32_t CJ_GetWorkStatus(int32_t workId, RetWorkInfo& result) in CJ_GetWorkStatus()
79 auto data = static_cast<RetWorkInfo*>(malloc(sizeof(RetWorkInfo) * listSize)); in CJ_ObtainAllWorks()
99 int32_t GetWorkInfo(RetWorkInfo cwork, WorkInfo& workInfo) in GetWorkInfo()
133 int32_t GetNetWorkInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetNetWorkInfo()
149 int32_t GetChargeInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetChargeInfo()
169 int32_t GetBatteryInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetBatteryInfo()
193 int32_t GetStorageInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetStorageInfo()
208 int32_t GetRepeatInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetRepeatInfo()
[all …]