Home
last modified time | relevance | path

Searched refs:lockInfo (Results 1 – 25 of 32) sorted by relevance

12

/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_authorization_extension.cpp144 JsAppAuthorizationExtensionParam **param, ThreadLockInfo *lockInfo) in InitAuthorizationExtensionExecEnv() argument
156 (*param)->lockInfo = lockInfo; in InitAuthorizationExtensionExecEnv()
391 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in DeleteParamLocked()
392 param->lockInfo->count--; in DeleteParamLocked()
393 param->lockInfo->condition.notify_all(); in DeleteParamLocked()
420 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in StartAuthorizationWork()
421 param->lockInfo->count--; in StartAuthorizationWork()
422 param->lockInfo->condition.notify_all(); in StartAuthorizationWork()
/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_account_manager.cpp41 …env env, uv_loop_s **loop, uv_work_t **work, JsDomainPluginParam **param, ThreadLockInfo *lockInfo) in InitDomainPluginExecEnv() argument
53 (*param)->lockInfo = lockInfo; in InitDomainPluginExecEnv()
333 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in GetDomainAccountInfoWork()
334 param->lockInfo->count--; in GetDomainAccountInfoWork()
335 param->lockInfo->condition.notify_all(); in GetDomainAccountInfoWork()
379 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in OnAccountBoundWork()
380 param->lockInfo->count--; in OnAccountBoundWork()
381 param->lockInfo->condition.notify_all(); in OnAccountBoundWork()
400 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in OnAccountUnBoundWork()
401 param->lockInfo->count--; in OnAccountUnBoundWork()
[all …]
Dnapi_domain_auth_callback.cpp199 std::unique_lock<std::mutex> lock(param->lockInfo->mutex); in DomainAuthResultWork()
200 param->lockInfo->count--; in DomainAuthResultWork()
201 param->lockInfo->condition.notify_all(); in DomainAuthResultWork()
221 param->lockInfo = &lockInfo_; in OnResult()
/base/account/os_account/interfaces/kits/napi/domain_account/include/
Dnapi_domain_auth_callback.h44 ThreadLockInfo *lockInfo = nullptr; member
Dnapi_domain_account_manager.h77 ThreadLockInfo *lockInfo = nullptr; member
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_test_util.cpp417 PersoLockInfo lockInfo; in UnlockSimLockTestFunc() local
418 lockInfo.lockType = PersoLockType::PN_PIN_LOCK; in UnlockSimLockTestFunc()
419 lockInfo.password = Str8ToStr16("1234"); in UnlockSimLockTestFunc()
421 …int32_t result = CoreServiceClient::GetInstance().UnlockSimLock(SimTest::slotId_, lockInfo, respon… in UnlockSimLockTestFunc()
428 PersoLockInfo lockInfo; in UnlockSimLockTestFunc1() local
429 lockInfo.lockType = PersoLockType::PN_PIN_LOCK; in UnlockSimLockTestFunc1()
430 lockInfo.password = Str8ToStr16("1234"); in UnlockSimLockTestFunc1()
432 …int32_t result = CoreServiceClient::GetInstance().UnlockSimLock(SimTest::slotId1_, lockInfo, respo… in UnlockSimLockTestFunc1()
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account_authorization_extension.h90 ThreadLockInfo *lockInfo = nullptr; member
/base/telephony/core_service/services/sim/include/
Dsim_state_manager.h49 …int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response);
Dsim_state_handle.h124 void UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo);
Dsim_manager.h58 …int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response)…
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.sim.d.ts2010 …function unlockSimLock(slotId: number, lockInfo: PersoLockInfo, callback: AsyncCallback<LockStatus…
2034 function unlockSimLock(slotId: number, lockInfo: PersoLockInfo): Promise<LockStatusResponse>;
/base/telephony/core_service/services/sim/src/
Dsim_state_handle.cpp197 void SimStateHandle::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo) in UnlockSimLock() argument
210 int32_t lockType = static_cast<int32_t>(lockInfo.lockType); in UnlockSimLock()
211 telRilManager_->UnlockSimLock(slotId, lockType, Str16ToStr8(lockInfo.password), event); in UnlockSimLock()
Dsim_state_manager.cpp423 int32_t SimStateManager::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusRes… in UnlockSimLock() argument
432 simStateHandle_->UnlockSimLock(slotId, lockInfo); in UnlockSimLock()
/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_mock_test.cpp358 RunningLockInfo lockInfo {}; in __anondd8a49c21002() local
367 return lockInfo; in __anondd8a49c21002()
422 RunningLockInfo lockInfo {}; in __anondd8a49c21302() local
431 return lockInfo; in __anondd8a49c21302()
/base/account/os_account/interfaces/kits/napi/account_iam/src/
Dnapi_account_iam_common.cpp843 std::unique_lock<std::mutex> lock(context->lockInfo->mutex); in OnGetDataWork()
844 context->lockInfo->count--; in OnGetDataWork()
845 context->lockInfo->condition.notify_all(); in OnGetDataWork()
883 context->lockInfo = &lockInfo_; in OnGetData()
/base/account/os_account/interfaces/kits/napi/account_iam/include/
Dnapi_account_iam_common.h213 ThreadLockInfo *lockInfo; member
/base/telephony/core_service/interfaces/innerkits/include/
Di_sim_manager.h50 …virtual int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &r…
Di_core_service.h130 …virtual int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &r…
Dcore_service_client.h746 …int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response);
Dcore_service_proxy.h127 …int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response)…
/base/telephony/core_service/services/core/src/
Dcore_service_stub.cpp1476 PersoLockInfo lockInfo; in OnUnlockSimLock() local
1478 lockInfo.lockType = static_cast<PersoLockType>(data.ReadInt32()); in OnUnlockSimLock()
1479 lockInfo.password = data.ReadString16(); in OnUnlockSimLock()
1482 TELEPHONY_LOGI("CoreServiceStub::OnUnlockSimLock(), lockType = %{public}d", lockInfo.lockType); in OnUnlockSimLock()
1483 int32_t result = UnlockSimLock(slotId, lockInfo, response); in OnUnlockSimLock()
Dcore_service.cpp1300 int32_t CoreService::UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusRespons… in UnlockSimLock() argument
1311 …"CoreService::UnlockSimLock(), lockType = %{public}d, slotId = %{public}d", lockInfo.lockType, slo… in UnlockSimLock()
1316 return simManager_->UnlockSimLock(slotId, lockInfo, response); in UnlockSimLock()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h84 ThreadLockInfo *lockInfo; member
/base/telephony/core_service/services/sim/test/
Dtest.cpp1320 PersoLockInfo lockInfo; in TestUnlockSimLock() local
1324 lockInfo.password = Str8ToStr16(password); in TestUnlockSimLock()
1325 lockInfo.lockType = static_cast<PersoLockType>(testType); in TestUnlockSimLock()
1326 g_telephonyService->UnlockSimLock(slotId, lockInfo, response); in TestUnlockSimLock()
/base/telephony/core_service/services/core/include/
Dcore_service.h212 …int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response)…

12