Home
last modified time | relevance | path

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

12

/base/telephony/cellular_call/services/common/include/
H A Dsupplement_request_cs.h153 * @param newPin The new pin code for unlock SIM
157 int32_t AlterPinPassword(int32_t slotId, std::string newPin, std::string oldPin);
163 * @param newPin The new pin code for unlock SIM
167 int32_t UnlockPuk(int32_t slotId, std::string newPin, std::string puk);
/base/telephony/core_service/services/sim/include/
H A Dsim_state_manager.h42 int32_t UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response);
44 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response);
H A Dsim_state_handle.h121 void UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk);
122 void AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin);
H A Dsim_manager.h55 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) override;
57 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) override;
/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()
208 int32_t SupplementRequestCs::UnlockPuk(int32_t slotId, std::string newPin, std::string puk) in UnlockPuk() argument
212 int32_t result = CoreManagerInner::GetInstance().UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
/base/telephony/core_service/services/sim/src/
H A Dsim_state_manager.cpp210 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) in UnlockPuk()
219 simStateHandle_->UnlockPuk(slotId, newPin, puk); in UnlockPuk()
244 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) in AlterPin()
253 simStateHandle_->AlterPin(slotId, newPin, oldPin); in AlterPin()
209 UnlockPuk( int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) UnlockPuk() argument
243 AlterPin( int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) AlterPin() argument
H A Dsim_state_handle.cpp192 void SimStateHandle::UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk) in UnlockPuk() argument
206 telRilManager->UnlockPuk(slotId, puk, newPin, event); in UnlockPuk()
209 void SimStateHandle::AlterPin(int32_t slotId, const std::string &newPin, const std::string &oldPin) in AlterPin() argument
212 int32_t length = (int32_t)newPin.size(); in AlterPin()
217 simPinPassword.newPassword = newPin; in AlterPin()
H A Dsim_manager.cpp206 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) in UnlockPuk()
212 return simStateManager_[slotId]->UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
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()
205 UnlockPuk( int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) UnlockPuk() argument
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.cpp351 std::u16string newPin = u""; in HWTEST_F() local
354 auto result = DelayedSingleton<CoreService>::GetInstance()->UnlockPuk(0, newPin, puk, response); in HWTEST_F()
366 std::u16string newPin = u""; in HWTEST_F() local
369 auto result = DelayedSingleton<CoreService>::GetInstance()->AlterPin(0, newPin, oldPin, response); in HWTEST_F()
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/
H A Dunlockpin_fuzzer.cpp93 std::string newPin(reinterpret_cast<const char *>(data), size); in AlterPin()
94 std::u16string newPinStr = Str8ToStr16(newPin); in AlterPin()
/base/telephony/core_service/services/sim/test/
H A Dtest.cpp997 std::string newPin = " "; in TestUnlockPuk() local
1005 std::cin >> newPin; in TestUnlockPuk() local
1006 size = newPin.size(); in TestUnlockPuk()
1014 std::cout << "Unlock puk: newPin = " << newPin << " puk = " << puk << endl; in TestUnlockPuk()
1015 g_telephonyService->UnlockPuk(testSlot, Str8ToStr16(newPin.c_str()), Str8ToStr16(puk.c_str()), response); in TestUnlockPuk()
1025 std::string newPin = " "; in TestAlterPin() local
1038 std::cin >> newPin; in TestAlterPin() local
1039 size = newPin.size(); in TestAlterPin()
1041 std::cout << "Unlock pin: oldPin = " << oldPin << " newPin in TestAlterPin()
[all...]
/base/telephony/cellular_call/test/unittest/imstest/
H A Dzero_branch1_test.cpp912 std::string newPin = "789101"; 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()
929 ASSERT_EQ(supplementRequestCs.UnlockPuk(SIM1_SLOTID, newPin, puk), TELEPHONY_ERROR); in HWTEST_F()
930 ASSERT_EQ(supplementRequestCs.AlterPin2Password(SIM1_SLOTID, newPin, oldPin), TELEPHONY_ERROR); in HWTEST_F()
931 ASSERT_EQ(supplementRequestCs.UnlockPuk2(SIM1_SLOTID, newPin, puk), TELEPHONY_ERROR); in HWTEST_F()
/base/telephony/core_service/interfaces/innerkits/include/
H A Dcore_service_client.h457 * @param newPin[in], newPin to reset the SIM card password
463 int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response);
469 * @param newPin[in], newPin to change the SIM card password
475 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response);
H A Di_sim_manager.h52 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) = 0;
54 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) = 0;
H A Dcore_service_proxy.h88 int32_t UnlockPuk(const int32_t slotId, const std::u16string &newPin, const std::u16string &puk,
90 int32_t AlterPin(const int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin,
H A Di_core_service.h71 int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) = 0;
73 int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) = 0;
H A Dcore_manager_inner.h254 int32_t UnlockPuk(int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response);
256 int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response);
/base/telephony/cellular_data/test/mock/
H A Dmock_core_service.h59 (int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response),
62 (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.cpp576 int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) in UnlockPuk()
583 return proxy->UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
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()
575 UnlockPuk( int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) UnlockPuk() argument
586 AlterPin( int32_t slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) AlterPin() argument
H A Dcore_manager_inner.cpp2252 int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) in UnlockPuk()
2258 return simManager_->UnlockPuk(slotId, newPin, puk, response); in UnlockPuk()
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()
2251 UnlockPuk( int32_t slotId, const std::string &newPin, const std::string &puk, LockStatusResponse &response) UnlockPuk() argument
2261 AlterPin( int32_t slotId, const std::string &newPin, const std::string &oldPin, LockStatusResponse &response) AlterPin() argument
/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_supplement.cpp1441 std::string newPin = mmiData.serviceInfoB; in AlterPinPassword() local
1443 if (!IsVaildPinOrPuk(newPin, newPinCheck)) { in AlterPinPassword()
1447 result = supplementRequestCs_.AlterPinPassword(slotId, newPin, oldPin); in AlterPinPassword()
1460 std::string newPin = mmiData.serviceInfoB; in UnlockPuk() local
1462 if (!IsVaildPinOrPuk(newPin, newPinCheck)) { in UnlockPuk()
1466 result = supplementRequestCs_.UnlockPuk(slotId, newPin, puk); in UnlockPuk()
/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp842 const int slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) in UnlockPuk()
853 static_cast<unsigned long>(newPin.length()), static_cast<unsigned long>(puk.length()), slotId); in UnlockPuk()
858 return simManager_->UnlockPuk(slotId, Str16ToStr8(newPin), Str16ToStr8(puk), response); in UnlockPuk()
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()
841 UnlockPuk( const int slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) UnlockPuk() argument
861 AlterPin( const int slotId, const std::u16string &newPin, const std::u16string &oldPin, LockStatusResponse &response) AlterPin() argument
H A Dcore_service_stub.cpp1117 std::u16string newPin = data.ReadString16(); in OnUnlockPuk() local
1119 int32_t result = UnlockPuk(slotId, newPin, puk, response); in OnUnlockPuk()
1138 std::u16string newPin = 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.h121 int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) override;
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 Desim_core_service_stub_test.h140 int32_t slotId, const std::u16string &newPin, const std::u16string &puk, LockStatusResponse &response) override
145 int32_t AlterPin(int32_t slotId, const std::u16string &newPin,

Completed in 36 milliseconds

12