Home
last modified time | relevance | path

Searched refs:RET_SUCCESS (Results 1 – 25 of 96) sorted by relevance

1234

/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/
Dlog_ioctl.cpp52 return RET_SUCCESS; in SendMsgHeader()
61 return RET_SUCCESS; in ReceiveMsgHeaer()
70 return RET_SUCCESS; in GetRsp()
93 if (GetRsp(tmp, msgSize) != RET_SUCCESS) { in ReceiveProcTagStats()
101 return RET_SUCCESS; in ReceiveProcTagStats()
123 if (GetRsp(tmp, msgSize) != RET_SUCCESS) { in ReceiveProcLogTypeStats()
131 return RET_SUCCESS; in ReceiveProcLogTypeStats()
141 return RET_SUCCESS; in ReceiveProcStats()
153 if (GetRsp(tmp, msgSize) != RET_SUCCESS) { in ReceiveProcStats()
160 return RET_SUCCESS; in ReceiveProcStats()
[all …]
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dremote_token_kit_test.cpp157 ASSERT_EQ(res, RET_SUCCESS); in SetUp()
189 ASSERT_EQ(RET_SUCCESS, ret); in DeleteTestToken()
239 ASSERT_EQ(ret, RET_SUCCESS);
248 ASSERT_EQ(ret, RET_SUCCESS);
263 ASSERT_EQ(ret, RET_SUCCESS);
307 ASSERT_NE(ret, RET_SUCCESS);
315 ASSERT_NE(ret, RET_SUCCESS);
321 ASSERT_NE(ret, RET_SUCCESS);
327 ASSERT_NE(ret, RET_SUCCESS);
333 ASSERT_NE(ret, RET_SUCCESS);
[all …]
Daccesstoken_kit_test.cpp465 ASSERT_EQ(RET_SUCCESS, ret); in DeleteTestToken()
486 ASSERT_EQ(RET_SUCCESS, ret);
491 ASSERT_EQ(RET_SUCCESS, ret);
527 ASSERT_EQ(RET_SUCCESS, ret);
544 ASSERT_EQ(RET_SUCCESS, ret);
567 ASSERT_EQ(RET_SUCCESS, ret);
609 ASSERT_EQ(RET_SUCCESS, ret);
626 ASSERT_EQ(RET_SUCCESS, ret);
646 ASSERT_EQ(RET_SUCCESS, ret);
667 ASSERT_EQ(RET_SUCCESS, ret);
[all …]
/base/security/access_token/services/privacymanager/test/unittest/
Dprivacy_manager_service_test.cpp132 ASSERT_NE(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
137 ASSERT_EQ(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
141 ASSERT_EQ(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
146 ASSERT_NE(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
152 ASSERT_NE(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
157 ASSERT_NE(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
163 ASSERT_EQ(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
182 ASSERT_EQ(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
189 ASSERT_EQ(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
192 ASSERT_EQ(RET_SUCCESS, privacyManagerService_->Dump(fd, args));
/base/hiviewdfx/hilog/services/hilogtool/
Dmain.cpp275 cout << msg << ((ret == RET_SUCCESS) ? " successfully" : " failed") << endl; in PrintResult()
406 return RET_SUCCESS; in QueryLogHandler()
431 if (ret != RET_SUCCESS) { in QueryLogHandler()
434 return RET_SUCCESS; in QueryLogHandler()
473 return RET_SUCCESS; in BaseLogLevelHandler()
497 return RET_SUCCESS; in DomainHandler()
506 return RET_SUCCESS; in RegexHandler()
515 return RET_SUCCESS; in FileNameHandler()
529 return RET_SUCCESS; in BufferSizeGetHandler()
531 if (ret != RET_SUCCESS) { in BufferSizeGetHandler()
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Ddlp_permission_set_parser.cpp76 return RET_SUCCESS; in ParserDlpPermsRawData()
114 return RET_SUCCESS; in ReadCfgFile()
123 return RET_SUCCESS; in Init()
128 if (ret != RET_SUCCESS) { in Init()
134 if (ret != RET_SUCCESS) { in Init()
142 return RET_SUCCESS; in Init()
Dpermission_definition_cache.cpp89 return RET_SUCCESS; in FindByPermissionName()
157 if (ret != RET_SUCCESS) { in RestorePermDefInfo()
163 return RET_SUCCESS; in RestorePermDefInfo()
/base/security/access_token/frameworks/common/src/
Drandom_mbedtls.cpp20 using OHOS::Security::AccessToken::RET_SUCCESS;
29 if (ret != RET_SUCCESS) { in GetRandomUint32()
57 return RET_SUCCESS; in GenerateRandomArray()
/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/include/
Dlog_ioctl.h71 if (ret != RET_SUCCESS) { in RequestMsgHead()
81 if (ret != RET_SUCCESS) { in RequestMsgHead()
93 return RET_SUCCESS; in RequestMsgHead()
104 if (ret != RET_SUCCESS) { in Request()
110 if (ret != RET_SUCCESS) { in Request()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp266 ASSERT_EQ(RET_SUCCESS, ret);
277 ASSERT_EQ(RET_SUCCESS, ret);
297 ASSERT_EQ(RET_SUCCESS, ret);
303 ASSERT_EQ(RET_SUCCESS, ret);
316 ASSERT_EQ(RET_SUCCESS, ret);
334 …ASSERT_NE(RET_SUCCESS, AccessTokenInfoManager::GetInstance().CreateHapTokenInfo(info, policy, toke…
352 …ASSERT_NE(RET_SUCCESS, AccessTokenInfoManager::GetInstance().CreateHapTokenInfo(info, policy, toke…
371 …ASSERT_NE(RET_SUCCESS, AccessTokenInfoManager::GetInstance().CreateHapTokenInfo(info, policy, toke…
392 …ASSERT_NE(RET_SUCCESS, AccessTokenInfoManager::GetInstance().CreateHapTokenInfo(info, policy, toke…
414 …ASSERT_NE(RET_SUCCESS, AccessTokenInfoManager::GetInstance().CreateHapTokenInfo(info, policy, toke…
[all …]
Dnative_token_receptor_test.cpp280 ASSERT_EQ(ret, RET_SUCCESS);
305 ASSERT_EQ(ret, RET_SUCCESS);
312 ASSERT_EQ(ret, RET_SUCCESS);
344 ASSERT_EQ(ret, RET_SUCCESS);
353 …ERT_EQ(AccessTokenInfoManager::GetInstance().CheckNativeDCap(findInfo.tokenID, dcap), RET_SUCCESS);
359 ASSERT_EQ(ret, RET_SUCCESS);
397 ASSERT_EQ(ret, RET_SUCCESS);
476 ASSERT_EQ(ret, RET_SUCCESS);
492 ASSERT_EQ(ret, RET_SUCCESS);
501 ASSERT_EQ(ret, RET_SUCCESS);
[all …]
/base/hiviewdfx/hilog/services/hilogd/
Dmain.cpp87 return RET_SUCCESS; in WriteStringToFile()
92 if (ret != RET_SUCCESS) { in WriteStringToFile()
113 return RET_SUCCESS; in RedirectStdStreamToLogFile()
117 if (ret == RET_SUCCESS) { in RedirectStdStreamToLogFile()
176 return RET_SUCCESS; in HilogdEntry()
180 if (ret == RET_SUCCESS) { in HilogdEntry()
Dservice_controller.cpp94 return RET_SUCCESS; in GetMsgHeader()
108 return RET_SUCCESS; in GetRqst()
436 return RET_SUCCESS; in CheckOutputRqst()
488 if (ret != RET_SUCCESS) { in HandleOutputRqst()
528 if (ret != RET_SUCCESS) { in CheckPersistStartRqst()
543 return RET_SUCCESS; in CheckPersistStartRqst()
572 if (ret != RET_SUCCESS) { in StartPersistStoreJob()
576 return RET_SUCCESS; in StartPersistStoreJob()
584 return RET_SUCCESS; in HandlePersistStartRqst()
588 if (ret != RET_SUCCESS) { in HandlePersistStartRqst()
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dnative_token_receptor.cpp69 return RET_SUCCESS; in NativeReqPermsGet()
143 if (NativeReqPermsGet(j, permStateList) != RET_SUCCESS) { in from_json()
164 return RET_SUCCESS; in ParserNativeRawData()
202 return RET_SUCCESS; in ReadCfgFile()
211 if (ret != RET_SUCCESS) { in Init()
217 if (ret != RET_SUCCESS) { in Init()
224 return RET_SUCCESS; in Init()
Daccesstoken_info_manager.cpp89 if (ret != RET_SUCCESS) { in InitHapTokenInfos()
103 if (ret != RET_SUCCESS) { in InitHapTokenInfos()
110 if (ret != RET_SUCCESS) { in InitHapTokenInfos()
136 if (ret != RET_SUCCESS) { in InitNativeTokenInfos()
151 if (ret != RET_SUCCESS) { in InitNativeTokenInfos()
158 if (ret != RET_SUCCESS) { in InitNativeTokenInfos()
214 return RET_SUCCESS; in AddHapTokenInfo()
244 return RET_SUCCESS; in AddNativeTokenInfo()
272 return RET_SUCCESS; in GetHapTokenInfo()
307 return RET_SUCCESS; in GetNativeTokenInfo()
[all …]
/base/security/access_token/interfaces/innerkits/privacy/src/
Dprivacy_manager_client.cpp83 return RET_SUCCESS; in CreateStateChangeCbk()
96 if (result != RET_SUCCESS) { in StartUsingPermission()
107 if (result == RET_SUCCESS) { in StartUsingPermission()
193 return RET_SUCCESS; in CreateActiveStatusChangeCbk()
207 if (result != RET_SUCCESS) { in RegisterPermActiveStatusCallback()
223 if (result == RET_SUCCESS) { in RegisterPermActiveStatusCallback()
250 if (result == RET_SUCCESS) { in UnRegisterPermActiveStatusCallback()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp164 if ((retSysGrant != RET_SUCCESS) || (retUserGrant != RET_SUCCESS)) { in GetSelfPermissionsState()
220 return RET_SUCCESS; in GrantPermission()
229 return RET_SUCCESS; in RevokePermission()
238 return RET_SUCCESS; in ClearUserGrantedPermissionState()
262 if (ret != RET_SUCCESS) { in AllocHapToken()
358 return RET_SUCCESS; in GetAllNativeTokenInfo()
437 if (ret != RET_SUCCESS) { in CreateDeviceListener()
450 if (ret != RET_SUCCESS) { in CreateDeviceListener()
484 if (ret != RET_SUCCESS) { in DestroyDeviceListener()
489 if (ret != RET_SUCCESS) { in DestroyDeviceListener()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Ddata_translator.cpp46 return RET_SUCCESS; in TranslationIntoGenericValues()
67 return RET_SUCCESS; in TranslationIntoPermissionDef()
83 return RET_SUCCESS; in TranslationIntoGenericValues()
129 return RET_SUCCESS; in TranslationIntoPermissionStateFull()
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccesstoken.h25 RET_SUCCESS = 0, enumerator
/base/useriam/user_auth_framework/services/ipc/src/
Dipc_common.cpp153 …firstTokenId != 0 && AccessTokenKit::VerifyAccessToken(firstTokenId, permission) != RET_SUCCESS) || in CheckDirectCallerAndFirstCallerIfSet()
154 AccessTokenKit::VerifyAccessToken(callingTokenId, permission) != RET_SUCCESS) { in CheckDirectCallerAndFirstCallerIfSet()
165 if (AccessTokenKit::VerifyAccessToken(callingTokenId, permission) != RET_SUCCESS) { in CheckDirectCaller()
/base/security/access_token/test/fuzztest/access_token/gettokentypeflag_fuzzer/
Dgettokentypeflag_fuzzer.cpp35 return result == RET_SUCCESS; in GetTokenTypeFlagFuzzTest()
/base/security/access_token/test/fuzztest/access_token/clearusergrantedpermissionstate_fuzzer/
Dclearusergrantedpermissionstate_fuzzer.cpp38 return result == RET_SUCCESS; in ClearUserGrantedPermissionStateFuzzTest()
/base/security/access_token/test/fuzztest/access_token/gethapdlpflag_fuzzer/
Dgethapdlpflag_fuzzer.cpp40 return result == RET_SUCCESS; in GetHapDlpFlagFuzzTest()
/base/security/access_token/test/fuzztest/access_token/deletetoken_fuzzer/
Ddeletetoken_fuzzer.cpp38 return result == RET_SUCCESS; in DeleteTokenFuzzTest()
/base/security/access_token/test/fuzztest/access_token/gettokentype_fuzzer/
Dgettokentype_fuzzer.cpp37 return result == RET_SUCCESS; in GetTokenTypeFuzzTest()

1234