/base/telephony/cellular_call/services/connection/include/ |
D | supplement_request.h | 190 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/ |
D | sim_state_manager.h | 38 …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…
|
D | sim_state_handle.h | 110 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);
|
D | sim_manager.h | 47 …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.ts | 570 …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/ |
D | supplement_request.cpp | 274 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/ |
D | sim_state_manager.cpp | 150 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()
|
D | sim_state_handle.cpp | 106 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()
|
D | sim_manager.cpp | 198 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/ |
D | cellular_call_supplement.cpp | 851 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/ |
D | test.cpp | 879 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/ |
D | i_sim_manager.h | 39 …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…
|
D | core_service_client.h | 80 …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…
|
D | i_core_service.h | 55 …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…
|
D | core_service_proxy.h | 78 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,
|
D | core_manager_inner.h | 237 …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/ |
D | core_service.cpp | 657 …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()
|
D | core_service_stub.cpp | 749 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/ |
D | core_service.h | 110 …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/ |
D | core_service_client.cpp | 514 …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()
|
D | core_manager_inner.cpp | 2035 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()
|
D | core_service_proxy.cpp | 1400 …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()
|