Home
last modified time | relevance | path

Searched refs:stringify (Results 1 – 25 of 67) sorted by relevance

123

/base/update/update_app/common/src/main/ets/util/
DNetUtils.ts33 LogUtils.log('NetUtils', 'getDefaultNet data ' + JSON.stringify(netHandle));
35 LogUtils.log('NetUtils', 'getNetCapabilities data ' + JSON.stringify(info));
38 LogUtils.log('NetUtils', 'getNetCapabilities err ' + JSON.stringify(err));
42 LogUtils.log('NetUtils', 'getDefaultNet err ' + JSON.stringify(err));
56 LogUtils.log('NetUtils', 'getDefaultNet data ' + JSON.stringify(netHandle));
58 LogUtils.log('NetUtils', 'getNetCapabilities data ' + JSON.stringify(info));
61 LogUtils.log('NetUtils', 'getNetCapabilities err ' + JSON.stringify(err));
65 LogUtils.log('NetUtils', 'getDefaultNet err ' + JSON.stringify(err));
/base/inputmethod/imf/test/unittest/napi_test/src/
DInputMethodWithAttachTest.js89 console.info(`inputMethod publish finish, err = ${JSON.stringify(err)}`);
120 … console.info(`inputmethod_with_attach_test_showTextInput_001 result: ${JSON.stringify(err)}`);
144 … console.info(`inputmethod_with_attach_test_showTextInput_002 result: ${JSON.stringify(error)}`);
161 … console.info(`inputmethod_with_attach_test_hideTextInput_001 result: ${JSON.stringify(err)}`);
187 … console.info(`inputmethod_with_attach_test_hideTextInput_002 result: ${JSON.stringify(error)}`);
208 … console.info(`inputmethod_with_attach_test_setCallingWindow_001 result: ${JSON.stringify(err)}`);
217 …console.info(`inputmethod_with_attach_test_setCallingWindow_001 result: ${JSON.stringify(error)}`);
241 …console.info(`inputmethod_with_attach_test_setCallingWindow_002 result: ${JSON.stringify(error)}`);
246 …console.info(`inputmethod_with_attach_test_setCallingWindow_002 result: ${JSON.stringify(error)}`);
266 … console.info(`inputmethod_with_attach_test_updateCursor_001 result: ${JSON.stringify(err)}`);
[all …]
DInputMethodTest.js206 console.info(`inputmethod_test_switchInputMethod_001 err: ${JSON.stringify(err.message)}`);
249 …console.info(`inputmethod_test_listCurrentInputMethodSubtype_002 err: ${JSON.stringify(err.message…
266 console.error(`inputmethod_test_listInputMethod_001 err: ${ JSON.stringify(err.message) }`);
299 console.info(`inputmethod_test_listInputMethod_002 err, ${JSON.stringify(err.message)} `);
321 console.info(`inputmethod_test_getInputMethods_001 err, ${JSON.stringify(err.message)} `);
338 console.error(`inputmethod_test_getInputMethods_002 err: ${JSON.stringify(err.message)}`);
366 console.info(`inputmethod_test_getInputMethods_003 err, ${JSON.stringify(err.message)}`);
383 console.error(`inputmethod_test_getInputMethods_004 err, ${JSON.stringify(err.message)}`);
419 …console.info(`inputmethod_test_switchCurrentInputMethodSubtype_001 err, ${JSON.stringify(err.messa…
462 …putmethod_test_imeChange_001 switchCurrentInputMethodSubtype err, ${JSON.stringify(err.message)}`);
[all …]
/base/request/request/test/unittest/common/napi/requestTest/
DRequestJsunit.test.js65 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
71 …====>SUB_REQUEST_DOWNLOAD_API_DOWNLOADTASK_ON_0001 downloadTask: " + JSON.stringify(downloadTask));
105 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
138 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
178 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
216 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
251 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
278 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
305 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
333 downloadConfig = JSON.parse(JSON.stringify(globalDownloadConf));
[all …]
DRequestUploadTest.js280 …console.info("SUB_REQUEST_UPLOAD_API_CALLBACK_0001 uploadConfig: " + JSON.stringify(uploadConfig1)…
283 …le.info("SUB_REQUEST_UPLOAD_API_CALLBACK_0001 progress uploadTask: " + JSON.stringify(uploadTask));
320 …console.info("SUB_REQUEST_UPLOAD_API_PROMISE_0001 UploadConfig: " + JSON.stringify(uploadConfig1));
338 console.error("SUB_REQUEST_UPLOAD_API_PROMISE_0001 error: " + JSON.stringify(e));
358 … console.info("SUB_REQUEST_UPLOAD_API_PROMISE_0002 UploadConfig: " + JSON.stringify(uploadConfig));
373 console.error("SUB_REQUEST_UPLOAD_API_PROMISE_0002 error: " + JSON.stringify(e));
393 … console.info("SUB_REQUEST_UPLOAD_API_PROMISE_0003 UploadConfig: " + JSON.stringify(uploadConfig));
403 console.error("SUB_REQUEST_UPLOAD_API_PROMISE_0003 error: " + JSON.stringify(e));
421 …o("====>SUB_REQUEST_UPLOADFILE_API_PARTIAL_0001 UploadConfig2 = " + JSON.stringify(uploadConfig2));
429 … console.info("====>SUB_REQUEST_UPLOADFILE_API_PARTIAL_0001 tasks0 = " + JSON.stringify(tasks[0])
[all …]
/base/usb/usb_manager/test/native/js_unittest/
DUsbCoreJsunitEx.test.js75 var device = JSON.parse(JSON.stringify(gDeviceList[0]));
83 console.info('usb case connectDevice ret: ' + JSON.stringify(usbDevicePipe) +
112 var device = JSON.parse(JSON.stringify(gDeviceList[0]));
120 console.info('usb case connectDevice ret: ' + JSON.stringify(usbDevicePipe) +
148 var device = JSON.parse(JSON.stringify(gDeviceList[0]));
156 console.info('usb case connectDevice ret: ' + JSON.stringify(usbDevicePipe) +
187 var device = JSON.parse(JSON.stringify(gDeviceList[0]));
195 …console.info('usb case connectDevice ret: ' + JSON.stringify(usbDevicePipe) + ' name ' + device.na…
225 var device = JSON.parse(JSON.stringify(gDeviceList[0]));
233 console.info('usb case connectDevice ret: ' + JSON.stringify(usbDevicePipe) +
[all …]
DUsbCoreJsunit.test.js145 console.info('usb case connectDevice ret: ' + JSON.stringify(gPipe));
164 var tmpPipe = JSON.parse(JSON.stringify(gPipe));
185 var tmpPipe = JSON.parse(JSON.stringify(gPipe));
206 var tmpPipe = JSON.parse(JSON.stringify(gPipe));
229 console.info('usb case closePipe param: ' + JSON.stringify(gPipe));
250 console.info('usb case getRawDescriptor param: ' + JSON.stringify(gPipe));
272 console.info('usb case getFileDescriptor param: ' + JSON.stringify(gPipe));
295 console.info('usb case getFileDescriptor param: ' + JSON.stringify(gPipe));
317 console.info('usb case getFileDescriptor param: ' + JSON.stringify(gPipe));
339 console.info('usb case getFileDescriptor param: ' + JSON.stringify(gPipe));
DCheckEmptyUtils.js26 JSON.stringify(obj) == '{}' || JSON.stringify(obj) == 'undefined');
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/util/
DUsbServiceSwitch.ts51 …console.log(TAG + 'setFunctions: current ' + JSON.stringify(this.curFunc) + 'target: ' + JSON.stri…
53 console.log(TAG + 'setCurrentFunctions success: ' + JSON.stringify(data));
55 console.error(TAG + 'setCurrentFunctions failed: ' + JSON.stringify(err));
DNotificationUtil.ts60 console.error(TAG + 'enableNotification err: ' + JSON.stringify(err));
74 console.log(TAG + `Succeeded in publish. Data ${JSON.stringify(data)}`);
76 console.error(TAG + 'Failed to publish. Cause: ' + JSON.stringify(err));
128 console.error(TAG + 'publishNotificationWithWantAgent error = ' + JSON.stringify(error));
141 console.error(TAG + '=cancel notification err: ' + JSON.stringify(err));
155 console.error(TAG + 'cancel all notification err ' + JSON.stringify(err));
/base/update/update_app/common/src/main/ets/manager/
DUpdateManager.ts46 LogUtils.error('UpdateManager', 'error: ' + JSON.stringify(error));
59 LogUtils.error('UpdateManager', 'err: ' + JSON.stringify(err));
116 LogUtils.error('UpdateManager', 'otaUpdater init fail ' + JSON.stringify(error));
129 this.log(`getOtaStatus result is ${JSON.stringify(result)}`);
142 this.logError(`getOtaStatus error is ${JSON.stringify(err)}`);
161 this.log('getNewVersion result:' + JSON.stringify(result));
168 this.logError('getNewVersion result:' + JSON.stringify(err));
199 this.log('getNewVersionDescription result:' + JSON.stringify(result));
206 this.logError('getNewVersionDescription err:' + JSON.stringify(err));
232 this.log('getCurrentVersionDescription result:' + JSON.stringify(result));
[all …]
/base/request/request/test/unittest/js_test/requestTest/
DRequestTask.test.js327 let tmpConf = JSON.parse(JSON.stringify(globalConf));
344 let tmpConf = JSON.parse(JSON.stringify(globalConf));
362 let tmpConf = JSON.parse(JSON.stringify(globalConf));
380 let tmpConf = JSON.parse(JSON.stringify(globalConf));
429 let conf = JSON.parse(JSON.stringify(globalConf));
477 let conf = JSON.parse(JSON.stringify(globalConf));
495 let conf = JSON.parse(JSON.stringify(globalConf));
514 let conf = JSON.parse(JSON.stringify(globalConf));
532 let conf = JSON.parse(JSON.stringify(globalConf));
582 let tmpConf = JSON.parse(JSON.stringify(globalConf));
[all …]
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
DKeyboardController.ts101 this.addLog(`inputDemo publish ${event} failed, err = ${JSON.stringify(err)}`);
208 …this.addLog(`[inputDemo] publish getEditorAttributeSync editAttribute= ${JSON.stringify(editAttrib…
233 this.addLog(`Failed to hide panel: ${JSON.stringify(err)}`);
239 this.addLog(`Failed to show panel: ${JSON.stringify(err)}`);
244 this.addLog(`failed: ${JSON.stringify(err)}`);
255 this.addLog(`failed: ${JSON.stringify(err)}`);
268 this.addLog(`failed: ${JSON.stringify(err)}`);
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/ServiceExtAbility/
DUsbFunctionSwitchWindowAbility.ts43 console.log('onCreate want: ' + JSON.stringify(want));
55 console.log('onRequest want: ' + JSON.stringify(want));
78 console.log('onConnect want: ' + JSON.stringify(want));
99 console.error(TAG + 'Failed to destroy the window. Cause: ' + JSON.stringify(err));
DUsbDialogAbility.ts37 console.log('onCreate want: ' + JSON.stringify(want));
44 console.log('onConnect want: ' + JSON.stringify(want));
95 … console.error('Failed to hide the non-system floating windows. Cause: ' + JSON.stringify(err));
/base/security/asset/frameworks/definition/src/
Dmacros.rs48 "[FATAL]Type[{}] try from u32[{}] failed.", stringify!($name), v)
58 write!(f, "{}", stringify!($name::$vname))
96 "[FATAL]Type[{}] try from u32[{}] failed.", stringify!($name), v)
106 write!(f, "{}", stringify!($name::$vname))
/base/sensors/sensor/test/unittest/interfaces/js/sensor/
DPedometerJsunit.test.js25 console.info('callback' + JSON.stringify(data));
30 console.info('callback2' + JSON.stringify(data));
47 console.error('exception in, msg:' + JSON.stringify(err))
74 console.info('err:' + JSON.stringify(err));
122 console.error('err:' + JSON.stringify(err));
167 console.error('err:' + JSON.stringify(err));
215 console.error('err:' + JSON.stringify(err));
263 console.error('err:' + JSON.stringify(err));
308 console.error('err:' + JSON.stringify(err));
352 console.error('err:' + JSON.stringify(err));
[all …]
DPedometerDetectionJsunit.test.js25 console.info('callback' + JSON.stringify(data));
30 console.info('callback2' + JSON.stringify(data));
47 console.error('exception in, msg:' + JSON.stringify(err))
74 console.info('err:' + JSON.stringify(err));
122 console.error('err:' + JSON.stringify(err));
167 console.error('err:' + JSON.stringify(err));
215 console.error('err:' + JSON.stringify(err));
263 console.error('err:' + JSON.stringify(err));
308 console.error('err:' + JSON.stringify(err));
352 console.error('err:' + JSON.stringify(err));
[all …]
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/newTestIme/entry/src/main/ets/MainAbility/
DMainAbility.ts34 console.error('Failed to load the content. Cause:' + JSON.stringify(err));
37 console.info('Succeeded in loading the content. Data: ' + JSON.stringify(data))
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/editorBox/entry/src/main/ets/entryability/
DEntryAbility.ts35 …ror(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? '');
38 …0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify(data) ?? '');
/base/inputmethod/imf/services/dialog/entry/src/main/ets/ServiceExtAbility/
DServiceExtAbility.ts67 console.log(TAG + 'commonEvent:' + JSON.stringify(commonEventData.event));
89 …console.info(TAG + 'Succeeded in creating the window. Data: ' + JSON.stringify(this.extensionWin));
91 console.log(TAG + 'windowEvent:' + JSON.stringify(data));
103 console.error('Failed to create the window. Cause: ' + JSON.stringify(exception));
/base/update/update_app/feature/ota/src/main/ets/util/
DChangelogParseUtils.ets61 logError('xmlResult is null! ' + JSON.stringify(xmlResult));
67 logError('root is null! ' + JSON.stringify(root));
83 logError('element is null! ' + JSON.stringify(element));
109 logError('language is null :' + JSON.stringify(element['_attributes']));
118 logError('features is null' + JSON.stringify(languageElement));
130 logError('iconElement is null :' + JSON.stringify(iconElement));
149 logInfo('featuresElement is null' + JSON.stringify(featuresElement));
169 logError('featureElement is null: ' + JSON.stringify(featureElement));
185 logError('featureItem is null: ' + JSON.stringify(featureItem));
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/pages/
DIndex.ets70 console.error('Failed to hide the window. Cause: ' + JSON.stringify(err));
102 console.error('Failed to hide the window. Cause: ' + JSON.stringify(err));
133 console.error('Failed to hide the window. Cause: ' + JSON.stringify(err));
165 console.error('Failed to hide the window. Cause: ' + JSON.stringify(err));
204 // console.log(TAG, 'aboutToAppear want= ' + JSON.stringify(infoWant));
205 …// console.log(TAG, 'want defaultChoose= ' + JSON.stringify(infoWant.parameters["defaultChoose"]));
206 // console.log(TAG, 'want funcSelect= ' + JSON.stringify(infoWant.parameters["funcSelect"]));
209 // console.log(TAG, 'aboutToAppear abilityWant= ' + JSON.stringify(workWant));
210 …// console.log(TAG, 'abilityWant defaultChoose= ' + JSON.stringify(workWant.parameters["defaultCho…
211 …// console.log(TAG, 'abilityWant funcSelect= ' + JSON.stringify(workWant.parameters["funcSelect"])…
[all …]
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/MainAbility/
DMainAbility.ts40 console.error('Failed to load the content. Cause:' + JSON.stringify(err));
43 console.info('Succeeded in loading the content. Data: ' + JSON.stringify(data));
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/TestRunner/
DOpenHarmonyTestRunner.ts26 console.info('addAbilityMonitorCallback : ' + JSON.stringify(err));
52 console.info('executeShellCommand : err : ' + JSON.stringify(err));

123