/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_user_data_encode.cpp | 56 uint16_t location = buffer.GetIndex(); in EncodeGsmHeadPdu() 62 uint16_t udhl = buffer.GetIndex(); in EncodeGsmHeadPdu() 67 if (buffer.GetIndex() > udhl) { in EncodeGsmHeadPdu() 68 udhl = buffer.GetIndex() - udhl; in EncodeGsmHeadPdu() 129 uint16_t location = buffer.GetIndex(); in Encode8bitHeadPdu() 137 uint16_t udhl = buffer.GetIndex(); in Encode8bitHeadPdu() 141 if (buffer.GetIndex() > udhl) { in Encode8bitHeadPdu() 142 udhl = buffer.GetIndex() - udhl; in Encode8bitHeadPdu() 172 if (buffer.GetIndex() >= MAX_TPDU_LEN || userData->length + buffer.GetIndex() > MAX_TPDU_LEN) { in Encode8bitBodyPdu() 176 …if (buffer.GetIndex() >= buffer.GetSize() || userData->length + buffer.GetIndex() > buffer.GetSize… in Encode8bitBodyPdu() [all …]
|
D | gsm_sms_tpdu_encode.cpp | 58 if (buffer.data_ == nullptr || (buffer.GetIndex() + position) > buffer.GetSize()) { in EncodeSubmitPdu() 62 … if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), position, address.data(), position) != EOK) { in EncodeSubmitPdu() 80 if (buffer.data_ == nullptr || (buffer.GetIndex() + HEX_VALUE_01) > buffer.GetSize()) { in EncodeSubmitPduPartData() 84 uint16_t bufferLen = buffer.GetSize() - buffer.GetIndex() - HEX_VALUE_01; in EncodeSubmitPduPartData() 85 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), bufferLen, dcs.data(), HEX_VALUE_01) != EOK) { in EncodeSubmitPduPartData() 97 if (buffer.data_ == nullptr || (buffer.GetIndex() + position) > buffer.GetSize()) { in EncodeSubmitPduPartData() 101 … if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), position, vpTime.data(), position) != EOK) { in EncodeSubmitPduPartData() 115 if (!buffer.InsertByte(HEX_VALUE_01, buffer.GetIndex())) { in EncodeSubmitTpduType() 126 if (!buffer.InsertByte(oneByte | HEX_VALUE_04, buffer.GetIndex())) { in EncodeSubmitTpduType() 146 if (!buffer.InsertByte(oneByte | HEX_VALUE_08, buffer.GetIndex())) { in EncodeSubmitTypePartData() [all …]
|
D | gsm_user_data_decode.cpp | 80 if (buffer.GetIndex() + udl >= buffer.GetSize()) { in DecodeGsmHeadPdu() 81 len = buffer.GetSize() - buffer.GetIndex(); in DecodeGsmHeadPdu() 87 … if (memcpy_s(pTPUD->ud, sizeof(pTPUD->ud), buffer.data_.get() + buffer.GetIndex(), len) != EOK) { in DecodeGsmHeadPdu() 112 uint8_t current = buffer.GetIndex(); in DecodeGsmHeadPduPartData() 113 for (int i = 0; buffer.GetIndex() < current + udhl && i < MAX_UD_HEADER_NUM; i++) { in DecodeGsmHeadPduPartData() 124 if (buffer.GetIndex() >= buffer.GetSize()) { in DecodeGsmHeadPduPartData() 175 uint16_t current = buffer.GetIndex(); in Decode8bitPdu() 191 if (buffer.data_ == nullptr || (buffer.GetIndex() + pTPUD->udl > buffer.GetSize())) { in Decode8bitPdu() 195 …if (memcpy_s(pTPUD->ud, sizeof(pTPUD->ud), buffer.data_.get() + buffer.GetIndex() + WAP_PUSH_USER_… in Decode8bitPdu() 222 current = buffer.GetIndex(); in Decode8bitPduPartData() [all …]
|
D | gsm_sms_common_utils.cpp | 64 if (!buffer.GetValueFromIndex(buffer.GetIndex() - 1, oneByte)) { in Pack7bitChar() 69 if (!buffer.InsertByte(oneByte, (buffer.GetIndex() - 1))) { in Pack7bitChar() 84 if (!buffer.GetValueFromIndex(buffer.GetIndex() - 1, oneByte)) { in Pack7bitCharPartData() 89 if (!buffer.InsertByte(oneByte, (buffer.GetIndex() - 1))) { in Pack7bitCharPartData() 133 if (!buffer.PickOneByteFromIndex(buffer.GetIndex() - 1, oneByte)) { in Unpack7bitChar()
|
D | gsm_sms_tpdu_codec.cpp | 73 bufLen = pduBuffer.GetIndex(); in EncodeSmsPdu() 130 TELEPHONY_LOGI("buffer index:%{public}d", buffer.GetIndex()); in DecodeSmsPdu() 131 if (decodeResult && buffer.GetIndex() <= (TpduLen + 1)) { in DecodeSmsPdu()
|
D | gsm_user_data_pdu.cpp | 155 uint16_t current = buffer.GetIndex(); in GetHeaderCnt() 168 if ((buffer.GetIndex() - current) > (udhl + SLIDE_DATA_STEP)) { in GetHeaderCnt() 294 if (buffer.data_ == nullptr || (buffer.GetIndex() + addrLen) > buffer.GetSize()) { in EncodeHeaderReplyAddress() 298 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), addrLen, encodedAddr.data(), addrLen) != EOK)… in EncodeHeaderReplyAddress() 373 headerLen = buffer.GetIndex(); in DecodeHeader() 412 if (buffer.GetIndex() > headerLen) { in DecodeHeader() 413 headerLen = buffer.GetIndex() - headerLen; in DecodeHeader()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_cdma_sms_test.cpp | 163 EXPECT_EQ(buffer->GetIndex(), 0); 165 EXPECT_EQ(buffer->GetIndex(), 0); 167 EXPECT_EQ(buffer->GetIndex(), 0); 190 EXPECT_EQ(buffer->GetIndex(), 0); 192 EXPECT_EQ(buffer->GetIndex(), 1); 194 EXPECT_EQ(buffer->GetIndex(), 0); 196 EXPECT_EQ(buffer->GetIndex(), pduLen); 198 EXPECT_EQ(buffer->GetIndex(), pduLen); 201 EXPECT_EQ(buffer->GetIndex(), 0); 208 EXPECT_EQ(buffer->GetIndex(), 0); [all …]
|
/base/telephony/cellular_call/services/control/include/ |
D | control_base.h | 250 if (pConnection != nullptr && pConnection->GetIndex() == index) { in FindConnectionByIndex() 329 return pConnection->StartDtmfRequest(callInfo.slotId, cDtmfCode, pConnection->GetIndex()); in StartDtmf() 361 return pConnection->StopDtmfRequest(callInfo.slotId, pConnection->GetIndex()); in StopDtmf() 409 return pConnection->SendDtmfRequest(callInfo.slotId, cDtmfCode, pConnection->GetIndex()); in SendDtmf()
|
/base/global/i18n/frameworks/intl/include/ |
D | index_util.h | 33 std::string GetIndex(const std::string &String);
|
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/ |
D | smspdubuffer_fuzzer.cpp | 38 buffer->GetIndex(); in ReadBuffer() 75 buffer->GetIndex(); in WriteBuffer()
|
/base/telephony/cellular_call/services/connection/include/ |
D | base_connection.h | 101 int32_t GetIndex() const;
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_transport_message.cpp | 186 uint16_t index = pdu.GetIndex(); in CdmaSmsP2pMessage() 220 uint16_t index = pdu.GetIndex(); in CdmaSmsBroadcastMessage() 225 uint16_t index = pdu.GetIndex(); in CdmaSmsBroadcastMessage()
|
D | cdma_sms_parameter_record.cpp | 438 uint8_t index = pdu.GetIndex(); in CdmaSmsBearerData() 482 len_ = pdu.GetIndex() - lenIndex - 1; in Encode()
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_pdu_buffer.h | 30 uint16_t GetIndex();
|
/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/ |
D | setorupdatecallreportinfo_fuzzer.cpp | 65 baseConnection->GetIndex(); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/services/connection/src/ |
D | base_connection.cpp | 70 int32_t BaseConnection::GetIndex() const in GetIndex() function in OHOS::Telephony::BaseConnection
|
D | cellular_call_connection_cs.cpp | 64 int32_t index = GetIndex(); in HangUpRequest() 302 SendDtmfRequest(slotId, c, GetIndex()); in ProcessPostDialCallChar() 311 postDial->callId = GetIndex(); in ProcessPostDialCallChar()
|
D | cellular_call_connection_ims.cpp | 391 SendDtmfRequest(slotId, c, GetIndex()); in ProcessPostDialCallChar() 400 postDial->callId = GetIndex(); in ProcessPostDialCallChar()
|
/base/global/i18n/frameworks/intl/src/ |
D | index_util.cpp | 74 std::string IndexUtil::GetIndex(const std::string &String) in GetIndex() function in OHOS::Global::I18n::IndexUtil
|
/base/telephony/cellular_call/services/control/src/ |
D | ims_control.cpp | 272 int32_t index = it.second.GetIndex(); in HangUpAllConnection() 296 return pConnection->KickOutFromConferenceRequest(slotId, pConnection->GetIndex()); in KickOutFromConference() 445 ExecutePostDial(slotId, pConnection->GetIndex()); in ReportUpdateInfo() 544 ExecutePostDial(callInfo.slotId, pConnection->GetIndex()); in PostDialProceed()
|
D | cs_control.cpp | 358 return pConnection->SeparateConferenceRequest(slotId, pConnection->GetIndex(), VOICE_CALL); in SeparateConference() 441 ExecutePostDial(slotId, pConnection->GetIndex()); in ReportUpdateInfo() 609 ExecutePostDial(callInfo.slotId, pConnection->GetIndex()); in PostDialProceed()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | dialling_numbers_info.h | 152 int32_t GetIndex() in GetIndex() function
|
/base/telephony/core_service/services/sim/src/ |
D | icc_dialling_numbers_manager.cpp | 186 int index = diallingNumber->GetIndex(); in UpdateIccDiallingNumbers() 215 int index = diallingNumber->GetIndex(); in DelIccDiallingNumbers()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_pdu_buffer.cpp | 38 uint16_t SmsPduBuffer::GetIndex() in GetIndex() function in OHOS::Telephony::SmsPduBuffer
|
/base/telephony/core_service/services/sim/include/ |
D | icc_dialling_numbers_handler.h | 107 int GetIndex() in GetIndex() function
|