Home
last modified time | relevance | path

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

12

/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_icc_test.cpp140 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
145 DiallingNumbersInfo mInfo = DiallingNumbersInfo();
151 DiallingNumbersInfo mInfoTemp = DiallingNumbersInfo(0, 0);
178 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
199 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
220 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
240 … std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>();
262 … std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>();
325 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
396 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_FDN, 0);
[all …]
H A Dzero_branch_test_sim_ril.cpp293 std::shared_ptr<DiallingNumbersInfo> telNumber = std::make_shared<DiallingNumbersInfo>();
356 std::shared_ptr<DiallingNumbersInfo> diallingNumbers = std::make_shared<DiallingNumbersInfo>();
386 std::shared_ptr<DiallingNumbersInfo> diallingNumber =
387 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
390 std::shared_ptr<DiallingNumbersInfo> diallingNumberEx = std::make_shared<DiallingNumbersInfo>();
461 std::shared_ptr<DiallingNumbersInfo> telNumber = std::make_shared<DiallingNumbersInfo>();
514 std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr;
521 std::shared_ptr<DiallingNumbersInfo> diallingNumbers1 = std::make_shared<DiallingNumbersInfo>();
662 std::shared_ptr<DiallingNumbersInfo> diallingNumber =
663 std::make_shared<DiallingNumbersInfo>(DiallingNumbersInfo::SIM_ADN, 0);
[all …]
H A Dsim_test_util.cpp162 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbers; in QueryIccAdnDiallingNumbersTestFunc()
164 SimTest::slotId_, DiallingNumbersInfo::SIM_ADN, diallingNumbers); in QueryIccAdnDiallingNumbersTestFunc()
169 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbers; in QueryIccAdnDiallingNumbersTestFunc1()
171 SimTest::slotId1_, DiallingNumbersInfo::SIM_ADN, diallingNumbers); in QueryIccAdnDiallingNumbersTestFunc1()
176 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbers; in QueryIccFdnDiallingNumbersTestFunc()
178 SimTest::slotId_, DiallingNumbersInfo::SIM_FDN, diallingNumbers); in QueryIccFdnDiallingNumbersTestFunc()
183 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbers; in QueryIccFdnDiallingNumbersTestFunc1()
185 SimTest::slotId1_, DiallingNumbersInfo::SIM_FDN, diallingNumbers); in QueryIccFdnDiallingNumbersTestFunc1()
H A Dsim_core_service_test.cpp113 std::vector<std::shared_ptr<DiallingNumbersInfo>> reslut = {};
115 const std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr;
258 std::vector<std::shared_ptr<DiallingNumbersInfo>> reslut = {};
260 const std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr;
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Ddialling_numbers_info.h26 class DiallingNumbersInfo : public Parcelable {
92 static std::shared_ptr<DiallingNumbersInfo> UnMarshalling(Parcel &parcel) in UnMarshalling()
94 std::shared_ptr<DiallingNumbersInfo> param = std::make_shared<DiallingNumbersInfo>(); in UnMarshalling()
104 DiallingNumbersInfo() {} in DiallingNumbersInfo() function
106 DiallingNumbersInfo(int32_t efid, int32_t recordNumber) in DiallingNumbersInfo() function
112 DiallingNumbersInfo(std::u16string &alphaTag, std::u16string &number) in DiallingNumbersInfo() function
114 DiallingNumbersInfo(0, 0, alphaTag, number); in DiallingNumbersInfo()
117DiallingNumbersInfo(std::u16string alphaTag, std::u16string number, std::vector<std::u16string> &e… in DiallingNumbersInfo() function
119 DiallingNumbersInfo(0, 0, alphaTag, number, emails); in DiallingNumbersInfo()
122DiallingNumbersInfo(int32_t efid, int32_t recordNumber, std::u16string alphaTag, std::u16string nu… in DiallingNumbersInfo() function
[all …]
H A Di_sim_manager.h124 int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) = 0;
126 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
128 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
130 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
H A Dcore_service_client.h650 …ccDiallingNumbers(int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result);
660 …int32_t AddIccDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &di…
670 …int32_t DelIccDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &di…
680 …dateIccDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingN…
H A Di_core_service.h118 int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) = 0;
120 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
122 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
124 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) = 0;
H A Dcore_service_proxy.h112 int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) 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;
118 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
H A Dcore_manager_inner.h290 …ccDiallingNumbers(int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result);
291 …int32_t AddIccDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &di…
292 …int32_t DelIccDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &di…
293 …dateIccDiallingNumbers(int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingN…
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dicc_dialling_numbers_cache.cpp137 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo in ProcessChangeDiallingNumbersDone()
178 std::shared_ptr<DiallingNumbersInfo> diallingNumberInfor, int index, in UpdateDiallingNumberToIcc()
193 if (isDel && index == DiallingNumbersInfo::EMPTY_INDEX) { in UpdateDiallingNumberToIcc()
220 const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &list, in CheckValueAndOperation()
221 const std::shared_ptr<DiallingNumbersInfo> &info, int &index, int fileId) in CheckValueAndOperation()
226 std::shared_ptr<DiallingNumbersInfo> &item = *it; in CheckValueAndOperation()
245 std::shared_ptr<DiallingNumbersInfo> &item = *it; in CheckValueAndOperation()
257 const std::shared_ptr<DiallingNumbersInfo> &info, int &index) in SearchIndexByNameAndNumber()
260 std::shared_ptr<DiallingNumbersInfo> &item = *it; in SearchIndexByNameAndNumber()
309 const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &ar, in SendBackResult()
[all …]
H A Dicc_dialling_numbers_manager.cpp155 int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in UpdateIccDiallingNumbers()
184 int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in DelIccDiallingNumbers()
213 int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) in AddIccDiallingNumbers()
241 int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) in QueryIccDiallingNumbers()
286 std::vector<std::shared_ptr<DiallingNumbersInfo>> nullVector; in ClearRecords()
293 if (fileType == DiallingNumbersInfo::SIM_ADN) { in GetFileIdForType()
295 } else if (fileType == DiallingNumbersInfo::SIM_FDN) { in GetFileIdForType()
306 std::shared_ptr<DiallingNumbersInfo> item = *it; in FillResults()
317 case DiallingNumbersInfo::SIM_ADN: in IsValidType()
318 case DiallingNumbersInfo::SIM_FDN: in IsValidType()
[all …]
H A Dusim_dialling_numbers_service.cpp78 std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> list = in ProcessPbrLoadDone()
79 std::make_shared<std::vector<std::shared_ptr<DiallingNumbersInfo>>>(); in ProcessPbrLoadDone()
97 std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> diallingNumberList = in ProcessDiallingNumberLoadDone()
98 … std::static_pointer_cast<std::vector<std::shared_ptr<DiallingNumbersInfo>>>(object->result); in ProcessDiallingNumberLoadDone()
116 const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &list) in FillDiallingNumbersRecords()
119 …for (std::vector<std::shared_ptr<DiallingNumbersInfo>>::iterator it = list->begin(); it != list->e… in FillDiallingNumbersRecords()
325 const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &diallingnumbers) in SendBackResult()
350 std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> diallingnumbers = in SendLocalBack()
351 std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>>(&diallingNumbersFiles_); in SendLocalBack()
H A Dicc_dialling_numbers_handler.cpp155 std::shared_ptr<DiallingNumbersInfo> diallingNumberLoad = nullptr; in ProcessLinearSizeDone()
167 diallingNumberLoad = std::static_pointer_cast<DiallingNumbersInfo>(baseLoad); in ProcessLinearSizeDone()
248 std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> diallingNumberList = in ProcessDiallingNumber()
249 std::make_shared<std::vector<std::shared_ptr<DiallingNumbersInfo>>>(); in ProcessDiallingNumber()
257 std::shared_ptr<DiallingNumbersInfo> diallingNumber = in ProcessDiallingNumber()
258 std::make_shared<DiallingNumbersInfo>(loadRequest->GetElementaryFileId(), 1 + i); in ProcessDiallingNumber()
292 std::shared_ptr<DiallingNumbersInfo> diallingNumber = in ProcessDiallingNumberLoadDone()
293 …std::make_shared<DiallingNumbersInfo>(loadRequest->GetElementaryFileId(), loadRequest->GetIndex()); in ProcessDiallingNumberLoadDone()
418 const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, const std::string &recordData) in FetchDiallingNumberContent()
449 const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, int dataLength) in CreateSavingSequence()
[all …]
H A Dsim_file.cpp138 std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>(); in UpdateMsisdnNumber()
746 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo in ProcessGetMsisdnDone()
897 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo in ProcessGetMbdnDone()
937 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo in ProcessGetCphsMailBoxDone()
1614 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo in ProcessSetCphsMailbox()
1714 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::static_pointer_cast<DiallingNumbersInfo in ProcessSetMbdn()
1726 … std::shared_ptr<DiallingNumbersInfo> diallingNumberCphs = std::make_shared<DiallingNumbersInfo>(); in ProcessSetMbdn()
1948 std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>(); in UpdateVoiceMail()
/ohos5.0/base/telephony/core_service/services/sim/include/
H A Dicc_dialling_numbers_cache.h44 …std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> LoadReadyDiallingNumbers(int fi…
46 …void UpdateDiallingNumberToIcc(int fileId, std::shared_ptr<DiallingNumbersInfo> diallingNumberInfo…
56 …std::map<int, std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>>> diallingNumberFi…
60 const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &ar,
73 …const std::shared_ptr<DiallingNumbersInfo> &src, const std::shared_ptr<DiallingNumbersInfo> &dest);
76 …ckValueAndOperation(const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &list,
77 const std::shared_ptr<DiallingNumbersInfo> &info, int &index, int fileId);
78 …ndexByNameAndNumber(const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &list,
79 const std::shared_ptr<DiallingNumbersInfo> &info, int &index);
H A Dicc_dialling_numbers_manager.h43 …int32_t QueryIccDiallingNumbers(int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &resul…
44 …int32_t AddIccDiallingNumbers(int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber…
45 …int32_t DelIccDiallingNumbers(int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber…
46 …int32_t UpdateIccDiallingNumbers(int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNum…
63 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbersList_;
76 …void FillResults(const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &listInf…
79 bool IsValidParam(int type, const std::shared_ptr<DiallingNumbersInfo> &info);
H A Dicc_dialling_numbers_handler.h180 std::shared_ptr<DiallingNumbersInfo> diallingNumber = nullptr;
227 const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, const std::string &recordData);
229 const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, int dataLength);
234 bool FormatNameAndNumber(std::shared_ptr<DiallingNumbersInfo> &diallingNumber, bool isDel);
235 void SendUpdateCommand(const std::shared_ptr<DiallingNumbersInfo> &diallingNumber, int length,
H A Dusim_dialling_numbers_service.h60 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbersFiles_;
81 …lingNumbersRecords(const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &list);
87 …void SendBackResult(const std::shared_ptr<std::vector<std::shared_ptr<DiallingNumbersInfo>>> &dial…
H A Dsim_manager.h135 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
137 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
139 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
141 int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) override;
/ohos5.0/base/telephony/core_service/interfaces/kits/js/
H A D@ohos.telephony.sim.d.ts1640 …bers(slotId: number, type: ContactType, callback: AsyncCallback<Array<DiallingNumbersInfo>>): void;
1664 …on queryIccDiallingNumbers(slotId: number, type: ContactType): Promise<Array<DiallingNumbersInfo>>;
1689 …iallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: …
1714 …iallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<v…
1739 …iallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: …
1764 …iallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<v…
1789 …iallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo, callback: …
1814 …iallingNumbers(slotId: number, type: ContactType, diallingNumbers: DiallingNumbersInfo): Promise<v…
2362 export interface DiallingNumbersInfo {
/ohos5.0/base/telephony/call_manager/services/telephony_interaction/src/
H A Dcore_service_connection.cpp28 std::vector<std::shared_ptr<DiallingNumbersInfo>> diallingNumbers; in GetFdnNumberList()
30 slotId, DiallingNumbersInfo::SIM_FDN, diallingNumbers); in GetFdnNumberList()
35 for (std::vector<std::shared_ptr<DiallingNumbersInfo>>::iterator it = diallingNumbers.begin(); in GetFdnNumberList()
/ohos5.0/base/telephony/core_service/services/sim/test/
H A Dtest.cpp660 int type = DiallingNumbersInfo::SIM_ADN; in TestQueryIccDiallingNumbers()
664 type = DiallingNumbersInfo::SIM_FDN; in TestQueryIccDiallingNumbers()
710 type = DiallingNumbersInfo::SIM_FDN; in TestAddIccDiallingNumbers()
714 type = DiallingNumbersInfo::SIM_ADN; in TestAddIccDiallingNumbers()
717 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>(type, … in TestAddIccDiallingNumbers()
746 type = DiallingNumbersInfo::SIM_FDN; in TestDelIccDiallingNumbers()
750 type = DiallingNumbersInfo::SIM_ADN; in TestDelIccDiallingNumbers()
753 …std::shared_ptr<DiallingNumbersInfo> diallingNumber = std::make_shared<DiallingNumbersInfo>(type, … in TestDelIccDiallingNumbers()
785 type = DiallingNumbersInfo::SIM_FDN; in TestUpdateIccDiallingNumbers()
789 type = DiallingNumbersInfo::SIM_ADN; in TestUpdateIccDiallingNumbers()
[all …]
/ohos5.0/base/telephony/core_service/services/core/include/
H A Dcore_service.h191 int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) override;
194 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
197 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
200 int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/
H A Djs-apis-sim-sys.md2445 sim.queryIccDiallingNumbers(0, 1, (err: BusinessError, data: Array<sim.DiallingNumbersInfo>) => {
2453 queryIccDiallingNumbers\(slotId: number, type: ContactType\): Promise\<Array\<DiallingNumbersInfo\>…
2479 | Promise<Array<[DiallingNumbersInfo](#diallingnumbersinfo8)\>> | 以Promise形式返回Icc拨号号码。|
2503 sim.queryIccDiallingNumbers(0, 1).then((data: Array<sim.DiallingNumbersInfo>) => {
2558 let diallingNumbersInof: sim.DiallingNumbersInfo = {
2622 let diallingNumbersInof: sim.DiallingNumbersInfo = {
2681 let diallingNumbersInof: sim.DiallingNumbersInfo = {
2746 let diallingNumbersInof: sim.DiallingNumbersInfo = {
2805 let diallingNumbersInof: sim.DiallingNumbersInfo = {
2870 let diallingNumbersInof: sim.DiallingNumbersInfo = {
[all …]

12