Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 2113) sorted by relevance

12345678910>>...85

/base/telephony/cellular_call/services/manager/src/
Dcellular_call_stub.cpp108 int32_t size = data.ReadInt32(); in OnDialInner() local
109 size = ((size > MAX_SIZE) ? 0 : size); in OnDialInner()
110 if (size <= 0) { in OnDialInner()
127 int32_t size = data.ReadInt32(); in OnHangUpInner() local
128 size = ((size > MAX_SIZE) ? 0 : size); in OnHangUpInner()
129 if (size <= 0) { in OnHangUpInner()
147 int32_t size = data.ReadInt32(); in OnRejectInner() local
148 size = ((size > MAX_SIZE) ? 0 : size); in OnRejectInner()
149 if (size <= 0) { in OnRejectInner()
166 int32_t size = data.ReadInt32(); in OnAnswerInner() local
[all …]
/base/global/resource_management/test/fuzztest/resmgr_fuzzer/
Dresmgr_fuzzer.cpp29 bool GetStringByIdFuzzTest(const char* data, size_t size, ResourceManager *rm) in GetStringByIdFuzzTest() argument
32 if (size > 0) { in GetStringByIdFuzzTest()
40 bool GetStringArrayByIdFuzzTest(const char* data, size_t size, ResourceManager *rm) in GetStringArrayByIdFuzzTest() argument
43 if (size > 0) { in GetStringArrayByIdFuzzTest()
51 bool GetIntegerByIdFuzzTest(const char* data, size_t size, ResourceManager *rm) in GetIntegerByIdFuzzTest() argument
54 if (size > 0) { in GetIntegerByIdFuzzTest()
62 bool GetIntegerByNameFuzzTest(const char* data, size_t size, ResourceManager *rm) in GetIntegerByNameFuzzTest() argument
65 if (size > 0) { in GetIntegerByNameFuzzTest()
66 std::string testName(reinterpret_cast<const char*>(data), size); in GetIntegerByNameFuzzTest()
73 bool GetBooleanByIdFuzzTest(const char* data, size_t size, ResourceManager *rm) in GetBooleanByIdFuzzTest() argument
[all …]
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_ipc_check.c33 if ((keyAlias->size > MAX_PROCESS_SIZE) || in HksCheckIpcGenerateKey()
34 … ((sizeof(keyAlias->size) + ALIGN_SIZE(keyAlias->size) + ALIGN_SIZE(paramSetIn->paramSetSize) + in HksCheckIpcGenerateKey()
49 if ((keyAlias->size > MAX_PROCESS_SIZE) || (key->size > MAX_PROCESS_SIZE)) { in HksCheckIpcImportKey()
52 if ((sizeof(keyAlias->size) + ALIGN_SIZE(keyAlias->size) + ALIGN_SIZE(paramSet->paramSetSize) + in HksCheckIpcImportKey()
53 sizeof(key->size) + ALIGN_SIZE(key->size) > MAX_PROCESS_SIZE)) { in HksCheckIpcImportKey()
65 if ((keyAlias->size > MAX_PROCESS_SIZE) || (wrappingKeyAlias->size > MAX_PROCESS_SIZE) || in HksCheckIpcImportWrappedKey()
66 (wrappedKeyData->size > MAX_PROCESS_SIZE)) { in HksCheckIpcImportWrappedKey()
70 if ((sizeof(keyAlias->size) + ALIGN_SIZE(keyAlias->size) + in HksCheckIpcImportWrappedKey()
71 …sizeof(wrappingKeyAlias->size) + ALIGN_SIZE(wrappingKeyAlias->size) + ALIGN_SIZE(paramSet->paramSe… in HksCheckIpcImportWrappedKey()
72 sizeof(wrappedKeyData->size) + ALIGN_SIZE(wrappedKeyData->size)) > MAX_PROCESS_SIZE) { in HksCheckIpcImportWrappedKey()
[all …]
/base/telephony/cellular_call/test/fuzztest/setpreviewwindow_fuzzer/
Dsetpreviewwindow_fuzzer.cpp46 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
56 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
59 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
65 void SetPreviewWindow(const uint8_t *data, size_t size) in SetPreviewWindow() argument
71 int32_t maxSize = static_cast<int32_t>(size); in SetPreviewWindow()
72 int32_t x = static_cast<int32_t>(size); in SetPreviewWindow()
73 int32_t y = static_cast<int32_t>(size); in SetPreviewWindow()
74 int32_t z = static_cast<int32_t>(size); in SetPreviewWindow()
75 int32_t width = static_cast<int32_t>(size); in SetPreviewWindow()
76 int32_t height = static_cast<int32_t>(size); in SetPreviewWindow()
[all …]
/base/telephony/call_manager/test/fuzztest/bluetoothdialcall_fuzzer/
Dbluetoothdialcall_fuzzer.cpp44 void AnswerCall(const uint8_t *data, size_t size) in AnswerCall() argument
51 dataParcel.WriteBuffer(data, size); in AnswerCall()
57 void RejectCall(const uint8_t *data, size_t size) in RejectCall() argument
64 dataParcel.WriteBuffer(data, size); in RejectCall()
70 void HangUpCall(const uint8_t *data, size_t size) in HangUpCall() argument
77 dataParcel.WriteBuffer(data, size); in HangUpCall()
83 void GetBtCallState(const uint8_t *data, size_t size) in GetBtCallState() argument
90 dataParcel.WriteBuffer(data, size); in GetBtCallState()
96 void HoldCall(const uint8_t *data, size_t size) in HoldCall() argument
103 dataParcel.WriteBuffer(data, size); in HoldCall()
[all …]
/base/security/huks/test/unittest/huks_standard_test/storage_multithread_test/src/
Dhks_storage_test.cpp38 .size = TEST_PROCESS_NAME.size() + 1, in TearDown()
42 .size = TEST_USER_ID.size() + 1, in TearDown()
46 .size = TEST_KEY_ALIAS.size() + 1, in TearDown()
60 .size = TEST_PROCESS_NAME.size() + 1, in PrepareBlob()
64 .size = TEST_USER_ID.size() + 1, in PrepareBlob()
68 .size = TEST_KEY_ALIAS.size() + 1, in PrepareBlob()
72 .size = TEST_BLOB_SIZE, in PrepareBlob()
87 .size = TEST_PROCESS_NAME.size() + 1,
91 .size = TEST_USER_ID.size() + 1,
95 .size = TEST_KEY_ALIAS.size() + 1,
[all …]
/base/telephony/cellular_call/test/fuzztest/registercallmanagercallback_fuzzer/
Dregistercallmanagercallback_fuzzer.cpp47 void ReportCallsInfo(const uint8_t *data, size_t size) in ReportCallsInfo() argument
55 callsReportInfo.slotId = static_cast<int32_t>(size % SLOT_NUM); in ReportCallsInfo()
57 std::string number(reinterpret_cast<const char *>(data), size); in ReportCallsInfo()
63 TelCallState callState = static_cast<TelCallState>(size % CALL_STATE_NUM); in ReportCallsInfo()
66 info.eventId = static_cast<RequestResultEventId>(size % EVENT_ID_NUM); in ReportCallsInfo()
68 response.classCw = static_cast<int32_t>(size); in ReportCallsInfo()
69 response.result = static_cast<int32_t>(size % BOOL_NUM); in ReportCallsInfo()
70 response.status = static_cast<int32_t>(size % BOOL_NUM); in ReportCallsInfo()
71 int32_t result = static_cast<int32_t>(size % BOOL_NUM); in ReportCallsInfo()
73 callRestrictionResponse.classCw = static_cast<int32_t>(size); in ReportCallsInfo()
[all …]
/base/telephony/cellular_data/test/fuzztest/getcellulardatastate_fuzzer/
Dgetcellulardatastate_fuzzer.cpp43 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
53 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
56 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
62 void EnableCellularData(const uint8_t *data, size_t size) in EnableCellularData() argument
69 dataMessageParcel.WriteBuffer(data, size); in EnableCellularData()
75 void GetCellularDataState(const uint8_t *data, size_t size) in GetCellularDataState() argument
82 dataMessageParcel.WriteBuffer(data, size); in GetCellularDataState()
88 void IsCellularDataEnabled(const uint8_t *data, size_t size) in IsCellularDataEnabled() argument
95 dataMessageParcel.WriteBuffer(data, size); in IsCellularDataEnabled()
101 void IsCellularDataRoamingEnabled(const uint8_t *data, size_t size) in IsCellularDataRoamingEnabled() argument
[all …]
/base/telephony/cellular_call/test/fuzztest/setimsfeaturevalue_fuzzer/
Dsetimsfeaturevalue_fuzzer.cpp44 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
54 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
57 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
63 void SetDomainPreferenceMode(const uint8_t *data, size_t size) in SetDomainPreferenceMode() argument
69 int32_t mode = static_cast<int32_t>(size); in SetDomainPreferenceMode()
72 size_t dataSize = size - sizeof(int32_t); in SetDomainPreferenceMode()
79 void GetDomainPreferenceMode(const uint8_t *data, size_t size) in GetDomainPreferenceMode() argument
86 dataMessageParcel.WriteBuffer(data, size); in GetDomainPreferenceMode()
92 void SetImsSwitchStatus(const uint8_t *data, size_t size) in SetImsSwitchStatus() argument
98 int32_t activate = static_cast<int32_t>(size % BOOL_NUM); in SetImsSwitchStatus()
[all …]
/base/telephony/call_manager/test/fuzztest/controlcamera_fuzzer/
Dcontrolcamera_fuzzer.cpp41 int32_t ControlCamera(const uint8_t *data, size_t size) in ControlCamera() argument
46 std::string cameraId(reinterpret_cast<const char *>(data), size); in ControlCamera()
55 int32_t SetPreviewWindow(const uint8_t *data, size_t size) in SetPreviewWindow() argument
61 window.x = static_cast<int32_t>(size); in SetPreviewWindow()
62 window.y = static_cast<int32_t>(size); in SetPreviewWindow()
63 window.z = static_cast<int32_t>(size); in SetPreviewWindow()
64 window.width = static_cast<int32_t>(size); in SetPreviewWindow()
65 window.height = static_cast<int32_t>(size); in SetPreviewWindow()
69 int32_t SetDisplayWindow(const uint8_t *data, size_t size) in SetDisplayWindow() argument
75 window.x = static_cast<int32_t>(size); in SetDisplayWindow()
[all …]
/base/telephony/cellular_call/test/fuzztest/getcallrestriction_fuzzer/
Dgetcallrestriction_fuzzer.cpp44 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
54 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
57 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
63 void UnRegisterCallManagerCallBack(const uint8_t *data, size_t size) in UnRegisterCallManagerCallBack() argument
69 int32_t maxSize = static_cast<int32_t>(size); in UnRegisterCallManagerCallBack()
72 size_t dataSize = size - sizeof(int32_t); in UnRegisterCallManagerCallBack()
79 void IsEmergencyPhoneNumber(const uint8_t *data, size_t size) in IsEmergencyPhoneNumber() argument
85 int32_t errorCode = static_cast<int32_t>(size); in IsEmergencyPhoneNumber()
86 std::string phoneNum(reinterpret_cast<const char *>(data), size); in IsEmergencyPhoneNumber()
95 void HangUpAllConnection(const uint8_t *data, size_t size) in HangUpAllConnection() argument
[all …]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_asn1.c31 uint32_t len = tlv->size; in BuildTlvHeader()
56 header->size = hptr - header->data; in BuildTlvHeader()
63 while ((value.size > 1) && (value.data[0] == 0)) { in Asn1InsertValue()
65 value.size--; in Asn1InsertValue()
73 uint32_t outSize = header.size + value.size; in Asn1InsertValue()
74 if (buf->size < outSize) { in Asn1InsertValue()
75 …HKS_LOG_E("output buffer too small: %" LOG_PUBLIC "u. expected%" LOG_PUBLIC "u", buf->size, outSiz… in Asn1InsertValue()
79 … if (memmove_s(buf->data + header.size, buf->size - header.size, value.data, value.size) != EOK) { in Asn1InsertValue()
83 (void)memcpy_s(buf->data, buf->size, header.data, header.size); in Asn1InsertValue()
85 buf->size -= outSize; in Asn1InsertValue()
[all …]
/base/telephony/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/
Daddiccdiallingnumbers_fuzzer.cpp53 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
63 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
66 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
72 void GetSimGid1(const uint8_t *data, size_t size) in GetSimGid1() argument
78 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetSimGid1()
81 size_t dataSize = size - sizeof(int32_t); in GetSimGid1()
88 void GetSimGid2(const uint8_t *data, size_t size) in GetSimGid2() argument
94 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetSimGid2()
97 size_t dataSize = size - sizeof(int32_t); in GetSimGid2()
104 void GetSimAccountInfo(const uint8_t *data, size_t size) in GetSimAccountInfo() argument
[all …]
/base/telephony/core_service/test/fuzztest/getsimeons_fuzzer/
Dgetsimeons_fuzzer.cpp53 void IsNrSupported(const uint8_t *data, size_t size) in IsNrSupported() argument
59 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in IsNrSupported()
62 size_t dataSize = size - sizeof(int32_t); in IsNrSupported()
69 void GetPsRadioTech(const uint8_t *data, size_t size) in GetPsRadioTech() argument
75 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetPsRadioTech()
78 size_t dataSize = size - sizeof(int32_t); in GetPsRadioTech()
85 void GetCsRadioTech(const uint8_t *data, size_t size) in GetCsRadioTech() argument
91 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetCsRadioTech()
94 size_t dataSize = size - sizeof(int32_t); in GetCsRadioTech()
101 void GetNrOptionMode(const uint8_t *data, size_t size) in GetNrOptionMode() argument
[all …]
/base/telephony/core_service/test/fuzztest/updateiccdiallingnumbers_fuzzer/
Dupdateiccdiallingnumbers_fuzzer.cpp54 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
64 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
67 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
73 void GetOpKey(const uint8_t *data, size_t size) in GetOpKey() argument
79 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetOpKey()
82 size_t dataSize = size - sizeof(int32_t); in GetOpKey()
89 void GetOpKeyExt(const uint8_t *data, size_t size) in GetOpKeyExt() argument
95 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetOpKeyExt()
98 size_t dataSize = size - sizeof(int32_t); in GetOpKeyExt()
105 void GetOpName(const uint8_t *data, size_t size) in GetOpName() argument
[all …]
/base/telephony/core_service/test/fuzztest/simauthentication_fuzzer/
Dsimauthentication_fuzzer.cpp53 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
63 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
66 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
72 void GetSimTelephoneNumber(const uint8_t *data, size_t size) in GetSimTelephoneNumber() argument
78 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetSimTelephoneNumber()
81 size_t dataSize = size - sizeof(int32_t); in GetSimTelephoneNumber()
88 void GetVoiceMailIdentifier(const uint8_t *data, size_t size) in GetVoiceMailIdentifier() argument
94 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetVoiceMailIdentifier()
97 size_t dataSize = size - sizeof(int32_t); in GetVoiceMailIdentifier()
104 void GetVoiceMailNumber(const uint8_t *data, size_t size) in GetVoiceMailNumber() argument
[all …]
/base/startup/init/test/fuzztest/systemtraversalparameter_fuzzer/
Dsystemtraversalparameter_fuzzer.cpp28 unsigned int nameLen = nameAndValue->size; in FakeShowParam()
31 uint32_t size = PARAM_CONST_VALUE_LEN_MAX; in FakeShowParam() local
32 SystemGetParameterValue(handle, value, &size); in FakeShowParam()
37 bool FuzzSystemTraversalParameter(const uint8_t* data, size_t size) in FuzzSystemTraversalParameter() argument
43 if (size == 0) { in FuzzSystemTraversalParameter()
46 if (size > PARAM_CONST_VALUE_LEN_MAX + PARAM_NAME_LEN_MAX) { in FuzzSystemTraversalParameter()
49 cookie->data = static_cast<char *>(malloc(size)); in FuzzSystemTraversalParameter()
53 cookie->size = size; in FuzzSystemTraversalParameter()
54 std::string str(reinterpret_cast<const char*>(data), size - 1); in FuzzSystemTraversalParameter()
55 int ret = memcpy_s(cookie->data, size, str.c_str(), size); in FuzzSystemTraversalParameter()
[all …]
/base/telephony/call_manager/test/fuzztest/dialcall_fuzzer/
Ddialcall_fuzzer.cpp47 bool HasCall(const uint8_t *data, size_t size) in HasCall() argument
53 dataParcel.WriteBuffer(data, size); in HasCall()
59 int32_t GetCallState(const uint8_t *data, size_t size) in GetCallState() argument
65 dataParcel.WriteBuffer(data, size); in GetCallState()
71 int32_t GetCallWaiting(const uint8_t *data, size_t size) in GetCallWaiting() argument
76 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetCallWaiting()
79 size_t dataSize = size - sizeof(int32_t); in GetCallWaiting()
86 bool IsRinging(const uint8_t *data, size_t size) in IsRinging() argument
92 dataParcel.WriteBuffer(data, size); in IsRinging()
98 bool IsInEmergencyCall(const uint8_t *data, size_t size) in IsInEmergencyCall() argument
[all …]
/base/telephony/call_manager/test/fuzztest/formatphonenumber_fuzzer/
Dformatphonenumber_fuzzer.cpp43 int32_t GetMainCallId(const uint8_t *data, size_t size) in GetMainCallId() argument
49 int32_t callId = static_cast<int32_t>(size); in GetMainCallId()
51 size_t mainCallId = static_cast<int32_t>(size); in GetMainCallId()
53 size_t dataSize = size - sizeof(int32_t) * TWO_INT_NUM; in GetMainCallId()
60 int32_t GetSubCallIdList(const uint8_t *data, size_t size) in GetSubCallIdList() argument
66 int32_t callId = static_cast<int32_t>(size); in GetSubCallIdList()
68 size_t dataSize = size - sizeof(int32_t); in GetSubCallIdList()
75 int32_t GetCallIdListForConference(const uint8_t *data, size_t size) in GetCallIdListForConference() argument
81 int32_t callId = static_cast<int32_t>(size); in GetCallIdListForConference()
83 size_t dataSize = size - sizeof(int32_t); in GetCallIdListForConference()
[all …]
/base/telephony/call_manager/test/fuzztest/setcalltransferinfo_fuzzer/
Dsetcalltransferinfo_fuzzer.cpp44 void IsImsSwitchEnabled(const uint8_t *data, size_t size) in IsImsSwitchEnabled() argument
50 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in IsImsSwitchEnabled()
53 size_t dataSize = size - sizeof(int32_t); in IsImsSwitchEnabled()
60 void GetImsConfig(const uint8_t *data, size_t size) in GetImsConfig() argument
66 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetImsConfig()
69 dataMessageParcel.WriteInt32(static_cast<ImsConfigItem>(size)); in GetImsConfig()
70 size_t dataSize = size - sizeof(int32_t) - sizeof(ImsConfigItem); in GetImsConfig()
77 void GetImsFeatureValue(const uint8_t *data, size_t size) in GetImsFeatureValue() argument
83 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetImsFeatureValue()
86 dataMessageParcel.WriteInt32(static_cast<FeatureType>(size)); in GetImsFeatureValue()
[all …]
/base/telephony/core_service/test/fuzztest/setshownumber_fuzzer/
Dsetshownumber_fuzzer.cpp52 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
62 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
65 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
71 void GetShowNumber(const uint8_t *data, size_t size) in GetShowNumber() argument
77 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetShowNumber()
80 size_t dataSize = size - sizeof(int32_t); in GetShowNumber()
87 void GetSlotId(const uint8_t *data, size_t size) in GetSlotId() argument
93 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetSlotId()
96 size_t dataSize = size - sizeof(int32_t); in GetSlotId()
103 void GetSimId(const uint8_t *data, size_t size) in GetSimId() argument
[all …]
/base/telephony/call_manager/test/fuzztest/call_fuzzer/
Dcall_fuzzer.cpp55 void CSCallFunc(const uint8_t *data, size_t size) in CSCallFunc() argument
62 paraInfo.dialType = static_cast<DialType>(size % DIAL_TYPE); in CSCallFunc()
63 paraInfo.callType = static_cast<CallType>(size % CALL_TYPE_NUM); in CSCallFunc()
64 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in CSCallFunc()
65 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in CSCallFunc()
67 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); in CSCallFunc()
68 int32_t mute = static_cast<int32_t>(size % BOOL_NUM); in CSCallFunc()
69 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in CSCallFunc()
70 TelCallState nextState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in CSCallFunc()
71 …TelConferenceState telConferenceState = static_cast<TelConferenceState>(size % TEL_CONFERENCE_STAT… in CSCallFunc()
[all …]
/base/telephony/core_service/test/fuzztest/setvoicemailinfo_fuzzer/
Dsetvoicemailinfo_fuzzer.cpp54 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
64 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
67 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
73 void GetDefaultVoiceSlotId(const uint8_t *data, size_t size) in GetDefaultVoiceSlotId() argument
80 dataMessageParcel.WriteBuffer(data, size); in GetDefaultVoiceSlotId()
86 void GetActiveSimAccountInfoList(const uint8_t *data, size_t size) in GetActiveSimAccountInfoList() argument
93 dataMessageParcel.WriteBuffer(data, size); in GetActiveSimAccountInfoList()
99 void GetOperatorConfigs(const uint8_t *data, size_t size) in GetOperatorConfigs() argument
105 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetOperatorConfigs()
108 size_t dataSize = size - sizeof(int32_t); in GetOperatorConfigs()
[all …]
/base/telephony/core_service/test/fuzztest/sendterminalresponsecmd_fuzzer/
Dsendterminalresponsecmd_fuzzer.cpp51 void OnRemoteRequest(const uint8_t *data, size_t size) in OnRemoteRequest() argument
61 size_t dataSize = size - sizeof(uint32_t); in OnRemoteRequest()
64 uint32_t code = static_cast<uint32_t>(size); in OnRemoteRequest()
70 void GetNetworkState(const uint8_t *data, size_t size) in GetNetworkState() argument
76 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetNetworkState()
79 size_t dataSize = size - sizeof(int32_t); in GetNetworkState()
86 void GetImei(const uint8_t *data, size_t size) in GetImei() argument
92 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetImei()
95 size_t dataSize = size - sizeof(int32_t); in GetImei()
102 void GetSimOperatorNumeric(const uint8_t *data, size_t size) in GetSimOperatorNumeric() argument
[all …]
/base/telephony/core_service/test/fuzztest/setshowname_fuzzer/
Dsetshowname_fuzzer.cpp53 void GetShowName(const uint8_t *data, size_t size) in GetShowName() argument
59 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetShowName()
62 size_t dataSize = size - sizeof(int32_t); in GetShowName()
69 void GetSimSpn(const uint8_t *data, size_t size) in GetSimSpn() argument
75 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetSimSpn()
78 size_t dataSize = size - sizeof(int32_t); in GetSimSpn()
85 void GetSimIccId(const uint8_t *data, size_t size) in GetSimIccId() argument
91 int32_t slotId = static_cast<int32_t>(size % SLOT_NUM); in GetSimIccId()
94 size_t dataSize = size - sizeof(int32_t); in GetSimIccId()
101 void GetIMSI(const uint8_t *data, size_t size) in GetIMSI() argument
[all …]

12345678910>>...85