Home
last modified time | relevance | path

Searched refs:IsPersist (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dunified_meta_test.cpp372 * @tc.desc: Normal testcase of IsPersist
377 bool ret = UnifiedDataUtils::IsPersist(Intention::UD_INTENTION_DATA_HUB); in HWTEST_F()
380 bool ret1 = UnifiedDataUtils::IsPersist(Intention::UD_INTENTION_BUTT); in HWTEST_F()
383 bool ret2 = UnifiedDataUtils::IsPersist(Intention::UD_INTENTION_DRAG); in HWTEST_F()
386 bool ret3 = UnifiedDataUtils::IsPersist(Intention::UD_INTENTION_BASE); in HWTEST_F()
392 * @tc.desc: Normal testcase of IsPersist
397 bool ret = UnifiedDataUtils::IsPersist("DataHub"); in HWTEST_F()
400 bool ret1 = UnifiedDataUtils::IsPersist("drag"); in HWTEST_F()
403 bool ret2 = UnifiedDataUtils::IsPersist("invalid param"); in HWTEST_F()
409 * @tc.desc: Normal testcase of IsPersist
[all...]
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/common/
H A Dunified_meta.cpp626 bool UnifiedDataUtils::IsPersist(const Intention &intention) in IsPersist() function in OHOS::UDMF::UnifiedDataUtils
631 bool UnifiedDataUtils::IsPersist(const std::string &intention) in IsPersist() function in OHOS::UDMF::UnifiedDataUtils
633 return IsPersist(GetIntentionByString(intention)); in IsPersist()
650 if (key.empty() && IsPersist(intention)) { in IsValidOptions()
653 if (intention.empty() && isValidKey && IsPersist(unifiedKey.intention)) { in IsValidOptions()
656 if (isValidKey && unifiedKey.intention == intention && IsPersist(intention)) { in IsValidOptions()
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/
H A Defficiency_resource_info.h93 inline bool IsPersist() const in IsPersist() function in OHOS::BackgroundTaskMgr::EfficiencyResourceInfo
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp264 || (resourceInfo->IsApply() && !resourceInfo->IsPersist() && resourceInfo->GetTimeOut() == 0)) { in CheckResourceInfo()
374 callbackInfo->GetPid(), resourceInfo->GetResourceNumber(), resourceInfo->IsPersist(), in ApplyEfficiencyResourcesInner()
426 if (resourceInfo->IsPersist()) { in UpdateResourcesEndtime()
429 record->resourceUnitList_.emplace_back(PersistTime {resourceIndex, resourceInfo->IsPersist(), in UpdateResourcesEndtime()
433 resourceUnitIter->isPersist_ = resourceUnitIter->isPersist_ || resourceInfo->IsPersist(); in UpdateResourcesEndtime()
443 if (resourceInfo->IsPersist()) { in UpdateResourcesEndtime()
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Defficiency_resources_operation.cpp143 if (params.IsApply() && !params.IsPersist() && params.GetTimeOut() == 0) { in CheckValidInfo()
/foundation/distributeddatamgr/udmf/interfaces/innerkits/common/
H A Dunified_meta.h598 static bool IsPersist(const Intention &intention);
599 static bool IsPersist(const std::string &intention);
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Dunified_data_channel_napi.cpp83 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok && UnifiedDataUtils::IsPersist(intention), in InsertData()
123 ctxt->status == napi_ok && key.IsValid() && UnifiedDataUtils::IsPersist(key.intention), in UpdateData()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/service/
H A Dudmf_service_client.cpp177 if (!key.IsValid() || !UnifiedDataUtils::IsPersist(key.intention)) { in UpdateData()
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp552 EXPECT_EQ(info2->IsPersist(), true); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/
H A Dudmf_service_impl.cpp148 if (!UnifiedDataUtils::IsPersist(intention) && store->Clear() != E_OK) { in SaveData()

Completed in 8 milliseconds