/ohos5.0/base/telephony/call_manager/services/telephony_interaction/src/ |
H A 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()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_ctrl.c | 60 SoftBusScreenLockState lockState; member 81 g_hbConditionState.lockState = SOFTBUS_SCREEN_LOCK_UNKNOWN; in InitHbConditionState() 108 g_hbConditionState.lockState = SOFTBUS_SCREEN_UNLOCK; in IsHeartbeatEnable() 149 g_hbConditionState.lockState = SOFTBUS_SCREEN_UNLOCK; in HbRefreshConditionState() 157 if (g_hbConditionState.lockState == SOFTBUS_SCREEN_UNLOCK && in HbRefreshConditionState() 554 g_hbConditionState.lockState == SOFTBUS_SCREEN_UNLOCK) { in HbScreenOnOnceTryCloudSync() 628 if (lockState == SOFTBUS_USER_UNLOCK) { in HbScreenLockChangeEventHandler() 637 lockState = lockState == SOFTBUS_USER_UNLOCK ? SOFTBUS_SCREEN_UNLOCK : lockState; in HbScreenLockChangeEventHandler() 638 if (g_hbConditionState.lockState == SOFTBUS_SCREEN_UNLOCK) { in HbScreenLockChangeEventHandler() 642 g_hbConditionState.lockState = lockState; in HbScreenLockChangeEventHandler() [all …]
|
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | sim_test_util.cpp | 193 testInfo.lockState = LockState::LOCK_OFF; in SetLockStateTestFunc() 205 testInfo.lockState = LockState::LOCK_OFF; in SetLockStateTestFunc1() 216 testInfo.lockState = LockState::LOCK_OFF; in SetFDNStateTestFunc() 228 testInfo.lockState = LockState::LOCK_OFF; in SetFDNStateTestFunc1() 236 LockState lockState = LockState::LOCK_ERROR; in GetLockStateTestFunc() local 238 …32_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId_, lockType, lockState); in GetLockStateTestFunc() 245 LockState lockState = LockState::LOCK_ERROR; in GetLockStateTestFunc1() local 247 …2_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId1_, lockType, lockState); in GetLockStateTestFunc1() 253 LockState lockState = LockState::LOCK_ERROR; in GetFDNStateTestFunc() local 255 …32_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId_, lockType, lockState); in GetFDNStateTestFunc() [all …]
|
H A D | zero_branch_test_sim_ril.cpp | 713 mLockInfo.lockState = LockState::LOCK_OFF; 715 LockState lockState; variable 718 … EXPECT_GT(simStateManager->GetLockState(0, LockType::PIN_LOCK, lockState), TELEPHONY_ERR_SUCCESS); 1309 LockState lockState; variable 1311 … EXPECT_EQ(simStateManager->GetLockState(0, lockType, lockState), TELEPHONY_ERR_ARGUMENT_INVALID); 1312 EXPECT_EQ(lockState, LockState::LOCK_ERROR); 1315 EXPECT_EQ(simStateManager->GetLockState(0, lockType, lockState), TELEPHONY_ERR_LOCAL_PTR_NULL);
|
H A D | zero_branch_test.cpp | 1119 LockState lockState; variable 1120 EXPECT_NE(mInner.GetLockState(0, LockType::PIN_LOCK, lockState), TELEPHONY_ERR_SUCCESS); 1484 LockState lockState; variable 1485 EXPECT_NE(simManager->GetLockState(0, mLockType, lockState), TELEPHONY_ERR_SUCCESS); 1486 … EXPECT_NE(simManager->GetLockState(INVALID_SLOTID, mLockType, lockState), TELEPHONY_ERR_SUCCESS); 1703 mLockInfo.lockState = LockState::LOCK_ERROR; 1705 mLockInfo.lockState = LockState::LOCK_ON; 1708 LockState lockState; variable 1709 …EXPECT_GT(simStateManager->GetLockState(0, testLockInfo.lockType, lockState), TELEPHONY_ERR_SUCCES… 1711 EXPECT_GT(simStateManager->GetLockState(0, lockType, lockState), TELEPHONY_ERR_SUCCESS);
|
/ohos5.0/base/telephony/core_service/services/sim/src/ |
H A D | sim_state_manager.cpp | 254 if (options.lockState != LockState::LOCK_OFF && options.lockState != LockState::LOCK_ON) { in SetLockState() 291 int32_t SimStateManager::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 295 lockState = LockState::LOCK_ERROR; in GetLockState() 316 switch (simStateHandle_->GetUnlockData().lockState) { in GetLockState() 318 lockState = LockState::LOCK_OFF; in GetLockState() 321 lockState = LockState::LOCK_ON; in GetLockState() 324 lockState = LockState::LOCK_ERROR; in GetLockState() 327 TELEPHONY_LOGI("SimStateManager::GetLockState(), %{public}d", lockState); in GetLockState()
|
H A D | sim_state_handle.cpp | 283 simLock.mode = static_cast<int32_t>(options.lockState); in SetLockState() 549 unlockRespon_.lockState = *param; in GetSimLockState() 551 unlockRespon_.lockState = static_cast<int32_t>(LockState::LOCK_ERROR); in GetSimLockState() 555 …LEPHONY_LOGI("SimStateHandle::GetSimLockState(), lockState = %{public}d", unlockRespon_.lockState); in GetSimLockState()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | hisysevent_observer.cpp | 190 RunningLockState lockState = RunningLockState(root.at("STATE").get<std::int32_t>()); in ProcessRunningLockEvent() local 191 RESSCHED_LOGD("Process runninglock event, event type is:%{public}d", lockState); in ProcessRunningLockEvent() 192 switch (lockState) { in ProcessRunningLockEvent()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/ |
H A D | lnn_network_manager.c | 264 SoftBusScreenLockState lockState = (SoftBusScreenLockState)event->status; in NetLockStateEventHandler() local 265 if (lockState != SOFTBUS_USER_UNLOCK && g_isUnLock) { in NetLockStateEventHandler() 269 switch (lockState) { in NetLockStateEventHandler() 273 LNN_LOGI(LNN_BUILDER, "wifi handle %{public}d", lockState); in NetLockStateEventHandler()
|
/ohos5.0/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/ |
H A D | unlockpin_fuzzer.cpp | 170 int32_t lockState = static_cast<int32_t>(*data + offset); in SetLockState() local 171 dataMessageParcel.WriteInt32(lockState); in SetLockState()
|
/ohos5.0/base/telephony/core_service/services/sim/include/ |
H A D | sim_state_manager.h | 44 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
|
H A D | sim_state_handle.h | 103 int32_t lockState = 0; member
|
H A D | sim_manager.h | 58 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) override;
|
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | sim_state_type.h | 234 LockState lockState = LockState::LOCK_ERROR; member
|
H A D | i_sim_manager.h | 44 virtual int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) = 0;
|
H A D | core_service_client.h | 529 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
|
H A D | i_core_service.h | 69 virtual int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) = 0;
|
H A D | core_service_proxy.h | 98 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) override;
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedservice/src/ |
H A D | res_sched_service.cpp | 227 bool lockState = lockIt->second; in DumpProcessRunningLock() local 231 .append(", lockState:").append(ToString(lockState)).append("\n"); in DumpProcessRunningLock()
|
/ohos5.0/base/powermgr/battery_statistics/services/native/src/ |
H A D | battery_stats_listener.cpp | 400 RunningLockState lockState = RunningLockState(root["STATE"].asInt()); in ProcessWakelockEvent() local 402 switch (lockState) { in ProcessWakelockEvent()
|
/ohos5.0/base/telephony/core_service/services/sim/test/ |
H A D | test.cpp | 1150 testInfo.lockState = static_cast<LockState>(mode); in TestSetLockState() 1168 LockState lockState = LockState::LOCK_ERROR; in TestGetLockState() local 1173 g_telephonyService->GetLockState(testSlot, lockType, lockState); in TestGetLockState() 1174 std::cout << "TestGetLockState()" << static_cast<int32_t>(lockState) << endl; in TestGetLockState()
|
/ohos5.0/base/telephony/core_service/services/core/src/ |
H A D | core_service.cpp | 956 options.lockType, static_cast<unsigned long>(strPin.length()), options.lockState, slotId); in SetLockState() 964 int32_t CoreService::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 979 return simManager_->GetLockState(slotId, lockType, lockState); in GetLockState()
|
H A D | core_service_stub.cpp | 1160 options.lockState = static_cast<LockState>(data.ReadInt32()); in OnSetLockState() 1165 options.lockType, options.lockState, slotId); in OnSetLockState() 1183 LockState lockState = LockState::LOCK_ERROR; in OnGetLockState() local 1188 int32_t result = GetLockState(slotId, lockType, lockState); in OnGetLockState() 1191 ret = (ret && reply.WriteInt32(static_cast<int32_t>(lockState))); in OnGetLockState()
|
/ohos5.0/base/telephony/core_service/frameworks/native/src/ |
H A D | core_service_client.cpp | 638 int32_t CoreServiceClient::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument 645 return proxy->GetLockState(slotId, lockType, lockState); in GetLockState()
|
/ohos5.0/base/telephony/core_service/services/core/include/ |
H A D | core_service.h | 136 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) override;
|