Home
last modified time | relevance | path

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

12

/base/telephony/core_service/services/sim/include/
H A Dsim_state_manager.h45 int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response);
H A Dsim_state_handle.h123 void SetLockState(int32_t slotId, const LockInfo &options);
H A Dsim_manager.h58 int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) override;
/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/
H A Dunlockpin_fuzzer.cpp157 void SetLockState(const uint8_t *data, size_t size) in SetLockState() function
254 SetLockState(data, size); in DoSomethingInterestingWithMyAPI()
/base/telephony/core_service/test/unittest/sim_state_handle_gtest/
H A Dsim_state_handle_gtest.cpp90 simStateHandle->SetLockState(slotId, options); in HWTEST_F()
114 simStateHandle->SetLockState(slotId, options); in HWTEST_F()
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_test_util.cpp195 int32_t result = CoreServiceClient::GetInstance().SetLockState(SimTest::slotId_, testInfo, response); in SetLockStateTestFunc()
207 int32_t result = CoreServiceClient::GetInstance().SetLockState(SimTest::slotId1_, testInfo, response); in SetLockStateTestFunc1()
218 int32_t result = CoreServiceClient::GetInstance().SetLockState(SimTest::slotId_, testInfo, response); in SetFDNStateTestFunc()
230 int32_t result = CoreServiceClient::GetInstance().SetLockState(SimTest::slotId1_, testInfo, response); in SetFDNStateTestFunc1()
H A Dsim_core_service_test.cpp69 EXPECT_NE(mCoreService->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
216 EXPECT_NE(mCoreService->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
H A Dcore_service_test.cpp427 auto result = DelayedSingleton<CoreService>::GetInstance()->SetLockState(0, options, response); in HWTEST_F()
H A Dzero_branch_test_sim_ril.cpp743 EXPECT_GT(simStateManager->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1353 EXPECT_EQ(simStateManager->SetLockState(0, lockInfo, lockStatusResponse), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F()
1357 EXPECT_EQ(simStateManager->SetLockState(0, lockInfo, lockStatusResponse), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F()
H A Dzero_branch_test.cpp1110 EXPECT_GT(mInner.SetLockState(0, options, response), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1626 EXPECT_GT(simManager->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1627 EXPECT_GT(simManager->SetLockState(INVALID_SLOTID, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1665 EXPECT_GT(simStateManager->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1668 EXPECT_GT(simStateManager->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
1670 EXPECT_GT(simStateManager->SetLockState(0, mLockInfo, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
/base/telephony/core_service/services/sim/src/
H A Dsim_state_manager.cpp277 int32_t SimStateManager::SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) in SetLockState() function in OHOS::Telephony::SimStateManager
280 TELEPHONY_LOGE("SetLockState lockType is error"); in SetLockState()
285 TELEPHONY_LOGE("SetLockState lockState is error"); in SetLockState()
294 TELEPHONY_LOGD("SimStateManager::SetLockState slotId = %{public}d", slotId); in SetLockState()
296 simStateHandle_->SetLockState(slotId, options); in SetLockState()
298 TELEPHONY_LOGI("SetLockState::wait(), response = false"); in SetLockState()
317 "SetLockState response.result:%{public}d,response.remain:%{public}d", response.result, response.remain); in SetLockState()
H A Dsim_manager.cpp225 int32_t SimManager::SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) in SetLockState() function in OHOS::Telephony::SimManager
228 TELEPHONY_LOGE("SetLockState has no sim card!"); in SetLockState()
231 return simStateManager_[slotId]->SetLockState(slotId, options, response); in SetLockState()
H A Dsim_state_handle.cpp289 void SimStateHandle::SetLockState(int32_t slotId, const LockInfo &options) in SetLockState() function in OHOS::Telephony::SimStateHandle
291 TELEPHONY_LOGI("SimStateHandle::SetLockState() slotId = %{public}d", slotId); in SetLockState()
/base/telephony/cellular_data/test/mock/
H A Dmock_sim_manager.h102 MOCK_METHOD3(SetLockState, int32_t(int32_t, const LockInfo &, LockStatusResponse &));
H A Dmock_core_service.h73 int32_t, SetLockState, (int32_t slotId, const LockInfo &options, LockStatusResponse &response), (override));
/base/telephony/core_service/interfaces/innerkits/include/
H A Dcore_service_client.h519 int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response);
H A Di_sim_manager.h55 virtual int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) = 0;
H A Dcore_service_proxy.h97 int32_t SetLockState(const int32_t slotId, const LockInfo &options, LockStatusResponse &response) override;
H A Di_core_service.h79 virtual int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) = 0;
H A Dcore_manager_inner.h257 int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response);
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_client.cpp629 int32_t CoreServiceClient::SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) in SetLockState() function in OHOS::Telephony::CoreServiceClient
636 return proxy->SetLockState(slotId, options, response); in SetLockState()
H A Dcore_manager_inner.cpp2271 int32_t CoreManagerInner::SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) in SetLockState() function in OHOS::Telephony::CoreManagerInner
2277 return simManager_->SetLockState(slotId, options, response); in SetLockState()
/base/telephony/core_service/services/core/include/
H A Dcore_service.h134 int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) override;
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/
H A Desim_core_service_stub_test.h168 int32_t SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) override
/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp940 int32_t CoreService::SetLockState(int32_t slotId, const LockInfo &options, LockStatusResponse &response) in SetLockState() function in OHOS::Telephony::CoreService
952 "CoreService::SetLockState(),lockType = %{public}d, pinLen = %{public}lu, lockState = %{public}d, slotId " in SetLockState()
960 return simManager_->SetLockState(slotId, options, response); in SetLockState()

Completed in 36 milliseconds

12