Home
last modified time | relevance | path

Searched refs:checker (Results 1 – 25 of 57) sorted by relevance

123

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/checker/
H A Dchecker_manager.cpp30 auto it = getters_.Find(checker); in LoadCheckers()
53 if (checker == nullptr) { in GetAppId()
68 if (checker == nullptr) { in IsValid()
71 if (!checker->IsValid(info)) { in IsValid()
82 if (checker == nullptr) { in IsDistrust()
96 if (checker == nullptr) { in IsSwitches()
108 auto it = checkers_.find(checker); in GetChecker()
119 if (checker == nullptr) { in GetDynamicStores()
133 if (checker == nullptr) { in GetStaticStores()
146 if (checker == nullptr) { in IsDynamic()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_install_device_type_test.cpp105 BundleInstallChecker checker; variable
126 BundleInstallChecker checker; variable
147 BundleInstallChecker checker; variable
168 BundleInstallChecker checker; variable
189 BundleInstallChecker checker; variable
210 BundleInstallChecker checker; variable
231 BundleInstallChecker checker; variable
248 BundleInstallChecker checker; variable
265 BundleInstallChecker checker; variable
282 BundleInstallChecker checker; variable
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/src/
H A Dbootstrap.cpp93 auto *checker = CheckerManager::GetInstance().GetChecker(trust.checker); in LoadCheckers() local
94 if (checker == nullptr) { in LoadCheckers()
97 checker->SetTrustInfo(trust); in LoadCheckers()
100 auto *checker = CheckerManager::GetInstance().GetChecker(distrust.checker); in LoadCheckers() local
101 if (checker == nullptr) { in LoadCheckers()
107 auto *checker = CheckerManager::GetInstance().GetChecker(switches.checker); in LoadCheckers() local
108 if (checker == nullptr) { in LoadCheckers()
114 auto *checker = CheckerManager::GetInstance().GetChecker(dynamicStore.checker); in LoadCheckers() local
115 if (checker == nullptr) { in LoadCheckers()
121 auto *checker = CheckerManager::GetInstance().GetChecker(staticStore.checker); in LoadCheckers() local
[all …]
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/frameworks_common/config_test/
H A Dconfig_test.cpp74 ASSERT_FALSE(checker->IsInWhiteList(OTHER_URL));
76 ASSERT_FALSE(checker->IsInWhiteList(DYNAMIC_URL1));
91 ASSERT_FALSE(checker->IsInWhiteList(OTHER_URL));
109 ASSERT_FALSE(checker->IsInWhiteList(OTHER_URL));
110 ASSERT_TRUE(checker->IsInWhiteList(DEFAULT_URL));
127 ASSERT_FALSE(checker->IsInWhiteList(OTHER_URL));
129 ASSERT_TRUE(checker->IsInWhiteList(DEFAULT_URL));
145 ASSERT_FALSE(checker->IsInWhiteList(OTHER_URL));
147 ASSERT_TRUE(checker->IsInWhiteList(DEFAULT_URL));
164 ASSERT_FALSE(checker->IsInWhiteList(OTHER_URL));
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/
H A Dchecker_config.cpp25 SetValue(node[GET_NAME(checker)], checker); in Marshal()
35 GetValue(node, GET_NAME(checker), checker); in Unmarshal()
67 SetValue(node[GET_NAME(checker)], checker); in Marshal()
77 GetValue(node, GET_NAME(checker), checker); in Unmarshal()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dconfig_factory_test.cpp82 auto *checker = ConfigFactory::GetInstance().GetCheckerConfig(); variable
83 ASSERT_NE(checker, nullptr);
85 ASSERT_EQ(checker->checkers, checkers);
86 ASSERT_EQ(checker->trusts[0].bundleName, "bundle_manager_service");
87 ASSERT_EQ(checker->trusts[0].appId, "bundle_manager_service");
88 ASSERT_EQ(checker->trusts[0].checker, "SystemChecker");
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/permission/
H A Dchecker_manager.cpp27 void CheckerManager::RegisterChecker(const std::string &checker, std::function<Checker *()> getter) in RegisterChecker() argument
29 getters_.ComputeIfAbsent(checker, [&getter](const auto &) { in RegisterChecker()
40 auto *checker = val(); in LoadCheckers() local
41 if (checker == nullptr) { in LoadCheckers()
44 this->checkers_[key] = checker; in LoadCheckers()
H A Dchecker_manager.h41 void RegisterChecker(const std::string &checker, std::function<Checker *()> getter);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dchecker_manager_test.cpp97 auto *checker = CheckerManager::GetInstance().GetChecker("SystemChecker"); variable
98 ASSERT_NE(checker, nullptr);
99 checker = CheckerManager::GetInstance().GetChecker("BundleChecker");
100 ASSERT_NE(checker, nullptr);
101 checker = CheckerManager::GetInstance().GetChecker("OtherChecker");
102 ASSERT_EQ(checker, nullptr);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/
H A Dbms_bundle_quick_fix_test.cpp414 QuickFixChecker checker; variable
436 QuickFixChecker checker; variable
458 QuickFixChecker checker; variable
481 QuickFixChecker checker; variable
503 QuickFixChecker checker; variable
523 QuickFixChecker checker; variable
544 QuickFixChecker checker; variable
1733 QuickFixChecker checker; variable
1747 QuickFixChecker checker; variable
1761 QuickFixChecker checker; variable
[all …]
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-dfx-hicollie.md23 …(const sptr&lt;XCollieChecker&gt; &amp;checker, unsigned int type) | 接口功能:线程卡死检测回调函数注册。<br/>输入参数:<…
57 sptr<XCollieChecker> checker = new MyXCollieChecker("MyXCollieChecker");
58 XCollie::GetInstance().RegisterXCollieChecker(checker,
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/
H A Dwatchdog_task.cpp55 checker = std::make_shared<HandlerChecker>(name, handler); in WatchdogTask()
63 …: name(name), task(std::move(task)), timeOutCallback(nullptr), checker(nullptr), timeout(0), func(… in WatchdogTask()
74 …: name(name), task(nullptr), timeOutCallback(nullptr), checker(nullptr), timeout(timeout), func(st… in WatchdogTask()
181 if (checker == nullptr) { in RunHandlerCheckerTask()
186 checker->ScheduleCheck(); in RunHandlerCheckerTask()
208 sendMsg += checker->GetDumpInfo(); in SendEvent()
289 int waitState = checker->GetCheckState(); in EvaluateCheckerState()
H A Dwatchdog_task.h46 checker(nullptr), in WatchdogTask()
80 std::shared_ptr<HandlerChecker> checker; variable
/ohos5.0/foundation/communication/dsoftbus/tests/utils/
H A Dexception_branch_checker.cpp61 auto *checker = ExceptionBranchChecker::GetCurrentInstance(); in HiLogPrintDictNew() local
62 if (checker != nullptr) { in HiLogPrintDictNew()
63 checker->WriteLog(buffer); in HiLogPrintDictNew()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/checker/
H A Dchecker_manager.h30 std::string checker; member
60 API_EXPORT void RegisterPlugin(const std::string &checker, std::function<Checker *()> getter);
70 API_EXPORT Checker *GetChecker(const std::string &checker);
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dsubscribe_info_checker.cpp37 auto checker = [this](const auto& subscribeInfo) { in Check() local
49 return std::all_of(subscribeInfos.begin(), subscribeInfos.end(), checker); in Check()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-dfx-hicollie.md23 …r&gt; &amp;checker, unsigned int type) | Registers the callback of the thread suspension detection…
57 sptr<XCollieChecker> checker = new MyXCollieChecker("MyXCollieChecker");
58 XCollie::GetInstance().RegisterXCollieChecker(checker,
/ohos5.0/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/
H A Dvideo_processing_native.cpp481 bool VideoProcessingNative::WaitCV(std::function<bool(void)>&& checker, std::unique_lock<std::mutex… in WaitCV() argument
484 if (!cv_.wait_for(lock, std::chrono::milliseconds(LIMITTED_TIME), checker)) { in WaitCV()
489 cv_.wait(lock, checker); in WaitCV()
527 …eoProcessing_ErrorCode VideoProcessingNative::ExecuteWithCheck(std::function<bool(void)>&& checker, in ExecuteWithCheck() argument
531 if (checker()) { in ExecuteWithCheck()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/kvdbservicestub_fuzzer/
H A DBUILD.gn24 "${data_service_path}/app/src/checker",
60 "${data_service_path}/app/src/checker/bundle_checker.cpp",
61 "${data_service_path}/app/src/checker/system_checker.cpp",
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_deployer.cpp182 QuickFixChecker checker; in ProcessPatchDeployStart() local
184 ErrCode ret = checker.CheckMultiNativeSo(infos); in ProcessPatchDeployStart()
191 ret = checker.CheckMultipleHqfsSignInfo(bundleFilePaths, hapVerifyRes); in ProcessPatchDeployStart()
203 ret = checker.CheckPatchWithInstalledBundle(appQuickFix, bundleInfo, provisionInfo); in ProcessPatchDeployStart()
208 appDistributionType_ = checker.GetAppDistributionType(provisionInfo.distributionType); in ProcessPatchDeployStart()
218 QuickFixChecker checker; in ProcessHotReloadDeployStart() local
219 ErrCode ret = checker.CheckHotReloadWithInstalledBundle(appQuickFix, bundleInfo); in ProcessHotReloadDeployStart()
395 QuickFixChecker checker; in ParseAndCheckAppQuickFixInfos() local
397 ret = checker.CheckAppQuickFixInfos(infos); in ParseAndCheckAppQuickFixInfos()
/ohos5.0/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/video_processing/include/
H A Dvideo_processing_native.h111 bool WaitCV(std::function<bool(void)>&& checker, std::unique_lock<std::mutex>& lock);
120 VideoProcessing_ErrorCode ExecuteWithCheck(std::function<bool(void)>&& checker,
/ohos5.0/base/security/device_security_level/services/dslm/
H A Ddslm_fsm_process.c56 static void ProcessSendDeviceInfoCallback(DslmDeviceInfo *info, DslmInfoChecker checker);
139 static void ProcessSendDeviceInfoCallback(DslmDeviceInfo *info, DslmInfoChecker checker) in ProcessSendDeviceInfoCallback() argument
145 if (info == NULL || checker == NULL) { in ProcessSendDeviceInfoCallback()
155 bool check = checker(info, notifyNode, &cbInfo, &result); in ProcessSendDeviceInfoCallback()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
H A Dbms_bundle_overlay_checker_test.cpp617 BundleOverlayInstallChecker checker; variable
642 BundleOverlayInstallChecker checker; variable
664 BundleOverlayInstallChecker checker; variable
688 BundleOverlayInstallChecker checker; variable
708 code = checker.CheckExternalBundle(innerBundleInfo, userId);
713 code = checker.CheckExternalBundle(innerBundleInfo, userId);
725 BundleOverlayInstallChecker checker; variable
744 code = checker.CheckExternalBundle(innerBundleInfo, userId);
748 code = checker.CheckExternalBundle(innerBundleInfo, userId);
2265 BundleOverlayInstallChecker checker; variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/
H A Ddisc_manager_mock_test.cpp150 ExceptionBranchChecker checker("pkgName is null"); variable
152 EXPECT_EQ(checker.GetResult(), true);
155 ExceptionBranchChecker checker("pkg is dead"); variable
157 EXPECT_EQ(checker.GetResult(), true);
876 ExceptionBranchChecker checker("disc manager deinit success"); variable
878 EXPECT_EQ(checker.GetResult(), true);
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/server/
H A Dcodec_param_checker.cpp636 for (const auto &checker : checkers->second) { in CheckConfigureValid() local
637 auto ret = checker(capData.value(), format, scenario); in CheckConfigureValid()
661 for (const auto &checker : checkers->second) { in CheckParameterValid() local
662 auto ret = checker(capData.value(), oldFormat, scenario); in CheckParameterValid()
680 for (const auto& checker : VIDEO_SCENARIO_CHECKER_LIST) { in CheckCodecScenario() local
681 auto ret = checker(capData.value(), format, codecType); in CheckCodecScenario()

123