Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 2146) sorted by relevance

12345678910>>...86

/test/xts/acts/storage/storagefilejstest/src/main/js/test/
DFile.test.js54 fail: function (data, code) { argument
55 console.info('File_Delete_001 call delete fail, code: ' + code + ', data: ' + data);
78 fail: function (data, code) { argument
79 console.info('File_Delete_002 call delete fail, code: ' + code + ', data: ' + data);
84 fail: function (data, code) { argument
85 console.info('File_Delete_002 call mkdir fail, code: ' + code + ', data: ' + data);
103 fail: function (data, code) { argument
104 console.info('File_Delete_003 call delete fail, code: ' + code + ', data: ' + data);
105 expect(code == 202).assertTrue();
128 fail: function (data, code) { argument
[all …]
/test/xts/acts/communication/wifi_ErrorCode201/src/main/js/test/
DActWifiErrorCode201.test.js81 … console.error(`isWifiActive failed, code is ${error.code}, message is ${error.message}`);
82 expect(error.code).assertEqual("201");
98 console.error(`scan failed, code is ${error.code}, message is ${error.message}`);
99 expect(error.code).assertEqual("201")
115 … console.error(`getScanInfoList failed, code is ${error.code}, message is ${error.message}`);
116 expect(error.code).assertEqual("201")
141 … console.error(`addCandidateConfig promise failed, code ${error.code}, message ${error.message}`);
142 expect(error.code).assertEqual("201")
167 … console.error(`addCandidateConfig callback,code ${error.code}, message ${error.message}`);
168 expect(error.code).assertEqual("201")
[all …]
/test/xts/acts/communication/wifi_ErrorCode401/src/main/js/test/
DActWifiErrorCode401.test.js90 … console.error(`addCandidateConfig promise failed, code ${error.code}, message ${error.message}`);
91 expect(error.code).assertEqual("401")
116 … console.error(`addCandidateConfig callback, code ${error.code}, message ${error.message}`);
117 expect(error.code).assertEqual("401")
123 … console.error(`addCandidateConfig failed, code ${error.code}, message ${error.message}`);
124 expect(error.code).assertEqual("401")
142 … console.error(`removeCandidate promise failed, code ${error.code}, message ${error.message}`);
143 expect(error.code).assertEqual("401")
163 … console.error(`removeCand callback, code ${error.code}, message ${error.message}`);
164 expect(error.code).assertEqual("401")
[all …]
/test/xts/acts/multimedia/avsession/avsession_js_standard/avsessionManager/src/main/js/test/
DAVSessionControllerErrorCode.test.js26 let keyItem = { code: 0x49, pressedTime: 123456789, deviceId: 0 }; property
47 … console.info(`TestLog: session destroy error: code: ${err.code}, message: ${err.message}`);
57 … console.info(`TestLog: session deactivate error: code: ${err.code}, message: ${err.message}`);
68 … console.info(`TestLog: controller destroy error: code: ${err.code}, message: ${err.message}`);
81 expect(error.code).assertEqual(401);
91 expect(error.code).assertEqual(6600103);
102 expect(err.code).assertEqual(6600102);
113 expect(err.code).assertEqual(6600102);
124 expect(error.code).assertEqual(6600103);
134 expect(error.code).assertEqual(401);
[all …]
DAVSessionErrorCode.test.js95 … console.info(`TestLog: session destroy error: code: ${err.code}, message: ${err.message}`);
108 expect(error.code).assertEqual(401);
118 expect(err.code).assertEqual(6600102);
128 expect(error.code).assertEqual(401);
138 expect(err.code).assertEqual(6600102);
153 expect(err.code == 6600101).assertTrue();
155 … console.info(`TestLog: Session create error: code: ${err.code}, message: ${err.message}`);
163 … console.info(`TestLog: Session activate error: code: ${err.code}, message: ${err.message}`);
177 … console.info(`TestLog: Session destroy error: code: ${err.code}, message: ${err.message}`);
186 … console.info(`TestLog: Controller destroy error: code: ${err.code}, message: ${err.message}`);
[all …]
/test/xts/acts/communication/wifi_ErrorCode202/src/main/js/test/
DActWifiErrorCode202.test.js82 … console.error(`enableWifi failed, code is ${error.code}, message is ${error.message}`);
83 expect(error.code).assertEqual("202")
100 … console.error(`disableWifi failed, code is ${error.code}, message is ${error.message}`);
101 expect(error.code).assertEqual("202")
133 …console.error(`addDeviceConfig promise failed, code is ${error.code}, message is ${error.message}`…
134 expect(error.code).assertEqual("202")
151 … console.error(`connectToNetwork failed, code is ${error.code}, message is ${error.message}`);
152 expect(error.code).assertEqual("202")
182 … console.error(`connectToDevice failed, code is ${error.code}, message is ${error.message}`);
183 expect(error.code).assertEqual("202")
[all …]
/test/xts/acts/communication/bluetooth_standard/src/main/js/test/
DBtSpp.test.js108 function serverSocket(code, number) { argument
109 if (code) {
110 console.log('bluetooth error code01: ' + code);
133 function serverSocket(code, number) { argument
134 if (code) {
135 console.log('[bluetooth_js] error code02: ' + code);
158 function serverSocket(code, number) { argument
159 if (code) {
160 console.log('[bluetooth_js] error code03: ' + JSON.stringify(code));
182 function serverSocket(code, number) { argument
[all …]
DBtManagerSpp.test.js112 function serverSocket(code, number) { argument
113 if (code) {
114 console.log('bluetooth error code01: ' + code);
124 console.error(`[bluetooth_js]SPPListen error, code is ${error.code},
139 function serverSocket(code, number) { argument
140 console.log('bluetooth error code: ' + code.code);
141 if (code.code == 0) {
147 function acceptClientSocket(code, number) { argument
148 console.log('bluetooth error code: ' + code.code);
149 if (code.code == 0) {
[all …]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventsubjstest/src/main/js/test/
DHiAppEventSubSecond.test.js32 console.error(`HiAppEventSub30 >code: ${err.code}, message: ${err.message}`);
38 … console.error(`HiAppEventSub30 delay > error code: ${err.code}, error msg: ${err.message}`)
39 expect(err.code == 401).assertTrue()
67 … console.error(`HiAppEventSub31 delay > error code: ${err.code}, error msg: ${err.message}`)
68 expect(err.code == 401).assertTrue()
95 console.error(`HiAppEventSub32 > code: ${err.code}, message: ${err.message}`);
96 expect(err.code == 11100001).assertTrue()
107 … console.error(`HiAppEventSub32 delay > error code: ${err.code}, error msg: ${err.message}`)
132 console.error(`HiAppEventSub33 > code: ${err.code}, message: ${err.message}`);
133 expect(err.code == 11101001).assertTrue()
[all …]
/test/xts/acts/security/cipher/datacipher/cipher/src/main/js/test/Agree/
Dcipher2.test.js73 fail: (data,code) => { argument
74 this.err = `${code}: ${data}`;
75 console.log(`cipher.rsa encrypt fail: ${code}: ${data}`);
99 fail: (data,code) => { argument
100 this.err = `${code}: ${data}`;
101 console.log(`action is invalid, cipher.aes encrypt fail: ${code}: ${data}`);
125 fail: (data,code) => { argument
126 this.err = `${code}: ${data}`;
127 console.log(`action is invalid,cipher.rsa encrypt fail: ${code}: ${data}`);
154 fail: (data,code) => { argument
[all …]
Dcipher1.test.js76 fail: (data, code) => { argument
77 this.err = `${code}: ${data}`;
78 console.log(`action is invalid, cipher.aes encrypt fail: ${code}: ${data}`);
105 fail: (data,code) => { argument
106 this.err = `${code}: ${data}`;
107 console.log(`action is invalid, cipher.aes encrypt fail: ${code}: ${data}`);
134 fail: (data,code) => { argument
135 this.err = `${code}: ${data}`;
136 console.log(`cipher.aes encrypt fail: ${code}: ${data}`);
163 fail: (data,code) => { argument
[all …]
Dhitscipher.test.js71 fail: (data, code) => { argument
72 this.err = `${code}: ${data}`;
73 console.log(`cipher.rsa encrypt fail: ${code}: ${data}`);
86 fail: (data, code) => { argument
87 this.err = `${code}: ${data}`;
88 console.log(`cipher.rsa encrypt fail: ${code}: ${data}`);
115 fail: (data,code) => { argument
116 this.err = `${code}: ${data}`;
117 console.log(`cipher.rsa encrypt fail: ${code}: ${data}`);
133 fail: (data,code) => { argument
[all …]
/test/xts/acts/storage/storageenvironmentjstest/src/main/js/test/
DgetUserDir.test.js41 …console.info('environment_test_getDesktopDir_001 has failed for ' + e.message + ',code:' + e.code);
62 …console.info('environment_test_getDesktopDir_002 has failed for ' + e.message + ',code:' + e.code);
63 if(isIntNum(e.code)){
64 expect(e.code == 13900020 && e.message == "Invalid argunment").assertTrue();
85 …console.info('environment_test_getDesktopDir_003 has failed for ' + e.message + ',code:' + e.code);
86 if(isIntNum(e.code)){
87 expect(e.code == 13900020 && e.message == "Invalid argunment").assertTrue();
108 …le.info('environment_test_getUserDocumentDir_001 has failed for ' + e.message + ',code:' + e.code);
129 …le.info('environment_test_getUserDocumentDir_002 has failed for ' + e.message + ',code:' + e.code);
130 if(e.code == 801){
[all …]
/test/xts/acts/resourceschedule/resourceschedule_standard/workscheduler/src/main/js/test/
DWorkSchedulerMgrJs.test.js71 console.info("----------------error: " + error.code);
93 console.info("----------------error: " + error.code);
115 console.info("----------------error: " + error.code);
137 console.info("----------------error: " + error.code);
159 console.info("----------------error: " + error.code);
182 console.info("----------------error: " + error.code);
205 console.info("----------------error: " + error.code);
228 console.info("----------------error: " + error.code);
250 console.info("----------------error: " + error.code);
272 console.info("----------------error: " + error.code);
[all …]
DWorkScheduler.test.js97 console.info("----------------err: " + err.code);
98 expect(err.code).assertEqual("401");
120 console.info("----------------err: " + err.code)
139 console.info("----------------err: " + err.code);
140 expect(err.code).assertEqual("401");
160 console.info("----------------err: " + err.code);
161 expect(err.code).assertEqual("401");
181 console.info("----------------err: " + err.code);
182 expect(err.code).assertEqual("401");
204 console.info("----------------err: " + err.code);
[all …]
/test/xts/acts/storage/storagestatfsjstest/src/main/js/test/
Dstatvfs.test.js39 …nsole.log('statvfs_test_get_free_size_sync_000 has failed for ' + e.message + ', code: ' + e.code);
59 …nsole.log('statvfs_test_get_free_size_sync_001 has failed for ' + e.message + ', code: ' + e.code);
78 …nsole.log('statvfs_test_get_free_size_sync_002 has failed for ' + e.message + ', code: ' + e.code);
79 expect(e.code == 13900020 && e.message == "Invalid argument").assertTrue();
97 …nsole.log('statvfs_test_get_free_size_sync_003 has failed for ' + e.message + ', code: ' + e.code);
98 expect(e.code == 13900020 && e.message == "Invalid argument").assertTrue();
116 …nsole.log('statvfs_test_get_free_size_sync_005 has failed for ' + e.message + ', code: ' + e.code);
117 expect(e.code == 13900002 && e.message == 'No such file or directory').assertTrue();
138 …sole.log('statvfs_test_get_total_size_sync_000 has failed for ' + e.message + ', code: ' + e.code);
158 …sole.log('statvfs_test_get_total_size_sync_001 has failed for ' + e.message + ', code: ' + e.code);
[all …]
/test/xts/acts/security/cryptoFramework/js_api_test_oh40/src/main/js/test/
DSecuritySignatureVerificationSM2.test.js95 expect(err.code).assertEqual(401);
103 expect(err.code).assertEqual(401);
111 expect(err.code).assertEqual(undefined);
136 expect(err.code).assertEqual(401);
142 expect(err.code).assertEqual(401);
148 expect(err.code).assertEqual(401);
154 expect(err.code).assertEqual(401);
160 expect(err.code).assertEqual(401);
166 expect(err.code).assertEqual(401);
172 expect(err.code).assertEqual(401);
[all …]
/test/xts/acts/telephony/telephonyjstest/netmanager_base/network_nopermission/src/main/js/test/
DHttp.nopermission.test.js33 fail : function(data,code){ argument
34 console.info("NetManager code "+ code);
35 expect(code == 201).assertTrue();
54 fail : function(data,code){ argument
55 console.info("NetManager code "+ code);
56 expect(code == 201).assertTrue();
75 fail : function(data,code){ argument
76 console.info("NetManager code "+ code);
77 expect(code == 201).assertTrue();
94 fail : function(data,code){ argument
[all …]
/test/xts/acts/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/
DHiSysEventErrcode.test.js57 …console.error(`in testHiSysEventApi27 test callback: err.code = ${err.code}, error msg is ${err.me…
58 expect(err.code == 11200001).assertTrue()
67 console.error(`error code: ${error.code}, error msg: ${error.message}`);
95 …console.error(`in testHiSysEventApi28 test callback: err.code = ${err.code}, error msg is ${err.me…
96 expect(err.code == 11200001).assertTrue()
105 console.error(`error code: ${error.code}, error msg: ${error.message}`);
133 …console.error(`in testHiSysEventApi29 test callback: err.code = ${err.code}, error msg is ${err.me…
134 expect(err.code == 11200001).assertTrue()
143 console.error(`error code: ${error.code}, error msg: ${error.message}`);
171 …console.error(`in testHiSysEventApi30 test callback: err.code = ${err.code}, error msg is ${err.me…
[all …]
/test/xts/acts/communication/bluetooth_br/src/main/ets/test/
DBtSocket.test.ets114 function serverSocket(code, number) {
115 if (code) {
116 console.log('bluetooth error code01: ' + code);
126 … console.error(`[bluetooth_js]SPPListen error, code is ${error.code},message is ${error.message}`);
145 function serverSocket(code, number) {
146 if (code) {
147 console.log('bluetooth error code02: ' + code);
156 function acceptClientSocket(code, number) {
157 console.log('bluetooth error code: ' + code.code);
158 if (code.code == 0) {
[all …]
/test/xts/acts/communication/nfc_ErrorCode/src/main/js/test/
DNDEFTag.test.js136 console.info("[NFC_test]ndef1 createNdefMessage errorcode: " + error.code);
137 expect(401).assertEqual(error.code);
171 console.info("[NFC_test]ndef2 createNdefMessage errorcode: " + error.code);
172 expect(401).assertEqual(error.code);
195 console.info("[NFC_test]ndef3 readNdef errorcode: " + error.code);
196 expect(401).assertEqual(error.code);
228 console.info("[NFC_test]ndef4 readNdef errorcode: " + error.code);
229 expect(401).assertEqual(error.code);
258 console.info("[NFC_test]ndef5 writeNdef errorcode: " + error.code);
259 expect(401).assertEqual(error.code);
[all …]
/test/xts/acts/powermgr/display_manager/src/main/js/test/
Dsystem_display.test.js50 fail: (data, code) => { argument
51 … console.log("get_status_test_success_not_must, data: " + data + ", code: " + code);
112 fail: function (data, code) { argument
113 … console.error('handling set keep screen on fail, code:' + code + ', data: ' + data);
136 fail: (data, code) => { argument
137 console.log("set_value_fail, data: " + data + ", code: " + code);
138 expect(code === INPUT_ERROR_CODE_CODE).assertTrue();
160 fail: function (data, code) { argument
161 …ole.error('undefined: original:handling set keep screen on fail, code:' + code + ', data: ' + data…
192 fail: (data, code) => { argument
[all …]
/test/xts/acts/sensors/sensor_standard/src/main/js/test/
DSubscribe_subscribeCompass.test.js66 fail: function (data, code) { argument
67 … console.log("subscribeCompass_SensorJsTest001 is failed, data: " + data + ", code: " + code);
69 expect(code).assertEqual(1001);
92 fail: function (data, code) { argument
93 … console.log("subscribeCompass_SensorJsTest002 is failed, data: " + data + ", code: " + code);
95 expect(code).assertEqual(1001);
114 fail: function (data, code) { argument
115 … console.log("subscribeCompass_SensorJsTest003 is failed, data: " + data + ", code: " + code);
117 expect(code).assertEqual(1001);
136 fail: function (data, code) { argument
[all …]
/test/xts/acts/communication/btmanager_errorcode401/src/main/js/test/
DBtMGattManager401.test.js114 console.error('[bluetooth_js]error.code:'+JSON.stringify(error.code)+
116 expect(error.code).assertEqual('401');
132 console.error(`[bluetooth_js]setBLEMtuSize3 failed, code is ${error.code},
134 expect(error.code).assertEqual('401');
160 console.error(`[bluetooth_js]readCharacteValue1 failed, code is ${error.code},
162 expect(error.code).assertEqual('401');
185 console.error(`[bluetooth_js]readCharacteValue2 failed, code is ${error.code},
187 expect(error.code).assertEqual('401');
225 console.error(`[bluetooth_js]readCharacteValue3 failed, code is ${error.code},
227 expect(error.code).assertEqual('401');
[all …]
/test/xts/acts/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/test/
DShortTimeTaskJS.test.js72 … console.error(`requestSuspendDelay failed. code is ${error.code} message is ${error.message}`);
95 console.info('ShortTermTasksJSTest0200 getRemainingDelayTime error' + error.code);
98 console.error(`promise => Operation getRemainingDelayTime failed. code is ${error.code}
123 … console.info('ShortTermTasksJSTest0300 getRemainingDelayTime error' + err.code);
127 console.error(`promise => Operation getRemainingDelayTime failed. code is ${error.code}
149 console.info('ShortTermTasksJSTest0400 requestSuspendDelay error' + err.code);
152 … console.error(`requestSuspendDelay failed. code is ${error.code} message is ${error.message}`);
175 … console.info('ShortTermTasksJSTest0500 requestSuspendDelay fail, because of :' + error.code);
176 expect(error.code).assertEqual("401");
200 … console.info('ShortTermTasksJSTest0600 requestSuspendDelay fail, because of :' + error.code);
[all …]

12345678910>>...86