/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/ |
A D | Error.cc | 21 Error::Error(std::string code, const std::string message) in Error() function in AlibabaCloud::Error 24 std::string Error::errorCode() const { return errorCode_; } in errorCode() 25 std::string Error::errorMessage() const { return message_; } in errorMessage() 26 std::string Error::host() const { return host_; } in host() 27 std::string Error::requestId() const { return requestId_; } in requestId() 28 std::string Error::detail() const { return detail_; } in detail() 29 void Error::setErrorCode(const std::string &code) { errorCode_ = code; } in setErrorCode() 30 void Error::setErrorMessage(const std::string &message) { message_ = message; } in setErrorMessage() 31 void Error::setHost(const std::string &host) { host_ = host; } in setHost() 32 void Error::setRequestId(const std::string &request) { requestId_ = request; } in setRequestId() [all …]
|
/AliOS-Things-master/components/amp/jslib/src/ |
A D | iot.js | 9 throw new Error('device info error'); 79 throw new Error('get ntp time error'); 88 throw new Error('post props error'); 97 throw new Error('on props error'); 107 throw new Error('post event error'); 116 throw new Error('on service error'); 137 throw new Error('device info error'); 183 throw new Error('add topo error'); 192 throw new Error('get topo error'); 201 throw new Error('remove topo error'); [all …]
|
A D | uart.js | 13 throw new Error("options is invalid"); 39 throw new Error("uart not init"); 51 throw new Error("uart not init"); 58 throw new Error("uart not init"); 64 throw new Error("uart not init"); 74 throw new Error("uart not init"); 81 throw new Error("uart not init");
|
A D | onewire.js | 6 throw new Error("options is invalid"); 27 throw new Error("onewire not init"); 34 throw new Error("onewire not init"); 41 throw new Error("onewire not init"); 48 throw new Error("onewire not init"); 55 throw new Error("onewire not init");
|
A D | gpio.js | 6 throw new Error("options is invalid"); 28 throw new Error("gpio not init"); 35 throw new Error("gpio not init"); 42 throw new Error("gpio not init or params is invalid"); 49 throw new Error("gpio not init"); 56 throw new Error("gpio not init");
|
A D | i2c.js | 9 throw new Error("options is invalid"); 32 throw new Error("i2c not init or params is invalid"); 39 throw new Error("i2c not init or params is invalid"); 46 throw new Error("i2c not init or params is invalid"); 53 throw new Error("i2c not init or params is invalid"); 60 throw new Error("i2c not init");
|
A D | bt_host.js | 8 throw new Error('options is invalid'); 12 throw new Error('bt_host already inited'); 41 throw new Error('bt host not initialed'); 71 throw new Error('bt host not initialed'); 94 throw new Error('bt host not initialed'); 118 throw new Error('bt host not initialed'); 140 throw new Error('bt host not initialed'); 161 throw new Error('bt host not initialed');
|
A D | network.js | 19 throw new Error('devType only support cellular/wifi/ethnet, please check input!'); 200 throw new Error('cellular device isn\'t support saveConfig!'); 206 throw new Error('netmgr save config error'); 212 throw new Error('setIfConfig: cellular device isn\'t support!'); 217 throw new Error('setIfConfig: property dhcp_en undefined and should be bool type!'); 235 throw new Error('netmgr save config error'); 243 throw new Error('cellular device isn\'t support getIfConfig!'); 249 throw new Error('get if config error');
|
A D | spi.js | 10 throw new Error("options is invalid"); 33 throw new Error("spi not init or params is invalid"); 40 throw new Error("spi not init or params is invalid"); 47 throw new Error("spi not init or params is invalid"); 54 throw new Error("spi not init");
|
/AliOS-Things-master/components/amp/libjs/lib/ |
A D | iot.js | 9 throw new Error('device info error'); 77 throw new Error('post props error'); 86 throw new Error('on props error'); 95 throw new Error('post event error'); 104 throw new Error('on service error'); 113 throw new Error('end iot client error'); 124 throw new Error('device info error'); 166 throw new Error('add topo error'); 175 throw new Error('get topo error'); 184 throw new Error('remove topo error'); [all …]
|
A D | timer.js | 6 throw new Error('options is invalid'); 29 throw new Error("timer not init"); 33 throw new Error("set time out failed"); 39 throw new Error("timer not init"); 43 throw new Error("clear time out failed"); 49 throw new Error("timer not init"); 53 throw new Error("set interval failed"); 59 throw new Error("timer not init"); 63 throw new Error("clear interval failed"); 69 throw new Error("timer not init");
|
A D | uart.js | 10 throw new Error("options is invalid"); 36 throw new Error("uart not init"); 43 throw new Error("uart not init"); 50 throw new Error("uart not init"); 56 throw new Error("uart not init"); 65 throw new Error("uart not init"); 72 throw new Error("uart not init");
|
A D | onewire.js | 6 throw new Error("options is invalid"); 27 throw new Error("onewire not init"); 34 throw new Error("onewire not init"); 41 throw new Error("onewire not init"); 48 throw new Error("onewire not init"); 55 throw new Error("onewire not init");
|
A D | gpio.js | 6 throw new Error("options is invalid"); 28 throw new Error("gpio not init"); 35 throw new Error("gpio not init"); 42 throw new Error("gpio not init or params is invalid"); 49 throw new Error("gpio not init"); 56 throw new Error("gpio not init");
|
A D | i2c.js | 6 throw new Error("options is invalid"); 29 throw new Error("i2c not init or params is invalid"); 36 throw new Error("i2c not init or params is invalid"); 43 throw new Error("i2c not init or params is invalid"); 50 throw new Error("i2c not init or params is invalid"); 57 throw new Error("i2c not init");
|
A D | bt_host.js | 9 throw new Error('options is invalid'); 13 throw new Error('bt_host already inited'); 42 throw new Error('bt host not initialed'); 71 throw new Error('bt host not initialed'); 94 throw new Error('bt host not initialed'); 118 throw new Error('bt host not initialed'); 140 throw new Error('bt host not initialed'); 161 throw new Error('bt host not initialed');
|
A D | spi.js | 6 throw new Error("options is invalid"); 28 throw new Error("spi not init or params is invalid"); 35 throw new Error("spi not init or params is invalid"); 42 throw new Error("spi not init or params is invalid"); 49 throw new Error("spi not init");
|
A D | can.js | 10 throw new Error('options is invalid'); 33 throw new Error('can not init'); 40 throw new Error("can not init"); 49 throw new Error('can not init or params is invalid'); 56 throw new Error('can not init');
|
/AliOS-Things-master/components/amp/test/ |
A D | test_kv.js | 6 throw new Error("[failed] require(\'kv\')"); 12 throw new Error("[failed] kv.setStorageSync()"); 20 throw new Error("[failed] kv.getStorageSync()"); 23 throw new Error("[failed] kv.getStorageSync()"); 29 throw new Error("[failed] kv modify"); 33 throw new Error("[failed] kv modify"); 39 throw new Error("[failed] kv.removeStorageSync()");
|
A D | test_udp.js | 15 throw new Error("udp: [failed] require(\'udp\')"); 23 throw new Error("udp: [failed] udp instance"); 31 throw new Error("udp: [failed] udp receive message"); 34 throw new Error("udp: [failed] udp receive rinfo"); 55 throw new Error("udp: [failed] udp on error"); 75 throw new Error("udp: [failed] udp send fail"); 82 throw new Error("udp: [failed] udp localPort");
|
A D | test_fs.js | 6 throw new Error("[failed] require(\'fs\')"); 12 throw new Error("[failed] fs.writeSync()"); 20 throw new Error("[failed] fs.readSync()"); 29 throw new Error("[failed] fs.readSync()"); 37 throw new Error("[failed] fs.unlinkSync()");
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/facebody/include/alibabacloud/facebody/ |
A D | FacebodyClient.h | 114 typedef Outcome<Error, Model::AddFaceResult> AddFaceOutcome; 120 typedef Outcome<Error, Model::BlurFaceResult> BlurFaceOutcome; 123 typedef Outcome<Error, Model::BodyPostureResult> BodyPostureOutcome; 129 typedef Outcome<Error, Model::CountCrowdResult> CountCrowdOutcome; 135 typedef Outcome<Error, Model::DeleteFaceResult> DeleteFaceOutcome; 153 typedef Outcome<Error, Model::DetectFaceResult> DetectFaceOutcome; 162 typedef Outcome<Error, Model::DetectMaskResult> DetectMaskOutcome; 180 typedef Outcome<Error, Model::FaceBeautyResult> FaceBeautyOutcome; 183 typedef Outcome<Error, Model::FaceFilterResult> FaceFilterOutcome; 186 typedef Outcome<Error, Model::FaceMakeupResult> FaceMakeupOutcome; [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/imageseg/include/alibabacloud/imageseg/ |
A D | ImagesegClient.h | 78 typedef Outcome<Error, Model::ChangeSkyResult> ChangeSkyOutcome; 84 typedef Outcome<Error, Model::ParseFaceResult> ParseFaceOutcome; 87 typedef Outcome<Error, Model::RefineMaskResult> RefineMaskOutcome; 93 typedef Outcome<Error, Model::SegmentBodyResult> SegmentBodyOutcome; 105 typedef Outcome<Error, Model::SegmentFaceResult> SegmentFaceOutcome; 108 typedef Outcome<Error, Model::SegmentFoodResult> SegmentFoodOutcome; 123 typedef Outcome<Error, Model::SegmentHairResult> SegmentHairOutcome; 126 typedef Outcome<Error, Model::SegmentHeadResult> SegmentHeadOutcome; 129 typedef Outcome<Error, Model::SegmentLogoResult> SegmentLogoOutcome; 135 typedef Outcome<Error, Model::SegmentSkinResult> SegmentSkinOutcome; [all …]
|
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/ |
A D | gps.js | 176 throw new Error('INVALID GSA MODE: ' + mode); 204 throw new Error('INVALID GGA FIX: ' + fix); 218 throw new Error('INVALID GSA FIX: ' + fix); 260 throw new Error('INVALID FAA MODE: ' + faa); 292 throw new Error('Unknown unit: ' + unit); 320 throw new Error("Invalid GGA length: " + str); 366 throw new Error('Invalid GSA length: ' + str); 411 throw new Error('Invalid RMC length: ' + str); 450 throw new Error('Invalid VTG length: ' + str); 501 throw new Error('Invalid GSV length: ' + str); [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/ocr/include/alibabacloud/ocr/ |
A D | OcrClient.h | 82 typedef Outcome<Error, Model::DetectCardScreenshotResult> DetectCardScreenshotOutcome; 85 typedef Outcome<Error, Model::GetAsyncJobResultResult> GetAsyncJobResultOutcome; 88 typedef Outcome<Error, Model::RecognizeAccountPageResult> RecognizeAccountPageOutcome; 91 typedef Outcome<Error, Model::RecognizeBankCardResult> RecognizeBankCardOutcome; 100 typedef Outcome<Error, Model::RecognizeCharacterResult> RecognizeCharacterOutcome; 121 typedef Outcome<Error, Model::RecognizePoiNameResult> RecognizePoiNameOutcome; 124 typedef Outcome<Error, Model::RecognizeQrCodeResult> RecognizeQrCodeOutcome; 127 typedef Outcome<Error, Model::RecognizeStampResult> RecognizeStampOutcome; 130 typedef Outcome<Error, Model::RecognizeTableResult> RecognizeTableOutcome; 145 typedef Outcome<Error, Model::RecognizeVINCodeResult> RecognizeVINCodeOutcome; [all …]
|