/base/security/crypto_framework/test/unittest/src/ |
D | crypto_ecc_sign_test.cpp | 59 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in SetUpTestCase() local 136 int32_t res = HcfSignCreate("ECC224|SHA1", &sign); variable 147 int32_t res = HcfSignCreate("ECC224|SHA224", &sign); variable 158 int32_t res = HcfSignCreate("ECC224|SHA256", &sign); variable 169 int32_t res = HcfSignCreate("ECC224|SHA384", &sign); variable 180 int32_t res = HcfSignCreate("ECC224|SHA512", &sign); variable 191 int32_t res = HcfSignCreate("ECC256|SHA1", &sign); variable 202 int32_t res = HcfSignCreate("ECC256|SHA224", &sign); variable 213 int32_t res = HcfSignCreate("ECC256|SHA256", &sign); variable 224 int32_t res = HcfSignCreate("ECC256|SHA384", &sign); variable [all …]
|
D | crypto_ecc_verify_test.cpp | 59 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in SetUpTestCase() local 136 int32_t res = HcfVerifyCreate("ECC224|SHA1", &verify); variable 147 int32_t res = HcfVerifyCreate("ECC224|SHA224", &verify); variable 158 int32_t res = HcfVerifyCreate("ECC224|SHA256", &verify); variable 169 int32_t res = HcfVerifyCreate("ECC224|SHA384", &verify); variable 180 int32_t res = HcfVerifyCreate("ECC224|SHA512", &verify); variable 191 int32_t res = HcfVerifyCreate("ECC256|SHA1", &verify); variable 202 int32_t res = HcfVerifyCreate("ECC256|SHA224", &verify); variable 213 int32_t res = HcfVerifyCreate("ECC256|SHA256", &verify); variable 224 int32_t res = HcfVerifyCreate("ECC256|SHA384", &verify); variable [all …]
|
D | crypto_rsa_asy_key_generator_test.cpp | 44 HcfResult res = HcfAsyKeyGeneratorCreate("RSA512", &generator); variable 57 HcfResult res = HcfAsyKeyGeneratorCreate("RSA768", &generator); variable 70 HcfResult res = HcfAsyKeyGeneratorCreate("RSA1024", &generator); variable 84 HcfResult res = HcfAsyKeyGeneratorCreate("RSA2048", &generator); variable 97 HcfResult res = HcfAsyKeyGeneratorCreate("RSA3072", &generator); variable 110 HcfResult res = HcfAsyKeyGeneratorCreate("RSA4096", &generator); variable 124 HcfResult res = HcfAsyKeyGeneratorCreate("RSA512|PRIMES_2", &generator); variable 137 HcfResult res = HcfAsyKeyGeneratorCreate("RSA768|PRIMES_2", &generator); variable 150 HcfResult res = HcfAsyKeyGeneratorCreate("RSA1024|PRIMES_2", &generator); variable 163 HcfResult res = HcfAsyKeyGeneratorCreate("RSA1024|PRIMES_3", &generator); variable [all …]
|
D | crypto_ecc_asy_key_generator_test.cpp | 151 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); variable 162 int32_t res = HcfAsyKeyGeneratorCreate("ECC256", &generator); variable 173 int32_t res = HcfAsyKeyGeneratorCreate("ECC384", &generator); variable 184 int32_t res = HcfAsyKeyGeneratorCreate("ECC521", &generator); variable 195 int32_t res = HcfAsyKeyGeneratorCreate(nullptr, &generator); variable 204 …int32_t res = HcfAsyKeyGeneratorCreate("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDAB… variable 214 int32_t res = HcfAsyKeyGeneratorCreate("ECC225", &generator); variable 222 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", NULL); variable 230 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); variable 244 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); variable [all …]
|
D | crypto_rsa_cipher_test.cpp | 44 HcfResult res = HCF_SUCCESS; variable 62 HcfResult res = HCF_SUCCESS; variable 77 HcfResult res = HCF_SUCCESS; variable 92 HcfResult res = HCF_SUCCESS; variable 107 HcfResult res = HCF_SUCCESS; variable 122 HcfResult res = HCF_SUCCESS; variable 137 HcfResult res = HCF_SUCCESS; variable 152 HcfResult res = HCF_SUCCESS; variable 167 HcfResult res = HCF_SUCCESS; variable 182 HcfResult res = HCF_SUCCESS; variable [all …]
|
D | crypto_ecc_key_agreement_test.cpp | 50 int32_t res = HcfAsyKeyGeneratorCreate("ECC224", &generator); in SetUpTestCase() local 127 int32_t res = HcfKeyAgreementCreate("ECC224", &keyAgreement); variable 138 int32_t res = HcfKeyAgreementCreate("ECC256", &keyAgreement); variable 149 int32_t res = HcfKeyAgreementCreate("ECC384", &keyAgreement); variable 160 int32_t res = HcfKeyAgreementCreate("ECC521", &keyAgreement); variable 171 int32_t res = HcfKeyAgreementCreate(NULL, &keyAgreement); variable 180 …int32_t res = HcfKeyAgreementCreate("ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDA… variable 190 int32_t res = HcfKeyAgreementCreate("ECC257", &keyAgreement); variable 198 int32_t res = HcfKeyAgreementCreate("ECC256", NULL); variable 206 int32_t res = HcfKeyAgreementCreate("ECC256", &keyAgreement); variable [all …]
|
D | crypto_rsa_sign_test.cpp | 44 HcfResult res = HCF_SUCCESS; variable 59 HcfResult res = HCF_SUCCESS; variable 74 HcfResult res = HCF_SUCCESS; variable 89 HcfResult res = HCF_SUCCESS; variable 104 HcfResult res = HCF_SUCCESS; variable 119 HcfResult res = HCF_SUCCESS; variable 134 HcfResult res = HCF_SUCCESS; variable 150 HcfResult res = HCF_SUCCESS; variable 159 HcfResult res = HCF_SUCCESS; variable 168 HcfResult res = HCF_SUCCESS; variable [all …]
|
D | crypto_x509_cert_chain_validator_test.cpp | 181 HcfResult res = HcfCertChainValidatorCreate("invalidPKIX", &pathValidator); variable 189 HcfResult res = HCF_SUCCESS; variable 226 HcfResult res = HCF_SUCCESS; variable 286 HcfResult res = g_validator->validate(g_validator, &certsData); variable 294 HcfResult res = HCF_SUCCESS; variable 328 HcfResult res = HcfCertChainValidatorCreate("PKIX", nullptr); variable 342 HcfResult res = g_validator->validate(&invalidValidator, &certsData); variable 352 HcfResult res = HcfCertChainValidatorSpiCreate(nullptr); variable 364 HcfResult res = HcfCertChainValidatorSpiCreate(&spiObj); variable 377 HcfResult res = HcfCertChainValidatorCreate("PKIX", &pathValidator); variable
|
D | crypto_rsa_verify_test.cpp | 45 int32_t res = HcfVerifyCreate("RSA1024|PSS|SHA256", &verify); variable 55 int32_t res = HcfVerifyCreate("RSA1024|PSS|SHA256|MGF1_SHA256", &verify); variable 65 HcfResult res = HCF_SUCCESS; variable 79 HcfResult res = HcfAsyKeyGeneratorCreate("RSA2048|PRIMES_2", &generator); variable 99 HcfResult res = HcfAsyKeyGeneratorCreate("RSA2048|PRIMES_2", &generator); variable 118 HcfResult res = HCF_SUCCESS; variable 138 HcfResult res = HCF_SUCCESS; variable 158 HcfResult res = HCF_SUCCESS; variable 174 HcfResult res = HCF_SUCCESS; variable 191 int32_t res = HcfAsyKeyGeneratorCreate("RSA2048|PRIMES_2", &generator); variable [all …]
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | key_agree_sdk_test.cpp | 73 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable 80 …KeyAgreeResult res = KeyAgreeInitSession(g_session_s, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_SERVER); variable 87 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_DL_SPEKE_256, KEYAGREE_TYPE_… variable 94 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_DL_SPEKE_384, KEYAGREE_TYPE_… variable 101 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_EC_SPEKE_P256, KEYAGREE_TYPE… variable 108 …KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_EC_SPEKE_X25519, KEYAGREE_TY… variable 115 …KeyAgreeResult res = KeyAgreeInitSession(NULL, KEYAGREE_PROTOCOL_EC_SPEKE_X25519, KEYAGREE_TYPE_CL… variable 163 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable 173 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable 183 … KeyAgreeResult res = KeyAgreeInitSession(g_session, KEYAGREE_PROTOCOL_ANY, KEYAGREE_TYPE_CLIENT); variable [all …]
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_image_util_test/ |
D | ans_image_util_unit_test.cpp | 84 std::string res = imageUtil->PackImage(pixelMap, format); variable 103 std::string res = imageUtil->PackImage(nullptr, format); variable 121 std::string res = imageUtil->PackImage(pixelMap, ""); variable 143 std::string res = imageUtil->PackImage(pixelMap, format); variable 164 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 184 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 204 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 224 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 244 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable 264 std::shared_ptr<Media::PixelMap> res = imageUtil->UnPackImage(pixelMapStr); variable [all …]
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/ |
D | ans_subscriber_stub_unit_test.cpp | 83 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); variable 103 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); variable 121 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); variable 138 ErrCode res = stub_->OnRemoteRequest(code, data, reply, option); variable 152 ErrCode res = stub_->HandleOnConnected(data, reply); variable 166 ErrCode res = stub_->HandleOnDisconnected(data, reply); variable 180 ErrCode res = stub_->HandleOnConsumed(data, reply); variable 196 ErrCode res = stub_->HandleOnConsumed(data, reply); variable 210 ErrCode res = stub_->HandleOnConsumedMap(data, reply); variable 228 ErrCode res = stub_->HandleOnConsumedMap(data, reply); variable [all …]
|
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/ |
D | pake_v1_protocol_common.c | 156 int32_t res = AllocDefaultParams(params); in InitPakeV1BaseParams() local 177 int32_t res; in GeneratePakeParams() local 224 int32_t res; in DeriveKeyFromSharedSecret() local 259 int32_t res = InitSingleParam(¶ms->sharedSecret, params->innerKeyLen); in GenerateSessionKey() local 291 int res; in GenerateProof() local 321 int res; in VerifyProof() local 359 int32_t res = GeneratePakeParams(params); in ClientConfirmPakeV1Protocol() local 388 int32_t res = VerifyProof(params); in ClientVerifyConfirmPakeV1Protocol() local 402 int32_t res = GeneratePakeParams(params); in ServerResponsePakeV1Protocol() local 416 int32_t res = GenerateSessionKey(params); in ServerConfirmPakeV1Protocol() local
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_message_util.c | 73 int32_t res = GetAndCheckKeyLenOnServer(in, &(params->returnKey.length)); in ParsePakeRequestMessage() local 85 …int32_t res = AddByteToJson(payload, FIELD_SALT, params->baseParams.salt.val, params->baseParams.s… in PackagePakeResponseData() local 117 …int res = InitSingleParam(&(params->baseParams.epkPeer), strlen(epkPeerHex) / BYTE_TO_HEX_OPER_LEN… in GetDasEpkPeerFromJson() local 132 …int32_t res = GetByteFromJson(in, FIELD_SALT, params->baseParams.salt.val, params->baseParams.salt… in ParsePakeResponseMessage() local 155 …int32_t res = AddByteToJson(payload, FIELD_EPK, params->baseParams.epkSelf.val, params->baseParams… in PackagePakeClientConfirmData() local 171 int32_t res = GetByteFromJson(in, FIELD_KCF_DATA, params->baseParams.kcfDataPeer.val, in ParsePakeClientConfirmMessage() local 187 int32_t res = AddByteToJson(payload, FIELD_KCF_DATA, in PackagePakeServerConfirmData() local 198 int32_t res = GetByteFromJson(in, FIELD_KCF_DATA, params->baseParams.kcfDataPeer.val, in ParsePakeServerConfirmMessage() local
|
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
D | common_standard_unbind_exchange.c | 29 int32_t res; in InitStandardUnbindExchangeParams() local 76 int32_t res = HC_SUCCESS; in PackageRmvInfo() local 108 …int32_t res = InitSingleParam(&(exchangeParams->exRmvCipher), exchangeParams->rmvInfo.length + AE_… in EncryptRmvInfo() local 139 …int32_t res = InitSingleParam(&exchangeParams->rmvInfo, exchangeParams->exRmvCipher.length - AE_TA… in DecryptRmvInfo() local 164 int32_t res; in ParseRmvInfo() local 188 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idPee… in DeleteAuthInfo() local 220 int32_t res = InitSingleParam(&(exchangeParams->resultCipher), result.length + AE_TAG_LEN); in BuildRmvResult() local 263 int32_t res = pakeParams->baseParams.loader->aesGcmDecrypt(&(pakeParams->baseParams.sessionKey), in ConfirmRmvResult() local 282 int32_t res = PackageRmvInfo(pakeParams, exchangeParams); in ClientRequestStandardUnbindExchange() local 299 int32_t res = DecryptRmvInfo(pakeParams, exchangeParams); in ServerResponseStandardUnbindExchange() local [all …]
|
D | standard_exchange_message_util.c | 27 int32_t res = HC_SUCCESS; in PackageNonceAndCipherToJson() local 54 int32_t res = HC_SUCCESS; in ParseNonceAndCipherFromJson() local 98 int res = InitSingleParam(&(params->baseParams.challengeSelf), PAKE_CHALLENGE_LEN); in GenerateSelfChallenge() local 113 int res = InitSingleParam(&(params->baseParams.challengePeer), PAKE_CHALLENGE_LEN); in GetPeerChallenge() local
|
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/ |
D | pake_v2_protocol_common.c | 150 int32_t res = AllocDefaultParams(params); in InitPakeV2BaseParams() local 171 int32_t res; in GeneratePakeParams() local 211 int res; in ComputeSidSelf() local 243 int res; in ComputeSidPeer() local 275 int32_t res = HC_SUCCESS; in ComputeSid() local 333 int32_t res; in ComputeSharedSecret() local 383 int32_t res; in GenerateSharedSecret() local 451 int32_t res; in CombineProofMsg() local 500 int res; in GenerateProof() local 530 int res; in VerifyProof() local [all …]
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
D | hiappevent_native_test.cpp | 95 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, BEHAVIOR, list); variable 125 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, BEHAVIOR, list); variable 145 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, FAULT, nullptr); variable 211 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 243 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 274 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 296 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, "verify_**", SECURITY, list); variable 331 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, nullptr, SECURITY, list); variable 355 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 379 bool res = OH_HiAppEvent_Configure(nullptr, nullptr); variable [all …]
|
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_session.c | 60 int32_t res = InitSingleParam(authIdPeer, authIdLen); in GetIdPeer() local 267 int32_t res = GetIdPeer(payload, FIELD_PEER_AUTH_ID, authIdSelf, authIdPeer); in GetAuthIdPeerFromPayload() local 276 int32_t res = GetByteFromJson(in, FIELD_KCF_DATA, baseParams->kcfDataPeer.val, in ParsePakeServerConfirmMessage() local 287 …int32_t res = AddByteToJson(payload, FIELD_KCF_DATA, baseParams->kcfData.val, baseParams->kcfData.… in PackagePakeServerConfirmData() local 302 …int32_t res = InitSingleParam(&(baseParams->epkPeer), HcStrlen(epkPeerHex) / BYTE_TO_HEX_OPER_LENG… in GetDasEpkPeerFromJson() local 317 …int32_t res = GetByteFromJson(in, FIELD_KCF_DATA, baseParams->kcfDataPeer.val, baseParams->kcfData… in ParsePakeClientConfirmMessage() local 331 …int32_t res = AddByteToJson(payload, FIELD_EPK, baseParams->epkSelf.val, baseParams->epkSelf.lengt… in PackagePakeClientConfirmData() local 351 int32_t res = GetByteFromJson(in, FIELD_SALT, baseParams->salt.val, baseParams->salt.length); in ParsePakeResponseMessage() local 376 int32_t res = HC_SUCCESS; in FillExtraData() local 404 … int32_t res = InitSingleParam(&(spekeSession->baseParam.psk), spekeSession->sharedSecret.length); in FillPskAndDeviceId() local [all …]
|
/base/customization/enterprise_device_management/test/unittest/src/ |
D | enterprise_device_mgr_ability_test.cpp | 119 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 136 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 154 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 178 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 207 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 234 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 260 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 304 ErrCode res = edmMgr_->HandleDevicePolicy(code, elementName, data); variable 320 ErrCode res = edmMgr_->GetDevicePolicy(code, elementName, reply); variable 340 ErrCode res = edmMgr_->GetDevicePolicy(code, elementName, reply); variable
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/ |
D | cJSON.c | 69 cJSON* res = func(object, string); in cJSON_GetObjectItem() local 88 cJSON_bool res = func(item); in cJSON_IsNumber() local 111 cJSON_bool res = func(item); in cJSON_IsString() local 164 cJSON* res = func(); in cJSON_CreateArray() local 187 cJSON* res = func(); in cJSON_CreateObject() local 213 cJSON* res = func(num); in cJSON_CreateNumber() local 241 cJSON* res = func(string); in cJSON_CreateString() local 264 cJSON_bool res = func(array, item); in cJSON_AddItemToArray() local 311 cJSON_bool res = func(object, string, item); in cJSON_AddItemToObject() local 334 cJSON_bool res = func(object, string, newitem); in cJSON_ReplaceItemInObject() local [all …]
|
/base/security/device_auth/services/protocol/src/iso_protocol/ |
D | iso_protocol_common.c | 30 int32_t res; in InitIsoBaseParams() local 90 int res; in IsoCalSelfToken() local 143 int res; in IsoCalPeerToken() local 215 int res = IsoCombineHkdfSalt(params, &hkdfSaltBuf, isClient); in IsoGenSessionKey() local 238 int32_t res = params->loader->generateRandom(¶ms->randSelf); in IsoClientGenRandom() local 260 int res = IsoCalSelfToken(params, &outHmac); in IsoClientCheckAndGenToken() local 295 int res = params->loader->computeHmac(&pskBuf, &hmacMessage, &outHmacBuf, false); in IsoClientGenSessionKey() local 327 int res = params->loader->generateRandom(¶ms->randSelf); in IsoServerGenRandomAndToken() local 355 int res = IsoCalSelfToken(params, &outHmac); in IsoServerGenSessionKeyAndCalToken() local
|
/base/account/os_account/frameworks/account_iam/test/unittest/src/ |
D | account_iam_client_no_permission_test.cpp | 112 int32_t res = AccountIAMClient::GetInstance().OpenSession(0, challenge); variable 126 int32_t res = AccountIAMClient::GetInstance().CloseSession(0); variable 168 int32_t res = AccountIAMClient::GetInstance().Cancel(TEST_USER_ID); variable 213 …int32_t res = AccountIAMClient::GetInstance().GetCredentialInfo(TEST_USER_ID, AuthType::PIN, callb… variable 226 …int32_t res = AccountIAMClient::GetInstance().GetAvailableStatus(AuthType::FACE, AuthTrustLevel::A… variable 267 int32_t res = AccountIAMClient::GetInstance().RegisterInputer(AuthType::PIN, inputer); variable 283 int32_t res = AccountIAMClient::GetInstance().AuthUser( variable 299 …int32_t res = AccountIAMClient::GetInstance().Auth(TEST_CHALLENGE, AuthType::PIN, AuthTrustLevel::… variable 311 int32_t res = AccountIAMClient::GetInstance().CancelAuth(TEST_CONTEXT_ID); variable
|
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/ |
D | enterprise_device_mgr_ability_test.cpp | 93 int32_t res = edmMgr_->Dump(fd, args); in TestDump() local 128 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, 0); variable 144 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, 1); variable 165 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); variable 195 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); variable 219 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); variable 249 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); variable 271 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); variable 304 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT_USER_ID); variable 339 ErrCode res = edmMgr_->Dump(-1, args); variable [all …]
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_manager_c_test.cpp | 133 … auto res = OH_HiSysEvent_Query(arg, rules, sizeof(rules) / sizeof(HiSysEventQueryRule), callback); in QueryTestWithCondition() local 167 int res = OH_HiSysEvent_GetParamInt64Value(record, name.c_str(), testValue); in RecordParamIntValueTest() local 175 int res = OH_HiSysEvent_GetParamUint64Value(record, name.c_str(), testValue); in RecordParamUintValueTest() local 183 int res = OH_HiSysEvent_GetParamDoubleValue(record, name.c_str(), testValue); in RecordParamDouValueTest() local 191 int res = OH_HiSysEvent_GetParamStringValue(record, name.c_str(), &testValue); in RecordParamStrValueTest() local 202 int res = OH_HiSysEvent_GetParamInt64Values(record, name.c_str(), &testValues, len); in RecordParamIntValuesTest() local 216 int res = OH_HiSysEvent_GetParamUint64Values(record, name.c_str(), &testValues, len); in RecordParamUintValuesTest() local 230 int res = OH_HiSysEvent_GetParamDoubleValues(record, name.c_str(), &testValues, len); in RecordParamDouValuesTest() local 244 int res = OH_HiSysEvent_GetParamStringValues(record, name.c_str(), &testValues, len); in RecordParamStrValuesTest() local 263 int res = OH_HiSysEvent_GetParamInt64Value(record, name.c_str(), testValue); in RecordParamIntValueInvalidTest() local [all …]
|