Home
last modified time | relevance | path

Searched refs:lockType (Results 1 – 25 of 83) sorted by relevance

1234

/ohos5.0/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_handler.cpp68 void TelRilHandler::ApplyRunningLock(int32_t lockType) in ApplyRunningLock() argument
104 void TelRilHandler::ReduceRunningLock(int32_t lockType) in ReduceRunningLock() argument
115 ReleaseRunningLockDelay(lockType); in ReduceRunningLock()
132 if (lockType == NORMAL_RUNNING_LOCK) { in ReleaseRunningLock()
134 ReleaseRunningLockDelay(lockType); in ReleaseRunningLock()
135 } else if (lockType == ACK_RUNNING_LOCK) { in ReleaseRunningLock()
136 ReleaseRunningLockDelay(lockType); in ReleaseRunningLock()
147 if (lockType == NORMAL_RUNNING_LOCK) { in ReleaseRunningLockDelay()
149 } else if (lockType == ACK_RUNNING_LOCK) { in ReleaseRunningLockDelay()
159 if (lockType == NORMAL_RUNNING_LOCK) { in ReleaseRunningLockDelay()
[all …]
H A Dtel_ril_sim.cpp471 int32_t lockType, std::string password, const AppExecFwk::InnerEvent::Pointer &response) in UnlockSimLock() argument
473 …quest(TELEPHONY_LOG_FUNC_NAME, response, &HDI::Ril::V1_1::IRil::UnlockSimLock, lockType, password); in UnlockSimLock()
/ohos5.0/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_handler.h36 void ApplyRunningLock(int32_t lockType);
37 void ReduceRunningLock(int32_t lockType);
38 void ReleaseRunningLock(int32_t lockType);
63 void ReleaseRunningLockDelay(int32_t lockType);
H A Dtel_ril_sim.h67 …int32_t UnlockSimLock(int32_t lockType, std::string password, const AppExecFwk::InnerEvent::Pointe…
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_test_util.cpp191 testInfo.lockType = LockType::PIN_LOCK; in SetLockStateTestFunc()
203 testInfo.lockType = LockType::PIN_LOCK; in SetLockStateTestFunc1()
214 testInfo.lockType = LockType::FDN_LOCK; in SetFDNStateTestFunc()
226 testInfo.lockType = LockType::FDN_LOCK; in SetFDNStateTestFunc1()
237 LockType lockType = LockType::PIN_LOCK; in GetLockStateTestFunc() local
238 …int32_t result = CoreServiceClient::GetInstance().GetLockState(SimTest::slotId_, lockType, lockSta… in GetLockStateTestFunc()
246 LockType lockType = LockType::PIN_LOCK; in GetLockStateTestFunc1() local
254 LockType lockType = LockType::FDN_LOCK; in GetFDNStateTestFunc() local
263 LockType lockType = LockType::FDN_LOCK; in GetFDNStateTestFunc1() local
428 lockInfo.lockType = PersoLockType::PN_PIN_LOCK; in UnlockSimLockTestFunc()
[all …]
H A Dzero_branch_test_sim_ril.cpp712 mLockInfo.lockType = LockType::PIN_LOCK;
1300 lockInfo.lockType = static_cast<LockType>(0);
1306 lockInfo.lockType = LockType::FDN_LOCK;
1310 LockType lockType = static_cast<LockType>(0); variable
1311 … EXPECT_EQ(simStateManager->GetLockState(0, lockType, lockState), TELEPHONY_ERR_ARGUMENT_INVALID);
1314 lockType = LockType::FDN_LOCK;
1315 EXPECT_EQ(simStateManager->GetLockState(0, lockType, lockState), TELEPHONY_ERR_LOCAL_PTR_NULL);
/ohos5.0/base/telephony/core_service/interfaces/kits/js/
H A D@ohos.telephony.sim.d.ts1838 …function getLockState(slotId: number, lockType: LockType, callback: AsyncCallback<LockState>): voi…
1862 function getLockState(slotId: number, lockType: LockType): Promise<LockState>;
2421 lockType: LockType;
2461 lockType: PersoLockType;
/ohos5.0/base/telephony/core_service/test/fuzztest/unlockpin_fuzzer/
H A Dunlockpin_fuzzer.cpp167 int32_t lockType = static_cast<int32_t>(*data + offset); in SetLockState() local
168 dataMessageParcel.WriteInt32(lockType); in SetLockState()
233 int32_t lockType = static_cast<int32_t>(*data + sizeof(int32_t)); in UnlockSimLock() local
234 dataMessageParcel.WriteInt32(lockType); in UnlockSimLock()
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dsim_state_manager.cpp249 if (options.lockType != LockType::PIN_LOCK && options.lockType != LockType::FDN_LOCK) { in SetLockState()
291 int32_t SimStateManager::GetLockState(int32_t slotId, LockType lockType, LockState &lockState) in GetLockState() argument
293 if (lockType != LockType::PIN_LOCK && lockType != LockType::FDN_LOCK) { in GetLockState()
305 simStateHandle_->GetLockState(slotId, lockType); in GetLockState()
H A Dsim_state_handle.cpp291 if (LockType::PIN_LOCK == options.lockType) { in SetLockState()
318 int32_t lockType = static_cast<int32_t>(lockInfo.lockType); in UnlockSimLock() local
319 telRilManager->UnlockSimLock(slotId, lockType, Str16ToStr8(lockInfo.password), event); in UnlockSimLock()
331 void SimStateHandle::GetLockState(int32_t slotId, LockType lockType) in GetLockState() argument
345 if (LockType::PIN_LOCK == lockType) { in GetLockState()
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dsim_state_type.h232 LockType lockType = LockType::PIN_LOCK; member
241 PersoLockType lockType = PersoLockType::PN_PIN_LOCK; member
H A Di_sim_manager.h44 virtual int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState) = 0;
H A Dcore_service_client.h529 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
/ohos5.0/base/telephony/core_service/frameworks/js/sim/include/
H A Dnapi_sim.h88 int32_t lockType = ERROR_DEFAULT; member
/ohos5.0/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_sim_test.cpp928 int32_t lockType = 0; variable
930 … int32_t ret = g_rilInterface->UnlockSimLock(SLOTID_1, RilTestUtil::GetSerialId(), lockType, key);
949 int32_t lockType = 0; variable
951 … int32_t ret = g_rilInterface->UnlockSimLock(SLOTID_2, RilTestUtil::GetSerialId(), lockType, key);
/ohos5.0/base/telephony/core_service/services/sim/include/
H A Dsim_state_manager.h44 int32_t GetLockState(int32_t slotId, LockType lockType, LockState &lockState);
H A Dsim_state_handle.h122 void GetLockState(int32_t slotId, LockType lockType);
/ohos5.0/base/telephony/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_sim_defs.h387 void (*UnlockSimLock)(const ReqDataInfo *requestInfo, int32_t lockType, const char *password);
/ohos5.0/base/telephony/ril_adapter/services/vendor/include/
H A Dat_sim.h110 void ReqUnlockSimLock(const ReqDataInfo *requestInfo, int32_t lockType, const char *password);
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedservice/src/
H A Dres_sched_service.cpp226 uint32_t lockType = lockIt->first; in DumpProcessRunningLock() local
230 .append(", lockType:").append(ToString(lockType)) in DumpProcessRunningLock()
/ohos5.0/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp956 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
974 …_LOGI("CoreService::GetLockState(), lockType = %{public}d, slotId = %{public}d", lockType, slotId); in GetLockState()
979 return simManager_->GetLockState(slotId, lockType, lockState); in GetLockState()
1390 …eService::UnlockSimLock(), lockType = %{public}d, slotId = %{public}d", lockInfo.lockType, slotId); in UnlockSimLock()
H A Dcore_service_stub.cpp1159 options.lockType = static_cast<LockType>(data.ReadInt32()); in OnSetLockState()
1165 options.lockType, options.lockState, slotId); in OnSetLockState()
1184 LockType lockType; in OnGetLockState() local
1186 lockType = static_cast<LockType>(data.ReadInt32()); in OnGetLockState()
1187 …("CoreServiceStub::OnGetLockState(),lockType = %{public}d, slotId = %{public}d", lockType, slotId); in OnGetLockState()
1188 int32_t result = GetLockState(slotId, lockType, lockState); in OnGetLockState()
1703 lockInfo.lockType = static_cast<PersoLockType>(data.ReadInt32()); in OnUnlockSimLock()
1707 TELEPHONY_LOGI("CoreServiceStub::OnUnlockSimLock(), lockType = %{public}d", lockInfo.lockType); in OnUnlockSimLock()
/ohos5.0/base/telephony/core_service/services/sim/test/
H A Dtest.cpp1151 testInfo.lockType = static_cast<LockType>(testType); in TestSetLockState()
1169 LockType lockType = static_cast<LockType>(testType); in TestGetLockState() local
1173 g_telephonyService->GetLockState(testSlot, lockType, lockState); in TestGetLockState()
1282 PersoLockTypeTest lockType = static_cast<PersoLockTypeTest>(testType); in GetSimLockPassword() local
1283 switch (lockType) { in GetSimLockPassword()
1339 lockInfo.lockType = static_cast<PersoLockType>(testType); in TestUnlockSimLock()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-telephony-kit/
H A Djs-apis-sim-sys.md781 …fo](#lockinfo8) | 是 | 锁信息。<br/>- lockType: [LockType](#lock…
806 lockType: sim.LockType.PIN_LOCK,
833 | options | [LockInfo](#lockinfo8) | 是 | 锁信息。<br/>- lockType: [LockType](#locktype8)<br/>- passwo…
864 lockType: sim.LockType.PIN_LOCK,
877 getLockState\(slotId: number, lockType: LockType, callback: AsyncCallback\<LockState\>\): void
925 getLockState\(slotId: number, lockType: LockType\): Promise\<LockState\>
3126 lockType: sim.PersoLockType.PN_PIN_LOCK,
3183 lockType: sim.PersoLockType.PN_PIN_LOCK,
3409 | lockType | [LockType](#locktype8) | 是 | 锁类型。 |
3423 | lockType | [PersoLockType](#persolocktype8) | 是 | 定制锁的类型。|
/ohos5.0/base/telephony/ril_adapter/services/hril/include/
H A Dhril_sim.h57 int32_t UnlockSimLock(int32_t serialId, int32_t lockType, const std::string &key);

1234