Home
last modified time | relevance | path

Searched refs:newPin (Results 1 – 22 of 22) sorted by relevance

/base/telephony/cellular_call/services/connection/include/
Dsupplement_request.h190 int32_t AlterPinPassword(int32_t slotId, std::string newPin, std::string oldPin);
200 int32_t UnlockPuk(int32_t slotId, std::string newPin, std::string puk);
/base/telephony/core_service/services/sim/include/
Dsim_state_manager.h38 …int32_t UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusRes…
40 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response…
Dsim_state_handle.h110 void UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk);
111 void AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin);
Dsim_manager.h47 …int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) o…
49 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response…
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.sim.d.ts570 …function unlockPuk(slotId: number, newPin: string, puk: string, callback: AsyncCallback<LockStatus…
571 function unlockPuk(slotId: number, newPin: string, puk: string): Promise<LockStatusResponse>;
593 …function alterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback<LockStat…
594 function alterPin(slotId: number, newPin: string, oldPin: string): Promise<LockStatusResponse>;
/base/telephony/cellular_call/services/connection/src/
Dsupplement_request.cpp274 int32_t SupplementRequest::AlterPinPassword(int32_t slotId, std::string newPin, std::string oldPin) in AlterPinPassword() argument
277 int32_t result = CoreManagerInner::GetInstance().AlterPin(slotId, newPin, oldPin, response); in AlterPinPassword()
297 int32_t SupplementRequest::UnlockPuk(int32_t slotId, std::string newPin, std::string puk) in UnlockPuk() argument
300 int32_t result = CoreManagerInner::GetInstance().UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
/base/telephony/core_service/services/sim/src/
Dsim_state_manager.cpp150 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) in UnlockPuk() argument
159 simStateHandle_->UnlockPuk(slotId, newPin, puk); in UnlockPuk()
184 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) in AlterPin() argument
193 simStateHandle_->AlterPin(slotId, newPin, oldPin); in AlterPin()
Dsim_state_handle.cpp106 void SimStateHandle::UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk) in UnlockPuk() argument
115 telRilManager_->UnlockPuk(slotId, puk, newPin, event); in UnlockPuk()
118 void SimStateHandle::AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin) in AlterPin() argument
121 int32_t length = (int32_t)newPin.size(); in AlterPin()
126 simPinPassword.newPassword = newPin; in AlterPin()
Dsim_manager.cpp198 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) in UnlockPuk() argument
204 return simStateManager_[slotId]->UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
208 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) in AlterPin() argument
214 return simStateManager_[slotId]->AlterPin(slotId, newPin, oldPin, response); in AlterPin()
/base/telephony/cellular_call/services/control/src/
Dcellular_call_supplement.cpp851 std::string newPin = mmiData.serviceInfoB; in AlterPinPassword() local
853 if (!IsVaildPinOrPuk(newPin, newPinCheck)) { in AlterPinPassword()
856 supplementRequest_.AlterPinPassword(slotId, newPin, oldPin); in AlterPinPassword()
873 std::string newPin = mmiData.serviceInfoB; in UnlockPuk() local
875 if (!IsVaildPinOrPuk(newPin, newPinCheck)) { in UnlockPuk()
878 supplementRequest_.UnlockPuk(slotId, newPin, puk); in UnlockPuk()
/base/telephony/core_service/services/sim/test/
Dtest.cpp879 std::string newPin = " "; in TestUnlockPuk() local
884 std::cin >> newPin; in TestUnlockPuk()
885 size = newPin.size(); in TestUnlockPuk()
893 std::cout << "Unlock puk: newPin = " << newPin << " puk = " << puk << endl; in TestUnlockPuk()
894 …g_telephonyService->UnlockPuk(SLOT_ID, Str8ToStr16(newPin.c_str()), Str8ToStr16(puk.c_str()), resp… in TestUnlockPuk()
904 std::string newPin = " "; in TestAlterPin() local
914 std::cin >> newPin; in TestAlterPin()
915 size = newPin.size(); in TestAlterPin()
917 std::cout << "Unlock pin: oldPin = " << oldPin << " newPin = " << newPin << endl; in TestAlterPin()
918 …g_telephonyService->AlterPin(SLOT_ID, Str8ToStr16(newPin.c_str()), Str8ToStr16(oldPin.c_str()), re… in TestAlterPin()
/base/telephony/core_service/interfaces/innerkits/include/
Di_sim_manager.h39 …int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) =…
41 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response…
Dcore_service_client.h80 …int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &respo…
82 …int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &re…
Di_core_service.h55 …int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &respo…
57 …int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &re…
Dcore_service_proxy.h78 int32_t UnlockPuk(const int32_t slotId, const std::u16string &newPin, const std::u16string &puk,
80 … int32_t AlterPin(const int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin,
Dcore_manager_inner.h237 …int32_t UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusRes…
239 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response…
/base/telephony/core_service/services/core/src/
Dcore_service.cpp657 …const int slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &res… in UnlockPuk() argument
664 … static_cast<unsigned long>(newPin.length()), static_cast<unsigned long>(puk.length()), slotId); in UnlockPuk()
669 return simManager_->UnlockPuk(slotId, Str16ToStr8(newPin), Str16ToStr8(puk), response); in UnlockPuk()
673 …const int slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &… in AlterPin() argument
680 … static_cast<unsigned long>(newPin.length()), static_cast<unsigned long>(oldPin.length()), slotId); in AlterPin()
685 return simManager_->AlterPin(slotId, Str16ToStr8(newPin), Str16ToStr8(oldPin), response); in AlterPin()
Dcore_service_stub.cpp749 std::u16string newPin = data.ReadString16(); in OnUnlockPuk() local
751 int32_t result = UnlockPuk(slotId, newPin, puk, response); in OnUnlockPuk()
770 std::u16string newPin = data.ReadString16(); in OnAlterPin() local
772 int32_t result = AlterPin(slotId, newPin, oldPin, response); in OnAlterPin()
/base/telephony/core_service/services/core/include/
Dcore_service.h110 …int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &respo…
112 int32_t AlterPin(int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin,
/base/telephony/core_service/frameworks/native/src/
Dcore_service_client.cpp514 …int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &respo… in UnlockPuk() argument
521 return proxy->UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
525 …int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &re… in AlterPin() argument
532 return proxy->AlterPin(slotId, newPin, oldPin, response); in AlterPin()
Dcore_manager_inner.cpp2035 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) in UnlockPuk() argument
2041 return simManager_->UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
2045 …int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) in AlterPin() argument
2051 return simManager_->AlterPin(slotId, newPin, oldPin, response); in AlterPin()
Dcore_service_proxy.cpp1400 …const int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse … in UnlockPuk() argument
1410 data.WriteString16(newPin); in UnlockPuk()
1433 …const int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusRespon… in AlterPin() argument
1443 data.WriteString16(newPin); in AlterPin()