Home
last modified time | relevance | path

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

12

/base/account/os_account/interfaces/kits/napi/domain_account/src/
H A Dnapi_domain_account_manager.cpp43 napi_env env, uv_loop_s **loop, uv_work_t **work, JsDomainPluginParam **param, ThreadLockInfo *lockInfo) in InitDomainPluginExecEnv()
55 (*param)->lockInfo = lockInfo; in InitDomainPluginExecEnv()
352 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in GetDomainAccountInfoWork()
353 param->lockInfo->count--; in GetDomainAccountInfoWork()
354 param->lockInfo->condition.notify_all(); in GetDomainAccountInfoWork()
399 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in OnAccountBoundWork()
400 param->lockInfo->count--; in OnAccountBoundWork()
401 param->lockInfo->condition.notify_all(); in OnAccountBoundWork()
420 std::unique_lock<std::mutex> lock(param->lockInfo in OnAccountUnBoundWork()
42 InitDomainPluginExecEnv( napi_env env, uv_loop_s **loop, uv_work_t **work, JsDomainPluginParam **param, ThreadLockInfo *lockInfo) InitDomainPluginExecEnv() argument
[all...]
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_test_util.cpp427 PersoLockInfo lockInfo; in UnlockSimLockTestFunc() local
428 lockInfo.lockType = PersoLockType::PN_PIN_LOCK; in UnlockSimLockTestFunc()
429 lockInfo.password = Str8ToStr16("1234"); in UnlockSimLockTestFunc()
431 int32_t result = CoreServiceClient::GetInstance().UnlockSimLock(SimTest::slotId_, lockInfo, response); in UnlockSimLockTestFunc()
438 PersoLockInfo lockInfo; in UnlockSimLockTestFunc1() local
439 lockInfo.lockType = PersoLockType::PN_PIN_LOCK; in UnlockSimLockTestFunc1()
440 lockInfo.password = Str8ToStr16("1234"); in UnlockSimLockTestFunc1()
442 int32_t result = CoreServiceClient::GetInstance().UnlockSimLock(SimTest::slotId1_, lockInfo, response); in UnlockSimLockTestFunc1()
H A Dcore_service_test.cpp673 PersoLockInfo lockInfo; in HWTEST_F() local
675 auto result = DelayedSingleton<CoreService>::GetInstance()->UnlockSimLock(0, lockInfo, response); in HWTEST_F()
H A Dzero_branch_test_sim_ril.cpp778 PersoLockInfo lockInfo; in HWTEST_F() local
780 simStateHandle->UnlockSimLock(0, lockInfo); in HWTEST_F()
1349 LockInfo lockInfo; in HWTEST_F() local
1350 lockInfo.lockType = static_cast<LockType>(0); in HWTEST_F()
1353 EXPECT_EQ(simStateManager->SetLockState(0, lockInfo, lockStatusResponse), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F()
1356 lockInfo.lockType = LockType::FDN_LOCK; in HWTEST_F()
1357 EXPECT_EQ(simStateManager->SetLockState(0, lockInfo, lockStatusResponse), TELEPHONY_ERR_ARGUMENT_INVALID); in HWTEST_F()
H A Dcore_service_native_branch_test.cpp237 PersoLockInfo lockInfo; in HWTEST_F() local
238 EXPECT_EQ(coreServiceProxy.UnlockSimLock(INVALID_SLOTID, lockInfo, response), TELEPHONY_ERR_SLOTID_INVALID); in HWTEST_F()
/base/telephony/core_service/services/sim/include/
H A Dsim_state_manager.h53 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response);
H A Dsim_state_handle.h131 void UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo);
H A Dsim_manager.h66 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) override;
/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_mock_test.cpp370 RunningLockInfo lockInfo {}; in HWTEST_F()
379 return lockInfo; in HWTEST_F()
440 RunningLockInfo lockInfo {}; in HWTEST_F()
449 return lockInfo; in HWTEST_F()
/base/telephony/core_service/services/sim/src/
H A Dsim_state_manager.cpp482 int32_t SimStateManager::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) in UnlockSimLock() argument
491 simStateHandle_->UnlockSimLock(slotId, lockInfo); in UnlockSimLock()
H A Dsim_state_handle.cpp314 void SimStateHandle::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo) in UnlockSimLock() argument
328 int32_t lockType = static_cast<int32_t>(lockInfo.lockType); in UnlockSimLock()
329 telRilManager->UnlockSimLock(slotId, lockType, Str16ToStr8(lockInfo.password), event); in UnlockSimLock()
/base/account/os_account/interfaces/kits/napi/domain_account/include/
H A Dnapi_domain_account_manager.h87 ThreadLockInfo *lockInfo = nullptr; member
/base/telephony/core_service/services/sim/test/
H A Dtest.cpp1334 PersoLockInfo lockInfo; in TestUnlockSimLock() local
1338 lockInfo.password = Str8ToStr16(password); in TestUnlockSimLock()
1339 lockInfo.lockType = static_cast<PersoLockType>(testType); in TestUnlockSimLock()
1340 g_telephonyService->UnlockSimLock(slotId, lockInfo, response); in TestUnlockSimLock()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h90 ThreadLockInfo *lockInfo; member
/base/telephony/core_service/interfaces/innerkits/include/
H A Dcore_service_client.h776 * @param lockInfo[in], customized lock type information
780 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response);
H A Di_sim_manager.h63 virtual int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) = 0;
H A Dcore_service_proxy.h130 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) override;
H A Di_core_service.h146 virtual int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) = 0;
H A Dcore_manager_inner.h247 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response);
/base/telephony/cellular_data/test/mock/
H A Dmock_core_service.h145 MOCK_METHOD(int32_t, UnlockSimLock, (int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response),
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_client.cpp917 int32_t CoreServiceClient::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) in UnlockSimLock() argument
924 return proxy->UnlockSimLock(slotId, lockInfo, response); in UnlockSimLock()
/base/telephony/core_service/services/core/src/
H A Dcore_service.cpp1378 int32_t CoreService::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) in UnlockSimLock() argument
1389 "CoreService::UnlockSimLock(), lockType = %{public}d, slotId = %{public}d", lockInfo.lockType, slotId); in UnlockSimLock()
1394 return simManager_->UnlockSimLock(slotId, lockInfo, response); in UnlockSimLock()
H A Dcore_service_stub.cpp1763 PersoLockInfo lockInfo; in OnUnlockSimLock() local
1765 lockInfo.lockType = static_cast<PersoLockType>(data.ReadInt32()); in OnUnlockSimLock()
1766 lockInfo.password = data.ReadString16(); in OnUnlockSimLock()
1769 TELEPHONY_LOGI("CoreServiceStub::OnUnlockSimLock(), lockType = %{public}d", lockInfo.lockType); in OnUnlockSimLock()
1770 int32_t result = UnlockSimLock(slotId, lockInfo, response); in OnUnlockSimLock()
/base/telephony/core_service/services/core/include/
H A Dcore_service.h221 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) override;
/base/telephony/core_service/test/unittest/esim_gtest/mock/include/
H A Desim_core_service_stub_test.h463 int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) override

Completed in 38 milliseconds

12