/base/telephony/core_service/services/sim/include/ |
D | icc_dialling_numbers_handler.h | 59 pin2(pin2Str), index(indexNum), loadId(serialId) in DiallingNumberLoadRequest() 114 this->pin2 = pin2Code; in SetPin2() 119 return this->pin2; in GetPin2() 170 std::string pin2 = ""; member 185 std::string pin2 = ""; member
|
D | icc_file_controller.h | 51 int dataLength, const std::string pin2, const AppExecFwk::InnerEvent::Pointer &onComplete); 53 const std::string pin2, const AppExecFwk::InnerEvent::Pointer &onComplete);
|
D | sim_state_manager.h | 44 int32_t UnlockPin2(int32_t slotId, const std::string &pin2, LockStatusResponse &response);
|
D | sim_state_handle.h | 121 void UnlockPin2(int32_t slotId, const std::string &pin2);
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril_vendor_sim_defs.h | 79 char *pin2; member 345 void (*UnlockPin2)(const ReqDataInfo *requestInfo, const char *pin2); 346 void (*UnlockPuk2)(const ReqDataInfo *requestInfo, const char *puk2, const char *pin2);
|
D | hril_sim_parcel.h | 93 std::string pin2 = ""; member
|
/base/telephony/core_service/services/sim/src/ |
D | icc_file_controller.cpp | 130 msg.pin2 = ""; in ProcessRecordSize() 165 msg.pin2 = ""; in ProcessBinarySize() 196 msg.pin2 = ""; in ProcessReadRecord() 253 msg.pin2 = ""; in ObtainBinaryFile() 272 msg.pin2 = ""; in ObtainBinaryFile() 295 msg.pin2 = ""; in ObtainLinearFixedFile() 323 msg.pin2 = ""; in ObtainAllLinearFixedFile() 350 msg.pin2 = ""; in ObtainLinearFileSize() 361 int dataLength, const std::string pin2, const AppExecFwk::InnerEvent::Pointer &onComplete) in UpdateLinearFixedFile() argument 376 msg.pin2 = pin2; in UpdateLinearFixedFile() [all …]
|
D | ruim_file_controller.cpp | 51 msg.pin2 = ""; in ObtainTransparentImg()
|
D | icc_dialling_numbers_cache.cpp | 205 std::string pin2 = Str16ToStr8(diallingNumberInfor->pin2_); in UpdateDiallingNumberToIcc() local 213 infor.pin2 = (fileId == ELEMENTARY_FILE_ADN) ? "" : pin2; in UpdateDiallingNumberToIcc()
|
D | sim_state_manager.cpp | 302 int32_t SimStateManager::UnlockPin2(int32_t slotId, const std::string &pin2, LockStatusResponse &re… in UnlockPin2() argument 311 simStateHandle_->UnlockPin2(slotId, pin2); in UnlockPin2()
|
/base/telephony/ril_adapter/services/vendor/include/ |
D | at_sim.h | 96 void ReqUnlockPin2(const ReqDataInfo *requestInfo, const char *pin2); 97 void ReqUnlockPuk2(const ReqDataInfo *requestInfo, const char *puk2, const char *pin2);
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
D | ril_sim_test.cpp | 90 msg.pin2 = ""; 116 msg.pin2 = ""; 804 std::string pin2 = "1234"; variable 805 int32_t ret = g_rilInterface->UnlockPin2(SLOTID_1, RilTestUtil::GetSerialId(), pin2); 824 std::string pin2 = "1234"; variable 825 int32_t ret = g_rilInterface->UnlockPin2(SLOTID_2, RilTestUtil::GetSerialId(), pin2); 845 std::string pin2 = "1234"; variable 846 int32_t ret = g_rilInterface->UnlockPuk2(SLOTID_1, RilTestUtil::GetSerialId(), puk2, pin2); 866 std::string pin2 = "1234"; variable 867 int32_t ret = g_rilInterface->UnlockPuk2(SLOTID_2, RilTestUtil::GetSerialId(), puk2, pin2);
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_test_util.cpp | 315 const std::u16string pin2 = Str8ToStr16("12345678"); in UnlockPin2TestFunc() local 317 int32_t result = CoreServiceClient::GetInstance().UnlockPin2(SimTest::slotId_, pin2, response); in UnlockPin2TestFunc() 324 const std::u16string pin2 = Str8ToStr16("12345678"); in UnlockPin2TestFunc1() local 326 int32_t result = CoreServiceClient::GetInstance().UnlockPin2(SimTest::slotId1_, pin2, response); in UnlockPin2TestFunc1() 332 const std::u16string pin2 = Str8ToStr16("12345678"); in UnlockPuk2TestFunc() local 335 …int32_t result = CoreServiceClient::GetInstance().UnlockPuk2(SimTest::slotId_, pin2, puk2, respons… in UnlockPuk2TestFunc() 342 const std::u16string pin2 = Str8ToStr16("12345678"); in UnlockPuk2TestFunc1() local 345 …int32_t result = CoreServiceClient::GetInstance().UnlockPuk2(SimTest::slotId1_, pin2, puk2, respon… in UnlockPuk2TestFunc1()
|
/base/telephony/core_service/interfaces/kits/js/ |
D | @ohos.telephony.sim.d.ts | 1449 …function unlockPin2(slotId: number, pin2: string, callback: AsyncCallback<LockStatusResponse>): vo… 1473 function unlockPin2(slotId: number, pin2: string): Promise<LockStatusResponse>; 2353 pin2?: string; property
|
/base/telephony/core_service/test/fuzztest/sendsmsmoremode_fuzzer/ |
D | sendsmsmoremode_fuzzer.cpp | 249 std::string pin2(reinterpret_cast<const char *>(data), size); in GetSimStatus() 261 simIoInfo.pin2 = pin2; in GetSimStatus() 280 telRilSim->UnlockPin2(pin2, result); in GetSimStatus() 281 telRilSim->UnlockPuk2(puk2, pin2, result); in GetSimStatus()
|
/base/telephony/core_service/frameworks/js/sim/include/ |
D | napi_sim.h | 72 std::array<char, ARRAY_SIZE> pin2 {};
|
/base/telephony/core_service/services/sim/test/ |
D | test.cpp | 684 std::string pin2 = ""; in TestAddIccDiallingNumbers() local 698 std::cin >> pin2; in TestAddIccDiallingNumbers() 706 diallingNumber->pin2_ = Str8ToStr16(pin2); in TestAddIccDiallingNumbers() 723 std::string pin2 = ""; in TestDelIccDiallingNumbers() local 734 std::cin >> pin2; in TestDelIccDiallingNumbers() 741 diallingNumber->pin2_ = Str8ToStr16(pin2); in TestDelIccDiallingNumbers() 756 std::string pin2 = ""; in TestUpdateIccDiallingNumbers() local 773 std::cin >> pin2; in TestUpdateIccDiallingNumbers() 781 diallingNumber->pin2_ = Str8ToStr16(pin2); in TestUpdateIccDiallingNumbers() 1037 std::string pin2 = " "; in TestUnlockPin2() local [all …]
|
/base/telephony/ril_adapter/services/hril/src/ |
D | hril_sim.cpp | 86 SafeFrees(rilSimIO->data, rilSimIO->pathid, rilSimIO->pin2); in GetSimIO() 150 int32_t HRilSim::UnlockPin2(int32_t serialId, const std::string &pin2) in UnlockPin2() argument 153 CopyToCharPoint(&pin2Point, pin2); in UnlockPin2() 159 int32_t HRilSim::UnlockPuk2(int32_t serialId, const std::string &puk2, const std::string &pin2) in UnlockPuk2() argument 164 CopyToCharPoint(&pin2Point, pin2); in UnlockPuk2() 635 simIO.path.c_str(), simIO.pin2.c_str()); in CopyToHRilSimIO() 638 CopyToCharPoint(&(rilSimIO->pin2), simIO.pin2); in CopyToHRilSimIO() 640 rilSimIO->pathid, rilSimIO->pin2); in CopyToHRilSimIO()
|
/base/telephony/core_service/services/tel_ril/src/ |
D | tel_ril_sim.cpp | 316 iccIoRequestInfo.pin2 = simIoInfo.pin2; in GetSimIO() 371 int32_t TelRilSim::UnlockPin2(std::string pin2, const AppExecFwk::InnerEvent::Pointer &response) in UnlockPin2() argument 373 …(TELEPHONY_LOG_FUNC_NAME, response, HREQ_SIM_UNLOCK_PIN2, &HDI::Ril::V1_1::IRil::UnlockPin2, pin2); in UnlockPin2() 376 int32_t TelRilSim::UnlockPuk2(std::string puk2, std::string pin2, const AppExecFwk::InnerEvent::Poi… in UnlockPuk2() argument 379 …HONY_LOG_FUNC_NAME, response, HREQ_SIM_UNLOCK_PUK2, &HDI::Ril::V1_1::IRil::UnlockPuk2, puk2, pin2); in UnlockPuk2()
|
D | tel_ril_manager.cpp | 797 int32_t slotId, const std::string &pin2, const AppExecFwk::InnerEvent::Pointer &response) in UnlockPin2() argument 799 return TaskSchedule(response, "TelRilSim", GetTelRilSim(slotId), &TelRilSim::UnlockPin2, pin2); in UnlockPin2() 803 …int32_t slotId, const std::string &puk2, const std::string &pin2, const AppExecFwk::InnerEvent::Po… in UnlockPuk2() argument 805 …turn TaskSchedule(response, "TelRilSim", GetTelRilSim(slotId), &TelRilSim::UnlockPuk2, puk2, pin2); in UnlockPuk2()
|
/base/telephony/ril_adapter/services/hril/include/ |
D | hril_sim.h | 43 int32_t UnlockPin2(int32_t serialId, const std::string &pin2); 44 int32_t UnlockPuk2(int32_t serialId, const std::string &puk2, const std::string &pin2);
|
/base/telephony/core_service/services/tel_ril/include/ |
D | tel_ril_sim.h | 50 int32_t UnlockPin2(std::string pin2, const AppExecFwk::InnerEvent::Pointer &response); 51 …int32_t UnlockPuk2(std::string puk2, std::string pin2, const AppExecFwk::InnerEvent::Pointer &resp…
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_sim.c | 217 …nt32_t tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d,\"%s\"", "FD", 1, pSim->pin2); in ReqGetSimIOFDNWrite() 237 tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d,\"%s\"", "FD", 0, pSim->pin2); in ReqGetSimIOFDNWrite() 265 … tmp = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT+CLCK=\"%s\",%d,\"%s\"", "FD", clckRes, pSim->pin2); in ReqGetSimIOFDN() 324 if (pSim->pin2 != NULL && strcmp(pSim->pin2, "") != 0 && pSim->fileid == FILEID) { in ReqGetSimIO() 767 void ReqUnlockPin2(const ReqDataInfo *requestInfo, const char *pin2) in ReqUnlockPin2() argument 774 int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^CPIN2=\"%s\"", pin2); in ReqUnlockPin2() 821 void ReqUnlockPuk2(const ReqDataInfo *requestInfo, const char *puk2, const char *pin2) in ReqUnlockPuk2() argument 828 int32_t result = GenerateCommand(cmd, MAX_CMD_LENGTH, "AT^CPIN2=\"%s\",\"%s\"", puk2, pin2); in ReqUnlockPuk2()
|
/base/telephony/ril_adapter/test/unittest/ |
D | ril_interface_test.cpp | 486 msg.pin2 = ""; in IccRilSimIoForAppTest() 1216 std::string pin2; in UnLockPIN2Test() local 1218 cin >> pin2; in UnLockPIN2Test() 1219 int32_t ret = g_rilInterface->UnlockPin2(slotId, GetSerialId(), pin2); in UnLockPIN2Test() 1242 std::string pin2; in UnLockPUK2Test() local 1244 cin >> pin2; in UnLockPUK2Test() 1245 int32_t ret = g_rilInterface->UnlockPuk2(slotId, GetSerialId(), puk2, pin2); in UnLockPUK2Test()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | i_tel_ril_manager.h | 207 int32_t slotId, const std::string &pin2, const AppExecFwk::InnerEvent::Pointer &result) = 0; 208 virtual int32_t UnlockPuk2(int32_t slotId, const std::string &puk2, const std::string &pin2,
|