/test/xts/acts/sensors/sensor_standard/entry/src/ohosTest/js/test/ |
H A D | SensorOnOffTest.test_newPedometer_Detection.test.js | 54 } 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 D | SensorOnOffTest.test_newPedometer.test.js | 52 } 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 D | SensorOnOffTest.test_oldPedometer_Detection.test.js | 54 } 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 D | SensorOnOffTest.test_oldPedometer.test.js | 51 } 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 D | mock_musl.cpp | 65 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_ErrorCode401/entry/src/ohosTest/js/test/ |
H A D | ActWifiErrorCode401.test.js | 82 }).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/communication/wifi_ErrorCode201/entry/src/ohosTest/js/test/ |
H A D | ActWifiErrorCode201.test.js | 81 } 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/btmanager_errorcode401/entry/src/ohosTest/ets/test/ |
H A D | BtMGattManager401.test.js | 34 } 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...] |
/test/xts/acts/powermgr/battery_manager/entry/src/ohosTest/js/test/ |
H A D | battery_common_event.test.js | 1455 }).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_lite/wifiservice_hal/src/ |
H A D | wifiservice_func_test.c | 49 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 D | publicDeriveCallback.js | 28 .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 D | call_manager_service_proxy.cpp | 38 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 D | publicSignverifyCallback.js | 31 .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 D | GeocoderTest.test.js | 50 }).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 D | LocationTest.test.js | 43 }).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 D | LocationMTest.test.js | 45 }).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 D | GeocoderMTest.test.js | 50 }).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 D | SecurityHuksRSABasicCallbackJsunit.test.js | 52 .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...] |
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hcamera_service_proxy.cpp | 35 int error = Remote()->SendRequest( in NotifyCloseCamera() local 37 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy notifyCloseCamera failed, error: %{public}d", error); in NotifyCloseCamera() 39 return error; in NotifyCloseCamera() 51 int error = Remote()->SendRequest( in NotifyMuteCamera() local 53 CHECK_ERROR_PRINT_LOG(error != ERR_NONE, "HCameraServiceProxy NotifyMuteCamera failed, error: %{public}d", error); in NotifyMuteCamera() 55 return error; in NotifyMuteCamera() 70 int error = Remote()->SendRequest( GetCameras() local 97 int error = Remote()->SendRequest( GetCameraIds() local 119 int error = Remote()->SendRequest( GetCameraAbility() local 137 int error = Remote()->SendRequest( CreateCameraDevice() local 166 int error = Remote()->SendRequest( SetCameraCallback() local 189 int error = Remote()->SendRequest( SetMuteCallback() local 211 int error = Remote()->SendRequest( SetTorchCallback() local 233 int error = Remote()->SendRequest( SetFoldStatusCallback() local 250 int error = Remote()->SendRequest( CreateCaptureSession() local 280 int error = Remote()->SendRequest( CreateDeferredPhotoProcessingSession() local 309 int error = Remote()->SendRequest( CreateDeferredVideoProcessingSession() local 341 int error = Remote()->SendRequest( CreatePhotoOutput() local 375 int error = Remote()->SendRequest( CreatePreviewOutput() local 406 int error = Remote()->SendRequest( CreateDeferredPreviewOutput() local 440 int error = Remote()->SendRequest(static_cast<uint32_t>( CreateDepthDataOutput() local 474 int error = Remote()->SendRequest( CreateMetadataOutput() local 508 int error = Remote()->SendRequest( CreateVideoOutput() local 531 int error = Remote()->SendRequest( SetListenerObject() local 549 int error = Remote()->SendRequest( MuteCamera() local 566 int error = Remote()->SendRequest( MuteCameraPersist() local 581 int error = Remote()->SendRequest( PrelaunchCamera() local 603 int32_t error = Remote()->SendRequest( SetPrelaunchConfig() local 618 int32_t error = Remote()->SendRequest( PreSwitchCamera() local 633 int error = Remote()->SendRequest( IsCameraMuted() local 653 int error = Remote()->SendRequest( SetTorchLevel() local 673 int32_t error = Remote()->SendRequest( AllowOpenByOHSide() local 694 int32_t error = Remote()->SendRequest( NotifyCameraState() local 714 int error = Remote()->SendRequest( SetPeerCallback() local 729 int error = Remote()->SendRequest( UnsetPeerCallback() local 744 int error = Remote()->SendRequest( DestroyStubObj() local 764 int error = Remote()->SendRequest( ProxyForFreeze() local 777 int error = Remote()->SendRequest( ResetAllFreezeStatus() local 791 int error = Remote()->SendRequest( GetDmDeviceInfo() local 807 int error = Remote()->SendRequest( GetCameraOutputStatus() local [all...] |
H A D | hstream_capture_proxy.cpp | 38 int error = Remote()->SendRequest( in Capture() local 40 if (error != ERR_NONE) { in Capture() 41 MEDIA_ERR_LOG("HStreamCaptureProxy Capture failed, error: %{public}d", error); in Capture() 44 return error; in Capture() 54 int error = Remote()->SendRequest( in CancelCapture() local 56 if (error != ERR_NONE) { in CancelCapture() 57 MEDIA_ERR_LOG("HStreamCaptureProxy CancelCapture failed, error: %{public}d", error); in CancelCapture() 60 return error; in CancelCapture() 70 int error = Remote()->SendRequest( ConfirmCapture() local 86 int error = Remote()->SendRequest( Release() local 109 int error = Remote()->SendRequest( SetCallback() local 133 int error = Remote()->SendRequest( SetThumbnail() local 150 int error = Remote()->SendRequest( EnableRawDelivery() local 172 int error = Remote()->SendRequest( SetBufferProducerInfo() local 188 int error = Remote()->SendRequest( DeferImageDeliveryFor() local 203 int error = Remote()->SendRequest( IsDeferredPhotoEnabled() local 218 int error = Remote()->SendRequest( IsDeferredVideoEnabled() local 234 int error = Remote()->SendRequest( SetMovingPhotoVideoCodecType() local [all...] |
H A D | hcamera_device_proxy.cpp | 39 int error = Remote()->SendRequest( in Open() local 41 if (error != ERR_NONE) { in Open() 42 MEDIA_ERR_LOG("HCameraDeviceProxy Open failed, error: %{public}d", error); in Open() 44 return error; in Open() 55 int error = Remote()->SendRequest( in OpenSecureCamera() local 57 if (error != ERR_NONE) { in OpenSecureCamera() 58 MEDIA_ERR_LOG("HCameraDeviceProxy Open failed, error: %{public}d", error); in OpenSecureCamera() 61 return error; in OpenSecureCamera() 71 int error = Remote()->SendRequest( Close() local 87 int error = Remote()->SendRequest( Release() local 110 int error = Remote()->SendRequest( SetCallback() local 131 int error = Remote()->SendRequest( UpdateSetting() local 152 int error = Remote()->SendRequest( SetUsedAsPosition() local 174 int error = Remote()->SendRequest( GetStatus() local 192 int error = Remote()->SendRequest( GetEnabledResults() local 213 int error = Remote()->SendRequest( EnableResult() local 231 int error = Remote()->SendRequest( DisableResult() local [all...] |
/test/xts/acts/communication/btmanager_switchoff/entry/src/ohosTest/ets/test/ |
H A D | btManagerSwitchOff003.test.js | 63 } 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 D | SecurityHuksHmacBasicCallbackJsunit.test.js | 29 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...] |
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
H A D | mock_domain_so_plugin.cpp | 64 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/security/huks/security_huks_reformed_test/utils/param/agree/ |
H A D | publicAgreeCallback.js | 31 .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...] |