/test/xts/acts/arkui/ace_ets_webView/entry/src/main/ets/MainAbility/pages/ |
D | webStyle.ets | 39 response: WebResourceResponse 41 console.log("onHttpErrorReceive: message -- " + event.response.getReasonMessage() 42 +";code -- " + event.response.getResponseCode() 43 +";data -- " + event.response.getResponseData() 44 +";enCoding -- " + event.response.getResponseEncoding() 45 +";header -- " + JSON.stringify(event.response.getResponseHeader()) 46 +";mimeType -- " +event.response.getResponseMimeType()) 64 response: WebResourceResponse 66 console.log("onHttpErrorReceive: message -- " + event.response.getReasonMessage() 67 +";code -- " + event.response.getResponseCode() [all …]
|
D | webProp.ets | 38 response: WebResourceResponse 40 console.log("onHttpErrorReceive: message -- " + event.response.getReasonMessage() 41 +";code -- " + event.response.getResponseCode() 42 +";data -- " + event.response.getResponseData() 43 +";enCoding -- " + event.response.getResponseEncoding() 44 +";header -- " + JSON.stringify(event.response.getResponseHeader()) 45 +";mimeType -- " +event.response.getResponseMimeType()) 63 response: WebResourceResponse 65 console.log("onHttpErrorReceive: message -- " + event.response.getReasonMessage() 66 +";code -- " + event.response.getResponseCode() [all …]
|
/test/xts/tools/sample/AppSampleE/entry/src/main/ets/controller/ |
D | BusinessController.ts | 34 …let response = await this.networkModel.request(Constant.ACTION_BUSINESS_LIST, http.RequestMethod.G… 35 Logger.info(TAG, `getBusinessList response->${JSON.stringify(response)}`); 37 Logger.info(TAG, `getBusinessList response.result->${JSON.stringify(response.result)}`); 38 let data: string = response.result.toString(); 57 …let response = await this.networkModel.request(Constant.ACTION_GET_Comment_LIST, http.RequestMetho… 58 Logger.info(TAG, `getCommentList response->${JSON.stringify(response)}`); 60 Logger.info(TAG, `getCommentList response.result->${JSON.stringify(response.result)}`); 61 let data: string = response.result.toString();
|
D | CommodityController.ts | 33 …let response = await this.networkModel.request(Constant.ACTION_GET_COMMODITY_LIST, http.RequestMet… 34 Logger.info(TAG, `getCommodityList response->${JSON.stringify(response)}`); 36 Logger.info(TAG, `getCommodityList response.result->${JSON.stringify(response.result)}`); 37 let data = response.result.toString(); 57 …let response = await this.networkModel.request(Constant.ACTION_GET_COMMODITY_DETAIL, http.RequestM… 58 Logger.info(TAG, `getCommodityById response->${JSON.stringify(response)}`); 60 Logger.info(TAG, `getCommodityById response.result->${JSON.stringify(response.result)}`); 61 let data = response.result.toString();
|
D | GroupBuyController.ts | 34 …let response = await this.networkModel.request(Constant.ACTION_GROUP_BUY, http.RequestMethod.GET, … 35 Logger.info(TAG, `GroupBuyList response->${JSON.stringify(response)}`); 37 Logger.info(TAG, `GroupBuyList response.result->${JSON.stringify(response.result)}`); 38 let data = response.result.toString();
|
/test/xts/acts/arkui/ace_ets_web_dev_webController/entry/src/main/ets/MainAbility/pages/ |
D | webONHttpErrorReceive.ets | 95 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 96 Utils.emitEvent(JSON.stringify(event.response.getResponseData()), 472); 97 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 98 Utils.emitEvent(event.response.getResponseEncoding(), 474); 99 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 100 Utils.emitEvent(event.response.getResponseMimeType(), 476); 101 console.log('getResponseCode:' + event.response.getResponseCode()); 102 Utils.emitEvent(event.response.getResponseCode(), 478); 103 …console.log("this.title result is :" + JSON.stringify(event.response.getResponseCode()) + event.re… 104 console.log('getReasonMessage:' + event.response.getReasonMessage()); [all …]
|
D | webOnInterceptReqThree.ets | 110 console.log('getResponseData:' + event.response.getResponseData()) 111 console.log('getResponseEncoding:' + event.response.getResponseEncoding()) 112 console.log('getResponseMimeType:' + event.response.getResponseMimeType()) 113 console.log('getResponseCode:' + event.response.getResponseCode()) 114 Utils.emitEvent(event.response.getResponseCode(), this.firstId) 115 console.log('getReasonMessage:' + event.response.getReasonMessage()) 121 let resph = event.response.getResponseHeader() 122 console.log('The response header result size is ' + resph.length) 124 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue)
|
D | webONHttpErrorReceiveIframe.ets | 92 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 93 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 94 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 95 console.log('getResponseCode:' + event.response.getResponseCode()); 96 console.log('getReasonMessage:' + event.response.getReasonMessage()); 102 let resph = event.response.getResponseHeader() 103 console.log('The response header result size is ' + resph.length) 105 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
D | webONHttpErrorRecvExampleIsReady.ets | 125 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 126 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 127 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 128 console.log('getResponseCode:' + event.response.getResponseCode()); 129 Utils.emitEvent(event.response.getResponseCode(), 493) 131 console.log('getReasonMessage:' + event.response.getReasonMessage()); 137 let resph = event.response.getResponseHeader() 138 console.log('The response header result size is ' + resph.length) 140 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
D | webONHttpErrorReceiveExample.ets | 125 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 126 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 127 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 128 console.log('getResponseCode:' + event.response.getResponseCode()); 129 Utils.emitEvent(event.response.getResponseCode(), 491) 131 console.log('getReasonMessage:' + event.response.getReasonMessage()); 137 let resph = event.response.getResponseHeader() 138 console.log('The response header result size is ' + resph.length) 140 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
/test/xts/acts/arkui/ace_ets_web_dev_webviewController/entry/src/main/ets/MainAbility/pages/ |
D | webViewONHttpErrorReceive.ets | 101 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 102 Utils.emitEvent(JSON.stringify(event.response.getResponseData()), 372); 103 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 104 Utils.emitEvent(event.response.getResponseEncoding(), 374); 105 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 106 Utils.emitEvent(event.response.getResponseMimeType(), 376); 107 console.log('getResponseCode:' + event.response.getResponseCode()); 108 Utils.emitEvent(event.response.getResponseCode(), 378); 109 console.log('getReasonMessage:' + event.response.getReasonMessage()); 110 Utils.emitEvent(event.response.getReasonMessage(), 380); [all …]
|
D | webViewOnInterceptReqThree.ets | 107 console.log('getResponseData:' + event.response.getResponseData()) 108 console.log('getResponseEncoding:' + event.response.getResponseEncoding()) 109 console.log('getResponseMimeType:' + event.response.getResponseMimeType()) 110 console.log('getResponseCode:' + event.response.getResponseCode()) 111 Utils.emitEvent(event.response.getResponseCode(), this.firstId) 112 console.log('getReasonMessage:' + event.response.getReasonMessage()) 118 let resph = event.response.getResponseHeader() 119 console.log('The response header result size is ' + resph.length) 121 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue)
|
D | webViewONHttpErrorReceiveString.ets | 110 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 111 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 112 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 113 console.log('getResponseCode:' + event.response.getResponseCode()); 114 Utils.emitEvent(event.response.getResponseCode(), 399); 115 console.log('getReasonMessage:' + event.response.getReasonMessage()); 121 let resph = event.response.getResponseHeader() 122 console.log('The response header result size is ' + resph.length) 124 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
D | webViewONHttpErrorReceiveIframe.ets | 91 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 92 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 93 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 94 console.log('getResponseCode:' + event.response.getResponseCode()); 95 console.log('getReasonMessage:' + event.response.getReasonMessage()); 101 let resph = event.response.getResponseHeader() 102 console.log('The response header result size is ' + resph.length) 104 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
D | webViewONHttpErrorReceiveNumber.ets | 136 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 137 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 138 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 139 console.log('getResponseCode:' + event.response.getResponseCode()); 140 Utils.emitEvent(event.response.getResponseCode(), 401); 141 console.log('getReasonMessage:' + event.response.getReasonMessage()); 147 let resph = event.response.getResponseHeader() 148 console.log('The response header result size is ' + resph.length) 150 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
D | webViewONHttpErrorRecvExampleIsReady.ets | 122 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 123 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 124 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 125 console.log('getResponseCode:' + event.response.getResponseCode()); 126 console.log('getReasonMessage:' + event.response.getReasonMessage()); 132 let resph = event.response.getResponseHeader() 133 console.log('The response header result size is ' + resph.length) 135 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
D | webViewONHttpErrorReceiveExample.ets | 122 … console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 123 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 124 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 125 console.log('getResponseCode:' + event.response.getResponseCode()); 126 console.log('getReasonMessage:' + event.response.getReasonMessage()); 132 let resph = event.response.getResponseHeader() 133 console.log('The response header result size is ' + resph.length) 135 … console.log('The response header key is : ' + i.headerKey + ' , value is : ' + i.headerValue);
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/sample/source/ |
D | sample_plugin_2.cpp | 91 int SamplePlugin2::SyncProcess(IRequest *request, IResponse *&response) in SyncProcess() argument 105 IResponse *response = IResponse::Create(request); in AsyncProcess() local 106 CHK_RET(response == nullptr, RETCODE_FAILURE); in AsyncProcess() 111 response->SetResult(outputInfo); in AsyncProcess() 112 response->SetRetCode(retCode); in AsyncProcess() 113 return callback->OnEvent(ON_PLUGIN_SUCCEED, response); in AsyncProcess()
|
D | sample_plugin_1.cpp | 91 int SamplePlugin1::SyncProcess(IRequest *request, IResponse *&response) in SyncProcess() argument 99 response = IResponse::Create(request); in SyncProcess() 100 CHK_RET(response == nullptr, RETCODE_FAILURE); in SyncProcess() 105 response->SetResult(outputInfo); in SyncProcess() 106 response->SetRetCode(retCode); in SyncProcess()
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
D | SendResponseTest.cpp | 159 Response response = { in FEATURE_OnMessage02() local 163 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02() 169 Response response = { in FEATURE_OnMessage02() local 176 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage02() 199 Response response = { in FEATURE_OnMessage03() local 203 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03() 209 Response response = { in FEATURE_OnMessage03() local 216 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage03() 221 Response response = { in FEATURE_OnMessage03() local 225 int tempCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03() [all …]
|
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
D | sendresponse_func_test.c | 158 Response response = { in FEATURE_OnMessage02() local 162 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage02() 167 Response response = { in FEATURE_OnMessage02() local 174 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage02() 194 Response response = { in FEATURE_OnMessage03() local 198 returnCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03() 203 Response response = { in FEATURE_OnMessage03() local 210 returnCode = SAMGR_SendResponseByIdentity(&featureX->identity, request, &response); in FEATURE_OnMessage03() 215 Response response = { in FEATURE_OnMessage03() local 219 int tempCode = SAMGR_SendResponse(request, &response); in FEATURE_OnMessage03() [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ |
D | web.ets | 139 console.log('getResponseData:' + event.response.getResponseData()); 140 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 141 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 142 console.log('getResponseCode:' + event.response.getResponseCode()); 143 console.log('getReasonMessage:' + event.response.getReasonMessage()); 144 console.log('setResponseData:' + event.response.setResponseData("ResponseData")); 145 console.log('setReasonMessage:' + event.response.setReasonMessage("success")); 146 console.log('setResponseCode:' + event.response.setResponseCode(200)); 147 console.log('setResponseEncoding:' + event.response.setResponseEncoding("UTF-8")); 148 … console.log('setResponseMimeType:' + event.response.setResponseMimeType("application/json")); [all …]
|
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_three/entry/src/main/ets/MainAbility/pages/ |
D | webResourceResponseSet.ets | 244 console.log('getResponseData:' + JSON.stringify(event.response.getResponseData())); 245 this.getResponseDataValue = JSON.stringify(event.response.getResponseData()) 246 console.log('getResponseEncoding:' + event.response.getResponseEncoding()); 247 this.getResponseEncodingValue = event.response.getResponseEncoding() 248 console.log('getResponseMimeType:' + event.response.getResponseMimeType()); 249 this.getResponseMimeTypeValue = event.response.getResponseMimeType() 250 console.log('getResponseCode:' + event.response.getResponseCode()); 251 this.getResponseCodeValue = event.response.getResponseCode() 253 console.log('getReasonMessage:' + event.response.getReasonMessage()); 254 this.getReasonMessageValue = event.response.getReasonMessage() [all …]
|
D | webResourceResponseGet.ets | 279 … console.log('GetRequest getResponseData:' + JSON.stringify(event.response.getResponseData())); 280 this.getResponseDataValue = JSON.stringify(event.response.getResponseData()) 281 console.log('GetRequest getResponseEncoding:' + event.response.getResponseEncoding()); 282 this.getResponseEncodingValue = event.response.getResponseEncoding() 283 console.log('GetRequest getResponseMimeType:' + event.response.getResponseMimeType()); 284 this.getResponseMimeTypeValue = event.response.getResponseMimeType() 285 console.log('GetRequest getResponseCode:' + event.response.getResponseCode()); 286 this.getResponseCodeValue = event.response.getResponseCode() 288 console.log('GetRequest getReasonMessage:' + event.response.getReasonMessage()); 289 this.getReasonMessageValue = event.response.getReasonMessage() [all …]
|
/test/xts/tools/sample/AppSampleD/entry/src/main/ets/controller/ |
D | ChatController.ts | 44 …let response = await this.networkModel.request(Constant.ACTION_SEND_MESSAGE, http.RequestMethod.PO… 46 Logger.info(TAG, `sendMessage response.result->${JSON.stringify(response.result)}`); 47 let data = response.result.toString();
|