Home
last modified time | relevance | path

Searched refs:CMR_ERROR_INVALID_ARGUMENT (Results 1 – 25 of 47) sorted by relevance

12

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_check.c28 return CMR_ERROR_INVALID_ARGUMENT; in CheckUri()
33 return CMR_ERROR_INVALID_ARGUMENT; in CheckUri()
41 return CMR_ERROR_INVALID_ARGUMENT; in CheckUri()
48 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceGetSystemCertListCheck()
63 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceGetSystemCertCheck()
68 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceGetSystemCertCheck()
83 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceSetCertStatusCheck()
88 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceSetCertStatusCheck()
93 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceSetCertStatusCheck()
157 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceInstallAppCertCheck()
[all …]
Dcert_manager_service.c99 ret = CMR_ERROR_INVALID_ARGUMENT; in GetPublicAppCert()
142 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceGetAppCert()
150 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceGrantAppCertificate()
166 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceGetAuthorizedAppList()
181 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceIsAuthorizedApp()
196 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceRemoveGrantedApp()
212 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceInit()
237 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceUpdate()
253 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceFinish()
268 return CMR_ERROR_INVALID_ARGUMENT; in CmServiceAbort()
[all …]
Dcert_manager_crypto_operation.c31 return CMR_ERROR_INVALID_ARGUMENT; in CmGetRandom()
48 return CMR_ERROR_INVALID_ARGUMENT; in CmGetHash()
Dcert_manager_file_operator.c189 return CMR_ERROR_INVALID_ARGUMENT; in FileRemove()
203 return CMR_ERROR_INVALID_ARGUMENT; in CmFileRemove()
287 return CMR_ERROR_INVALID_ARGUMENT; in CmFileWrite()
448 return CMR_ERROR_INVALID_ARGUMENT; in CmIsFileExist()
515 return CMR_ERROR_INVALID_ARGUMENT; in DirRemove()
520 return CMR_ERROR_INVALID_ARGUMENT; in DirRemove()
526 return CMR_ERROR_INVALID_ARGUMENT; in CmDirRemove()
Dcert_manager_uri.c280 return CMR_ERROR_INVALID_ARGUMENT; in CertManagerUriEncode()
397 return CMR_ERROR_INVALID_ARGUMENT; in DecodePath()
441 return CMR_ERROR_INVALID_ARGUMENT; in DecodePath()
457 return CMR_ERROR_INVALID_ARGUMENT; in DecodeQuery()
485 return CMR_ERROR_INVALID_ARGUMENT; in DecodeQuery()
497 return CMR_ERROR_INVALID_ARGUMENT; in CertManagerUriDecode()
506 return CMR_ERROR_INVALID_ARGUMENT; in CertManagerUriDecode()
512 return CMR_ERROR_INVALID_ARGUMENT; in CertManagerUriDecode()
549 return CMR_ERROR_INVALID_ARGUMENT; in CertManagerGetUidFromUri()
Dcert_manager_file.c91 return CMR_ERROR_INVALID_ARGUMENT; in MallocFileNames()
158 return CMR_ERROR_INVALID_ARGUMENT; in CertManagerGetFilenames()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/
Dcert_manager_api.c33 return CMR_ERROR_INVALID_ARGUMENT; in CmGetCertList()
53 return CMR_ERROR_INVALID_ARGUMENT; in CmGetCertInfo()
72 return CMR_ERROR_INVALID_ARGUMENT; in CmSetCertStatus()
89 return CMR_ERROR_INVALID_ARGUMENT; in CmInstallAppCert()
102 return CMR_ERROR_INVALID_ARGUMENT; in CmUninstallAppCert()
125 return CMR_ERROR_INVALID_ARGUMENT; in CmGetAppCertList()
139 return CMR_ERROR_INVALID_ARGUMENT; in CmGetAppCert()
152 return CMR_ERROR_INVALID_ARGUMENT; in CmGrantAppCertificate()
165 return CMR_ERROR_INVALID_ARGUMENT; in CmGetAuthorizedAppList()
178 return CMR_ERROR_INVALID_ARGUMENT; in CmIsAuthorizedApp()
[all …]
/base/security/certificate_manager/test/unittest/src/
Dcm_is_authed_test.cpp85 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
100 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
115 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
130 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
146 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
162 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
178 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
194 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
210 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
224 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
[all …]
Dcm_update_test.cpp71 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
84 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
97 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
110 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
123 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
136 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
Dcm_remove_grant_test.cpp95 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
110 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
125 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
140 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
156 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
172 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
188 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
204 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
220 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
Dcm_init_test.cpp90 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
108 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
126 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
144 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
162 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
180 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
198 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
216 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
232 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
263 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
[all …]
Dcm_get_auth_list_test.cpp163 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
178 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
193 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
208 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
224 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
240 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
256 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
272 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
287 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
313 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
[all …]
Dcm_abort_test.cpp63 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
77 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
90 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
Dcm_grant_test.cpp101 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
121 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
141 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
161 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
262 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
282 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
299 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
Dcm_app_cert_test.cpp210 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "AppCertInstallAbnormalTest004 test failed, retcode:…
213 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "AppCertInstallAbnormalTest004 privite test failed, …
255 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "AppCertInstallAbnormalTest005 test failed, retcode:…
276 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "AppCertInstallAbnormalTest006 test failed, retcode:…
399 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "CmGetAppCertAbnormalTest004 01 failed, retcode:" <<…
402 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "CmGetAppCertAbnormalTest004 02 failed, retcode:" <<…
405 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "CmGetAppCertAbnormalTest004 03 failed, retcode:" <<…
498 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "Abnormal CmGetAppCertListBaseTest003 test failed, r…
517 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "Abnormal AppCertInstallTest04 test failed, retcode:…
554 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "AppCertUnInstallAbnormalTest002 test failed, retcod…
[all …]
Dcm_get_certinfo_test.cpp241 EXPECT_EQ(CmGetCertInfo(&uriBlob, 10, &certInfo), CMR_ERROR_INVALID_ARGUMENT);
248 CMR_ERROR_INVALID_ARGUMENT);
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_param.c35 return CMR_ERROR_INVALID_ARGUMENT; in CmInitParamSet()
58 return CMR_ERROR_INVALID_ARGUMENT; in CmCheckParamSet()
81 return CMR_ERROR_INVALID_ARGUMENT; in CmFreshParamSet()
86 return CMR_ERROR_INVALID_ARGUMENT; in CmFreshParamSet()
101 return CMR_ERROR_INVALID_ARGUMENT; in CmFreshParamSet()
158 return CMR_ERROR_INVALID_ARGUMENT; in CmGetParam()
163 return CMR_ERROR_INVALID_ARGUMENT; in CmGetParam()
184 return CMR_ERROR_INVALID_ARGUMENT; in FreshParamSet()
189 return CMR_ERROR_INVALID_ARGUMENT; in FreshParamSet()
203 return CMR_ERROR_INVALID_ARGUMENT; in FreshParamSet()
[all …]
Dcm_x509.c60 return CMR_ERROR_INVALID_ARGUMENT; in GetX509SerialNumber()
97 return CMR_ERROR_INVALID_ARGUMENT; in ToStringName()
142 return CMR_ERROR_INVALID_ARGUMENT; in GetX509SubjectNameLongFormat()
165 return CMR_ERROR_INVALID_ARGUMENT; in GetX509IssueNameLongFormat()
189 return CMR_ERROR_INVALID_ARGUMENT; in GetX509Time()
217 return CMR_ERROR_INVALID_ARGUMENT; in GetX509TimeFormat()
257 return CMR_ERROR_INVALID_ARGUMENT; in GetX509Fingerprint()
/base/security/certificate_manager/test/unittest/module_test/src/
Dcm_param_test.cpp59 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
74 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
90 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
108 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
127 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
149 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
171 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
194 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
209 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
225 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
[all …]
Dcm_cert_parse_test.cpp141 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
157 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
193 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
211 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
226 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
242 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
260 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
275 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
288 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
304 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
[all …]
/base/security/certificate_manager/test/unittest/multi_thread_test/src/
Dcm_remove_grant_multi_thread_test.cpp113 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
128 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
143 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
158 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
174 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
190 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
206 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
222 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
Dcm_get_auth_list_multi_thread_test.cpp148 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
163 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
178 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
193 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
209 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
225 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
241 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
257 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
272 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
298 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
[all …]
Dcm_grant_multi_thread_test.cpp115 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
135 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
155 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
175 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
276 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
296 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
313 EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT);
Dcm_app_cert_multi_thread_test.cpp71 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "CmAppCertMultiThreadTest001 test failed, retcode:" …
86 …EXPECT_EQ(ret, CMR_ERROR_INVALID_ARGUMENT) << "CmAppCertMultiThreadTest002 test failed, retcode:" …
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c615 return CMR_ERROR_INVALID_ARGUMENT; in FormatAppUidList()
626 return CMR_ERROR_INVALID_ARGUMENT; in FormatAppUidList()
637 return CMR_ERROR_INVALID_ARGUMENT; in FormatAppUidList()
650 return CMR_ERROR_INVALID_ARGUMENT; in CmClientGrantAppCertificate()
669 return CMR_ERROR_INVALID_ARGUMENT; in CmClientGetAuthorizedAppList()
674 return CMR_ERROR_INVALID_ARGUMENT; in CmClientGetAuthorizedAppList()
706 return CMR_ERROR_INVALID_ARGUMENT; in CmClientIsAuthorizedApp()
725 return CMR_ERROR_INVALID_ARGUMENT; in CmClientRemoveGrantedApp()
745 return CMR_ERROR_INVALID_ARGUMENT; in CmClientInit()
765 return CMR_ERROR_INVALID_ARGUMENT; in CmClientUpdate()
[all …]

12