Home
last modified time | relevance | path

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

/base/telephony/cellular_call/services/common/include/
H A Dsupplement_request_cs.h173 * @param newPin2 The new pin2 code for unlock SIM
177 int32_t AlterPin2Password(int32_t slotId, std::string newPin2, std::string oldPin2);
183 * @param newPin2 The new pin2 code for unlock SIM
187 int32_t UnlockPuk2(int32_t slotId, std::string newPin2, std::string puk2);
/base/telephony/core_service/services/sim/include/
H A Dsim_state_manager.h50 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response);
52 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response);
H A Dsim_state_handle.h129 void UnlockPuk2(int32_t slotId, const std::string &newPin2, const std::string &puk2);
130 void AlterPin2(int32_t slotId, const std::string &newPin2, const std::string &oldPin2);
H A Dsim_manager.h63 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) override;
65 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) override;
/base/telephony/cellular_call/services/common/src/
H A Dsupplement_request_cs.cpp239 int32_t SupplementRequestCs::AlterPin2Password(int32_t slotId, std::string newPin2, std::string oldPin2) in AlterPin2Password() argument
243 int32_t result = CoreManagerInner::GetInstance().AlterPin2(slotId, newPin2, oldPin2, response); in AlterPin2Password()
270 int32_t SupplementRequestCs::UnlockPuk2(int32_t slotId, std::string newPin2, std::string puk2) in UnlockPuk2() argument
274 int32_t result = CoreManagerInner::GetInstance().UnlockPuk2(slotId, newPin2, puk2, response); in UnlockPuk2()
/base/telephony/core_service/services/sim/src/
H A Dsim_state_manager.cpp395 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) in UnlockPuk2()
404 simStateHandle_->UnlockPuk2(slotId, newPin2, puk2); in UnlockPuk2()
429 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) in AlterPin2()
438 simStateHandle_->AlterPin2(slotId, newPin2, oldPin2); in AlterPin2()
394 UnlockPuk2( int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) UnlockPuk2() argument
428 AlterPin2( int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) AlterPin2() argument
H A Dsim_state_handle.cpp249 void SimStateHandle::UnlockPuk2(int32_t slotId, const std::string &newPin2, const std::string &puk2) in UnlockPuk2() argument
263 telRilManager->UnlockPuk2(slotId, puk2, newPin2, event); in UnlockPuk2()
266 void SimStateHandle::AlterPin2(int32_t slotId, const std::string &newPin2, const std::string &oldPin2) in AlterPin2() argument
269 int32_t length = (int32_t)newPin2.size(); in AlterPin2()
274 simPin2Password.newPassword = newPin2; in AlterPin2()
H A Dsim_manager.cpp262 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) in UnlockPuk2()
268 return simStateManager_[slotId]->UnlockPuk2(slotId, newPin2, puk2, response); in UnlockPuk2()
272 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) in AlterPin2()
278 return simStateManager_[slotId]->AlterPin2(slotId, newPin2, oldPin2, response); in AlterPin2()
261 UnlockPuk2( int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) UnlockPuk2() argument
271 AlterPin2( int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) AlterPin2() argument
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dcore_service_test.cpp395 std::u16string newPin2 = u""; in HWTEST_F() local
398 auto result = DelayedSingleton<CoreService>::GetInstance()->UnlockPuk2(0, newPin2, puk2, response); in HWTEST_F()
410 std::u16string newPin2 = u""; in HWTEST_F() local
413 auto result = DelayedSingleton<CoreService>::GetInstance()->AlterPin2(0, newPin2, oldPin2, response); in HWTEST_F()
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/
H A Dunlockpin_fuzzer.cpp147 std::string newPin2(reinterpret_cast<const char *>(data), size); in AlterPin2()
148 std::u16string newPin2Str = Str8ToStr16(newPin2); in AlterPin2()
/base/telephony/core_service/services/sim/test/
H A Dtest.cpp1071 std::string newPin2 = " "; in TestUnlockPuk2() local
1079 std::cin >> newPin2; in TestUnlockPuk2() local
1080 size = newPin2.size(); in TestUnlockPuk2()
1088 std::cout << "Unlock puk2: newPin2 = " << newPin2 << " puk2 = " << puk2 << endl; in TestUnlockPuk2()
1089 g_telephonyService->UnlockPuk2(testSlot, Str8ToStr16(newPin2.c_str()), Str8ToStr16(puk2.c_str()), response); in TestUnlockPuk2()
1099 std::string newPin2 = " "; in TestAlterPin2() local
1112 std::cin >> newPin2; in TestAlterPin2() local
1113 size = newPin2.size(); in TestAlterPin2()
1115 std::cout << "Unlock pin2: oldPin2 = " << oldPin2 << " newPin2 in TestAlterPin2()
[all...]
/base/telephony/core_service/interfaces/innerkits/include/
H A Dcore_service_client.h491 * @param newPin2[in], newPin2 to reset the SIM card password
497 int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response);
503 * @param newPin2[in], newPin2 to change the SIM card password
509 int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response);
H A Di_sim_manager.h60 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) = 0;
62 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) = 0;
H A Dcore_service_proxy.h93 int32_t UnlockPuk2(const int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2,
95 int32_t AlterPin2(const int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2,
H A Di_core_service.h76 int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) = 0;
78 int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) = 0;
H A Dcore_manager_inner.h262 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response);
264 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response);
/base/telephony/cellular_data/test/mock/
H A Dmock_core_service.h67 (int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response),
70 (int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response),
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_client.cpp608 int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) in UnlockPuk2()
615 return proxy->UnlockPuk2(slotId, newPin2, puk2, response); in UnlockPuk2()
619 int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) in AlterPin2()
626 return proxy->AlterPin2(slotId, newPin2, oldPin2, response); in AlterPin2()
607 UnlockPuk2( int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) UnlockPuk2() argument
618 AlterPin2( int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) AlterPin2() argument
H A Dcore_manager_inner.cpp2308 int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) in UnlockPuk2()
2314 return simManager_->UnlockPuk2(slotId, newPin2, puk2, response); in UnlockPuk2()
2318 int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) in AlterPin2()
2324 return simManager_->AlterPin2(slotId, newPin2, oldPin2, response); in AlterPin2()
2307 UnlockPuk2( int32_t slotId, const std::string &newPin2, const std::string &puk2, LockStatusResponse &response) UnlockPuk2() argument
2317 AlterPin2( int32_t slotId, const std::string &newPin2, const std::string &oldPin2, LockStatusResponse &response) AlterPin2() argument
H A Dcore_service_proxy.cpp1684 const int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) in UnlockPuk2()
1694 data.WriteString16(newPin2); in UnlockPuk2()
1717 const int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) in AlterPin2()
1727 data.WriteString16(newPin2); in AlterPin2()
1683 UnlockPuk2( const int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) UnlockPuk2() argument
1716 AlterPin2( const int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) AlterPin2() argument
/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_supplement.cpp1480 std::string newPin2 = mmiData.serviceInfoB; in AlterPin2Password() local
1482 if (!IsVaildPinOrPuk(newPin2, newPin2Check)) { in AlterPin2Password()
1486 result = supplementRequestCs_.AlterPin2Password(slotId, newPin2, oldPin2); in AlterPin2Password()
1500 std::string newPin2 = mmiData.serviceInfoB; in UnlockPuk2() local
1502 if (!IsVaildPinOrPuk(newPin2, newPin2Check)) { in UnlockPuk2()
1506 result = supplementRequestCs_.UnlockPuk2(slotId, newPin2, puk2); in UnlockPuk2()
/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp901 const int slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) in UnlockPuk2()
912 static_cast<unsigned long>(newPin2.length()), static_cast<unsigned long>(puk2.length()), slotId); in UnlockPuk2()
917 return simManager_->UnlockPuk2(slotId, Str16ToStr8(newPin2), Str16ToStr8(puk2), response); in UnlockPuk2()
921 const int slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) in AlterPin2()
932 static_cast<unsigned long>(newPin2.length()), static_cast<unsigned long>(oldPin2.length()), slotId); in AlterPin2()
937 return simManager_->AlterPin2(slotId, Str16ToStr8(newPin2), Str16ToStr8(oldPin2), response); in AlterPin2()
900 UnlockPuk2( const int slotId, const std::u16string &newPin2, const std::u16string &puk2, LockStatusResponse &response) UnlockPuk2() argument
920 AlterPin2( const int slotId, const std::u16string &newPin2, const std::u16string &oldPin2, LockStatusResponse &response) AlterPin2() argument
H A Dcore_service_stub.cpp1179 std::u16string newPin2 = data.ReadString16(); in OnUnlockPuk2() local
1181 int32_t result = UnlockPuk2(slotId, newPin2, puk2, response); in OnUnlockPuk2()
1200 std::u16string newPin2 = data.ReadString16(); in OnAlterPin2() local
1202 int32_t result = AlterPin2(slotId, newPin2, oldPin2, response); in OnAlterPin2()
/base/telephony/core_service/services/core/include/
H A Dcore_service.h128 int32_t UnlockPuk2(int32_t slotId, const std::u16string &newPin2, const std::u16string &puk2,
131 int32_t AlterPin2(int32_t slotId, const std::u16string &newPin2, const std::u16string &oldPin2,
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/
H A Desim_core_service_stub_test.h156 int32_t UnlockPuk2(int32_t slotId, const std::u16string &newPin2,
162 int32_t AlterPin2(int32_t slotId, const std::u16string &newPin2,

Completed in 58 milliseconds