/base/hiviewdfx/hilog/frameworks/libhilog/ioctl/ |
D | log_ioctl.cpp | 52 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/ |
D | remote_token_kit_test.cpp | 157 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 …]
|
D | accesstoken_kit_test.cpp | 465 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/ |
D | privacy_manager_service_test.cpp | 132 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/ |
D | main.cpp | 275 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/ |
D | dlp_permission_set_parser.cpp | 76 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()
|
D | permission_definition_cache.cpp | 89 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/ |
D | random_mbedtls.cpp | 20 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/ |
D | log_ioctl.h | 71 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/ |
D | accesstoken_info_manager_test.cpp | 266 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 …]
|
D | native_token_receptor_test.cpp | 280 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/ |
D | main.cpp | 87 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()
|
D | service_controller.cpp | 94 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/ |
D | native_token_receptor.cpp | 69 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()
|
D | accesstoken_info_manager.cpp | 89 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/ |
D | privacy_manager_client.cpp | 83 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/ |
D | accesstoken_manager_service.cpp | 164 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/ |
D | data_translator.cpp | 46 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/ |
D | accesstoken.h | 25 RET_SUCCESS = 0, enumerator
|
/base/useriam/user_auth_framework/services/ipc/src/ |
D | ipc_common.cpp | 153 …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/ |
D | gettokentypeflag_fuzzer.cpp | 35 return result == RET_SUCCESS; in GetTokenTypeFlagFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/clearusergrantedpermissionstate_fuzzer/ |
D | clearusergrantedpermissionstate_fuzzer.cpp | 38 return result == RET_SUCCESS; in ClearUserGrantedPermissionStateFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/gethapdlpflag_fuzzer/ |
D | gethapdlpflag_fuzzer.cpp | 40 return result == RET_SUCCESS; in GetHapDlpFlagFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/deletetoken_fuzzer/ |
D | deletetoken_fuzzer.cpp | 38 return result == RET_SUCCESS; in DeleteTokenFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/gettokentype_fuzzer/ |
D | gettokentype_fuzzer.cpp | 37 return result == RET_SUCCESS; in GetTokenTypeFuzzTest()
|