/test/xts/acts/commonlibrary/ets_utils/url_lib_standard/src/main/js/test/ |
D | url.test.js | 30 var params = new Url.URLParams(that.search); 31 params.append('ma','jk') 32 var result = params.toString() 46 var params = new Url.URLParams(that.search); 47 params.append("ma 大","jk¥") 48 var result = params.toString() 62 var params = new Url.URLParams(that.search); 63 params.append("foo~!@#$%^&*()_+-=","jk") 64 var result = params.toString() 78 let params = new Url.URLParams(that.search) [all …]
|
/test/xts/acts/security/huks_napi_BasicTest/src/ |
D | huks_wrapped_test_common.cpp | 86 static OH_Huks_Result CheckParamsValid(const struct HksImportWrappedKeyTestParams *params) in CheckParamsValid() argument 90 if (params == nullptr) in CheckParamsValid() 96 if (params->wrappingKeyAlias == nullptr || params->genWrappingKeyParamSet == nullptr || in CheckParamsValid() 97 params->agreeKeyAlgName == nullptr || params->callerKeyAlias == nullptr || in CheckParamsValid() 98 params->genCallerKeyParamSet == nullptr || params->callerKekAlias == nullptr || in CheckParamsValid() 99 params->callerKek == nullptr || params->importCallerKekParamSet == nullptr || in CheckParamsValid() 100 params->callerAgreeKeyAlias == nullptr || params->agreeParamSet == nullptr || in CheckParamsValid() 101 params->importWrappedKeyParamSet == nullptr || params->importedKeyAlias == nullptr || in CheckParamsValid() 102 params->importedPlainKey == nullptr) in CheckParamsValid() 110 static void GenerateAndExportHuksPublicKey(const struct HksImportWrappedKeyTestParams *params, in GenerateAndExportHuksPublicKey() argument [all …]
|
/test/testfwk/arkxtest/jsunit/src/module/config/ |
D | Filter.js | 17 constructor(suiteName, itName, params) { argument 20 this.params = params; 24 …return !this.params.split(',').map(item => item.split('#')[0]).map(item => item == this.suiteName)… 28 let classArray = this.params.split(',') || []; 36 constructor(suiteName, itName, params) { argument 39 this.params = params; 43 …return this.params.split(',').map(item => item == this.suiteName).reduce((pre, cur) => pre || cur,… 47 return this.params.split(',').some(item => item == (this.suiteName + '#' + this.itName)); 52 constructor(suiteName, itName, params) { argument 55 this.params = params; [all …]
|
D | configService.js | 58 basicParamValidCheck(params) { argument 59 let size = params.size; 66 let level = params.level; 73 let testType = params.testType; 83 filterParamValidCheck(params) { argument 84 let timeout = params.timeout; 93 if (params[key] !== undefined && params[key] !== 'true' && params[key] !== 'false') { 94 this.filterValid.push(`${key}:${params[key]}`); 99 if (params.stress !== undefined && params.stress !== '' && params.stress !== null) { 100 if (!params.stress.match(STRESS_RULE)) { [all …]
|
/test/xts/tools/sample/ServerSampleE/vue/src/views/oh-sample/takeaway/goods/ |
D | goods.api.ts | 32 export const listGoods = (params): Promise<string> => defHttp.get({ url: Api.LIST, params }); 37 export const detail = (params): Promise<string> => defHttp.get({ url: Api.DETAIL, params }); 42 export const detailBusiness = (params): Promise<string> => defHttp.get({ url: Api.DETAIL_BUSINESS, … 47 export const deleteGoods = (params, handleSuccess): Promise<void> => { 48 return defHttp.delete({ url: Api.DELETE, params }, { joinParamsToUrl: true }).then(() => { 56 export const batchDeleteGoods = (params, handleSuccess): void => { 63 …return defHttp.delete({ url: Api.DELETE_BATCH, data: params }, { joinParamsToUrl: true }).then(() … 73 export const saveOrUpdateGoods = (params, isUpdate): Promise<string> => { 75 return defHttp.post({ url: url, params });
|
/test/xts/tools/sample/ServerSampleE/vue/src/views/oh-sample/takeaway/business/ |
D | business.api.ts | 30 export const list = (params): Promise<string> => defHttp.get({ url: Api.LIST, params }); 35 export const listComment = (params): Promise<string> => defHttp.get({ url: Api.LIST_COMMENT, params… 40 export const deleteBusiness = (params, handleSuccess): Promise<void> => { 41 return defHttp.delete({ url: Api.DELETE, params }, { joinParamsToUrl: true }).then(() => { 49 export const batchDeleteBusiness = (params, handleSuccess): void => { 56 …return defHttp.delete({ url: Api.DELETE_BATCH, data: params }, { joinParamsToUrl: true }).then(() … 66 export const saveOrUpdate = (params, isUpdate): Promise<string> => { 68 return defHttp.post({ url: url, params });
|
/test/xts/tools/sample/ServerSampleE/vue/src/views/oh-sample/takeaway/site/ |
D | site.api.ts | 30 export const list = (params): Promise<string> => defHttp.get({ url: Api.LIST, params }); 35 export const deleteSite = (params, handleSuccess): Promise<void> => { 36 return defHttp.delete({ url: Api.DELETE, params }, { joinParamsToUrl: true }).then(() => { 44 export const batchDeleteSite = (params, handleSuccess): void => { 51 …return defHttp.delete({ url: Api.DELETE_BATCH, data: params }, { joinParamsToUrl: true }).then(() … 61 export const saveOrUpdate = (params, isUpdate): Promise<string> => { 63 return defHttp.post({ url: url, params });
|
/test/xts/tools/sample/ServerSampleD/vue/src/views/oh-sample/video/ |
D | video.api.ts | 30 export const list = (params): Promise<string> => defHttp.get({ url: Api.LIST, params }); 35 export const deleteVideo = (params, handleSuccess): Promise<void> => { 36 return defHttp.delete({ url: Api.DELETE, params }).then(() => { 44 export const batchDeleteVideo = (params, handleSuccess): void => { 51 …return defHttp.delete({ url: Api.DELETE_BATCH, data: params }, { joinParamsToUrl: true }).then(() … 61 export const saveOrUpdate = (params, isUpdate): Promise<any> => { 63 return defHttp.post({ url: url, params });
|
/test/xts/hats/hdf/codec/hdi_v1.0/ |
D | codec_proxy_test.cpp | 258 Param *params; variable 260 params = (Param *)OsalMemAlloc(sizeof(Param)*paramCnt); 261 ASSERT_TRUE(params != nullptr); 262 params->key = KEY_VIDEO_WIDTH; 264 params->val = (void *)&width; 265 params->size = sizeof(width); 267 int32_t errorCode = g_codecObj->CodecSetParameter(g_codecObj, g_handle, params, paramCnt); 268 OsalMemFree(params); 274 Param *params; variable 276 params = (Param *)OsalMemAlloc(sizeof(Param)*paramCnt); [all …]
|
/test/xts/acts/security/cryptoFramework/js_api_test_oh40/src/main/js/test/ |
D | AsyGetKeySpecBySpec.test.js | 65 expect(n == rsaKeyPairSpec.params.n).assertTrue(); 98 expect(p == dsaKeyPairSpec.params.p).assertTrue(); 102 expect(q == dsaKeyPairSpec.params.q).assertTrue(); 106 expect(g == dsaKeyPairSpec.params.g).assertTrue(); 147 expect(p == eccKeyPairSpec.params.field.p).assertTrue(); 151 expect(a == eccKeyPairSpec.params.a).assertTrue(); 155 expect(b == eccKeyPairSpec.params.b).assertTrue(); 159 expect(gx == eccKeyPairSpec.params.g.x).assertTrue(); 163 expect(gy == eccKeyPairSpec.params.g.y).assertTrue(); 167 expect(n == eccKeyPairSpec.params.n).assertTrue(); [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/ |
D | ohosRouterBg.ets | 30 let params = router.getParams(); 31 if (params && params.data) { 32 console.info("[OhosRouterB] getParams result: " + params.data); 33 this.getRouterParams(params.data); 40 "params": data, 47 console.info("[OhosRouterB] start to emit params"); 50 console.info("[OhosRouterB] emit params err: " + JSON.stringify(err.message));
|
D | ohosRouterAg.ets | 36 params: { 49 params: { 62 params: { 75 params: { 88 params: { 101 params: { 115 params: { 129 params: { 143 params: { 158 params: {
|
/test/xts/acts/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/ |
D | ohosRouterB.ets | 30 let params = router.getParams(); 31 if (params && params.data) { 32 console.info("[OhosRouterB] getParams result: " + params.data); 33 this.getRouterParams(params.data); 40 "params": data, 47 console.info("[OhosRouterB] start to emit params"); 50 console.info("[OhosRouterB] emit params err: " + JSON.stringify(err.message));
|
/test/xts/acts/arkui/ace_ets_component_four/entry/src/main/ets/MainAbility/pages/ |
D | systemRouterB.ets | 31 let params = router.getParams(); 32 if (params && params.data) { 33 console.info("[SystemRouterB] getParams result: " + params.data); 34 this.getRouterParams(params.data); 41 "params": data, 48 console.info("[SystemRouterB] start to emit params"); 51 console.info("[SystemRouterB] emit params err: " + JSON.stringify(err.message));
|
/test/testfwk/xdevice/src/xdevice/_core/ |
D | plugin.py | 44 def __init__(self, params=None): argument 45 if params is None: 46 params = {} 47 self.update(params) 55 def update(self, params): argument 56 self.__dict__.update(params) 107 self.params = _param_dict 114 setattr(cls, _DEFAULT_CONFIG_NAME, Config(self.params)) 153 return self.params 197 params = getattr(plugin, _DEFAULT_CONFIG_NAME) [all …]
|
/test/testfwk/arkxtest/uitest/server/ |
D | server_main.cpp | 72 map<char, string> ¶ms) in GetParam() argument 81 params.insert(pair<char, string>(opt, "true")); in GetParam() 84 params.insert(pair<char, string>(opt, "true")); in GetParam() 87 params.insert(pair<char, string>(opt, optarg)); in GetParam() 122 map<char, string> params; in DumpLayout() local 124 if (GetParam(argc, argv, "p:ia", usage, params) == EXIT_FAILURE) { in DumpLayout() 127 auto iter = params.find('p'); in DumpLayout() 128 if (iter != params.end()) { in DumpLayout() 131 const bool listWindows = params.find('i') != params.end(); in DumpLayout() 132 const bool addExternAttr = params.find('a') != params.end(); in DumpLayout() [all …]
|
/test/xts/acts/hiviewdfx/hisyseventtest/hisyseventnormaltest/src/main/js/test/ |
D | HiSysEventNormal.test.js | 118 if (info.params instanceof Object) { 119 for (const key in info.params) { 120 console.info(`testHiSysEventApi60: ${key}: ${info.params[key]}`) 159 if (info.params instanceof Object) { 160 for (const key in info.params) { 161 console.info(`testHiSysEventApi61: ${key}: ${info.params[key]}`) 200 if (info.params instanceof Object) { 201 for (const key in info.params) { 202 console.info(`testHiSysEventApi62: ${key}: ${info.params[key]}`) 242 if (info.params instanceof Object) { [all …]
|
/test/xts/acts/security/cryptoFramework/js_api_test_oh40/src/main/js/test/utils/common/ |
D | publicDoSpec.js | 31 params: eccCommonSpec, property 41 params: eccCommonSpec, property 49 params: eccCommonSpec, property 113 params: dsaCommonSpec, property 132 params: dsaCommonSpec, property 149 params: rsaCommSpec, property 217 params: rsaCommSpec, property 232 params: rsaCommSpec, property 245 params: dsaCommonSpec, property 262 params: dsaCommonSpec, property
|
/test/xts/acts/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/ |
D | HiSysEvent.test.js | 100 params: { property 144 params: { property 188 params: { property 232 params: { property 276 params: { property 315 params: largeParams property 352 params: { property 395 if (info.params instanceof Object) { 396 for (const key in info.params) { 397 console.info(`testHiSysEventApi10: ${key}: ${info.params[key]}`) [all …]
|
/test/testfwk/arkxtest/uitest/record/ |
D | least_square_impl.cpp | 21 bool LeastSquareImpl::GetLSMParams(std::vector<double>& params) in GetLSMParams() argument 27 params.resize(paramsNum_, ZERO); in GetLSMParams() 29 params.assign(params_.begin(), params_.end()); in GetLSMParams() 69 auto ret = matrix3n.ScaleMapping(yVals, params); in GetLSMParams() 71 params_.assign(params.begin(), params.end()); in GetLSMParams()
|
/test/xts/dcts/ability/dmsfwk/dmsfwk/src/main/js/test/ |
D | FeatureAbilityTest.test.js | 148 let params; 153 parameters: params 193 let params; 198 parameters: params 238 let params; 243 parameters: params 283 let params; 287 parameters: params 327 let params; 332 parameters: params [all …]
|
/test/xts/device_attest_lite/interfaces/kit/js/src/ |
D | native_device_attest.cpp | 101 FuncParams* params = new(std::nothrow) FuncParams(); in ExecuteAsyncWork() local 102 if (params == nullptr) { in ExecuteAsyncWork() 106 params->thisVal = JSI::AcquireValue(thisVal); in ExecuteAsyncWork() 107 params->args = JSI::AcquireValue(args[0]); in ExecuteAsyncWork() 108 JsAsyncWork::DispatchAsyncWork(ExecuteFunc, reinterpret_cast<void *>(params)); in ExecuteAsyncWork() 162 FuncParams* params = reinterpret_cast<FuncParams *>(data); in ExecuteGetAttestResult() local 163 if (params == nullptr) { in ExecuteGetAttestResult() 166 JSIValue args = params->args; in ExecuteGetAttestResult() 167 JSIValue thisVal = params->thisVal; in ExecuteGetAttestResult() 176 delete params; in ExecuteGetAttestResult() [all …]
|
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/State/ |
D | RouterPushOne.ets | 62 params: { 63 view: "params" 88 params: { 89 view: "params" 116 params: { 117 view: "params" 142 params: { 143 view: "params"
|
/test/testfwk/arkxtest/hamock/src/main/mock/ |
D | ExtendInterface.ts | 21 private params: any property in ExtendInterface 28 this.params = arguments; 33 this.mocker.stubApply(this, this.params, returnInfo);
|
/test/xts/acts/security/cryptoFramework/js_api10_test_oh41/src/main/ets/test/utils/common/ |
D | keyGenSpecUtil.ets | 28 params: eccCommonSpec, 36 params: eccCommonSpec, 44 params: eccCommonSpec, 98 params: eccCommonSpec, 106 params: eccCommonSpec, 114 params: eccCommonSpec, 167 params: eccCommonSpec, 175 params: eccCommonSpec, 183 params: eccCommonSpec, 236 params: eccCommonSpec, [all …]
|