/base/telephony/cellular_call/services/common/include/ |
H A D | supplement_request_cs.h | 154 * @param oldPin The old pin code for unlock SIM 157 int32_t AlterPinPassword(int32_t slotId, std::string newPin, std::string oldPin);
|
/base/telephony/core_service/services/sim/include/ |
H A D | sim_state_manager.h | 44 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response);
|
H A D | sim_state_handle.h | 122 void AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin);
|
H A D | sim_manager.h | 57 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) override;
|
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/ |
H A D | unlockpin_fuzzer.cpp | 96 std::string oldPin(reinterpret_cast<const char *>(data), size); in AlterPin() 97 std::u16string oldPinStr = Str8ToStr16(oldPin); in AlterPin()
|
/base/telephony/cellular_call/services/common/src/ |
H A D | supplement_request_cs.cpp | 177 int32_t SupplementRequestCs::AlterPinPassword(int32_t slotId, std::string newPin, std::string oldPin) in AlterPinPassword() argument 181 int32_t result = CoreManagerInner::GetInstance().AlterPin(slotId, newPin, oldPin, response); in AlterPinPassword()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | zero_branch1_test.cpp | 911 std::string oldPin = "123456"; in HWTEST_F() local 925 ASSERT_EQ(supplementRequestCs.SetBarringPasswordRequest(SIM1_SLOTID, msg, 0, oldPin.c_str(), newPin.c_str()), in HWTEST_F() 928 ASSERT_EQ(supplementRequestCs.AlterPinPassword(SIM1_SLOTID, newPin, oldPin), TELEPHONY_ERROR); in HWTEST_F() 930 ASSERT_EQ(supplementRequestCs.AlterPin2Password(SIM1_SLOTID, newPin, oldPin), TELEPHONY_ERROR); in HWTEST_F()
|
/base/telephony/core_service/services/sim/src/ |
H A D | sim_state_manager.cpp | 244 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) in AlterPin() 253 simStateHandle_->AlterPin(slotId, newPin, oldPin); in AlterPin() 243 AlterPin( int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) AlterPin() argument
|
H A D | sim_state_handle.cpp | 209 void SimStateHandle::AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin) in AlterPin() argument 216 simPinPassword.oldPassword = oldPin; in AlterPin()
|
H A D | sim_manager.cpp | 216 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response)
in AlterPin() 222 return simStateManager_[slotId]->AlterPin(slotId, newPin, oldPin, response);
in AlterPin() 215 AlterPin( int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) AlterPin() argument
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | core_service_test.cpp | 367 std::u16string oldPin = u""; in HWTEST_F() local 369 auto result = DelayedSingleton<CoreService>::GetInstance()->AlterPin(0, newPin, oldPin, response); in HWTEST_F()
|
/base/telephony/core_service/services/sim/test/ |
H A D | test.cpp | 1024 std::string oldPin = " "; in TestAlterPin() local 1032 std::cin >> oldPin; in TestAlterPin() local 1033 size = oldPin.size(); in TestAlterPin() 1041 std::cout << "Unlock pin: oldPin = " << oldPin << " newPin = " << newPin << endl; in TestAlterPin() 1042 g_telephonyService->AlterPin(testSlot, Str8ToStr16(newPin.c_str()), Str8ToStr16(oldPin.c_str()), response); in TestAlterPin()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | core_service_client.h | 470 * @param oldPin[in], old password 475 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response);
|
H A D | i_sim_manager.h | 54 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) = 0;
|
H A D | core_service_proxy.h | 90 int32_t AlterPin(const int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin,
|
H A D | i_core_service.h | 73 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) = 0;
|
H A D | core_manager_inner.h | 256 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response);
|
/base/telephony/cellular_data/test/mock/ |
H A D | mock_core_service.h | 62 (int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response),
|
/base/telephony/core_service/frameworks/native/src/ |
H A D | core_service_client.cpp | 587 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) in AlterPin() 594 return proxy->AlterPin(slotId, newPin, oldPin, response); in AlterPin() 586 AlterPin( int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) AlterPin() argument
|
H A D | core_manager_inner.cpp | 2262 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) in AlterPin() 2268 return simManager_->AlterPin(slotId, newPin, oldPin, response); in AlterPin() 2261 AlterPin( int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) AlterPin() argument
|
/base/telephony/core_service/services/core/src/ |
H A D | core_service.cpp | 862 const int slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) in AlterPin() 873 static_cast<unsigned long>(newPin.length()), static_cast<unsigned long>(oldPin.length()), slotId); in AlterPin() 878 return simManager_->AlterPin(slotId, Str16ToStr8(newPin), Str16ToStr8(oldPin), response); in AlterPin() 861 AlterPin( const int slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) AlterPin() argument
|
H A D | core_service_stub.cpp | 1139 std::u16string oldPin = data.ReadString16(); in OnAlterPin() local 1140 int32_t result = AlterPin(slotId, newPin, oldPin, response); in OnAlterPin()
|
/base/telephony/core_service/services/core/include/ |
H A D | core_service.h | 123 int32_t AlterPin(int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin,
|
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/ |
H A D | esim_core_service_stub_test.h | 146 const std::u16string &oldPin, LockStatusResponse &response) override
|
/base/telephony/cellular_call/services/utils/src/ |
H A D | cellular_call_supplement.cpp | 1440 std::string oldPin = mmiData.serviceInfoA; in AlterPinPassword() local 1447 result = supplementRequestCs_.AlterPinPassword(slotId, newPin, oldPin); in AlterPinPassword()
|