Home
last modified time | relevance | path

Searched refs:GetStorageLevel (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dworkinfo_test.cpp163 EXPECT_EQ(workInfo.GetStorageLevel(), WorkCondition::Storage::STORAGE_UNKNOWN);
165 EXPECT_EQ(workInfo.GetStorageLevel(), WorkCondition::Storage::STORAGE_LEVEL_LOW_OR_OKAY);
178 EXPECT_EQ(workInfo.GetStorageLevel(), WorkCondition::Storage::STORAGE_LEVEL_LOW);
191 EXPECT_EQ(workInfo.GetStorageLevel(), WorkCondition::Storage::STORAGE_LEVEL_OKAY);
529 EXPECT_EQ(workInfo.GetStorageLevel(), workInfoRead->GetStorageLevel());
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/include/
H A Dwork_info.h207 WorkCondition::Storage GetStorageLevel();
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
H A Djs_work_scheduler_extension.cpp357 WorkCondition::Storage storageLevel = workInfo.GetStorageLevel(); in OnWorkStart()
409 WorkCondition::Storage storageLevel = workInfo.GetStorageLevel(); in OnWorkStop()
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/cj/work_scheduler/
H A Dwork_scheduler_ffi.cpp256 cwork.storageRequest = workInfo->GetStorageLevel(); in ParseWorkInfo()
/ohos5.0/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/
H A Dcommon.cpp510 if (workInfo->GetStorageLevel() != WorkCondition::Storage::STORAGE_UNKNOWN) { in GetConditionInfo()
512 … napi_create_int32(env, static_cast<int32_t>(workInfo->GetStorageLevel()), &napiStorageRequest); in GetConditionInfo()
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dwork_info.cpp244 WorkCondition::Storage WorkInfo::GetStorageLevel() in GetStorageLevel() function in OHOS::WorkScheduler::WorkInfo