/base/powermgr/power_manager/frameworks/native/ |
D | running_lock.cpp | 42 if (token_ != nullptr) { in ~RunningLock() 49 token_ = new (std::nothrow)RunningLockTokenStub(); in Init() 50 if (token_ == nullptr) { in Init() 67 proxy->Lock(token_, timeOutMs); in Lock() 80 proxy->UnLock(token_); in UnLock() 91 bool ret = proxy->IsUsed(token_); in CheckUsedNoLock() 110 return proxy->CreateRunningLock(token_, runningLockInfo_); in Create() 121 proxy->ReleaseRunningLock(token_); in Release()
|
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/ |
D | wallpaper_extension_context.cpp | 30 …ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_, ILLEGAL_REQUE… in StartAbility() 42 …AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, startOptions, token_, ILLEGAL_REQUE… in StartAbility() 54 ErrCode ret = ConnectionManager::GetInstance().ConnectAbility(token_, want, connectCallback); in ConnectAbility() 64 …AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_, ILLEGAL_REQUEST_CODE, accou… in StartAbilityWithAccount() 76 … ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, startOptions, token_, in StartAbilityWithAccount() 89 …ErrCode ret = ConnectionManager::GetInstance().ConnectAbilityWithAccount(token_, want, accountId, … in ConnectAbilityWithAccount() 98 …ErrCode ret = ConnectionManager::GetInstance().DisconnectAbility(token_, want.GetElement(), connec… in DisconnectAbility() 109 ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->TerminateAbility(token_, -1, nullptr); in TerminateAbility()
|
/base/inputmethod/imf/frameworks/kits/extension/src/ |
D | inputmethod_extension_context.cpp | 30 …ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_, ILLEGAL_REQUE… in StartAbility() 43 …AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, startOptions, token_, ILLEGAL_REQUE… in StartAbility() 55 ErrCode ret = ConnectionManager::GetInstance().ConnectAbility(token_, want, connectCallback); in ConnectAbility() 64 …AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_, ILLEGAL_REQUEST_CODE, accou… in StartAbilityWithAccount() 77 want, startOptions, token_, ILLEGAL_REQUEST_CODE, accountId); in StartAbilityWithAccount() 89 …ErrCode ret = ConnectionManager::GetInstance().ConnectAbilityWithAccount(token_, want, accountId, … in ConnectAbilityWithAccount() 98 …ErrCode ret = ConnectionManager::GetInstance().DisconnectAbility(token_, want.GetElement(), connec… in DisconnectAbility() 109 ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->TerminateAbility(token_, -1, nullptr); in TerminateAbility()
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
D | print_extension_context.cpp | 30 …ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_, ILLEGAL_REQUE… in StartAbility() 42 …AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, startOptions, token_, ILLEGAL_REQUE… in StartAbility() 54 ErrCode ret = ConnectionManager::GetInstance().ConnectAbility(token_, want, connectCallback); in ConnectAbility() 64 …AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_, ILLEGAL_REQUEST_CODE, accou… in StartAbilityWithAccount() 77 want, startOptions, token_, ILLEGAL_REQUEST_CODE, accountId); in StartAbilityWithAccount() 89 …ErrCode ret = ConnectionManager::GetInstance().ConnectAbilityWithAccount(token_, want, accountId, … in ConnectAbilityWithAccount() 98 …ErrCode ret = ConnectionManager::GetInstance().DisconnectAbility(token_, want.GetElement(), connec… in DisconnectAbility() 109 ErrCode err = AAFwk::AbilityManagerClient::GetInstance()->TerminateAbility(token_, -1, nullptr); in TerminateAbility()
|
/base/account/os_account/frameworks/appaccount/extension/src/ |
D | authorization_extension_context.cpp | 32 ConnectionManager::GetInstance().ConnectAbility(token_, want, connectCallback); in ConnectAbility() 41 … ConnectionManager::GetInstance().DisconnectAbility(token_, want.GetElement(), connectCallback); in DisconnectAbility()
|
/base/notification/common_event_service/frameworks/native/src/ |
D | async_common_event_result.cpp | 31 token_ = token; in AsyncCommonEventResult() 128 …return DelayedSingleton<CommonEvent>::GetInstance()->FinishReceiver(token_, resultCode_, resultDat… in FinishCommonEvent()
|
/base/powermgr/power_manager/interfaces/inner_api/native/include/ |
D | running_lock.h | 63 sptr<IRemoteObject> token_; variable
|
/base/notification/common_event_service/interfaces/inner_api/ |
D | async_common_event_result.h | 132 sptr<IRemoteObject> token_; variable
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mgr_service.cpp | 852 sptr<RunningLockTokenStub> PowerMgrService::WakeupRunningLock::token_; member in OHOS::PowerMgr::PowerMgrService::WakeupRunningLock 856 token_ = new (std::nothrow) RunningLockTokenStub(); in Create() 857 if (!token_) { in Create() 862 pms->CreateRunningLock(token_->AsObject(), info); in Create() 867 if (!token_) { in Lock() 870 pms->Lock(token_->AsObject(), TIMEOUT); in Lock() 875 if (!token_) { in Unlock() 878 if (pms->IsUsed(token_)) { in Unlock() 879 pms->UnLock(token_->AsObject()); in Unlock()
|
/base/notification/common_event_service/frameworks/extension/src/ |
D | static_subscriber_extension_context.cpp | 73 err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, token_); in StartAbility()
|
/base/powermgr/power_manager/services/native/include/ |
D | power_mgr_service.h | 177 static sptr<RunningLockTokenStub> token_; variable
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_getcontroller_mock_test.cpp | 188 static sptr<RunningLockTokenStub> token_; member in OHOS::PowerMgr::PowerMgrService::WakeupRunningLock
|