Home
last modified time | relevance | path

Searched refs:error (Results 1 - 25 of 2256) sorted by relevance

12345678910>>...91

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dcheck_config.h39 #error "mbed TLS requires a platform with 8-bit chars"
44 #error "MBEDTLS_PLATFORM_C is required on Windows"
57 #error "The NET and TIMING modules are not available for mbed OS - please use the network and timing functions provided by mbed OS"
62 #error "MBEDTLS_DEPRECATED_WARNING only works with GCC and Clang"
66 #error "MBEDTLS_HAVE_TIME_DATE without MBEDTLS_HAVE_TIME does not make sense"
70 #error "MBEDTLS_AESNI_C defined, but not all prerequisites"
74 #error "MBEDTLS_CTR_DRBG_C defined, but not all prerequisites"
78 #error "MBEDTLS_DHM_C defined, but not all prerequisites"
82 #error "MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT defined, but not all prerequisites"
87 #error "MBEDTLS_CMAC_
[all...]
/test/xts/acts/sensors/sensor_standard/entry/src/ohosTest/js/test/
H A DSensorOnOffTest.test_newPedometer_Detection.test.js54 } catch(error) {
55 console.error('SensorJsTest_sensor_57 exception in, msg:' + JSON.stringify(error))
102 .catch((error) => {
103 console.info('SensorJsTest_sensor_57 error:' + JSON.stringify(error));
104 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
133 sensor.getSingleSensor(sensor.SensorId.PEDOMETER_DETECTION, (error, data) => {
134 if (error) {
135 console.error('newPedometerDetection_SensorJsTest00
[all...]
H A DSensorOnOffTest.test_newPedometer.test.js52 } catch(error) {
53 console.error('SensorJsTest_sensor_56 exception in, msg:' + JSON.stringify(error))
101 .catch((error) => {
102 console.info('SensorJsTest_sensor_56 error:' + JSON.stringify(error));
103 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
134 sensor.getSingleSensor(sensor.SensorId.PEDOMETER, (error, data) => {
135 if (error) {
136 console.error('newPedometer_SensorJsTest00
[all...]
H A DSensorOnOffTest.test_oldPedometer_Detection.test.js54 } catch(error) {
55 console.error('SensorJsTest_sensor_17 exception in, msg:' + JSON.stringify(error))
86 .catch((error) => {
87 console.info('SensorJsTest_sensor_17 error:' + JSON.stringify(error));
88 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
117 sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, (error, data) => {
118 if (error) {
119 console.error('PedometerDetection_SensorJsTest00
[all...]
H A DSensorOnOffTest.test_oldPedometer.test.js51 } catch(error) {
52 console.error('SensorJsTest_sensor_18 exception in, msg:' + JSON.stringify(error))
86 .catch((error) => {
87 console.info('SensorJsTest_sensor_18 error:' + JSON.stringify(error));
88 expect(error.code).assertEqual(ERR_NOT_HAVE_PERMISSION);
128 sensor.getSingleSensor(sensor.SensorType.SENSOR_TYPE_ID_PEDOMETER, (error, data) => {
129 if (error) {
130 console.error('Pedometer_SensorJsTest00
[all...]
/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/
H A Dmock_musl.cpp65 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); in AddServerConfig() local
66 if (error == nullptr) { in AddServerConfig()
69 error->code = 0; in AddServerConfig()
70 error->msg.data = nullptr; in AddServerConfig()
71 return error; in AddServerConfig()
76 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); in RemoveServerConfig() local
77 if (error == nullptr) { in RemoveServerConfig()
80 error->code = 0; in RemoveServerConfig()
81 error->msg.data = nullptr; in RemoveServerConfig()
82 return error; in RemoveServerConfig()
88 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccountServerConfig() local
100 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); Auth() local
112 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); AuthWithPopup() local
124 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); AuthWithToken() local
136 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccountInfo() local
148 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAuthStatusInfo() local
160 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); BindAccount() local
171 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); UnbindAccount() local
183 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); UpdateAccountInfo() local
195 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); IsAccountTokenValid() local
207 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccessToken() local
218 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); SetAccountPolicy() local
230 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetServerConfig() local
[all...]
/test/xts/acts/communication/wifi_ErrorCode201/entry/src/ohosTest/js/test/
H A DActWifiErrorCode201.test.js81 } catch(error) {
82 console.error(`scan failed, code is ${error.code}, message is ${error.message}`);
83 expect(error.code).assertEqual("201")
100 } catch(error) {
101 console.error(`getScanInfoList failed, code is ${error.code}, message is ${error.message}`);
102 expect(error
[all...]
/test/xts/acts/communication/wifi_ErrorCode401/entry/src/ohosTest/js/test/
H A DActWifiErrorCode401.test.js82 }).catch((error) => {
83 console.error('[wifi_test]add OPEN CandidateConfig promise failed -> ' + JSON.stringify(error));
84 expect(true).assertEqual( (JSON.stringify(error)) !=null);
87 console.error('[wifi_test]add OPEN CandidateConfig permission failed -> ' + JSON.stringify(err));
123 }catch(error){
124 console.error('[wifi_test]add OPEN CandidateConfig permission failed -> ' + JSON.stringify(error));
125 expect(error.code).assertEqual("401");
142 } catch(error) {
[all...]
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/
H A Dbattery_common_event.test.js1455 }).catch((error) => {
1456 console.error('Subscriber getCode error because: ' + JSON.stringify(error));
1461 }).catch((error) => {
1462 console.error('Subscriber getData error because: ' + JSON.stringify(error));
1466 commonEvent.subscribe(mySubscriber, (error, commonEventData) => {
1467 console.error('er
[all...]
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/
H A DBtMGattManager401.test.js34 } catch (error) {
35 console.info('[bluetooth_js] driver error info:'+ error);
121 } catch(error) {
122 console.error('[bluetooth_js]error.code:'+JSON.stringify(error.code)+
123 'error.message:'+JSON.stringify(error.message));
124 expect(Number(error
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dhibernate.c175 * if so configured, and return an error code if that fails.
303 int error; in create_image() local
305 error = dpm_suspend_end(PMSG_FREEZE); in create_image()
306 if (error) { in create_image()
308 return error; in create_image()
311 error = platform_pre_snapshot(platform_mode); in create_image()
312 if (error || hibernation_test(TEST_PLATFORM)) { in create_image()
316 error = suspend_disable_secondary_cpus(); in create_image()
317 if (error || hibernation_test(TEST_CPUS)) { in create_image()
325 error in create_image()
385 int error; hibernation_snapshot() local
478 int error; resume_target_kernel() local
556 int error; hibernation_restore() local
583 int error; hibernation_platform_enter() local
672 int error; power_down() local
716 int error; load_image_and_restore() local
748 int error; hibernate() local
852 int error; hibernate_quiet_exec() local
965 int error; software_resume() local
1155 int error = 0; disk_store() local
[all...]
/test/xts/acts/communication_lite/wifiservice_hal/src/
H A Dwifiservice_func_test.c49 WifiErrorCode error = GetScanInfoList(info, &checkSize); in WifiScanStateTask() local
50 if (error != WIFI_SUCCESS) { in WifiScanStateTask()
51 printf("WifiScanStateTask:get info fail, error is %d.\n", error); in WifiScanStateTask()
66 WifiErrorCode error = GetLinkedInfo(&linkInfo); in WifiConnectionStateTask() local
67 if (error != WIFI_SUCCESS) { in WifiConnectionStateTask()
68 printf("WifiConnectionChanged:get link info fail, error is %d.\n", error); in WifiConnectionStateTask()
85 WifiErrorCode error = GetStationList(info, &size); in HotspotStateTask() local
86 if (error ! in HotspotStateTask()
214 WifiErrorCode error; WifiServiceFuncTestSuiteSetUp() local
280 WifiErrorCode error = UnRegisterWifiEvent(&g_wifiEventHandler); WifiServiceFuncTestSuiteTearDown() local
299 WifiErrorCode error = EnableWifi(); global() variable
328 WifiErrorCode error = EnableWifi(); global() variable
371 WifiErrorCode error = AddDeviceConfig(&config, &netId); global() variable
409 WifiErrorCode error = AddDeviceConfig(&config, &netId); global() variable
465 WifiErrorCode error = SetHotspotConfig(&config); global() variable
508 WifiErrorCode error = SetHotspotConfig(&config); global() variable
590 WifiErrorCode error = EnableWifi(); global() variable
644 WifiErrorCode error = EnableWifi(); global() variable
672 WifiErrorCode error = EnableWifi(); global() variable
717 WifiErrorCode error = EnableWifi(); global() variable
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/utils/param/derive/
H A DpublicDeriveCallback.js28 .catch(error => {
29 console.error(`callback: generateKeyItem failed, code: ${error.code}, msg: ${error.message}`);
32 } catch (error) {
33 console.error(`callback: generateKeyItem input arg invalid, code: ${error.code}, msg: ${error.message}`);
41 huks.generateKeyItem(keyAlias, huksOptions, function (error, data) {
42 if (error) {
[all...]
/base/telephony/call_manager/frameworks/native/src/
H A Dcall_manager_service_proxy.cpp38 int32_t error = SendRequest(INTERFACE_REGISTER_CALLBACK, dataParcel, replyParcel); in RegisterCallBack() local
39 if (error != TELEPHONY_SUCCESS) { in RegisterCallBack()
40 TELEPHONY_LOGE("Function RegisterCallBack! errCode:%{public}d", error); in RegisterCallBack()
41 return error; in RegisterCallBack()
53 int32_t error = SendRequest(INTERFACE_OBSERVER_ON_CALL_DETAILS_CHANGE); in ObserverOnCallDetailsChange() local
54 if (error != ERR_NONE) { in ObserverOnCallDetailsChange()
55 TELEPHONY_LOGE("function ObserverOnCallDetailsChange failed! errCode:%{public}d", error); in ObserverOnCallDetailsChange()
80 int32_t error = SendRequest(INTERFACE_DIAL_CALL, dataParcel, replyParcel); in DialCall() local
81 if (error != TELEPHONY_SUCCESS) { in DialCall()
82 TELEPHONY_LOGE("function DialCall call failed! errCode:%{public}d", error); in DialCall()
101 int32_t error = SendRequest(INTERFACE_MAKE_CALL, dataParcel, replyParcel); MakeCall() local
119 int32_t error = SendRequest(INTERFACE_ANSWER_CALL, dataParcel, replyParcel); AnswerCall() local
138 int32_t error = SendRequest(INTERFACE_REJECT_CALL, dataParcel, replyParcel); RejectCall() local
155 int32_t error = SendRequest(INTERFACE_DISCONNECT_CALL, dataParcel, replyParcel); HangUpCall() local
177 int32_t error = SendRequest(INTERFACE_HOLD_CALL, dataParcel, replyParcel); HoldCall() local
187 int32_t error = SendRequest(INTERFACE_VOIP_REGISTER_CALLBACK); RegisterVoipCallManagerCallback() local
209 int32_t error = SendRequest(INTERFACE_UNHOLD_CALL, dataParcel, replyParcel); UnHoldCall() local
226 int32_t error = SendRequest(INTERFACE_SWAP_CALL, dataParcel, replyParcel); SwitchCall() local
242 int32_t error = SendRequest(INTERFACE_HAS_CALL, dataParcel, replyParcel); HasCall() local
258 int32_t error = SendRequest(INTERFACE_IS_NEW_CALL_ALLOWED, dataParcel, replyParcel); IsNewCallAllowed() local
279 int32_t error = SendRequest(INTERFACE_SET_MUTE, dataParcel, replyParcel); SetMuted() local
301 int32_t error = SendRequest(INTERFACE_SET_AUDIO_DEVICE, dataParcel, replyParcel); SetAudioDevice() local
317 int32_t error = SendRequest(INTERFACE_IS_RINGING, dataParcel, replyParcel); IsRinging() local
337 int32_t error = SendRequest(INTERFACE_IS_EMERGENCY_CALL, dataParcel, replyParcel); IsInEmergencyCall() local
359 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_START_DTMF, dataParcel, replyParcel); StartDtmf() local
376 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_STOP_DTMF, dataParcel, replyParcel); StopDtmf() local
394 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_POST_DIAL_PROCEED, dataParcel, replyParcel); PostDialProceed() local
411 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_GET_CALL_WAITING, dataParcel, replyParcel); GetCallWaiting() local
429 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SET_CALL_WAITING, dataParcel, replyParcel); SetCallWaiting() local
447 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_GET_CALL_RESTRICTION, dataParcel, replyParcel); GetCallRestriction() local
465 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SET_CALL_RESTRICTION, dataParcel, replyParcel); SetCallRestriction() local
490 int32_t error = SetCallRestrictionPassword() local
509 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_GET_CALL_TRANSFER, dataParcel, replyParcel); GetCallTransferInfo() local
527 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SET_CALL_TRANSFER, dataParcel, replyParcel); SetCallTransferInfo() local
551 int32_t error = CanSetCallTransferTime() local
570 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_SETCALL_PREFERENCEMODE, dataParcel, replyParcel); SetCallPreferenceMode() local
592 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_START_RTT, dataParcel, replyParcel); StartRtt() local
609 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_STOP_RTT, dataParcel, replyParcel); StopRtt() local
626 int32_t error = SendRequest(INTERFACE_COMBINE_CONFERENCE, dataParcel, replyParcel); CombineConference() local
643 int32_t error = SendRequest(INTERFACE_SEPARATE_CONFERENCE, dataParcel, replyParcel); SeparateConference() local
660 int32_t error = SendRequest(INTERFACE_KICK_OUT_CONFERENCE, dataParcel, replyParcel); KickOutFromConference() local
678 int32_t error = SendRequest(INTERFACE_CTRL_CAMERA, dataParcel, replyParcel); ControlCamera() local
702 int32_t error = SendRequest(INTERFACE_SET_PREVIEW_WINDOW, dataParcel, replyParcel); SetPreviewWindow() local
726 int32_t error = SendRequest(INTERFACE_SET_DISPLAY_WINDOW, dataParcel, replyParcel); SetDisplayWindow() local
743 int32_t error = SendRequest(INTERFACE_SET_CAMERA_ZOOM, dataParcel, replyParcel); SetCameraZoom() local
761 int32_t error = SendRequest(INTERFACE_SET_PAUSE_IMAGE, dataParcel, replyParcel); SetPausePicture() local
779 int32_t error = SendRequest(INTERFACE_SET_DEVICE_DIRECTION, dataParcel, replyParcel); SetDeviceDirection() local
801 int32_t error = SendRequest(INTERFACE_IS_EMERGENCY_NUMBER, dataParcel, replyParcel); IsEmergencyPhoneNumber() local
828 int32_t error = SendRequest(INTERFACE_IS_FORMAT_NUMBER, dataParcel, replyParcel); FormatPhoneNumber() local
855 int32_t error = SendRequest(INTERFACE_IS_FORMAT_NUMBER_E164, dataParcel, replyParcel); FormatPhoneNumberToE164() local
876 int32_t error = SendRequest(INTERFACE_GET_MAINID, dataParcel, replyParcel); GetMainCallId() local
897 int32_t error = SendRequest(INTERFACE_GET_SUBCALL_LIST_ID, dataParcel, replyParcel); GetSubCallIdList() local
918 int32_t error = SendRequest(INTERFACE_GET_CALL_LIST_ID_FOR_CONFERENCE, dataParcel, replyParcel); GetCallIdListForConference() local
940 int32_t error = SendRequest(INTERFACE_GET_IMS_CONFIG, dataParcel, replyParcel); GetImsConfig() local
959 int32_t error = SendRequest(INTERFACE_SET_IMS_CONFIG, dataParcel, replyParcel); SetImsConfig() local
977 int32_t error = SendRequest(INTERFACE_GET_IMS_FEATURE_VALUE, dataParcel, replyParcel); GetImsFeatureValue() local
996 int32_t error = SendRequest(INTERFACE_SET_IMS_FEATURE_VALUE, dataParcel, replyParcel); SetImsFeatureValue() local
1014 int32_t error = SendRequest(INTERFACE_UPDATE_CALL_MEDIA_MODE, dataParcel, replyParcel); UpdateImsCallMode() local
1031 int32_t error = SendRequest(INTERFACE_ENABLE_VOLTE, dataParcel, replyParcel); EnableImsSwitch() local
1048 int32_t error = SendRequest(INTERFACE_DISABLE_VOLTE, dataParcel, replyParcel); DisableImsSwitch() local
1065 int32_t error = SendRequest(INTERFACE_IS_VOLTE_ENABLED, dataParcel, replyParcel); IsImsSwitchEnabled() local
1084 int32_t error = SendRequest(INTERFACE_SET_VONR_STATE, dataParcel, replyParcel); SetVoNRState() local
1101 int32_t error = SendRequest(INTERFACE_GET_VONR_STATE, dataParcel, replyParcel); GetVoNRState() local
1120 int32_t error = SendRequest(INTERFACE_JOIN_CONFERENCE, dataParcel, replyParcel); JoinConference() local
1145 int32_t error = SendRequest(INTERFACE_REPORT_OTT_CALL_DETAIL_INFO, dataParcel, replyParcel); ReportOttCallDetailsInfo() local
1162 int32_t error = SendRequest(INTERFACE_REPORT_OTT_CALL_EVENT_INFO, dataParcel, replyParcel); ReportOttCallEventInfo() local
1179 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_CLOSE_UNFINISHED_USSD, dataParcel, replyParcel); CloseUnFinishedUssd() local
1196 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_INPUT_DIALER_SPECIAL_CODE, dataParcel, replyParcel); InputDialerSpecialCode() local
1212 int32_t error = SendRequest( RemoveMissedIncomingCallNotification() local
1230 int32_t error = SendRequest(INTERFACE_SET_VOIP_CALL_STATE, dataParcel, replyParcel); SetVoIPCallState() local
1246 int32_t error = SendRequest(INTERFACE_GET_VOIP_CALL_STATE, dataParcel, replyParcel); GetVoIPCallState() local
1264 int32_t error = SendRequest(INTERFACE_GET_PROXY_OBJECT_PTR, dataParcel, replyParcel); GetProxyObjectPtr() local
1286 int32_t error = SendRequest(CallManagerInterfaceCode::INTERFACE_CANCEL_CALL_UPGRADE, dataParcel, replyParcel); CancelCallUpgrade() local
1303 int32_t error = SendRequest( RequestCameraCapabilities() local
1320 int32_t error = SendRequest(code, dataParcel, replyParcel); SendRequest() local
1350 int32_t error = SendRequest(INTERFACE_SEND_CALLUI_EVENT, dataParcel, replyParcel); SendCallUiEvent() local
1367 int32_t error = SendRequest(INTERFACE_BLUETOOTH_REGISTER_CALLBACKPTR, dataParcel, replyParcel); RegisterBluetoothCallManagerCallbackPtr() local
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/utils/param/signverify/
H A DpublicSignverifyCallback.js31 .catch(error => {
32 console.error(`callback: generateKeyItem failed, code: ${error.code}, msg: ${error.message}`);
35 } catch (error) {
36 console.error(`callback: generateKeyItem input arg invalid, code: ${error.code}, msg: ${error.message}`);
44 huks.generateKeyItem(keyAlias, huksOptions, function (error, data) {
45 if (error) {
[all...]
/test/xts/acts/location/geolocation_standard/entry/src/ohosTest/js/test/
H A DLocationTest.test.js43 }).catch((error) => {
44 console.info("[lbs_js] promise then error." + JSON.stringify(error));
135 } catch (error) {
136 console.info("[lbs_js] getLocationSwitchState callback try err." + JSON.stringify(error));
137 expect(true).assertEqual(JSON.stringify(error) != null);
156 }).catch((error) => {
157 console.info("[lbs_js] getLocationSwitchStateLocSwitch_0004 err." + JSON.stringify(error));
160 } catch (error) {
161 console.info("[lbs_js] getLocationSwitchState callback try err." + JSON.stringify(error));
[all...]
H A DGeocoderTest.test.js50 }).catch((error) => {
51 console.info("[lbs_js] promise then error." + JSON.stringify(error));
126 } catch (error) {
127 console.info("[lbs_js] isGeoServiceAvailable callback err." + JSON.stringify(error));
129 expect(true).assertEqual(JSON.stringify(error) != null);
149 }).catch((error) => {
150 console.info("[lbs_js] promise then error." + JSON.stringify(error));
151 expect(true).assertEqual(JSON.stringify(error) !
[all...]
H A DLocationMTest.test.js45 }).catch((error) => {
46 console.info("[lbs_js] promise then error." + JSON.stringify(error));
137 } catch (error) {
138 console.info("[lbs_js] getLocationSwitchState06 try err." + JSON.stringify(error));
159 } catch (error) {
160 console.info("[lbs_js] locationServiceStateOn07 try err." + JSON.stringify(error));
165 } catch (error) {
166 console.info("[lbs_js] locationServiceStateOff07 try err." + JSON.stringify(error));
194 } catch (error) {
[all...]
H A DGeocoderMTest.test.js50 }).catch((error) => {
51 console.info("[lbs_js] promise then error." + JSON.stringify(error));
117 } catch (error) {
118 console.info('[lbs_js] isGeocoderAvailable err:' + JSON.stringify(error));
120 expect(error.code).assertEqual("801");
146 } catch (error) {
147 console.info("[lbs_js] getAddressesFromLocation4 callback try error:"+ error);
195 }).catch(error
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksRSABasicCallbackJsunit.test.js52 .catch(error => {
53 console.error(`callback: generateKeyItem failed, code: ${error.code}, msg: ${error.message}`);
56 } catch (error) {
57 console.error(`callback: generateKeyItem input arg invalid, code: ${error.code}, msg: ${error.message}`);
65 huks.generateKeyItem(keyAlias, huksOptions, function (error, data) {
66 if (error) {
[all...]
/test/xts/acts/communication/btmanager_switchoff/entry/src/ohosTest/ets/test/
H A DbtManagerSwitchOff003.test.js63 } catch (error) {
64 console.info('[bluetooth_js] driver error info:'+ error);
130 } catch (error) {
131 console.error('[bluetooth_js]getBtConnectionState error.code:'
132 +JSON.stringify(error.code)+ 'error.message:'+JSON.stringify(error.message));
133 expect(Number(error
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/
H A DSecurityHuksHmacBasicCallbackJsunit.test.js29 huks.generateKeyItem(srcKeyAlies, HuksOptions, function (error, data) {
30 if (error) {
31 reject(error);
36 } catch (error) {
45 huks.initSession(srcKeyAlies, HuksOptions, function (error, data) {
46 if (error) {
47 reject(error);
52 } catch (error) {
61 huks.updateSession(handle, HuksOptions, function (error, data) {
62 if (error) {
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/utils/param/agree/
H A DpublicAgreeCallback.js31 .catch(error => {
32 console.error(`callback: generateKeyItem failed, code: ${error.code}, msg: ${error.message}`);
35 } catch (error) {
36 console.error(`callback: generateKeyItem input arg invalid, code: ${error.code}, msg: ${error.message}`);
44 huks.generateKeyItem(keyAlias, huksOptions, function (error, data) {
45 if (error) {
[all...]
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Dmock_domain_so_plugin.cpp64 PluginBussnessError *error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); in Auth() local
65 if (error == nullptr) { in Auth()
74 error->code = 0; in Auth()
75 error->msg.data = nullptr; in Auth()
81 return error; in Auth()
87 PluginBussnessError *error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); in BindAccount() local
88 if (error == nullptr) { in BindAccount()
91 error->code = 0; in BindAccount()
92 error->msg.data = nullptr; in BindAccount()
93 return error; in BindAccount()
100 PluginBussnessError *error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); GetAccountInfo() local
141 PluginBussnessError *error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); IsAuthenticationExpired() local
173 PluginBussnessError *error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); SetAccountPolicy() local
186 PluginBussnessError* error = (PluginBussnessError *)malloc(sizeof(PluginBussnessError)); UpdateAccountInfo() local
[all...]
/test/xts/acts/communication/wifi_p2p/entry/src/ohosTest/js/test/
H A DWifiManagerP2PFunction.test.js92 }).catch((error) => {
93 console.error('[wifi_test] getCurrentP2pGroup promise failed :' + JSON.stringify(error));
94 expect(true).assertEqual(error !=null);
96 }catch(error){
97 console.info("[wifi_test]getCurrentP2pGroup promise error: " + JSON.stringify(error.message));
98 expect(true).assertEqual( (JSON.stringify(error.message)) !=null);
132 }).catch((error) => {
133 console.error('[wifi_tes
[all...]

Completed in 13 milliseconds

12345678910>>...91