Home
last modified time | relevance | path

Searched refs:WriteInt32 (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/base/sensors/sensor_lite/services/src/
Dsensor_service.c27 WriteInt32(reply, SENSOR_SERVICE_ID_GetAllSensors); in GetAllSensorsInvoke()
30 WriteInt32(reply, SENSOR_ERROR_UNKNOWN); in GetAllSensorsInvoke()
38 WriteInt32(reply, ret); in GetAllSensorsInvoke()
41 WriteInt32(reply, SENSOR_OK); in GetAllSensorsInvoke()
42 WriteInt32(reply, count); in GetAllSensorsInvoke()
51 WriteInt32(reply, SENSOR_SERVICE_ID_ActivateSensor); in ActivateSensorInvoke()
56 WriteInt32(reply, SENSOR_ERROR_UNKNOWN); in ActivateSensorInvoke()
61 WriteInt32(reply, ret); in ActivateSensorInvoke()
69 WriteInt32(reply, SENSOR_SERVICE_ID_DeactivateSensor); in DeactivateSensorInvoke()
74 WriteInt32(reply, SENSOR_ERROR_UNKNOWN); in DeactivateSensorInvoke()
[all …]
/base/location/services/location_locator/locator/source/
Dlocator_skeleton.cpp84 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in PreGetSwitchState()
89 reply.WriteInt32(errorCode); in PreGetSwitchState()
91 reply.WriteInt32(state); in PreGetSwitchState()
101 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in PreRegisterSwitchCallback()
105 reply.WriteInt32(locatorAbility->RegisterSwitchCallback(client, identity.GetUid())); in PreRegisterSwitchCallback()
121 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in PreStartLocating()
128 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in PreStartLocating()
135 reply.WriteInt32(locatorAbility->StartLocating(requestConfig, callback, identity)); in PreStartLocating()
147 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in PreStopLocating()
153 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in PreStopLocating()
[all …]
/base/telephony/call_manager/services/call_report/src/
Dcall_ability_callback_proxy.cpp39 dataParcel.WriteInt32(length); in OnCallDetailsChange()
63 dataParcel.WriteInt32(length); in OnCallEventChange()
134 dataParcel.WriteInt32(length); in OnReportMmiCodeResult()
151 dataParcel.WriteInt32(static_cast<int32_t>(reportId)); in PackDataParcel()
152 dataParcel.WriteInt32(resultInfo.GetIntValue("result")); in PackDataParcel()
156 dataParcel.WriteInt32(resultInfo.GetIntValue("status")); in PackDataParcel()
157 dataParcel.WriteInt32(resultInfo.GetIntValue("classCw")); in PackDataParcel()
160 dataParcel.WriteInt32(resultInfo.GetIntValue("status")); in PackDataParcel()
161 dataParcel.WriteInt32(resultInfo.GetIntValue("classx")); in PackDataParcel()
163 dataParcel.WriteInt32(resultInfo.GetIntValue("type")); in PackDataParcel()
[all …]
/base/telephony/cellular_call/vendor/ims/services/ims_call/src/
Dims_call_stub.cpp135 reply.WriteInt32(result); in OnDial()
140 reply.WriteInt32(Dial(*callInfo, mode)); in OnDial()
150 reply.WriteInt32(result); in OnHangUp()
153 reply.WriteInt32(HangUp(*callInfo)); in OnHangUp()
163 reply.WriteInt32(result); in OnRejectWithReason()
168 reply.WriteInt32(RejectWithReason(*callInfo, imsRejectReason)); in OnRejectWithReason()
178 reply.WriteInt32(result); in OnAnswer()
181 reply.WriteInt32(Answer(*callInfo)); in OnAnswer()
189 reply.WriteInt32(HoldCall(slotId, callType)); in OnHoldCall()
197 reply.WriteInt32(UnHoldCall(slotId, callType)); in OnUnHoldCall()
[all …]
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_stub.cpp86 reply.WriteInt32(PrivacyError::ERR_PERMISSION_DENIED); in AddPermissionUsedRecordInner()
94 reply.WriteInt32(result); in AddPermissionUsedRecordInner()
100 reply.WriteInt32(PrivacyError::ERR_PERMISSION_DENIED); in StartUsingPermissionInner()
106 reply.WriteInt32(result); in StartUsingPermissionInner()
112 reply.WriteInt32(PrivacyError::ERR_PERMISSION_DENIED); in StartUsingPermissionCallbackInner()
120 reply.WriteInt32(PrivacyError::ERR_READ_PARCEL_FAILED); in StartUsingPermissionCallbackInner()
124 reply.WriteInt32(result); in StartUsingPermissionCallbackInner()
130 reply.WriteInt32(PrivacyError::ERR_PERMISSION_DENIED); in StopUsingPermissionInner()
136 reply.WriteInt32(result); in StopUsingPermissionInner()
142 reply.WriteInt32(PrivacyError::ERR_PERMISSION_DENIED); in RemovePermissionUsedRecordsInner()
[all …]
/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp36 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in OnRemoteRequest()
54 reply.WriteInt32(SetEnable(data.ReadBool())); in OnRemoteRequest()
61 reply.WriteInt32(RefrashRequirements()); in OnRemoteRequest()
69 reply.WriteInt32(RegisterGnssStatusCallback(client, callingUid)); in OnRemoteRequest()
77 reply.WriteInt32(UnregisterGnssStatusCallback(client)); in OnRemoteRequest()
85 reply.WriteInt32(RegisterNmeaMessageCallback(client, callingUid)); in OnRemoteRequest()
93 reply.WriteInt32(UnregisterNmeaMessageCallback(client)); in OnRemoteRequest()
104 reply.WriteInt32(RegisterCachedCallback(requestConfig, callback)); in OnRemoteRequest()
112 reply.WriteInt32(UnregisterCachedCallback(callback)); in OnRemoteRequest()
120 reply.WriteInt32(GetCachedGnssLocationsSize(size)); in OnRemoteRequest()
[all …]
/base/inputmethod/imf/services/src/
Dinput_method_system_ability_stub.cpp48 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in PrepareInputOnRemote()
54 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in PrepareInputOnRemote()
60 reply.WriteInt32(ErrorCode::ERROR_EX_ILLEGAL_ARGUMENT); in PrepareInputOnRemote()
66 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in PrepareInputOnRemote()
73 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in StartInputOnRemote()
79 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StartInputOnRemote()
85 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in ShowCurrentInputOnRemote()
91 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in HideCurrentInputOnRemote()
97 return reply.WriteInt32(ret) ? ErrorCode::NO_ERROR : ErrorCode::ERROR_EX_PARCELABLE; in StopInputSessionOnRemote()
104 reply.WriteInt32(ErrorCode::ERROR_EX_NULL_POINTER); in StopInputOnRemote()
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_stub.cpp71 reply.WriteInt32(AccessTokenError::ERR_PERMISSION_DENIED); in DeleteTokenInfoInner()
76 reply.WriteInt32(result); in DeleteTokenInfoInner()
84 reply.WriteInt32(result); in VerifyAccessTokenInner()
92 reply.WriteInt32(result); in GetDefPermissionInner()
105 reply.WriteInt32(result); in GetDefPermissionsInner()
123 reply.WriteInt32(result); in GetReqPermissionsInner()
139 reply.WriteInt32(INVALID_OPER); in GetSelfPermissionsStateInner()
145 reply.WriteInt32(INVALID_OPER); in GetSelfPermissionsStateInner()
157 reply.WriteInt32(result); in GetSelfPermissionsStateInner()
175 reply.WriteInt32(AccessTokenError::ERR_PERMISSION_DENIED); in GetPermissionFlagInner()
[all …]
/base/telephony/core_service/frameworks/native/src/
Dtelephony_state_registry_proxy.cpp44 if (!in.WriteInt32(slotId)) { in UpdateCellularDataConnectState()
47 if (!in.WriteInt32(dataStatus)) { in UpdateCellularDataConnectState()
50 if (!in.WriteInt32(networkForm)) { in UpdateCellularDataConnectState()
75 if (!in.WriteInt32(slotId)) { in UpdateCellularDataFlow()
78 if (!in.WriteInt32(dataFlowType)) { in UpdateCellularDataFlow()
103 if (!in.WriteInt32(slotId)) { in UpdateCallState()
106 if (!in.WriteInt32(callStatus)) { in UpdateCallState()
134 if (!in.WriteInt32(slotId)) { in UpdateCallStateForSlotId()
137 if (!in.WriteInt32(callId)) { in UpdateCallStateForSlotId()
140 if (!in.WriteInt32(callStatus)) { in UpdateCallStateForSlotId()
[all …]
Dcell_location.cpp30 if (!parcel.WriteInt32(static_cast<int32_t>(CellLocation::CellType::CELL_TYPE_GSM))) { in Marshalling()
33 if (!parcel.WriteInt32(cellId_)) { in Marshalling()
36 if (!parcel.WriteInt32(lac_)) { in Marshalling()
39 if (!parcel.WriteInt32(psc_)) { in Marshalling()
105 if (!parcel.WriteInt32(static_cast<int32_t>(CellLocation::CellType::CELL_TYPE_CDMA))) { in Marshalling()
108 if (!parcel.WriteInt32(baseId_)) { in Marshalling()
111 if (!parcel.WriteInt32(latitude_)) { in Marshalling()
114 if (!parcel.WriteInt32(longitude_)) { in Marshalling()
117 if (!parcel.WriteInt32(nid_)) { in Marshalling()
120 if (!parcel.WriteInt32(sid_)) { in Marshalling()
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer_proxy.cpp38 dataParcel.WriteInt32(slotId); in OnCallStateUpdated()
39 dataParcel.WriteInt32(callState); in OnCallStateUpdated()
63 dataParcel.WriteInt32(slotId); in OnSimStateUpdated()
64 dataParcel.WriteInt32(static_cast<int32_t>(type)); in OnSimStateUpdated()
65 dataParcel.WriteInt32(static_cast<int32_t>(state)); in OnSimStateUpdated()
66 dataParcel.WriteInt32(static_cast<int32_t>(reason)); in OnSimStateUpdated()
94 dataParcel.WriteInt32(slotId); in OnSignalInfoUpdated()
95 dataParcel.WriteInt32(size); in OnSignalInfoUpdated()
121 dataParcel.WriteInt32(slotId); in OnCellInfoUpdated()
131 if (!dataParcel.WriteInt32(size)) { in OnCellInfoUpdated()
[all …]
/base/inputmethod/imf/frameworks/inputmethod_controller/src/
Dinput_data_channel_stub.cpp46 reply.WriteInt32(InsertText(text)); in OnRemoteRequest()
51 reply.WriteInt32(DeleteForward(length)); in OnRemoteRequest()
62 reply.WriteInt32(HandleGetOperation(number, text, GET_TEXT_BEFORE_CURSOR)); in OnRemoteRequest()
69 reply.WriteInt32(HandleGetOperation(number, text, GET_TEXT_AFTER_CURSOR)); in OnRemoteRequest()
80 reply.WriteInt32(SendFunctionKey(funcKey)); in OnRemoteRequest()
85 reply.WriteInt32(MoveCursor(keyCode)); in OnRemoteRequest()
90 reply.WriteInt32(GetEnterKeyType(keyType)); in OnRemoteRequest()
91 reply.WriteInt32(keyType); in OnRemoteRequest()
96 reply.WriteInt32(GetInputPattern(inputPattern)); in OnRemoteRequest()
97 reply.WriteInt32(inputPattern); in OnRemoteRequest()
[all …]
Dinput_data_channel_proxy.cpp53 data.WriteInt32(length); in DeleteForward()
70 data.WriteInt32(length); in DeleteBackward()
88 data.WriteInt32(number); in GetTextBeforeCursor()
103 data.WriteInt32(number); in GetTextAfterCursor()
118 data.WriteInt32(status); in SendKeyboardStatus()
130 data.WriteInt32(funcKey); in SendFunctionKey()
145 data.WriteInt32(keyCode); in MoveCursor()
187 data.WriteInt32(start); in HandleSetSelection()
188 data.WriteInt32(end); in HandleSetSelection()
200 data.WriteInt32(action); in HandleExtendAction()
[all …]
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account_stub.cpp270 reply.WriteInt32(ERR_OSACCOUNT_KIT_READ_LOCALNAME_ERROR); in ProcCreateOsAccount()
276 if (!reply.WriteInt32(result)) { in ProcCreateOsAccount()
295 reply.WriteInt32(ERR_OSACCOUNT_KIT_DOMAIN_NAME_LENGTH_INVALID_ERROR); in ProcCreateOsAccountForDomain()
301 reply.WriteInt32(ERR_OSACCOUNT_KIT_DOMAIN_ACCOUNT_NAME_LENGTH_INVALID_ERROR); in ProcCreateOsAccountForDomain()
308 if (!reply.WriteInt32(result)) { in ProcCreateOsAccountForDomain()
328 if (!reply.WriteInt32(result)) { in ProcRemoveOsAccount()
344 if (!reply.WriteInt32(result)) { in ProcSetOsAccountName()
366 if (!reply.WriteInt32(result)) { in ProcSetOsAccountConstraints()
382 if (!reply.WriteInt32(result)) { in ProcSetOsAccountProfilePhoto()
398 if (!reply.WriteInt32(result)) { in ProcQueryOsAccountById()
[all …]
/base/telephony/cellular_data/services/src/
Dcellular_data_service_stub.cpp58 if (!reply.WriteInt32(result)) { in OnIsCellularDataEnabled()
76 if (!reply.WriteInt32(result)) { in OnEnableCellularData()
86 if (!reply.WriteInt32(result)) { in OnGetCellularDataState()
98 if (!reply.WriteInt32(result)) { in OnIsCellularDataRoamingEnabled()
118 if (!reply.WriteInt32(result)) { in OnEnableCellularDataRoaming()
129 if (!reply.WriteInt32(result)) { in OnHandleApnChanged()
139 if (!reply.WriteInt32(result)) { in OnGetDefaultCellularDataSlotId()
150 if (!reply.WriteInt32(result)) { in OnSetDefaultCellularDataSlotId()
160 if (!reply.WriteInt32(result)) { in OnGetCellularDataFlowType()
172 if (!reply.WriteInt32(result)) { in OnHasInternetCapability()
[all …]
/base/telephony/cellular_call/test/fuzztest/setpreviewwindow_fuzzer/
Dsetpreviewwindow_fuzzer.cpp78 dataMessageParcel.WriteInt32(maxSize); in SetPreviewWindow()
79 dataMessageParcel.WriteInt32(x); in SetPreviewWindow()
80 dataMessageParcel.WriteInt32(y); in SetPreviewWindow()
81 dataMessageParcel.WriteInt32(z); in SetPreviewWindow()
82 dataMessageParcel.WriteInt32(width); in SetPreviewWindow()
83 dataMessageParcel.WriteInt32(height); in SetPreviewWindow()
104 dataMessageParcel.WriteInt32(maxSize); in SetDisplayWindow()
105 dataMessageParcel.WriteInt32(x); in SetDisplayWindow()
106 dataMessageParcel.WriteInt32(y); in SetDisplayWindow()
107 dataMessageParcel.WriteInt32(z); in SetDisplayWindow()
[all …]
/base/inputmethod/imf/frameworks/inputmethod_ability/src/
Dinput_method_agent_proxy.cpp51 data.WriteInt32(positionX); in OnCursorUpdate()
52 data.WriteInt32(positionY); in OnCursorUpdate()
53 data.WriteInt32(height); in OnCursorUpdate()
70 data.WriteInt32(oldBegin); in OnSelectionChange()
71 data.WriteInt32(oldEnd); in OnSelectionChange()
72 data.WriteInt32(newBegin); in OnSelectionChange()
73 data.WriteInt32(newEnd); in OnSelectionChange()
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_stub.cpp58 reply.WriteInt32(EdmReturnErrCode::PARAM_ERROR); in OnRemoteRequest()
90 reply.WriteInt32(EdmReturnErrCode::PARAM_ERROR); in EnableAdminInner()
99 reply.WriteInt32(retCode); in EnableAdminInner()
107 reply.WriteInt32(EdmReturnErrCode::PARAM_ERROR); in DisableAdminInner()
112 reply.WriteInt32(retCode); in DisableAdminInner()
121 reply.WriteInt32(retCode); in DisableSuperAdminInner()
130 reply.WriteInt32(EdmReturnErrCode::PARAM_ERROR); in HandleDevicePolicyInner()
134 reply.WriteInt32(errCode); in HandleDevicePolicyInner()
160 reply.WriteInt32(EdmReturnErrCode::PARAM_ERROR); in GetEnabledAdminInner()
168 reply.WriteInt32(res); in GetEnabledAdminInner()
[all …]
/base/telephony/core_service/services/core/src/
Dcore_service_stub.cpp155 reply.WriteInt32(result); in OnGetPsRadioTech()
157 reply.WriteInt32(radioTech); in OnGetPsRadioTech()
167 reply.WriteInt32(result); in OnGetCsRadioTech()
169 reply.WriteInt32(radioTech); in OnGetCsRadioTech()
187 reply.WriteInt32(result); in OnGetOperatorName()
199 reply.WriteInt32(result); in OnGetSignalInfoList()
203 reply.WriteInt32(static_cast<int32_t>(signals.size())); in OnGetSignalInfoList()
215 reply.WriteInt32(result); in OnGetNetworkState()
239 if (!reply.WriteInt32(result)) { in OnSetRadioState()
261 if (!reply.WriteInt32(result)) { in OnGetRadioState()
[all …]
/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_service_stub.cpp165 reply.WriteInt32(result); in OnRegisterCallBack()
170 reply.WriteInt32(result); in OnRegisterCallBack()
178 if (!reply.WriteInt32(result)) { in OnUnRegisterCallBack()
202 if (!reply.WriteInt32(result)) { in OnDialCall()
215 if (!reply.WriteInt32(result)) { in OnAcceptCall()
229 if (!reply.WriteInt32(result)) { in OnRejectCall()
241 if (!reply.WriteInt32(result)) { in OnHangUpCall()
252 if (!reply.WriteInt32(result)) { in OnGetCallState()
264 if (!reply.WriteInt32(result)) { in OnHoldCall()
276 if (!reply.WriteInt32(result)) { in OnUnHoldCall()
[all …]
/base/telephony/call_manager/services/bluetooth/src/
Dbluetooth_call_stub.cpp75 if (!reply.WriteInt32(result)) { in OnAnswerCall()
86 if (!reply.WriteInt32(result)) { in OnRejectCall()
97 if (!reply.WriteInt32(result)) { in OnHangUpCall()
108 if (!reply.WriteInt32(result)) { in OnGetBtCallState()
119 if (!reply.WriteInt32(result)) { in OnHoldCall()
130 if (!reply.WriteInt32(result)) { in OnUnHoldCall()
141 if (!reply.WriteInt32(result)) { in OnSwitchCall()
152 if (!reply.WriteInt32(result)) { in OnCombineConference()
163 if (!reply.WriteInt32(result)) { in OnSeparateConference()
176 if (!reply.WriteInt32(result)) { in OnStartDtmf()
[all …]
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/
Dapp_state_data.cpp23 return (parcel.WriteString(bundleName) && parcel.WriteInt32(uid) && parcel.WriteInt32(state) in Marshalling()
24 … && parcel.WriteInt32(pid) && parcel.WriteInt32(accessTokenId) && parcel.WriteBool(isFocused)); in Marshalling()
/base/location/services/location_passive/passive/source/
Dpassive_ability_skeleton.cpp40 reply.WriteInt32(ERRCODE_SERVICE_UNAVAILABLE); in OnRemoteRequest()
51 reply.WriteInt32(SendLocationRequest(*workrecord)); in OnRemoteRequest()
58 reply.WriteInt32(SetEnable(data.ReadBool())); in OnRemoteRequest()
65 reply.WriteInt32(EnableMock()); in OnRemoteRequest()
72 reply.WriteInt32(DisableMock()); in OnRemoteRequest()
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Duser_idm_proxy.cpp40 if (!data.WriteInt32(userId)) { in OpenSession()
65 if (!data.WriteInt32(userId)) { in CloseSession()
87 if (!data.WriteInt32(userId)) { in GetCredentialInfo()
91 if (!data.WriteInt32(authType)) { in GetCredentialInfo()
124 if (!data.WriteInt32(userId)) { in GetSecInfo()
159 if (!data.WriteInt32(userId)) { in AddCredential()
163 if (!data.WriteInt32(credPara.authType)) { in AddCredential()
167 if (!data.WriteInt32(credPara.pinType)) { in AddCredential()
197 if (!data.WriteInt32(userId)) { in UpdateCredential()
201 if (!data.WriteInt32(credPara.authType)) { in UpdateCredential()
[all …]
/base/telephony/call_manager/services/telephony_interaction/src/
Dcall_status_callback_stub.cpp100 if (!reply.WriteInt32(result)) { in OnUpdateCallReportInfo()
130 if (reply.WriteInt32(0)) { in OnUpdateCallsReportInfo()
141 if (!reply.WriteInt32(result)) { in OnUpdateCallsReportInfo()
160 if (!reply.WriteInt32(result)) { in OnUpdateDisconnectedCause()
184 if (!reply.WriteInt32(result)) { in OnUpdateEventReport()
199 if (!reply.WriteInt32(result)) { in OnUpdateRBTPlayInfo()
223 if (!reply.WriteInt32(result)) { in OnUpdateGetWaitingResult()
238 if (!reply.WriteInt32(result)) { in OnUpdateSetWaitingResult()
262 if (!reply.WriteInt32(result)) { in OnUpdateGetRestrictionResult()
278 if (!reply.WriteInt32(error)) { in OnUpdateSetRestrictionResult()
[all …]

12345678910>>...12