Home
last modified time | relevance | path

Searched refs:dataStr (Results 1 – 9 of 9) sorted by relevance

/base/sensors/miscdevice/utils/src/
Dfile_utils.cpp128 std::string dataStr; in ReadFile() local
131 dataStr += buf; in ReadFile()
136 return dataStr; in ReadFile()
163 std::string dataStr; in ReadFd() local
169 dataStr += buf; in ReadFd()
175 return dataStr; in ReadFd()
/base/security/device_auth/services/group_manager/src/channel_manager/soft_bus_channel/
Dsoft_bus_channel.c118 char *dataStr = (char *)HcMalloc(dataLen + 1, 0); in GenRecvData() local
119 if (dataStr == NULL) { in GenRecvData()
123 if (memcpy_s(dataStr, dataLen + 1, data, dataLen) != HC_SUCCESS) { in GenRecvData()
125 HcFree(dataStr); in GenRecvData()
128 CJson *recvData = CreateJsonFromString(dataStr); in GenRecvData()
129 HcFree(dataStr); in GenRecvData()
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
Dbundle_manager_adapter_proxy.cpp450 const char* dataStr = static_cast<const char*>( in GetParcelableFromAshmem() local
452 if (dataStr == nullptr) { in GetParcelableFromAshmem()
459 if (!ParseStr(dataStr, ASHMEM_LEN, offset, lenStr)) { in GetParcelableFromAshmem()
468 if (!ParseStr(dataStr, strLen, offset, infoStr)) { in GetParcelableFromAshmem()
579 int32_t infoSize, const char* dataStr, int32_t offset, std::vector<T> &parcelableInfos) in ParseAshmem() argument
581 if (dataStr == nullptr) { in ParseAshmem()
586 if (!ParseStr(dataStr, ASHMEM_LEN, offset, lenStr)) { in ParseAshmem()
592 if (!ParseStr(dataStr, strLen, offset, infoStr)) { in ParseAshmem()
633 const char* dataStr = static_cast<const char*>( in GetParcelableInfosFromAshmem() local
635 bool result = ParseAshmem(infoSize, dataStr, offset, parcelableInfos); in GetParcelableInfosFromAshmem()
/base/msdp/device_status/libs/src/
Ddevicestatus_data_parse.cpp204 std::string dataStr; in ReadFile() local
207 dataStr += buf; in ReadFile()
212 return dataStr; in ReadFile()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_sender.h59 void CharArrayToString(const uint8_t *data, uint32_t dataLen, std::string &dataStr);
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_sender.cpp150 std::string dataStr; in DataBasedSmsDelivery() local
151 CharArrayToString(data, dataLen, dataStr); in DataBasedSmsDelivery()
153 gsmSmsMessage.SplitMessage(cellsInfos, dataStr, CheckForce7BitEncodeType(), codingType, true); in DataBasedSmsDelivery()
261 void GsmSmsSender::CharArrayToString(const uint8_t *data, uint32_t dataLen, std::string &dataStr) in CharArrayToString() argument
265 dataStr += data[indexData]; in CharArrayToString()
/base/telephony/sms_mms/test/gtest/
Dcdma_sms_gtest.cpp399 …std::string dataStr = "0003200010010410168d20020105030608120111015905019206069706180000000801c0090… variable
404 ss << static_cast<uint8_t>(dataStr.size() / HEX_CHAR_LEN);
405 ss << StringUtils::HexToString(dataStr);
Dzero_branch_sms_test.cpp998 std::string dataStr = "123"; variable
999 gsmSmsSender->CharArrayToString(data, 1, dataStr);
/base/account/os_account/services/accountmgr/include/bundle_manager_adapter/
Dbundle_manager_adapter_proxy.h145 …bool ParseAshmem(int32_t infoSize, const char* dataStr, int32_t offset, std::vector<T> &parcelable…