Searched refs:RET_OK (Results 1 – 11 of 11) sorted by relevance
/base/msdp/device_status/services/native/src/ |
D | devicestatus_msdp_client_impl.cpp | 57 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 …]
|
D | devicestatus_manager.cpp | 267 if (msdpImpl_->LoadAlgoLib() != RET_OK) { in LoadAlgorithm() 280 if (msdpImpl_->UnloadAlgoLib() != RET_OK) { in UnloadAlgorithm()
|
D | devicestatus_service.cpp | 116 return RET_OK; in Dump()
|
D | devicestatus_dumper.cpp | 51 if (strcpy_s(argv[i], args[i].size() + 1, args[i].c_str()) != RET_OK) { in ParseCommand()
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_algorithm_manager.cpp | 75 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()
|
D | devicestatus_msdp_mock.cpp | 62 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/ |
D | hilog_lite_test.cpp | 25 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/ |
D | devicestatus_errors.h | 47 RET_OK = 0, enumerator
|
/base/security/permission_lite/services/pms/src/ |
D | perm_operate.c | 20 #define RET_OK 0 macro 50 return RET_OK; in ModifyPermission()
|
/base/security/permission_lite/services/unittest/pms/src/ |
D | acts_pms_test.h | 66 const int RET_OK = 0; variable
|
/base/msdp/device_status/services/native/test/unittest/src/ |
D | devicestatus_service_test.cpp | 174 EXPECT_TRUE(ret == RET_OK); 216 EXPECT_TRUE(ret == RET_OK); 218 EXPECT_TRUE(ret == RET_OK);
|