Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 59) sorted by relevance

123

/developtools/hdc/hdc_rust/src/host/
Dauth.rs25 use std::io::{self, Error, ErrorKind};
57 return Err(Error::new(ErrorKind::Other, "Recv server-hello failed")); in handshake_with_daemon()
76 return Err(Error::new(ErrorKind::Other, recv.buf.as_str())); in handshake_with_daemon()
78 return Err(Error::new(ErrorKind::Other, "unknown auth type")); in handshake_with_daemon()
81 return Err(Error::new(ErrorKind::Other, "unknown command flag")); in handshake_with_daemon()
113 return Err(Error::new(ErrorKind::Other, "write private key failed")); in create_prikey()
124 Err(Error::new( in get_pubkey_pem()
130 Err(Error::new( in get_pubkey_pem()
141 Err(_) => Err(Error::new(ErrorKind::Other, "rsa private encrypt failed")), in get_signature_b64()
187 Err(Error::new(ErrorKind::Other, "get hostname failed")) in get_hostname()
Dclient.rs24 use std::io::{self, Error, ErrorKind, Write};
88 Err(_) => return Err(Error::new(ErrorKind::Other, "Connect to server failed")), in new()
122 _ => Err(Error::new( in execute_command()
133 return Err(Error::new(ErrorKind::Other, "Recv server-hello failed")); in handshake()
369 Err(io::Error::last_os_error()) in setup_raw_terminal()
385 return Err(io::Error::last_os_error()); in recover_terminal()
Dserver.rs27 use std::io::{self, Error, ErrorKind};
180 return Err(Error::new(ErrorKind::Other, "command not found")); in handle_client()
209 return Err(Error::new(ErrorKind::Other, "Recv server-hello failed")); in unpack_channel_handshake()
219 return Err(Error::new(ErrorKind::Other, "unpack connect key failed")); in unpack_channel_handshake()
Dparser.rs20 use std::io::{self, Error, ErrorKind};
200 Err(Error::new(ErrorKind::Other, "-s content port incorrect")) in check_port()
228 return Err(Error::new(ErrorKind::Other, "-s content ip incorrect")); in parse_server_listen_string()
231 _ => return Err(Error::new(ErrorKind::Other, "-s content ip incorrect")), in parse_server_listen_string()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dcontent.js31 …throw Error("A data binding parsing error occurred. Do not use the reserved:" + expression).message
57 …throw internalKeyWords.test(expression) ? Error("An event parsing error occurred. Do not use the r…
58 Error("An event parsing error occurred:" + expression).message
60 …throw internalKeyWords.test(expression) ? Error("A data binding parsing error occurred. Do not use…
61 Error("A data binding parsing error occurred:" + expression).message
/developtools/hdc/hdc_rust/src/transfer/
Dtcp.rs23 use std::io::{self, Error, ErrorKind};
41 return Err(Error::new(ErrorKind::ConnectionAborted, "peer shutdown")); in read_frame()
47 return Err(Error::new(ErrorKind::Other, "read tcp failed")); in read_frame()
64 return Err(Error::new(ErrorKind::Other, "Packet size incorrect")); in unpack_task_message()
75 return Err(Error::new(ErrorKind::Other, "unknown command")); in unpack_task_message()
Dbase.rs27 use std::io::{self, Error, ErrorKind};
93 return Err(Error::new(ErrorKind::Other, "Packet size incorrect")); in unpack_task_message_lock()
104 return Err(Error::new(ErrorKind::Other, "unknown command")); in unpack_task_message_lock()
191 return Err(Error::new(ErrorKind::Other, "Packet size incorrect")); in unpack_task_message()
202 return Err(Error::new(ErrorKind::Other, "unknown command")); in unpack_task_message()
Dusb.rs31 use std::io::{self, Error, ErrorKind};
131 return Err(Error::new( in check_protocol_head()
/developtools/integration_verification/tools/fotff/rec/
Dflashandtest.go24 ….Errorf("Failed to flash version %s to device %s, error: %s", opt.Version, opt.Device, err.Error())
30 logrus.Errorf("Failed to prepare test, error: %s", err.Error())
38 logrus.Errorf("Failed to run all test cases on device %s, error: %s", opt.Device, err.Error())
57 …Errorf("Failed to run test case %s on device %s, error: %s", opt.TestCase, opt.Device, err.Error())
/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp45 HiLog::Error(LABEL, "HdcJdwpSimulator::SendToStream wrong bufLen."); in SendToStream()
50 HiLog::Error(LABEL, "HdcJdwpSimulator::SendToStream new pDynBuf fail."); in SendToStream()
55 HiLog::Error(LABEL, "HdcJdwpSimulator::SendToStream memcpy fail."); in SendToStream()
61 HiLog::Error(LABEL, "HdcJdwpSimulator::SendToStream alloc reqWrite fail."); in SendToStream()
103 HiLog::Error(LABEL, "ProcessIncoming memset_s fail."); in ProcessIncoming()
107 HiLog::Error(LABEL, "ProcessIncoming memcpy_s fail."); in ProcessIncoming()
153 HiLog::Error(LABEL, "Read error %s\n", buffer); in ReceiveNewFd()
161 HiLog::Error(LABEL, "No pending count\n"); in ReceiveNewFd()
199 HiLog::Error(LABEL, "ConnectJdwp new info fail."); in ConnectJdwp()
204 HiLog::Error(LABEL, "ConnectJdwp memset_s fail."); in ConnectJdwp()
[all …]
/developtools/integration_verification/tools/fotff/tester/common/
Dcommon.go65 logrus.Errorf("Failed to do test task on device %s, error: %s", device, err.Error())
86 logrus.Errorf("Failed to do test case %s on device %s, error: %s", testCase, device, err.Error())
119 …logrus.Errorf("Failed to do test cases %v on device %s, error: %s", testCases, device, err.Error())
131 logrus.Errorf("Failed to read from result file %s, error: %s", resultFile, err.Error())
137 ….Errorf("Failed to unmarshal test result %s into json array, error: %s", string(data), err.Error())
/developtools/hdc/hdc_rust/src/serializer/
Dpack_assemble.rs25 use std::io::{self, Error, ErrorKind};
33 return Err(Error::new( in unpack_payload_head()
48 return Err(Error::new( in unpack_payload_protect()
Dserialize.rs26 use std::io::{self, Error, ErrorKind};
125 return Err(Error::new( in parse()
162 return Err(Error::new( in parse()
227 return Err(Error::new( in parse()
278 return Err(Error::new(ErrorKind::Other, "cffi ParseFileMode failed")); in parse()
311 return Err(Error::new( in parse()
346 return Err(Error::new(ErrorKind::Other, "cffi ParsePayloadHead failed")); in parse()
378 return Err(Error::new(ErrorKind::Other, "cffi ParseUsbHead failed")); in parse()
412 return Err(Error::new(ErrorKind::Other, "cffi ParseUartHead failed")); in parse()
/developtools/ace_js2bundle/ace-loader/
Dmain.product.js57 throw Error('\u001b[31m' + 'ERROR: the manifest.json file format is invalid.' +
72 throw Error(red + 'ERROR: missing app.js' + reset).message;
94 throw Error('ERROR: missing pages').message;
104 throw Error(red + 'ERROR: ' + sourcePath + ' cannot both have hml && visual').message;
130 throw Error(err).message;
Dnpm-install.js34 throw Error("Error: find build fail").message;
51 throw Error(`npm install filed: ${err}`).message;
/developtools/bytrace/interfaces/kits/js/napi/
Dbytrace_napi_common.cpp46 HiLog::Error(LABEL, "Failed to get the type of the argument"); in TypeCheck()
50 HiLog::Error(LABEL, "Type of the parameter is invalid"); in TypeCheck()
134 HiLog::Error(LABEL, "Wrong number of parameters."); in JsStrNumParamsFunc()
155 HiLog::Error(LABEL, "Wrong number of parameters."); in JSTraceStart()
171 HiLog::Error(LABEL, "the third param is not number, not undefined, not null."); in JSTraceStart()
/developtools/hdc/hdc_rust/src/
Dconfig.rs31 type Error = (); typedef
156 type Error = (); typedef
251 type Error = (); typedef
328 LevelFilter::Error,
Dutils.rs20 use std::io::{self, Error, ErrorKind};
89 pub fn error_other(msg: String) -> Error { in error_other() argument
90 Error::new(ErrorKind::Other, msg) in error_other()
/developtools/hdc/hdc_rust/src/daemon/
Dauth.rs31 use std::io::{self, prelude::*, Error, ErrorKind, Write};
79 return Err(Error::new(ErrorKind::Other, "unknown command flag")); in handshake_init()
87 return Err(Error::new(ErrorKind::Other, "Recv server-hello failed")); in handshake_init()
331 return Err(Error::new(ErrorKind::Other, "auth failed")); in validate_signature()
337 return Err(Error::new(ErrorKind::Other, "signature decode failed")); in validate_signature()
343 return Err(Error::new(ErrorKind::Other, "pubkey convert failed")); in validate_signature()
354 Err(Error::new(ErrorKind::Other, "signature not match")) in validate_signature()
Dtask.rs29 use std::io::{self, Error, ErrorKind};
78 return Err(Error::new(ErrorKind::Other, "invalid channel id")); in daemon_shell_task()
318 return Err(Error::new( in dispatch_task()
394 _ => Err(Error::new( in dispatch_task()
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DExtension.ts60 Error: string; // load error
119 Error: 'SmartEvent-UI-Error',
/developtools/ace_js2bundle/ace-loader/src/
Dread-json-plugin.js27 return callback(new Error("No file content"));
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DObjectPool.ets65 throw new Error("Object Pool must be instantiated with a capacity greater than 0!");
146 throw new Error("The object passed is already stored in this pool!");
148 …throw new Error("The object to recycle already belongs to poolId " + object.currentOwnerId + ". O…
180 throw new Error("The object passed is already stored in this pool!");
182 …throw new Error("The object to recycle already belongs to poolId " + object.currentOwnerId + ". O…
/developtools/ace_ets2bundle/compiler/
Dnpm-install.js34 throw Error("Error: find build fail").message;
/developtools/ace_js2bundle/ace-loader/src/lite/
Dlite-customize.js84 throw Error(`\u001b[31mError: ${reason} \u001b[39m`).message;

123