Home
last modified time | relevance | path

Searched refs:oldPin (Results 1 - 25 of 26) sorted by relevance

12

/base/telephony/cellular_call/services/common/include/
H A Dsupplement_request_cs.h154 * @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 Dsim_state_manager.h44 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response);
H A Dsim_state_handle.h122 void AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin);
H A Dsim_manager.h57 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) override;
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/
H A Dunlockpin_fuzzer.cpp96 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 Dsupplement_request_cs.cpp177 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 Dzero_branch1_test.cpp911 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 Dsim_state_manager.cpp244 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 Dsim_state_handle.cpp209 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 Dsim_manager.cpp216 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 Dcore_service_test.cpp367 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 Dtest.cpp1024 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 Dcore_service_client.h470 * @param oldPin[in], old password
475 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response);
H A Di_sim_manager.h54 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) = 0;
H A Dcore_service_proxy.h90 int32_t AlterPin(const int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin,
H A Di_core_service.h73 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) = 0;
H A Dcore_manager_inner.h256 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response);
/base/telephony/cellular_data/test/mock/
H A Dmock_core_service.h62 (int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response),
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_client.cpp587 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 Dcore_manager_inner.cpp2262 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 Dcore_service.cpp862 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 Dcore_service_stub.cpp1139 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 Dcore_service.h123 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 Desim_core_service_stub_test.h146 const std::u16string &oldPin, LockStatusResponse &response) override
/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_supplement.cpp1440 std::string oldPin = mmiData.serviceInfoA; in AlterPinPassword() local
1447 result = supplementRequestCs_.AlterPinPassword(slotId, newPin, oldPin); in AlterPinPassword()

Completed in 40 milliseconds

12