/base/telephony/call_manager/services/telephony_interaction/src/ |
D | core_service_connection.cpp | 44 LockState lockState = LockState::LOCK_ERROR; in IsFdnEnabled() local 46 …RefSingleton<CoreServiceClient>::GetInstance().GetLockState(slotId, LockType::FDN_LOCK, lockState); in IsFdnEnabled() 47 if (ret == TELEPHONY_ERR_SUCCESS && lockState == LockState::LOCK_ON) { in IsFdnEnabled()
|
/base/telephony/core_service/services/sim/src/ |
D | sim_state_manager.cpp | 225 if (options.lockState != LockState::LOCK_OFF && options.lockState != LockState::LOCK_ON) { in SetLockState() 262 int32_t SimStateManager::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 266 lockState = LockState::LOCK_ERROR; in GetLockState() 287 switch (simStateHandle_->GetUnlockData().lockState) { in GetLockState() 289 lockState = LockState::LOCK_OFF; in GetLockState() 292 lockState = LockState::LOCK_ON; in GetLockState() 295 lockState = LockState::LOCK_ERROR; in GetLockState() 298 TELEPHONY_LOGI("SimStateManager::GetLockState(), %{public}d", lockState); in GetLockState()
|
D | sim_state_handle.cpp | 181 simLock.mode = static_cast<int32_t>(options.lockState); in SetLockState() 368 unlockRespon_.lockState = *param; in GetSimLockState() 370 unlockRespon_.lockState = static_cast<int32_t>(LockState::LOCK_ERROR); in GetSimLockState() 374 …LEPHONY_LOGI("SimStateHandle::GetSimLockState(), lockState = %{public}d", unlockRespon_.lockState); in GetSimLockState()
|
D | sim_manager.cpp | 209 int32_t SimManager::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 215 return simStateManager_[slotId]->GetLockState(slotId, lockType, lockState); in GetLockState()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_test_util.cpp | 183 testInfo.lockState = LockState::LOCK_OFF; in SetLockStateTestFunc() 195 testInfo.lockState = LockState::LOCK_OFF; in SetLockStateTestFunc1() 206 testInfo.lockState = LockState::LOCK_OFF; in SetFDNStateTestFunc() 218 testInfo.lockState = LockState::LOCK_OFF; in SetFDNStateTestFunc1() 226 LockState lockState = LockState::LOCK_ERROR; in GetLockStateTestFunc() local 228 …32_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId_, lockType, lockState); in GetLockStateTestFunc() 235 LockState lockState = LockState::LOCK_ERROR; in GetLockStateTestFunc1() local 237 …2_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId1_, lockType, lockState); in GetLockStateTestFunc1() 243 LockState lockState = LockState::LOCK_ERROR; in GetFDNStateTestFunc() local 245 …32_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId_, lockType, lockState); in GetFDNStateTestFunc() [all …]
|
D | zero_branch_test.cpp | 887 LockState lockState; variable 888 EXPECT_NE(mInner.GetLockState(0, LockType::PIN_LOCK, lockState), TELEPHONY_ERR_SUCCESS); 1183 LockState lockState; variable 1184 EXPECT_NE(simManager->GetLockState(0, mLockType, lockState), TELEPHONY_ERR_SUCCESS); 1185 … EXPECT_NE(simManager->GetLockState(INVALID_SLOTID, mLockType, lockState), TELEPHONY_ERR_SUCCESS); 1400 mLockInfo.lockState = LockState::LOCK_ERROR; 1402 mLockInfo.lockState = LockState::LOCK_ON; 1405 LockState lockState; variable 1406 …EXPECT_GT(simStateManager->GetLockState(0, testLockInfo.lockType, lockState), TELEPHONY_ERR_SUCCES… 1408 EXPECT_GT(simStateManager->GetLockState(0, lockType, lockState), TELEPHONY_ERR_SUCCESS);
|
/base/telephony/core_service/services/sim/include/ |
D | sim_state_manager.h | 42 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
|
D | sim_state_handle.h | 99 int32_t lockState = 0; member
|
D | sim_manager.h | 51 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) override;
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | sim_state_type.h | 234 LockState lockState = LockState::LOCK_ERROR; member
|
D | i_sim_manager.h | 43 virtual int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) = 0;
|
D | core_service_client.h | 495 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
|
D | i_core_service.h | 65 virtual int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) = 0;
|
D | core_service_proxy.h | 92 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) override;
|
D | core_manager_inner.h | 246 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
|
/base/telephony/core_service/services/core/src/ |
D | core_service_stub.cpp | 927 options.lockState = static_cast<LockState>(data.ReadInt32()); in OnSetLockState() 932 options.lockType, options.lockState, slotId); in OnSetLockState() 950 LockState lockState = LockState::LOCK_ERROR; in OnGetLockState() local 955 int32_t result = GetLockState(slotId, lockType, lockState); in OnGetLockState() 958 ret = (ret && reply.WriteInt32(static_cast<int32_t>(lockState))); in OnGetLockState()
|
D | core_service.cpp | 877 options.lockType, static_cast<unsigned long>(strPin.length()), options.lockState, slotId); in SetLockState() 885 int32_t CoreService::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 900 return simManager_->GetLockState(slotId, lockType, lockState); in GetLockState()
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_listener.cpp | 379 RunningLockState lockState = RunningLockState(stoi(root["STATE"].asString())); in ProcessWakelockEvent() local 381 switch (lockState) { in ProcessWakelockEvent()
|
/base/telephony/core_service/services/sim/test/ |
D | test.cpp | 1136 testInfo.lockState = static_cast<LockState>(mode); in TestSetLockState() 1154 LockState lockState = LockState::LOCK_ERROR; in TestGetLockState() local 1159 g_telephonyService->GetLockState(testSlot, lockType, lockState); in TestGetLockState() 1160 std::cout << "TestGetLockState()" << static_cast<int32_t>(lockState) << endl; in TestGetLockState()
|
/base/telephony/core_service/services/core/include/ |
D | core_service.h | 127 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) override;
|
/base/telephony/core_service/frameworks/native/src/ |
D | core_service_client.cpp | 597 int32_t CoreServiceClient::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 604 return proxy->GetLockState(slotId, lockType, lockState); in GetLockState()
|
D | core_service_proxy.cpp | 1633 data.WriteInt32(static_cast<int32_t>(options.lockState)); in SetLockState() 1656 int32_t CoreServiceProxy::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 1681 lockState = static_cast<LockState>(reply.ReadInt32()); in GetLockState()
|
D | core_manager_inner.cpp | 2153 int32_t CoreManagerInner::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 2159 return simManager_->GetLockState(slotId, lockType, lockState); in GetLockState()
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 2579 LockState lockState = LockState::LOCK_ERROR; in NativeGetLockState() local 2581 asContext.slotId, static_cast<LockType>(lockContext->lockType), lockState); in NativeGetLockState() 2585 asContext.callbackVal = static_cast<int32_t>(lockState); in NativeGetLockState()
|