Home
last modified time | relevance | path

Searched refs:RET_OK (Results 1 – 11 of 11) sorted by relevance

/base/msdp/device_status/services/native/src/
Ddevicestatus_msdp_client_impl.cpp57 if (g_algo->Enable(type) == RET_OK) { in InitMsdpImpl()
59 return RET_OK; in InitMsdpImpl()
68 if (g_msdpInterface->Enable(type) == RET_OK) { in InitMsdpImpl()
70 return RET_OK; in InitMsdpImpl()
84 if (g_algo->Disable(type) == RET_OK) { in DisableMsdpImpl()
86 return RET_OK; in DisableMsdpImpl()
92 if (g_msdpInterface->Disable(type) == RET_OK) { in DisableMsdpImpl()
94 return RET_OK; in DisableMsdpImpl()
145 if (g_algo->RegisterCallback(callback) == RET_OK) { in RegisterMsdp()
147 return RET_OK; in RegisterMsdp()
[all …]
Ddevicestatus_manager.cpp267 if (msdpImpl_->LoadAlgoLib() != RET_OK) { in LoadAlgorithm()
280 if (msdpImpl_->UnloadAlgoLib() != RET_OK) { in UnloadAlgorithm()
Ddevicestatus_service.cpp116 return RET_OK; in Dump()
Ddevicestatus_dumper.cpp51 if (strcpy_s(argv[i], args[i].size() + 1, args[i].c_str()) != RET_OK) { in ParseCommand()
/base/msdp/device_status/libs/src/
Ddevicestatus_algorithm_manager.cpp75 return RET_OK; in RegisterCallback()
100 return RET_OK; in UnregisterCallback()
168 return RET_OK; in Enable()
197 if (UnregisterSensor(type) != RET_OK) { in Disable()
202 return RET_OK; in Disable()
219 return RET_OK; in UnregisterSensor()
Ddevicestatus_msdp_mock.cpp62 return RET_OK; in RegisterCallback()
69 return RET_OK; in UnregisterCallback()
82 return RET_OK; in Enable()
91 return RET_OK; in Disable()
100 return RET_OK; in DisableCount()
/base/hiviewdfx/hilog_lite/test/unittest/
Dhilog_lite_test.cpp25 constexpr int32_t RET_OK = 0; variable
96 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
118 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
140 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
162 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
184 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
206 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
228 EXPECT_TRUE(strcmp(logContent.str, finalValue) == RET_OK); in HWTEST_F()
433 EXPECT_TRUE(strcmp(fmtStringBuffer.str, finalValue) == RET_OK); in HWTEST_F()
451 EXPECT_TRUE(strcmp(fmtStringBuffer.str, finalValue) == RET_OK); in HWTEST_F()
[all …]
/base/msdp/device_status/utils/include/
Ddevicestatus_errors.h47 RET_OK = 0, enumerator
/base/security/permission_lite/services/pms/src/
Dperm_operate.c20 #define RET_OK 0 macro
50 return RET_OK; in ModifyPermission()
/base/security/permission_lite/services/unittest/pms/src/
Dacts_pms_test.h66 const int RET_OK = 0; variable
/base/msdp/device_status/services/native/test/unittest/src/
Ddevicestatus_service_test.cpp174 EXPECT_TRUE(ret == RET_OK);
216 EXPECT_TRUE(ret == RET_OK);
218 EXPECT_TRUE(ret == RET_OK);