Home
last modified time | relevance | path

Searched refs:in (Results 1 - 25 of 387) sorted by relevance

12345678910>>...16

/base/telephony/cellular_call/services/ims_service_interaction/src/
H A Dims_call_callback_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
28 MessageParcel in; in DialResponse() local
29 int32_t ret = WriteCommonInfo(slotId, __FUNCTION__, in, info); in DialResponse()
33 return SendResponseInfo(static_cast<int32_t>(ImsCallCallbackInterfaceCode::IMS_DIAL), in); in DialResponse()
38 MessageParcel in; in HangUpResponse() local
39 int32_t ret = WriteCommonInfo(slotId, __FUNCTION__, in, info); in HangUpResponse()
43 return SendResponseInfo(static_cast<int32_t>(ImsCallCallbackInterfaceCode::IMS_HANG_UP), in); in HangUpResponse()
48 MessageParcel in; in RejectWithReasonResponse() local
49 int32_t ret = WriteCommonInfo(slotId, __FUNCTION__, in, inf in RejectWithReasonResponse()
58 MessageParcel in; AnswerResponse() local
68 MessageParcel in; HoldCallResponse() local
78 MessageParcel in; UnHoldCallResponse() local
88 MessageParcel in; SwitchCallResponse() local
98 MessageParcel in; StartDtmfResponse() local
108 MessageParcel in; SendDtmfResponse() local
121 MessageParcel in; StopDtmfResponse() local
131 MessageParcel in; CallStateChangeReport() local
141 MessageParcel in; GetImsCallsDataResponse() local
151 MessageParcel in; GetImsCallsDataResponse() local
176 MessageParcel in; SetImsSwitchResponse() local
187 MessageParcel in; GetImsSwitchResponse() local
198 MessageParcel in; GetImsSwitchResponse() local
212 MessageParcel in; CallRingBackReport() local
226 MessageParcel in; SetMuteResponse() local
240 MessageParcel in; LastCallFailReasonResponse() local
258 MessageParcel in; SetClipResponse() local
269 MessageParcel in; GetClipResponse() local
286 MessageParcel in; GetClirResponse() local
303 MessageParcel in; SetClirResponse() local
314 MessageParcel in; GetCallTransferResponse() local
339 MessageParcel in; SetCallTransferResponse() local
350 MessageParcel in; GetCallRestrictionResponse() local
367 MessageParcel in; SetCallRestrictionResponse() local
378 MessageParcel in; GetCallWaitingResponse() local
395 MessageParcel in; SetCallWaitingResponse() local
406 MessageParcel in; SetColrResponse() local
417 MessageParcel in; GetColrResponse() local
434 MessageParcel in; SetColpResponse() local
445 MessageParcel in; GetColpResponse() local
462 MessageParcel in; CombineConferenceResponse() local
472 MessageParcel in; InviteToConferenceResponse() local
483 MessageParcel in; ReceiveUpdateCallMediaModeRequest() local
498 MessageParcel in; ReceiveUpdateCallMediaModeResponse() local
514 MessageParcel in; CallSessionEventChanged() local
529 MessageParcel in; PeerDimensionsChanged() local
543 MessageParcel in; CallDataUsageChanged() local
558 MessageParcel in; CameraCapabilitiesChanged() local
571 SendResponseInfo(int32_t eventId, MessageParcel &in) SendResponseInfo() argument
587 WriteCommonInfo(int32_t slotId, const std::string &funcName, MessageParcel &in) WriteCommonInfo() argument
600 WriteCommonInfo( int32_t slotId, const std::string &funcName, MessageParcel &in, const RadioResponseInfo &info) WriteCommonInfo() argument
614 WriteSsBaseResultCommonInfo( int32_t slotId, const std::string &funcName, MessageParcel &in, const SsBaseResult &ssResult) WriteSsBaseResultCommonInfo() argument
638 MessageParcel in; CallNvCfgFinishedIndication() local
[all...]
H A Dims_call_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
26 MessageParcel in; in Dial() local
27 if (!in.WriteInterfaceToken(ImsCallProxy::GetDescriptor())) { in Dial()
33 if (!in.WriteRawData((const void *)&callInfo, sizeof(ImsCallInfo))) { in Dial()
39 if (!in.WriteInt32(mode)) { in Dial()
54 int32_t error = remote->SendRequest(static_cast<int32_t>(ImsCallInterfaceCode::IMS_DIAL), in, out, option); in Dial()
66 MessageParcel in; in HangUp() local
67 if (!in.WriteInterfaceToken(ImsCallProxy::GetDescriptor())) { in HangUp()
73 if (!in in HangUp()
98 MessageParcel in; RejectWithReason() local
135 MessageParcel in; Answer() local
167 MessageParcel in; HoldCall() local
177 MessageParcel in; UnHoldCall() local
187 MessageParcel in; SwitchCall() local
197 MessageParcel in; CombineConference() local
207 MessageParcel in; InviteToConference() local
221 MessageParcel in; KickOutFromConference() local
235 MessageParcel in; SendUpdateCallMediaModeRequest() local
254 MessageParcel in; SendUpdateCallMediaModeResponse() local
273 MessageParcel in; CancelCallUpgrade() local
291 MessageParcel in; RequestCameraCapabilities() local
309 MessageParcel in; GetImsCallsDataRequest() local
324 MessageParcel in; GetLastCallFailReason() local
334 MessageParcel in; StartDtmf() local
352 MessageParcel in; SendDtmf() local
370 MessageParcel in; StopDtmf() local
384 MessageParcel in; StartRtt() local
398 MessageParcel in; StopRtt() local
408 MessageParcel in; SetDomainPreferenceMode() local
422 MessageParcel in; GetDomainPreferenceMode() local
432 MessageParcel in; SetImsSwitchStatus() local
446 MessageParcel in; GetImsSwitchStatus() local
456 MessageParcel in; SetImsConfig() local
474 MessageParcel in; SetImsConfig() local
492 MessageParcel in; GetImsConfig() local
506 MessageParcel in; SetImsFeatureValue() local
524 MessageParcel in; GetImsFeatureValue() local
538 MessageParcel in; SetMute() local
552 MessageParcel in; GetMute() local
562 MessageParcel in; ControlCamera() local
581 MessageParcel in; SetPreviewWindow() local
606 MessageParcel in; SetDisplayWindow() local
630 MessageParcel in; SetCameraZoom() local
644 MessageParcel in; SetPausePicture() local
662 MessageParcel in; SetDeviceDirection() local
680 MessageParcel in; SetClip() local
698 MessageParcel in; GetClip() local
712 MessageParcel in; SetClir() local
730 MessageParcel in; GetClir() local
744 MessageParcel in; SetCallTransfer() local
766 MessageParcel in; CanSetCallTransferTime() local
795 MessageParcel in; GetCallTransfer() local
814 MessageParcel in; SetCallRestriction() local
840 MessageParcel in; GetCallRestriction() local
858 MessageParcel in; SetCallWaiting() local
880 MessageParcel in; GetCallWaiting() local
894 MessageParcel in; SetColr() local
912 MessageParcel in; GetColr() local
926 MessageParcel in; SetColp() local
944 MessageParcel in; GetColp() local
962 MessageParcel in; RegisterImsCallCallback() local
976 MessageParcel in; UpdateImsCapabilities() local
1004 MessageParcel in; GetUtImpuFromNetwork() local
1016 WriteCommonInfo(int32_t slotId, std::string funcName, MessageParcel &in) WriteCommonInfo() argument
1029 WriteCommonInfo(int32_t slotId, std::string funcName, MessageParcel &in, int32_t callType) WriteCommonInfo() argument
1042 SendRequest(MessageParcel &in, int32_t eventId) SendRequest() argument
1060 SendRequest(int32_t slotId, MessageParcel &in, int32_t eventId) SendRequest() argument
[all...]
/base/telephony/cellular_call/services/satellite_service_interaction/src/
H A Dsatellite_call_callback_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
29 MessageParcel in; in DialSatelliteResponse() local
30 int32_t ret = WriteCommonInfo(slotId, __FUNCTION__, in, info); in DialSatelliteResponse()
34 return SendResponseInfo(static_cast<int32_t>(SatelliteCallCallbackInterfaceCode::SATELLITE_DIAL), in); in DialSatelliteResponse()
39 MessageParcel in; in HangUpSatelliteResponse() local
40 int32_t ret = WriteCommonInfo(slotId, __FUNCTION__, in, info); in HangUpSatelliteResponse()
44 return SendResponseInfo(static_cast<int32_t>(SatelliteCallCallbackInterfaceCode::SATELLITE_HANG_UP), in); in HangUpSatelliteResponse()
49 MessageParcel in; in RejectSatelliteResponse() local
50 int32_t ret = WriteCommonInfo(slotId, __FUNCTION__, in, inf in RejectSatelliteResponse()
59 MessageParcel in; AnswerSatelliteResponse() local
69 MessageParcel in; CallStateChangeReport() local
79 MessageParcel in; GetSatelliteCallsDataResponse() local
90 MessageParcel in; GetSatelliteCallsDataResponse() local
118 SendResponseInfo(int32_t eventId, MessageParcel &in) SendResponseInfo() argument
133 WriteCommonInfo(int32_t slotId, const std::string &funcName, MessageParcel &in) WriteCommonInfo() argument
146 WriteCommonInfo( int32_t slotId, const std::string &funcName, MessageParcel &in, const RadioResponseInfo &info) WriteCommonInfo() argument
160 WriteSsBaseResultCommonInfo( int32_t slotId, const std::string &funcName, MessageParcel &in, const SsBaseResult &ssResult) WriteSsBaseResultCommonInfo() argument
[all...]
H A Dsatellite_call_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
26 MessageParcel in; in Dial() local
27 if (!in.WriteInterfaceToken(SatelliteCallProxy::GetDescriptor())) { in Dial()
33 if (!in.WriteRawData((const void *)&callInfo, sizeof(SatelliteCallInfo))) { in Dial()
39 if (!in.WriteInt32(mode)) { in Dial()
55 remote->SendRequest(static_cast<int32_t>(SatelliteCallInterfaceCode::SATELLITE_DIAL), in, out, option); in Dial()
67 MessageParcel in; in HangUp() local
68 if (!in.WriteInterfaceToken(SatelliteCallProxy::GetDescriptor())) { in HangUp()
74 if (!in in HangUp()
106 MessageParcel in; Reject() local
138 MessageParcel in; Answer() local
169 MessageParcel in; GetSatelliteCallsDataRequest() local
183 MessageParcel in; RegisterSatelliteCallCallback() local
195 WriteCommonInfo(int32_t slotId, std::string funcName, MessageParcel &in) WriteCommonInfo() argument
208 WriteCommonInfo(int32_t slotId, std::string funcName, MessageParcel &in, int32_t callType) WriteCommonInfo() argument
221 SendRequest(MessageParcel &in, int32_t eventId) SendRequest() argument
239 SendRequest(int32_t slotId, MessageParcel &in, int32_t eventId) SendRequest() argument
[all...]
/base/inputmethod/imf/frameworks/js/napi/common/
H A Djs_util.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
23 napi_valuetype JsUtil::GetType(napi_env env, napi_value in) in GetType() argument
26 napi_typeof(env, in, &valueType); in GetType()
29 bool JsUtil::GetValue(napi_env env, napi_value in, std::string &out) in GetValue() argument
32 auto status = napi_get_value_string_utf8(env, in, nullptr, 0, &size); in GetValue()
37 status = napi_get_value_string_utf8(env, in, const_cast<char *>(out.data()), size + 1, &size); in GetValue()
42 bool JsUtil::GetValue(napi_env env, napi_value in, std::u16string &out) in GetValue() argument
45 bool ret = GetValue(env, in, tempOut); in GetValue()
51 bool JsUtil::GetValue(napi_env env, napi_value in, int32_ in GetValue() argument
55 GetValue(napi_env env, napi_value in, uint32_t &out) GetValue() argument
59 GetValue(napi_env env, napi_value in, int64_t &out) GetValue() argument
63 GetValue(napi_env env, napi_value in, bool &out) GetValue() argument
67 GetValue(napi_env env, napi_value in, double &out) GetValue() argument
71 GetValue(napi_env env, napi_value in) GetValue() argument
75 GetValue(napi_env env, const std::string &in) GetValue() argument
81 GetValue(napi_env env, int32_t in) GetValue() argument
87 GetValue(napi_env env, uint32_t in) GetValue() argument
93 GetValue(napi_env env, int64_t in) GetValue() argument
103 GetValue(napi_env env, bool in) GetValue() argument
[all...]
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
H A Dpake_v2_auth_task_test.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
44 CJson *in = nullptr; in HWTEST_F() local
47 TaskBase *retPtr = CreatePakeV2AuthClientTask(in, out, verInfo); in HWTEST_F()
53 CJson *in = CreateJson(); in HWTEST_F() local
56 TaskBase *retPtr = CreatePakeV2AuthClientTask(in, out, verInfo); in HWTEST_F()
58 FreeJson(in); in HWTEST_F()
63 CJson *in = CreateJson(); in HWTEST_F() local
66 TaskBase *retPtr = CreatePakeV2AuthClientTask(in, out, verInfo); in HWTEST_F()
68 FreeJson(in); in HWTEST_F()
74 CJson *in = CreateJson(); HWTEST_F() local
103 CJson *in = nullptr; HWTEST_F() local
112 CJson *in = CreateJson(); HWTEST_F() local
122 CJson *in = CreateJson(); HWTEST_F() local
133 CJson *in = CreateJson(); HWTEST_F() local
162 CJson *in = nullptr; HWTEST_F() local
171 CJson *in = CreateJson(); HWTEST_F() local
181 CJson *in = CreateJson(); HWTEST_F() local
191 CJson *in = CreateJson(); HWTEST_F() local
201 CJson *in = CreateJson(); HWTEST_F() local
213 CJson *in = CreateJson(); HWTEST_F() local
228 CJson *in = CreateJson(); HWTEST_F() local
245 CJson *in = CreateJson(); HWTEST_F() local
270 CJson *in = nullptr; HWTEST_F() local
279 CJson *in = CreateJson(); HWTEST_F() local
311 CJson *in = nullptr; HWTEST_F() local
321 CJson *in = nullptr; HWTEST_F() local
347 CJson *in = nullptr; HWTEST_F() local
357 CJson *in = nullptr; HWTEST_F() local
368 CJson *in = CreateJson(); HWTEST_F() local
399 CJson *in = nullptr; HWTEST_F() local
409 CJson *in = nullptr; HWTEST_F() local
420 CJson *in = CreateJson(); HWTEST_F() local
436 CJson *in = nullptr; HWTEST_F() local
446 CJson *in = nullptr; HWTEST_F() local
457 CJson *in = CreateJson(); HWTEST_F() local
[all...]
/base/security/certificate_framework/test/unittest/cf_core_test/src/
H A Dcf_object_extension_test.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
75 * @tc.desc: CfExtensionCreate: in is nullptr
83 int32_t ret = CfExtensionCreate(nullptr, &obj); /* in is nullptr */ in HWTEST_F()
115 CfParamSet in; in HWTEST_F() local
116 (void)memset_s(&in, sizeof(in), 0, sizeof(in)); in HWTEST_F()
118 int32_t ret = CfExtensionCheck(nullptr, &in, &out); /* obj is nullptr */ in HWTEST_F()
124 * @tc.desc: CfExtensionCheck: in i
145 CfParamSet in; HWTEST_F() local
161 CfParamSet in; HWTEST_F() local
181 CfParamSet in; HWTEST_F() local
211 CfParamSet in; HWTEST_F() local
227 CfParamSet in; HWTEST_F() local
[all...]
H A Dcf_object_cert_test.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
72 * @tc.desc: CfCertCreate: in is nullptr
79 int32_t ret = CfCertCreate(nullptr, &obj); /* in is nullptr */ in HWTEST_F()
111 CfParamSet in; in HWTEST_F() local
112 (void)memset_s(&in, sizeof(in), 0, sizeof(in)); in HWTEST_F()
114 int32_t ret = CfCertCheck(nullptr, &in, &out); /* obj is nullptr */ in HWTEST_F()
120 * @tc.desc: CfCertCheck: in i
141 CfParamSet in; HWTEST_F() local
157 CfParamSet in; HWTEST_F() local
177 CfParamSet in; HWTEST_F() local
207 CfParamSet in; HWTEST_F() local
223 CfParamSet in; HWTEST_F() local
[all...]
/base/telephony/call_manager/frameworks/native/src/
H A Dcellular_call_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
27 MessageParcel in; in Dial() local
29 if (!in.WriteInterfaceToken(CellularCallProxy::GetDescriptor())) { in Dial()
32 if (!in.WriteInt32(MAX_SIZE)) { in Dial()
35 if (!in.WriteRawData((const void *)&callInfo, sizeof(CellularCallInfo))) { in Dial()
43 int32_t error = remote->SendRequest(static_cast<uint32_t>(CellularCallInterfaceCode::DIAL), in, out, option); in Dial()
53 MessageParcel in; in HangUp() local
55 if (!in.WriteInterfaceToken(CellularCallProxy::GetDescriptor())) { in HangUp()
58 if (!in in HangUp()
82 MessageParcel in; Reject() local
108 MessageParcel in; Answer() local
134 MessageParcel in; HoldCall() local
160 MessageParcel in; UnHoldCall() local
187 MessageParcel in; SwitchCall() local
217 MessageParcel in; RegisterCallManagerCallBack() local
244 MessageParcel in; UnRegisterCallManagerCallBack() local
268 MessageParcel in; IsEmergencyPhoneNumber() local
299 MessageParcel in; CombineConference() local
326 MessageParcel in; SeparateConference() local
353 MessageParcel in; InviteToConference() local
379 MessageParcel in; KickOutFromConference() local
406 MessageParcel in; HangUpAllConnection() local
430 MessageParcel in; SetReadyToCall() local
466 MessageParcel in; SendUpdateCallMediaModeRequest() local
496 MessageParcel in; SendUpdateCallMediaModeResponse() local
526 MessageParcel in; StartDtmf() local
555 MessageParcel in; StopDtmf() local
581 MessageParcel in; PostDialProceed() local
614 MessageParcel in; SendDtmf() local
643 MessageParcel in; StartRtt() local
668 MessageParcel in; StopRtt() local
690 MessageParcel in; SetCallTransferInfo() local
716 MessageParcel in; CanSetCallTransferTime() local
744 MessageParcel in; GetCallTransferInfo() local
770 MessageParcel in; SetCallWaiting() local
796 MessageParcel in; GetCallWaiting() local
819 MessageParcel in; SetCallRestriction() local
845 MessageParcel in; GetCallRestriction() local
872 MessageParcel in; SetCallRestrictionPassword() local
904 MessageParcel in; SetDomainPreferenceMode() local
930 MessageParcel in; GetDomainPreferenceMode() local
953 MessageParcel in; SetImsSwitchStatus() local
981 MessageParcel in; GetImsSwitchStatus() local
1005 MessageParcel in; SetVoNRState() local
1033 MessageParcel in; GetVoNRState() local
1057 MessageParcel in; SetImsConfig() local
1086 MessageParcel in; SetImsConfig() local
1115 MessageParcel in; GetImsConfig() local
1141 MessageParcel in; SetImsFeatureValue() local
1170 MessageParcel in; GetImsFeatureValue() local
1196 MessageParcel in; ControlCamera() local
1229 MessageParcel in; SetPreviewWindow() local
1269 MessageParcel in; SetDisplayWindow() local
1308 MessageParcel in; SetCameraZoom() local
1335 MessageParcel in; SetPausePicture() local
1368 MessageParcel in; SetDeviceDirection() local
1401 MessageParcel in; SetMute() local
1426 MessageParcel in; GetMute() local
1448 MessageParcel in; SetEmergencyCallList() local
1486 SetCommonParamForMessageParcel(int32_t slotId, MessageParcel &in) SetCommonParamForMessageParcel() argument
1503 MessageParcel in; CloseUnFinishedUssd() local
1526 MessageParcel in; ClearAllCalls() local
1560 MessageParcel in; CancelCallUpgrade() local
1590 MessageParcel in; RequestCameraCapabilities() local
[all...]
/base/telephony/sms_mms/services/sms/ims_service_interaction/src/
H A Dims_sms_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
26 MessageParcel in; in ImsSendMessage() local
27 int32_t ret = WriteCommonInfo(__FUNCTION__, in, slotId); in ImsSendMessage()
31 if (!in.WriteInt64(imsMessageInfo.refId)) { in ImsSendMessage()
35 if (!in.WriteString(imsMessageInfo.smscPdu)) { in ImsSendMessage()
39 if (!in.WriteString(imsMessageInfo.pdu)) { in ImsSendMessage()
43 if (!in.WriteInt32(imsMessageInfo.tech)) { in ImsSendMessage()
47 return SendRequest(in, slotId, static_cast<int32_t>(ImsSmsInterfaceCode::IMS_SEND_MESSAGE)); in ImsSendMessage()
52 MessageParcel in; in ImsSetSmsConfig() local
66 MessageParcel in; ImsGetSmsConfig() local
81 MessageParcel in; RegisterImsSmsCallback() local
107 WriteCommonInfo(std::string funcName, MessageParcel &in, int32_t slotId) WriteCommonInfo() argument
120 SendRequest(MessageParcel &in, int32_t slotId, int32_t eventId) SendRequest() argument
[all...]
H A Dims_sms_callback_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
28 MessageParcel in; in ImsSendMessageResponse() local
29 int32_t ret = WriteCommonInfo(__FUNCTION__, in, slotId); in ImsSendMessageResponse()
33 if (!in.WriteRawData((const void *)&result, sizeof(SendSmsResultInfo))) { in ImsSendMessageResponse()
37 return SendRequest(in, slotId, static_cast<int32_t>(ImsSmsCallbackInterfaceCode::IMS_SEND_MESSAGE)); in ImsSendMessageResponse()
54 MessageParcel in; in ImsGetSmsConfigResponse() local
55 int32_t ret = WriteCommonInfo(__FUNCTION__, in, slotId); in ImsGetSmsConfigResponse()
59 if (!in.WriteInt32(imsSmsConfig)) { in ImsGetSmsConfigResponse()
63 return SendRequest(in, slotI in ImsGetSmsConfigResponse()
72 WriteCommonInfo(std::string funcName, MessageParcel &in, int32_t slotId) WriteCommonInfo() argument
89 MessageParcel in; SendHRilRadioResponseInfo() local
101 SendRequest(MessageParcel &in, int32_t slotId, int32_t eventId) SendRequest() argument
[all...]
/base/telephony/core_service/frameworks/native/src/
H A Dtelephony_state_registry_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
42 MessageParcel in; in UpdateCellularDataConnectState() local
44 if (!in.WriteInterfaceToken(TelephonyStateRegistryProxy::GetDescriptor())) { in UpdateCellularDataConnectState()
47 if (!in.WriteInt32(slotId)) { in UpdateCellularDataConnectState()
50 if (!in.WriteInt32(dataStatus)) { in UpdateCellularDataConnectState()
53 if (!in.WriteInt32(networkForm)) { in UpdateCellularDataConnectState()
61 static_cast<uint32_t>(StateNotifyInterfaceCode::CELLULAR_DATA_STATE), in, out, option); in UpdateCellularDataConnectState()
73 MessageParcel in; in UpdateCellularDataFlow() local
75 if (!in in UpdateCellularDataFlow()
101 MessageParcel in; UpdateCallState() local
129 MessageParcel in; UpdateCallStateForSlotId() local
160 MessageParcel in; UpdateSignalInfo() local
200 MessageParcel in; UpdateCellInfo() local
235 MessageParcel in; UpdateNetworkState() local
263 MessageParcel in; UpdateSimState() local
297 MessageParcel in; RegisterStateChange() local
334 MessageParcel in; UnregisterStateChange() local
362 MessageParcel in; UpdateCfuIndicator() local
389 MessageParcel in; UpdateVoiceMailMsgIndicator() local
415 MessageParcel in; UpdateIccAccount() local
[all...]
/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
64 static const AuthIdentity *getAuthIdentity(const CJson *in, const Uint8Buff *presharedUrl) in getAuthIdentity() argument
68 if (IsPinAuth(in, presharedUrl)) { in getAuthIdentity()
71 if (IsDirectAuth(in)) { in getAuthIdentity()
86 int32_t GetCredInfosByPeerIdentity(CJson *in, IdentityInfoVec *vec) in GetCredInfosByPeerIdentity() argument
88 if (in == NULL || vec == NULL) { in GetCredInfosByPeerIdentity()
93 const char *pinCode = GetStringFromJson(in, FIELD_PIN_CODE); in GetCredInfosByPeerIdentity()
97 if (IsDirectAuth(in)) { in GetCredInfosByPeerIdentity()
113 int32_t ret = authIdentity->getCredInfosByPeerIdentity(in, ve in GetCredInfosByPeerIdentity()
137 GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) GetCredInfoByPeerUrl() argument
153 GetSharedSecretByUrl( const CJson *in, const Uint8Buff *presharedUrl, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByUrl() argument
184 GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) GetCredInfoByPeerCert() argument
212 GetSharedSecretByPeerCert( const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByPeerCert() argument
[all...]
/base/security/dlp_permission_service/frameworks/dlp_permission/src/
H A Ddlp_policy_parcel.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
127 static bool ReadKey(PermissionPolicy& policy, Parcel& in) in ReadKey() argument
130 if (!in.ReadUint32(len)) { in ReadKey()
138 const uint8_t* key = in.ReadUnpadBuffer(len); in ReadKey()
145 if (!in.ReadUint32(len)) { in ReadKey()
153 const uint8_t* iv = in.ReadUnpadBuffer(len); in ReadKey()
160 if (!in.ReadUint32(len)) { in ReadKey()
166 hmacKey = in.ReadUnpadBuffer(len); in ReadKey()
176 static bool ReadAesParam(PermissionPolicy& policy, Parcel& in) in ReadAesParam() argument
201 ReadAccountInfo(PermissionPolicy& policy, Parcel& in) ReadAccountInfo() argument
234 ReadParcel(Parcel& in, DlpPolicyParcel* policyParcel) ReadParcel() argument
276 Unmarshalling(Parcel& in) Unmarshalling() argument
[all...]
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/
H A Dsec_comp_stub_test.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
152 Parcel in; in HWTEST_F() local
153 in.WriteInt32(1); in HWTEST_F()
154 EXPECT_EQ(nullptr, clickParcel->Unmarshalling(in)); in HWTEST_F()
155 in.WriteInt32(2); in HWTEST_F()
156 EXPECT_EQ(nullptr, clickParcel->Unmarshalling(in)); in HWTEST_F()
157 in.WriteInt32(0); in HWTEST_F()
158 EXPECT_EQ(nullptr, clickParcel->Unmarshalling(in)); in HWTEST_F()
160 in in HWTEST_F()
[all...]
/base/security/device_auth/test/fuzztest/authenticators/account_related/auth/isoauthtask_fuzzer/
H A Disoauthtask_fuzzer.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
218 CJson *in = CreateJson(); in IsoAuthTaskTest06() local
219 (void)AddIntToJson(in, FIELD_STEP, CMD_ISO_AUTH_MAIN_ONE); in IsoAuthTaskTest06()
222 task->process(task, in, out, &status); in IsoAuthTaskTest06()
224 FreeJson(in); in IsoAuthTaskTest06()
233 CJson *in = CreateJson(); in IsoAuthTaskTest07() local
234 (void)AddIntToJson(in, FIELD_STEP, CMD_ISO_AUTH_MAIN_ONE); in IsoAuthTaskTest07()
235 (void)AddStringToJson(in, FIELD_USER_ID, TEST_USER_ID.c_str()); in IsoAuthTaskTest07()
241 ret = task->process(task, in, ou in IsoAuthTaskTest07()
253 CJson *in = CreateJson(); IsoAuthTaskTest08() local
270 CJson *in = CreateJson(); IsoAuthTaskTest09() local
289 CJson *in = CreateJson(); IsoAuthTaskTest10() local
309 CJson *in = CreateJson(); IsoAuthTaskTest11() local
327 CJson *in = CreateJson(); IsoAuthTaskTest12() local
345 CJson *in = CreateJson(); IsoAuthTaskTest13() local
363 CJson *in = CreateJson(); IsoAuthTaskTest14() local
381 CJson *in = CreateJson(); IsoAuthTaskTest15() local
399 CJson *in = CreateJson(); IsoAuthTaskTest16() local
531 CJson *in = CreateJson(); IsoAuthTaskTest24() local
549 CJson *in = CreateJson(); IsoAuthTaskTest25() local
571 CJson *in = CreateJson(); IsoAuthTaskTest26() local
591 CJson *in = CreateJson(); IsoAuthTaskTest04() local
612 CJson *in = CreateJson(); IsoAuthTaskTest27() local
634 CJson *in = CreateJson(); IsoAuthTaskTest28() local
656 CJson *in = CreateJson(); IsoAuthTaskTest29() local
680 CJson *in = CreateJson(); IsoAuthTaskTest30() local
703 CJson *in = CreateJson(); IsoAuthTaskTest31() local
727 CJson *in = CreateJson(); IsoAuthTaskTest32() local
745 CJson *in = CreateJson(); IsoAuthTaskTest33() local
763 CJson *in = CreateJson(); IsoAuthTaskTest34() local
781 CJson *in = CreateJson(); IsoAuthTaskTest35() local
800 CJson *in = CreateJson(); IsoAuthTaskTest36() local
818 CJson *in = CreateJson(); IsoAuthTaskTest37() local
[all...]
/base/telephony/core_service/services/ims_service_interaction/src/
H A Dims_core_service_callback_proxy.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
29 MessageParcel in; in UpdateImsServiceStatusChanged() local
30 int32_t ret = WriteCommonInfo(__FUNCTION__, in, slotId); in UpdateImsServiceStatusChanged()
35 if (!in.WriteRawData((const void *)&imsServiceStatus, sizeof(ImsServiceStatus))) { in UpdateImsServiceStatusChanged()
39 return SendRequest(in, slotId, in UpdateImsServiceStatusChanged()
46 MessageParcel in; in GetImsRegistrationStatusResponse() local
47 int32_t ret = WriteCommonInfo(__FUNCTION__, in, slotId); in GetImsRegistrationStatusResponse()
52 if (!in.WriteRawData((const void *)&imsRegStatus, sizeof(ImsRegistrationStatus))) { in GetImsRegistrationStatusResponse()
56 return SendRequest(in, slotI in GetImsRegistrationStatusResponse()
60 WriteCommonInfo(std::string funcName, MessageParcel &in, int32_t slotId) WriteCommonInfo() argument
73 SendRequest(MessageParcel &in, int32_t slotId, int32_t eventId) SendRequest() argument
[all...]
/base/security/device_auth/test/unittest/deviceauth/source/
H A Dprotocol_task_main_mock.c4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
53 SubTaskBase *CreatePakeV1SubTask(const CJson *in) in CreatePakeV1SubTask() argument
56 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreatePakeV1SubTask()
61 return CreatePakeV1ClientTask(in); in CreatePakeV1SubTask()
63 return CreatePakeV1ServerTask(in); in CreatePakeV1SubTask()
82 SubTaskBase *CreateIsoSubTask(const CJson *in) in CreateIsoSubTask() argument
85 if (GetBoolFromJson(in, FIELD_IS_CLIENT, &isClient) != HC_SUCCESS) { in CreateIsoSubTask()
90 return CreateIsoClientTask(in); in CreateIsoSubTask()
92 return CreateIsoServerTask(in); in CreateIsoSubTask()
[all...]
H A Didentity_manager_test.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
129 CJson *in = CreateJson(); in HWTEST_F() local
130 ASSERT_NE(in, nullptr); in HWTEST_F()
131 ret = GetAccountSymSharedSecret(in, nullptr, nullptr); in HWTEST_F()
135 ret = GetAccountSymSharedSecret(in, urlJson, nullptr); in HWTEST_F()
137 FreeJson(in); in HWTEST_F()
146 in = CreateJson(); in HWTEST_F()
147 ASSERT_NE(in, nullptr); in HWTEST_F()
148 ret = GetAccountSymCredInfoByPeerUrl(in, nullpt in HWTEST_F()
180 CJson *in = CreateJson(); HWTEST_F() local
214 CJson *in = CreateJson(); HWTEST_F() local
257 CJson *in = CreateJson(); HWTEST_F() local
[all...]
/base/location/frameworks/location_common/common/source/
H A Dgeo_address.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
73 void GeoAddress::ReadFromParcel(Parcel& in) in ReadFromParcel() argument
75 latitude_ = in.ReadDouble(); in ReadFromParcel()
76 longitude_ = in.ReadDouble(); in ReadFromParcel()
77 locale_ = Str16ToStr8(in.ReadString16()); in ReadFromParcel()
78 placeName_ = Str16ToStr8(in.ReadString16()); in ReadFromParcel()
79 countryCode_ = Str16ToStr8(in.ReadString16()); in ReadFromParcel()
80 countryName_ = Str16ToStr8(in.ReadString16()); in ReadFromParcel()
81 administrativeArea_ = Str16ToStr8(in in ReadFromParcel()
[all...]
/base/useriam/pin_auth/services/modules/executors/src/
H A Dpin_auth_executor_hdi_common.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
27 UserAuth::ResultCode ConvertAuthType(AuthType in, UserAuth::AuthType &out) in ConvertAuthType() argument
33 auto it = data.find(in); in ConvertAuthType()
35 IAM_LOGE("authType %{public}d is invalid", in); in ConvertAuthType()
42 UserAuth::ResultCode ConvertExecutorRole(ExecutorRole in, UserAuth::ExecutorRole &out) in ConvertExecutorRole() argument
49 auto it = data.find(in); in ConvertExecutorRole()
51 IAM_LOGE("executorRole %{public}d is invalid", in); in ConvertExecutorRole()
58 UserAuth::ResultCode ConvertExecutorSecureLevel(ExecutorSecureLevel in, UserAuth::ExecutorSecureLevel &out) in ConvertExecutorSecureLevel() argument
66 auto it = data.find(in); in ConvertExecutorSecureLevel()
75 MoveHdiExecutorInfo(ExecutorInfo &in, UserAuth::ExecutorInfo &out) MoveHdiExecutorInfo() argument
99 ConvertHdiResultCode(int32_t in) ConvertHdiResultCode() argument
[all...]
/base/security/access_token/frameworks/accesstoken/src/
H A Dpermission_def_parcel.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
40 PermissionDefParcel* PermissionDefParcel::Unmarshalling(Parcel& in) in Unmarshalling() argument
47 permissionDefParcel->permissionDef.permissionName = in.ReadString(); in Unmarshalling()
48 permissionDefParcel->permissionDef.bundleName = in.ReadString(); in Unmarshalling()
49 RELEASE_IF_FALSE(in.ReadInt32(permissionDefParcel->permissionDef.grantMode), permissionDefParcel); in Unmarshalling()
52 RELEASE_IF_FALSE(in.ReadInt32(level), permissionDefParcel); in Unmarshalling()
55 RELEASE_IF_FALSE(in.ReadBool(permissionDefParcel->permissionDef.provisionEnable), permissionDefParcel); in Unmarshalling()
56 RELEASE_IF_FALSE(in.ReadBool(permissionDefParcel->permissionDef.distributedSceneEnable), permissionDefParcel); in Unmarshalling()
57 permissionDefParcel->permissionDef.label = in in Unmarshalling()
[all...]
H A Dhap_token_info_parcel.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
38 HapTokenInfoParcel* HapTokenInfoParcel::Unmarshalling(Parcel& in) in Unmarshalling() argument
47 RELEASE_IF_FALSE(in.ReadInt32(apl), hapTokenInfoParcel); in Unmarshalling()
49 RELEASE_IF_FALSE(in.ReadUint8(ver), hapTokenInfoParcel); in Unmarshalling()
51 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.userID), hapTokenInfoParcel); in Unmarshalling()
52 hapTokenInfoParcel->hapTokenInfoParams.bundleName = in.ReadString(); in Unmarshalling()
53 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.apiVersion), hapTokenInfoParcel); in Unmarshalling()
54 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.instIndex), hapTokenInfoParcel); in Unmarshalling()
55 RELEASE_IF_FALSE(in in Unmarshalling()
[all...]
H A Dhap_info_parcel.cpp4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
35 HapInfoParcel* HapInfoParcel::Unmarshalling(Parcel& in) in Unmarshalling() argument
41 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.userID), hapInfoParcel); in Unmarshalling()
42 hapInfoParcel->hapInfoParameter.bundleName = in.ReadString(); in Unmarshalling()
43 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.instIndex), hapInfoParcel); in Unmarshalling()
44 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.dlpType), hapInfoParcel); in Unmarshalling()
45 hapInfoParcel->hapInfoParameter.appIDDesc = in.ReadString(); in Unmarshalling()
46 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.apiVersion), hapInfoParcel); in Unmarshalling()
47 RELEASE_IF_FALSE(in in Unmarshalling()
[all...]
/base/security/device_auth/services/identity_manager/src/
H A Didentity_pin.c4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
74 static int32_t SetLiteProtocolsForPinType(const CJson *in, IdentityInfo *info) in SetLiteProtocolsForPinType() argument
77 (void)in; in SetLiteProtocolsForPinType()
81 (void)GetIntFromJson(in, FIELD_PROTOCOL_EXPAND, &protocolExpandVal); in SetLiteProtocolsForPinType()
91 static int32_t SetProtocolsForPinType(const CJson *in, IdentityInfo *info) in SetProtocolsForPinType() argument
108 return SetLiteProtocolsForPinType(in, info); in SetProtocolsForPinType()
139 static int32_t GetCredInfosByPeerIdentity(const CJson *in, IdentityInfoVec *vec) in GetCredInfosByPeerIdentity() argument
152 if (IsDirectAuth(in) && AddBoolToJson(urlJson, FIELD_IS_DIRECT_AUTH, true) != HC_SUCCESS) { in GetCredInfosByPeerIdentity()
172 if (IsDirectAuth(in)) { in GetCredInfosByPeerIdentity()
188 GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) GetCredInfoByPeerUrl() argument
235 AuthGeneratePskUsePin(const CJson *in, const Uint8Buff *seed, const char *pinCode, Uint8Buff *sharedSecret) AuthGeneratePskUsePin() argument
256 CheckPinLenForStandardIso(const CJson *in, const char *pinCode) CheckPinLenForStandardIso() argument
268 GetSharedSecretForPinInIso(const CJson *in, Uint8Buff *sharedSecret) GetSharedSecretForPinInIso() argument
314 GetSharedSecretForPinInPake(const CJson *in, Uint8Buff *sharedSecret) GetSharedSecretForPinInPake() argument
340 GetSharedSecretByUrl( const CJson *in, const Uint8Buff *presharedUrl, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByUrl() argument
359 GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) GetCredInfoByPeerCert() argument
368 GetSharedSecretByPeerCert( const CJson *in, const CertInfo *peerCertInfo, ProtocolAlgType protocolType, Uint8Buff *sharedSecret) GetSharedSecretByPeerCert() argument
[all...]

Completed in 13 milliseconds

12345678910>>...16