Home
last modified time | relevance | path

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

/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_icc_test.cpp139 std::shared_ptr<DiallingNumbersInfo> diallingNumber = variable
141 diallingNumber->name_ = Str8ToStr16("SimAdnZhang");
142 diallingNumber->number_ = Str8ToStr16("12345678901");
144 SimTest::slotId_, DiallingNumbersInfo::SIM_ADN, diallingNumber);
152 std::u16string nameTemp = diallingNumber->GetName();
153 std::u16string numberTemp = diallingNumber->GetNumber();
177 std::shared_ptr<DiallingNumbersInfo> diallingNumber = variable
179 diallingNumber->name_ = Str8ToStr16("电话卡");
180 diallingNumber->number_ = Str8ToStr16("00000000000");
182 SimTest::slotId_, DiallingNumbersInfo::SIM_ADN, diallingNumber);
[all …]
Dsim_core_service_test.cpp111 const std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr; variable
112 EXPECT_NE(mCoreService->AddIccDiallingNumbers(0, 1, diallingNumber), TELEPHONY_ERR_SUCCESS);
113 EXPECT_NE(mCoreService->DelIccDiallingNumbers(0, 1, diallingNumber), TELEPHONY_ERR_SUCCESS);
114 EXPECT_NE(mCoreService->UpdateIccDiallingNumbers(0, 1, diallingNumber), TELEPHONY_ERR_SUCCESS);
256 const std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr; variable
257 EXPECT_NE(mCoreService->AddIccDiallingNumbers(0, 1, diallingNumber), TELEPHONY_ERR_SUCCESS);
258 EXPECT_NE(mCoreService->DelIccDiallingNumbers(0, 1, diallingNumber), TELEPHONY_ERR_SUCCESS);
259 EXPECT_NE(mCoreService->UpdateIccDiallingNumbers(0, 1, diallingNumber), TELEPHONY_ERR_SUCCESS);
/base/telephony/core_service/services/sim/src/
Dicc_dialling_numbers_handler.cpp105 …std::shared_ptr<void> diallingNumberObj = static_cast<std::shared_ptr<void>>(infor.diallingNumber); in UpdateDiallingNumbers()
258 std::shared_ptr<DiallingNumbersInfo> diallingNumber = in ProcessDiallingNumber() local
260 FetchDiallingNumberContent(diallingNumber, item); in ProcessDiallingNumber()
261 diallingNumberList->push_back(diallingNumber); in ProcessDiallingNumber()
289 std::shared_ptr<DiallingNumbersInfo> diallingNumber = in ProcessDiallingNumberLoadDone() local
291 FetchDiallingNumberContent(diallingNumber, iccData); in ProcessDiallingNumberLoadDone()
292 loadRequest->SetResult(static_cast<std::shared_ptr<void>>(diallingNumber)); in ProcessDiallingNumberLoadDone()
295 …allingNumbersHandler::SendUpdateCommand(const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, in SendUpdateCommand() argument
305 dataDiallingNumber = CreateSavingSequence(diallingNumber, dataLen); in SendUpdateCommand()
310 BuildCallerInfo(MSG_SIM_RENEW_ADN_DONE, diallingNumber, loadId); in SendUpdateCommand()
[all …]
Dicc_dialling_numbers_manager.cpp174 int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers() argument
177 if (diallingNumber == nullptr) { in UpdateIccDiallingNumbers()
183 if (!IsValidType(type) || !IsValidParam(type, diallingNumber)) { in UpdateIccDiallingNumbers()
186 int index = diallingNumber->GetIndex(); in UpdateIccDiallingNumbers()
191 … diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, index, false, response); in UpdateIccDiallingNumbers()
203 int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers() argument
206 if (diallingNumber == nullptr) { in DelIccDiallingNumbers()
212 if (!IsValidType(type) || !IsValidParam(type, diallingNumber)) { in DelIccDiallingNumbers()
215 int index = diallingNumber->GetIndex(); in DelIccDiallingNumbers()
220 diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, index, true, response); in DelIccDiallingNumbers()
[all …]
Dsim_file.cpp643 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo… in ProcessGetMsisdnDone() local
648 msisdn_ = Str16ToStr8(diallingNumber->GetNumber()); in ProcessGetMsisdnDone()
649 msisdnTag_ = Str16ToStr8(diallingNumber->GetName()); in ProcessGetMsisdnDone()
784 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo… in ProcessGetMbdnDone() local
785 if (diallingNumber == nullptr) { in ProcessGetMbdnDone()
790 if (diallingNumber->IsEmpty()) { in ProcessGetMbdnDone()
794 voiceMailNum_ = Str16ToStr8(diallingNumber->GetNumber()); in ProcessGetMbdnDone()
795 voiceMailTag_ = Str16ToStr8(diallingNumber->GetName()); in ProcessGetMbdnDone()
820 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo… in ProcessGetCphsMailBoxDone() local
821 if (diallingNumber == nullptr) { in ProcessGetCphsMailBoxDone()
[all …]
Dicc_dialling_numbers_cache.cpp140 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo… in ProcessChangeDiallingNumbersDone() local
144 diallingNumberFileList_.at(fileId)->at(index - 1) = diallingNumber; in ProcessChangeDiallingNumbersDone()
153 diallingNumberFileList_.at(fileId)->at(index - 1) = diallingNumber; in ProcessChangeDiallingNumbersDone()
209 infor.diallingNumber = diallingNumberInfor; in UpdateDiallingNumberToIcc()
340 holder->diallingNumber = pobj; in BuildCallerInfo()
Dsim_manager.cpp983 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in AddIccDiallingNumbers() argument
989 return iccDiallingNumbersManager_[slotId]->AddIccDiallingNumbers(type, diallingNumber); in AddIccDiallingNumbers()
993 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers() argument
999 return iccDiallingNumbersManager_[slotId]->DelIccDiallingNumbers(type, diallingNumber); in DelIccDiallingNumbers()
1003 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers() argument
1009 return iccDiallingNumbersManager_[slotId]->UpdateIccDiallingNumbers(type, diallingNumber); in UpdateIccDiallingNumbers()
Dusim_dialling_numbers_service.cpp227 holder->diallingNumber = pobj; in CreateHandlerPointer()
Dicc_file.cpp512 holder->diallingNumber = pobj; in CreateDiallingNumberPointer()
/base/telephony/core_service/services/sim/include/
Dicc_dialling_numbers_handler.h181 std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr; member
229 const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, const std::string &recordData);
231 const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, int dataLength);
235 std::shared_ptr<unsigned char> diallingNumber, const std::string &number, int dataLength);
236 bool FormatNameAndNumber(std::shared_ptr<DiallingNumbersInfo> &diallingNumber, bool isDel);
237 void SendUpdateCommand(const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, int length,
Dicc_dialling_numbers_manager.h43 …nt32_t AddIccDiallingNumbers(int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
44 …nt32_t DelIccDiallingNumbers(int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
45 …2_t UpdateIccDiallingNumbers(int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
Dsim_data_type.h123 std::shared_ptr<void> diallingNumber = nullptr; member
133 diallingNumber = cmd->diallingNumber; in DiallingNumbersHandlerResult()
Dsim_manager.h126 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
128 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
130 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
/base/telephony/core_service/services/sim/test/
Dtest.cpp703 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>(type, … in TestAddIccDiallingNumbers() local
704 diallingNumber->name_ = Str8ToStr16(name); in TestAddIccDiallingNumbers()
705 diallingNumber->number_ = Str8ToStr16(number); in TestAddIccDiallingNumbers()
706 diallingNumber->pin2_ = Str8ToStr16(pin2); in TestAddIccDiallingNumbers()
707 …std::cout << "start insert " << Str16ToStr8(diallingNumber->name_) << " " << Str16ToStr8(diallingN… in TestAddIccDiallingNumbers()
709 int32_t result = g_telephonyService->AddIccDiallingNumbers(testSlot, type, diallingNumber); in TestAddIccDiallingNumbers()
739 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>(type, … in TestDelIccDiallingNumbers() local
740 diallingNumber->index_ = index; in TestDelIccDiallingNumbers()
741 diallingNumber->pin2_ = Str8ToStr16(pin2); in TestDelIccDiallingNumbers()
742 int32_t result = g_telephonyService->DelIccDiallingNumbers(testSlot, type, diallingNumber); in TestDelIccDiallingNumbers()
[all …]
/base/telephony/core_service/interfaces/innerkits/include/
Di_sim_manager.h121 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
123 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
125 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
Di_core_service.h115 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
117 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
119 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
Dcore_service_client.h626 …cDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
636 …cDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
646 …cDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
Dcore_service_proxy.h112 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
114 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
116 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
Dcore_manager_inner.h279 …cDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
280 …cDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
281 …cDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber);
/base/telephony/core_service/services/core/include/
Dcore_service.h185 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
188 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
191 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
/base/telephony/core_service/frameworks/native/src/
Dcore_service_client.cpp742 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in AddIccDiallingNumbers() argument
749 return proxy->AddIccDiallingNumbers(slotId, type, diallingNumber); in AddIccDiallingNumbers()
753 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers() argument
760 return proxy->DelIccDiallingNumbers(slotId, type, diallingNumber); in DelIccDiallingNumbers()
764 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers() argument
771 return proxy->UpdateIccDiallingNumbers(slotId, type, diallingNumber); in UpdateIccDiallingNumbers()
Dcore_service_proxy.cpp2138 … std::shared_ptr<DiallingNumbersInfo> diallingNumber = DiallingNumbersInfo::UnMarshalling(reply); in QueryIccDiallingNumbers() local
2139 if (diallingNumber != nullptr) { in QueryIccDiallingNumbers()
2140 result.emplace_back(diallingNumber); in QueryIccDiallingNumbers()
2147 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in AddIccDiallingNumbers() argument
2168 if (diallingNumber != nullptr) { in AddIccDiallingNumbers()
2169 diallingNumber->Marshalling(data); in AddIccDiallingNumbers()
2186 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers() argument
2207 if (diallingNumber != nullptr) { in DelIccDiallingNumbers()
2208 diallingNumber->Marshalling(data); in DelIccDiallingNumbers()
2225 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers() argument
[all …]
Dcore_manager_inner.cpp1642 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in AddIccDiallingNumbers() argument
1648 return simManager_->AddIccDiallingNumbers(slotId, type, diallingNumber); in AddIccDiallingNumbers()
1652 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers() argument
1658 return simManager_->DelIccDiallingNumbers(slotId, type, diallingNumber); in DelIccDiallingNumbers()
1662 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers() argument
1668 return simManager_->UpdateIccDiallingNumbers(slotId, type, diallingNumber); in UpdateIccDiallingNumbers()
/base/telephony/core_service/services/core/src/
Dcore_service.cpp1136 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in AddIccDiallingNumbers() argument
1151 return simManager_->AddIccDiallingNumbers(slotId, type, diallingNumber); in AddIccDiallingNumbers()
1155 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers() argument
1170 return simManager_->DelIccDiallingNumbers(slotId, type, diallingNumber); in DelIccDiallingNumbers()
1174 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers() argument
1189 return simManager_->UpdateIccDiallingNumbers(slotId, type, diallingNumber); in UpdateIccDiallingNumbers()
Dcore_service_stub.cpp1296 std::shared_ptr<DiallingNumbersInfo> diallingNumber = DiallingNumbersInfo::UnMarshalling(data); in OnAddIccDiallingNumbers() local
1297 if (diallingNumber == nullptr) { in OnAddIccDiallingNumbers()
1301 int32_t result = AddIccDiallingNumbers(slotId, type, diallingNumber); in OnAddIccDiallingNumbers()
1314 std::shared_ptr<DiallingNumbersInfo> diallingNumber = DiallingNumbersInfo::UnMarshalling(data); in OnUpdateIccDiallingNumbers() local
1315 if (diallingNumber == nullptr) { in OnUpdateIccDiallingNumbers()
1319 int32_t result = UpdateIccDiallingNumbers(slotId, type, diallingNumber); in OnUpdateIccDiallingNumbers()
1332 std::shared_ptr<DiallingNumbersInfo> diallingNumber = DiallingNumbersInfo::UnMarshalling(data); in OnDelIccDiallingNumbers() local
1333 if (diallingNumber == nullptr) { in OnDelIccDiallingNumbers()
1337 int32_t result = DelIccDiallingNumbers(slotId, type, diallingNumber); in OnDelIccDiallingNumbers()