Searched refs:hasCondition (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/ |
H A D | work_scheduler_ffi.cpp | 133 int32_t GetNetWorkInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetNetWorkInfo() argument 141 hasCondition = true; in GetNetWorkInfo() 149 int32_t GetChargeInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetChargeInfo() argument 159 hasCondition = true; in GetChargeInfo() 169 int32_t GetBatteryInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetBatteryInfo() argument 185 hasCondition = true; in GetBatteryInfo() 193 int32_t GetStorageInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetStorageInfo() argument 200 hasCondition = true; in GetStorageInfo() 208 int32_t GetRepeatInfo(RetWorkInfo cwork, WorkInfo& workInfo, bool& hasCondition) in GetRepeatInfo() argument 226 hasCondition = true; in GetRepeatInfo() [all …]
|
H A D | work_scheduler_ffi.h | 60 …2_t GetNetWorkInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondition); 61 …32_t GetChargeInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondition); 62 …2_t GetBatteryInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondition); 63 …2_t GetStorageInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondition); 64 …32_t GetRepeatInfo(RetWorkInfo cwork, OHOS::WorkScheduler::WorkInfo& workInfo, bool& hasCondition);
|
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common.cpp | 89 bool hasCondition = false; in GetNetWorkInfo() local 96 hasCondition = true; in GetNetWorkInfo() 101 return hasCondition; in GetNetWorkInfo() 113 hasCondition = true; in GetChargeInfo() 125 hasCondition = true; in GetChargeInfo() 127 return hasCondition; in GetChargeInfo() 139 hasCondition = true; in GetBatteryInfo() 152 hasCondition = true; in GetBatteryInfo() 157 return hasCondition; in GetBatteryInfo() 169 hasCondition = true; in GetStorageInfo() [all …]
|