/base/theme/screenlock_mgr/interfaces/kits/napi/test/unittest/src/ |
D | Screenlock.test.js | 57 } catch (error) { 58 …console.error("logMessage SUB_MISC_THEME_screenLock_API_0001: error.code : " + error.code + "error… 75 } catch (error) { 76 …console.error("logMessage SUB_MISC_THEME_screenLock_API_0002: error.code : " + error.code + "error… 100 } catch (error) { 101 …console.error("SUB_MISC_THEME_screenLock_API_0003: error.code : " + error.code + "error.message :"… 120 …console.error("SUB_MISC_THEME_screenLock_API_0004: error.code : " + err.code + "error.message :" +… 124 } catch (error) { 125 …console.error("SUB_MISC_THEME_screenLock_API_0004: error.code : " + error.code + "error.message :"… 149 } catch (error) { [all …]
|
/base/sensors/miscdevice/interfaces/plugin/vibrator/test/unittest/ |
D | ExampleJsunit.test.js | 66 function vibrateCallback(error) { argument 67 if (error) { 88 function vibrateCallback(error) { argument 89 if (error) { 110 function vibrateCallback(error) { argument 111 if (error) { 132 function vibrateCallback(error) { argument 133 if (error) { 154 function vibrateCallback(error) { argument 155 if (error) { [all …]
|
/base/telephony/call_manager/frameworks/native/src/ |
D | bluetooth_call_proxy.cpp | 43 … int32_t error = Remote()->SendRequest(INTERFACE_BT_ANSWER_CALL, dataParcel, replyParcel, option); in AnswerCall() local 44 if (error != TELEPHONY_SUCCESS) { in AnswerCall() 45 TELEPHONY_LOGE("function AnswerCall call failed! errCode:%{public}d", error); in AnswerCall() 46 return error; in AnswerCall() 64 … int32_t error = Remote()->SendRequest(INTERFACE_BT_REJECT_CALL, dataParcel, replyParcel, option); in RejectCall() local 65 if (error != TELEPHONY_SUCCESS) { in RejectCall() 66 TELEPHONY_LOGE("function RejectCall call failed! errCode:%{public}d", error); in RejectCall() 67 return error; in RejectCall() 85 …int32_t error = Remote()->SendRequest(INTERFACE_BT_DISCONNECT_CALL, dataParcel, replyParcel, optio… in HangUpCall() local 86 if (error != TELEPHONY_SUCCESS) { in HangUpCall() [all …]
|
D | call_manager_service_proxy.cpp | 43 … int32_t error = remote->SendRequest(INTERFACE_REGISTER_CALLBACK, dataParcel, replyParcel, option); in RegisterCallBack() local 44 if (error != TELEPHONY_SUCCESS) { in RegisterCallBack() 45 TELEPHONY_LOGE("Function RegisterCallBack! errCode:%{public}d", error); in RegisterCallBack() 46 return error; in RegisterCallBack() 65 …int32_t error = remote->SendRequest(INTERFACE_UNREGISTER_CALLBACK, dataParcel, replyParcel, option… in UnRegisterCallBack() local 66 if (error != TELEPHONY_SUCCESS) { in UnRegisterCallBack() 67 TELEPHONY_LOGE("Function RegisterCallBack! errCode:%{public}d", error); in UnRegisterCallBack() 97 int32_t error = remote->SendRequest(INTERFACE_DIAL_CALL, dataParcel, replyParcel, option); in DialCall() local 98 if (error != TELEPHONY_SUCCESS) { in DialCall() 99 TELEPHONY_LOGE("function DialCall call failed! errCode:%{public}d", error); in DialCall() [all …]
|
/base/telephony/call_manager/services/telephony_interaction/src/ |
D | call_status_callback_proxy.cpp | 35 int32_t error = TELEPHONY_ERR_FAIL; in UpdateCallReportInfo() local 45 error = Remote()->SendRequest(UPDATE_CALL_INFO, dataParcel, replyParcel, option); in UpdateCallReportInfo() 46 if (error != TELEPHONY_SUCCESS) { in UpdateCallReportInfo() 58 int32_t error = TELEPHONY_ERR_FAIL; in UpdateCallsReportInfo() local 71 error = Remote()->SendRequest(UPDATE_CALLS_INFO, dataParcel, replyParcel, option); in UpdateCallsReportInfo() 72 if (error != TELEPHONY_SUCCESS) { in UpdateCallsReportInfo() 83 int32_t error = TELEPHONY_ERR_FAIL; in UpdateDisconnectedCause() local 93 error = Remote()->SendRequest(UPDATE_DISCONNECTED_CAUSE, dataParcel, replyParcel, option); in UpdateDisconnectedCause() 94 if (error != TELEPHONY_SUCCESS) { in UpdateDisconnectedCause() 105 int32_t error = TELEPHONY_ERR_FAIL; in UpdateEventResultInfo() local [all …]
|
D | cellular_call_proxy.cpp | 43 … int32_t error = remote->SendRequest(static_cast<uint32_t>(OperationType::DIAL), in, out, option); in Dial() local 44 if (error == ERR_NONE) { in Dial() 47 return error; in Dial() 72 …int32_t error = remote->SendRequest(static_cast<uint32_t>(OperationType::HANG_UP), in, out, option… in HangUp() local 73 if (error == ERR_NONE) { in HangUp() 76 return error; in HangUp() 98 …int32_t error = remote->SendRequest(static_cast<uint32_t>(OperationType::REJECT), in, out, option); in Reject() local 99 if (error == ERR_NONE) { in Reject() 102 return error; in Reject() 124 …int32_t error = remote->SendRequest(static_cast<uint32_t>(OperationType::ANSWER), in, out, option); in Answer() local [all …]
|
D | call_status_callback_stub.cpp | 271 int32_t error = TELEPHONY_ERR_FAIL; in OnUpdateSetRestrictionResult() local 277 error = UpdateSetRestrictionResult(result); in OnUpdateSetRestrictionResult() 278 if (!reply.WriteInt32(error)) { in OnUpdateSetRestrictionResult() 311 int32_t error = TELEPHONY_ERR_FAIL; in OnUpdateSetTransferResult() local 317 error = UpdateSetTransferResult(result); in OnUpdateSetTransferResult() 318 if (!reply.WriteInt32(error)) { in OnUpdateSetTransferResult() 375 int32_t error = TELEPHONY_ERR_FAIL; in OnUpdateSetCallClirResult() local 381 error = UpdateSetCallClirResult(result); in OnUpdateSetCallClirResult() 382 if (!reply.WriteInt32(error)) { in OnUpdateSetCallClirResult() 391 int32_t error = TELEPHONY_ERR_FAIL; in OnStartRttResult() local [all …]
|
/base/sensors/sensor/interfaces/plugin/test/ |
D | ExampleJsunit.test_system.js | 66 console.error('Subscription failed. Code: ' + code + '; Data: ' + data); 72 } catch (error) { 73 console.info('SensorJsTest001 unsubscribe failed' + error); 100 … console.error('SensorJsTest002 Subscription failed. Code: ' + code + '; Data: ' + data); 123 } catch (error) { 124 console.info('SensorJsTest003 Subscription failed' + error); 142 } catch (error) { 143 console.info('SensorJsTest004 Subscription failed' + error); 159 } catch (error) { 160 console.info(error); [all …]
|
/base/telephony/cellular_data/frameworks/native/ |
D | cellular_data_service_proxy.cpp | 36 …int32_t error = Remote()->SendRequest((uint32_t)FuncCode::IS_CELLULAR_DATA_ENABLED, data, reply, o… in IsCellularDataEnabled() local 37 if (error != TELEPHONY_SUCCESS) { in IsCellularDataEnabled() 38 TELEPHONY_LOGE("function IsCellularDataEnabled call failed! errCode:%{public}d", error); in IsCellularDataEnabled() 60 …int32_t error = Remote()->SendRequest((uint32_t)FuncCode::ENABLE_CELLULAR_DATA, data, reply, optio… in EnableCellularData() local 61 if (error != TELEPHONY_SUCCESS) { in EnableCellularData() 62 TELEPHONY_LOGE("function EnableCellularData call failed! errCode:%{public}d", error); in EnableCellularData() 79 …int32_t error = Remote()->SendRequest((uint32_t)FuncCode::GET_CELLULAR_DATA_STATE, data, reply, op… in GetCellularDataState() local 80 if (error != TELEPHONY_SUCCESS) { in GetCellularDataState() 81 TELEPHONY_LOGE("function GetCellularDataState call failed! errCode:%{public}d", error); in GetCellularDataState() 99 …int32_t error = Remote()->SendRequest((uint32_t)FuncCode::IS_DATA_ROAMING_ENABLED, data, reply, op… in IsCellularDataRoamingEnabled() local [all …]
|
/base/telephony/cellular_call/services/ims_service_interaction/src/ |
D | ims_call_callback_proxy.cpp | 44 int32_t error = remote->SendRequest(IMS_DIAL, in, out, option); in DialResponse() local 45 if (error == ERR_NONE) { in DialResponse() 48 return error; in DialResponse() 69 int32_t error = remote->SendRequest(IMS_HANG_UP, in, out, option); in HangUpResponse() local 70 if (error == ERR_NONE) { in HangUpResponse() 73 return error; in HangUpResponse() 94 int32_t error = remote->SendRequest(IMS_REJECT, in, out, option); in RejectWithReasonResponse() local 95 if (error == ERR_NONE) { in RejectWithReasonResponse() 98 return error; in RejectWithReasonResponse() 119 int32_t error = remote->SendRequest(IMS_ANSWER, in, out, option); in AnswerResponse() local [all …]
|
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/ |
D | camera_manager_privacy_proxy.cpp | 47 …int32_t error = Remote()->SendRequest(static_cast<uint32_t>(CAMERA_SERVICE_SET_MUTE_CALLBACK), dat… in SetMuteCallback() local 48 if (error != ERR_NONE) { in SetMuteCallback() 49 ACCESSTOKEN_LOG_ERROR(LABEL, "SendRequest failed, error: %{public}d", error); in SetMuteCallback() 51 return error; in SetMuteCallback() 67 …int32_t error = Remote()->SendRequest(static_cast<uint32_t>(CAMERA_SERVICE_MUTE_CAMERA), data, rep… in MuteCamera() local 68 if (error != ERR_NONE) { in MuteCamera() 69 ACCESSTOKEN_LOG_ERROR(LABEL, "SendRequest failed, error: %{public}d", error); in MuteCamera() 72 error = reply.ReadInt32(); in MuteCamera() 73 ACCESSTOKEN_LOG_DEBUG(LABEL, "MuteCamera Read muteMode is %{public}d", error); in MuteCamera() 74 return error; in MuteCamera() [all …]
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/src/ |
D | faultlog_info_ohos.cpp | 79 goto error; in Unmarshalling() 83 goto error; in Unmarshalling() 87 goto error; in Unmarshalling() 91 goto error; in Unmarshalling() 95 goto error; in Unmarshalling() 99 goto error; in Unmarshalling() 103 goto error; in Unmarshalling() 107 goto error; in Unmarshalling() 111 goto error; in Unmarshalling() 115 goto error; in Unmarshalling() [all …]
|
/base/sensors/sensor/interfaces/plugin/test/unittest/ |
D | ExampleJsunit.test.js | 93 } catch (error) { 94 console.info(error); 95 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 96 expect(error.message).assertEqual(PARAMETER_ERROR_MSG); 133 } catch (error) { 134 console.info(error); 174 } catch (error) { 175 console.info(error); 176 expect(error.code).assertEqual(PARAMETER_ERROR_CODE); 177 expect(error.message).assertEqual(PARAMETER_ERROR_MSG); [all …]
|
/base/security/access_token/services/privacymanager/src/sensitive/audio_manager/ |
D | audio_manager_privacy_proxy.cpp | 36 …int32_t error = Remote()->SendRequest(AudioPolicyCommand::IS_MICROPHONE_MUTE, data, reply, option); in IsMicrophoneMute() local 37 if (error != ERR_NONE) { in IsMicrophoneMute() 38 ACCESSTOKEN_LOG_ERROR(LABEL, "IsMicrophoneMute failed, error: %{public}d", error); in IsMicrophoneMute() 54 …int32_t error = Remote()->SendRequest(AudioPolicyCommand::SET_MICROPHONE_MUTE, data, reply, option… in SetMicrophoneMute() local 55 if (error != ERR_NONE) { in SetMicrophoneMute() 56 ACCESSTOKEN_LOG_ERROR(LABEL, "set microphoneMute failed, error: %d", error); in SetMicrophoneMute() 57 return error; in SetMicrophoneMute() 73 …int error = Remote()->SendRequest(AudioPolicyCommand::SET_MIC_STATE_CHANGE_CALLBACK, data, reply, … in SetMicStateChangeCallback() local 74 if (error != ERR_NONE) { in SetMicStateChangeCallback() 75 ACCESSTOKEN_LOG_ERROR(LABEL, "SetMicStateChangeCallback failed, error: %{public}d", error); in SetMicStateChangeCallback() [all …]
|
/base/location/services/location_locator/locator/source/ |
D | geo_convert_proxy.cpp | 33 int error = ERRCODE_SERVICE_UNAVAILABLE; in GetAddressByCoordinate() local 40 error = SendMsgWithDataReply(GET_FROM_COORDINATE, data, reply); in GetAddressByCoordinate() 42 return error; in GetAddressByCoordinate() 47 int error = ERRCODE_SERVICE_UNAVAILABLE; in GetAddressByLocationName() local 54 error = SendMsgWithDataReply(GET_FROM_LOCATION_NAME_BY_BOUNDARY, data, reply); in GetAddressByLocationName() 56 return error; in GetAddressByLocationName() 61 int error = ERRCODE_SERVICE_UNAVAILABLE; in SendSimpleMsg() local 69 error = SendMsgWithDataReply(msgId, data, reply); in SendSimpleMsg() 70 return error; in SendSimpleMsg() 75 int error = ERRCODE_SERVICE_UNAVAILABLE; in SendMsgWithDataReply() local [all …]
|
D | gnss_ability_proxy.cpp | 40 int error = Remote()->SendRequest(ISubAbility::SEND_LOCATION_REQUEST, data, reply, option); in SendLocationRequest() local 41 LBSLOGD(GNSS, "%{public}s Transact Error = %{public}d", __func__, error); in SendLocationRequest() 56 int error = Remote()->SendRequest(ISubAbility::SET_ENABLE, data, reply, option); in SetEnable() local 57 LBSLOGD(GNSS, "%{public}s Transact Error = %{public}d", __func__, error); in SetEnable() 70 int error = Remote()->SendRequest(ISubAbility::REFRESH_REQUESTS, data, reply, option); in RefrashRequirements() local 71 LBSLOGD(GNSS, "%{public}s Transact Error = %{public}d", __func__, error); in RefrashRequirements() 85 int error = Remote()->SendRequest(ISubAbility::REG_GNSS_STATUS, data, reply, option); in RegisterGnssStatusCallback() local 86 LBSLOGD(GNSS, "%{public}s Transact Error = %{public}d", __func__, error); in RegisterGnssStatusCallback() 100 int error = Remote()->SendRequest(ISubAbility::UNREG_GNSS_STATUS, data, reply, option); in UnregisterGnssStatusCallback() local 101 LBSLOGD(GNSS, "%{public}s Transact Error = %{public}d", __func__, error); in UnregisterGnssStatusCallback() [all …]
|
/base/usb/usb_manager/test/native/js_unittest/ |
D | UsbPortJsunitEx.test.js | 78 }).catch(error => { 79 console.info('usb case setPortRoles error : ' + error); 80 expect(error).assertFalse(); 101 }).catch(error => { 102 console.info('usb case setPortRoles error : ' + error); 103 expect(error).assertFalse(); 124 }).catch(error => { 125 console.info('usb case setPortRoles error : ' + error); 126 expect(error).assertFalse(); 147 }).catch(error => { [all …]
|
/base/theme/wallpaper_mgr/interfaces/kits/napi/test/unittest/src/wallpaper_js/ |
D | Wallpaper.test.js | 96 } catch (error) { 97 console.info(`getColorsSyncTest001 error ${error}`); 116 } catch (error) { 117 console.info(`getColorsSyncTest002 error : ${error}`); 133 } catch (error) { 134 console.info(`getColorsSyncTest003 error : ${error}`); 135 expect(error.code === PARAMETER_ERROR).assertTrue() 150 } catch (error) { 151 console.info(`getColorsSyncTest004 error : ${error}`); 152 expect(error.code === PARAMETER_ERROR).assertTrue() [all …]
|
/base/telephony/core_service/frameworks/native/src/ |
D | i_network_search_callback_stub.cpp | 66 int32_t error = data.ReadInt32(); in OnSetNetworkModeCallback() local 67 OnSetNetworkModeCallback(result, error); in OnSetNetworkModeCallback() 73 int32_t error = data.ReadInt32(); in OnGetNetworkModeCallback() local 74 OnGetNetworkModeCallback(selectionMode, error); in OnGetNetworkModeCallback() 80 int32_t error = data.ReadInt32(); in OnSetRadioStateCallback() local 81 OnSetRadioStateCallback(result, error); in OnSetRadioStateCallback() 87 int32_t error = data.ReadInt32(); in OnGetRadioStateCallback() local 88 OnGetRadioStateCallback(result, error); in OnGetRadioStateCallback() 94 int32_t error = data.ReadInt32(); in OnGetNetworkSearchInformation() local 95 OnGetNetworkSearchInformation(callback, error); in OnGetNetworkSearchInformation() [all …]
|
/base/location/frameworks/native/source/ |
D | locator_proxy.cpp | 47 int error = SendMsgWithReply(GET_SWITCH_STATE, reply); in GetSwitchState() local 48 LBSLOGD(LOCATOR_STANDARD, "Proxy::GetSwitchState Transact ErrCode = %{public}d", error); in GetSwitchState() 50 if (error == NO_ERROR && reply.ReadInt32() == ERRCODE_SUCCESS) { in GetSwitchState() 65 int error = SendMsgWithDataReply(ENABLE_ABILITY, data, reply); in EnableAbility() local 66 LBSLOGD(LOCATOR_STANDARD, "Proxy::EnableAbility Transact ErrCodes = %{public}d", error); in EnableAbility() 77 int error; in SendMsgWithDataReply() local 85 error = remote->SendRequest(msgId, data, reply, option); in SendMsgWithDataReply() 87 return error; in SendMsgWithDataReply() 131 int error = SendRegisterMsgToRemote(REG_SWITCH_CALLBACK, callback, uid); in RegisterSwitchCallback() local 132 … LBSLOGD(LOCATOR_STANDARD, "Proxy::RegisterSwitchCallback Transact ErrCodes = %{public}d", error); in RegisterSwitchCallback() [all …]
|
/base/account/os_account/services/accountmgr/src/ability_manager_adapter/ |
D | ability_manager_adapter.cpp | 68 int error; in DisconnectAbility() local 85 error = abms->SendRequest(IAbilityManager::DISCONNECT_ABILITY, data, reply, option); in DisconnectAbility() 86 if (error != NO_ERROR) { in DisconnectAbility() 87 ACCOUNT_LOGE("Send request error: %{public}d", error); in DisconnectAbility() 88 return error; in DisconnectAbility() 129 int error; in StartUser() local 143 error = abms->SendRequest(IAbilityManager::START_USER, data, reply, option); in StartUser() 144 if (error != NO_ERROR) { in StartUser() 145 ACCOUNT_LOGE("StartUser:SendRequest error: %{public}d", error); in StartUser() 146 return error; in StartUser() [all …]
|
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/ |
D | app_manager_privacy_proxy.cpp | 46 int32_t error = Remote()->SendRequest( in RegisterApplicationStateObserver() local 48 if (error != ERR_NONE) { in RegisterApplicationStateObserver() 49 ACCESSTOKEN_LOG_ERROR(LABEL, "RegisterAppStatus failed, error: %{public}d", error); in RegisterApplicationStateObserver() 69 int32_t error = Remote()->SendRequest( in UnregisterApplicationStateObserver() local 71 if (error != ERR_NONE) { in UnregisterApplicationStateObserver() 72 ACCESSTOKEN_LOG_ERROR(LABEL, "set microphoneMute failed, error: %d", error); in UnregisterApplicationStateObserver() 73 return error; in UnregisterApplicationStateObserver() 87 int32_t error = Remote()->SendRequest( in GetForegroundApplications() local 89 if (error != ERR_NONE) { in GetForegroundApplications() 90 ACCESSTOKEN_LOG_ERROR(LABEL, "GetForegroundApplications failed, error: %{public}d", error); in GetForegroundApplications() [all …]
|
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
D | sys_event_query_rule.cpp | 47 goto error; in Unmarshalling() 50 goto error; in Unmarshalling() 53 goto error; in Unmarshalling() 56 goto error; in Unmarshalling() 59 goto error; in Unmarshalling() 62 error: in Unmarshalling()
|
/base/telephony/call_manager/services/call_report/src/ |
D | call_ability_callback_proxy.cpp | 45 int32_t error = Remote()->SendRequest(UPDATE_CALL_STATE_INFO, dataParcel, replyParcel, option); in OnCallDetailsChange() local 46 if (error != TELEPHONY_SUCCESS) { in OnCallDetailsChange() 47 TELEPHONY_LOGE("update call state info failed, error: %{public}d", error); in OnCallDetailsChange() 69 int32_t error = Remote()->SendRequest(UPDATE_CALL_EVENT, dataParcel, replyParcel, option); in OnCallEventChange() local 70 if (error != TELEPHONY_SUCCESS) { in OnCallEventChange() 71 TELEPHONY_LOGE("update call event failed, error: %{public}d", error); in OnCallEventChange() 94 …int32_t error = Remote()->SendRequest(UPDATE_CALL_DISCONNECTED_CAUSE, dataParcel, replyParcel, opt… in OnCallDisconnectedCause() local 95 if (error != TELEPHONY_SUCCESS) { in OnCallDisconnectedCause() 96 TELEPHONY_LOGE("report call disconnected cause failed, error: %{public}d", error); in OnCallDisconnectedCause() 116 …int32_t error = Remote()->SendRequest(UPDATE_CALL_ASYNC_RESULT_REQUEST, dataParcel, replyParcel, o… in OnReportAsyncResults() local [all …]
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | sys_event_rule.cpp | 47 goto error; in Unmarshalling() 50 goto error; in Unmarshalling() 53 goto error; in Unmarshalling() 56 goto error; in Unmarshalling() 59 goto error; in Unmarshalling() 62 error: in Unmarshalling()
|