/foundation/resourceschedule/ffrt/src/sync/ |
H A D | record_mutex.cpp | 34 owner_.id = ExecuteCtx::Cur()->task->gid; in LoadInfo() 35 owner_.type = MutexOwnerType::MUTEX_OWNER_TYPE_TASK; in LoadInfo() 37 owner_.id = gettid(); in LoadInfo() 38 owner_.type = MutexOwnerType::MUTEX_OWNER_TYPE_THREAD; in LoadInfo() 41 owner_.timestamp = std::chrono::steady_clock::now(); in LoadInfo() 49 owner_.timestamp.time_since_epoch()).count(); in GetDuration()
|
H A D | record_mutex.h | 58 return owner_.id != 0; in HasLock() 65 return owner_.id; in GetOwnerId() 70 return owner_.type; in GetOwnerType() 80 owner_.id = 0; in ClearInfo() 84 MutexOwner owner_ = { 0 }; member in ffrt::RecordMutex
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/property/ |
H A D | property_handle.cpp | 24 : IPropertyHandle(), owner_(owner), data_(data), size_(size) in size_() 28 : IPropertyHandle(), owner_(BASE_NS::exchange(other.owner_, nullptr)), 35 owner_ = BASE_NS::exchange(other.owner_, nullptr); 44 return owner_; in Owner()
|
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/include/ |
H A D | data_share_manager_impl.h | 54 explicit ServiceDeathRecipient(DataShareManagerImpl *owner) : owner_(owner) in ServiceDeathRecipient() 59 if (owner_ != nullptr) { 60 owner_->OnRemoteDied(); 65 DataShareManagerImpl *owner_; member in OHOS::DataShare::DataShareManagerImpl::ServiceDeathRecipient 70 explicit DataShareClientStatusChangeStub(DataShareManagerImpl *owner) : owner_(owner) in DataShareClientStatusChangeStub() 75 if (owner_ != nullptr) { 76 owner_->OnAddSystemAbility(systemAbilityId, deviceId); 84 DataShareManagerImpl *owner_; member in OHOS::DataShare::DataShareManagerImpl::DataShareClientStatusChangeStub
|
H A D | ams_mgr_proxy.h | 35 explicit ServiceDeathRecipient(AmsMgrProxy* owner) : owner_(owner) in ServiceDeathRecipient() 40 if (owner_ != nullptr) { 41 owner_->OnProxyDied(); 46 AmsMgrProxy* owner_; member in OHOS::DataShare::AmsMgrProxy::ServiceDeathRecipient
|
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/src/ |
H A D | connection_observer_stub_impl.cpp | 24 auto owner = owner_.lock(); in OnExtensionConnected() 33 auto owner = owner_.lock(); in OnExtensionDisconnected() 43 auto owner = owner_.lock(); in OnDlpAbilityOpened() 52 auto owner = owner_.lock(); in OnDlpAbilityClosed()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_manager_impl.h | 47 explicit ServiceDeathRecipient(RdbManagerImpl* owner) : owner_(owner) {} in ServiceDeathRecipient() 50 if (owner_ != nullptr) { 51 owner_->OnRemoteDied(); 55 RdbManagerImpl* owner_; member in OHOS::DistributedRdb::RdbManagerImpl::ServiceDeathRecipient
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | unordered_map.h | 65 : owner_ { other.owner_ }, it_ { other.it_ } 70 BASE_ASSERT(owner_ && it_); 75 BASE_ASSERT(owner_ && it_); 81 return ((owner_ == other.owner_) && (it_ == other.it_)); 85 return ((owner_ != other.owner_) || (it_ != other.it_)); 90 return ((owner_ == other.owner_) [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/ |
H A D | property_data.cpp | 161 owner_ = dataHandleW_->Owner(); in WLock() 201 owner_ = dataHandle_->Owner(); in RLock() 266 owner_ = nullptr; in Reset() 273 if (owner_) { in MetaData() 274 return owner_->MetaData(); in MetaData() 281 if (owner_) { in MetaData() 282 const auto& meta = owner_->MetaData(); in MetaData() 292 if (owner_ && dataW_) { in Get() 293 const auto& props = owner_->MetaData(); in Get() 304 if (owner_ in Get() [all...] |
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | window_focus_changed_listener.cpp | 27 const std::shared_ptr<AAFwk::TaskHandlerWrap>& handler) : owner_(owner), taskHandler_(handler) {} in WindowFocusChangedListener() 39 auto task = [inner = owner_, focusChangeInfo] { in OnFocused() 59 auto task = [inner = owner_, focusChangeInfo] { in OnUnfocused()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/ |
H A D | file_descriptor_listener.h | 75 return owner_.lock(); in GetOwner() 85 owner_ = owner; in SetOwner() 93 std::weak_ptr<EventHandler> owner_; member in OHOS::AppExecFwk::FileDescriptorListener
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | attachment_container.cpp | 68 const auto owner = owner_.lock(); in Replace() 91 owner_ = owner; in Initialize() 108 if (const auto owner = owner_.lock()) { in Attach() 137 if (const auto owner = owner_.lock()) { in Detach() 151 if (const auto owner = owner_.lock()) { in AddingToContainer() 177 if (const auto owner = owner_.lock()) { in RemovedFromContainer() 191 const auto owner = owner_.lock(); in RemoveAllAttachments() 210 if (const auto owner = owner_.lock(); attachment && owner) { in AlreadyAttached()
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | interface_manager.cpp | 60 WifiDirectAnonymizeDeviceId(exclusives_[static_cast<int>(type)].owner_).c_str()); in LockInterface() 62 exclusives_[static_cast<int>(type)].owner_ = owner; in LockInterface() 64 WifiDirectAnonymizeDeviceId(exclusives_[static_cast<int>(type)].owner_).c_str()); in LockInterface() 70 WifiDirectAnonymizeDeviceId(exclusives_[static_cast<int>(type)].owner_).c_str()); in UnlockInterface() 73 exclusives_[static_cast<int>(type)].owner_ = ""; in UnlockInterface()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | extension_mgr_proxy.h | 38 explicit ServiceDeathRecipient(std::weak_ptr<ExtensionMgrProxy> owner) : owner_(owner) in ServiceDeathRecipient() 43 auto owner = owner_.lock(); 50 std::weak_ptr<ExtensionMgrProxy> owner_; member in OHOS::DataShare::final::ServiceDeathRecipient
|
H A D | bundle_mgr_proxy.h | 77 explicit ServiceDeathRecipient(std::weak_ptr<BundleMgrProxy> owner) : owner_(owner) {} in ServiceDeathRecipient() 80 auto owner = owner_.lock(); 87 std::weak_ptr<BundleMgrProxy> owner_; member in OHOS::DataShare::final::ServiceDeathRecipient
|
/foundation/communication/bluetooth_service/services/bluetooth/server/include/ |
H A D | remote_observer_list.h | 52 RemoteObserverList<T, Args...> *owner_ {}; 155 : observer_(observer), owner_(owner) in ObserverDeathRecipient() 164 std::lock_guard<std::mutex> lock(owner_->lock_); in OnRemoteDied() 166 for (auto it = owner_->btServers_.begin(); it != owner_->btServers_.end();) { in OnRemoteDied() 169 it = owner_->btServers_.erase(it); in OnRemoteDied()
|
/foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/ |
H A D | dataobs_mgr_client.h | 123 explicit ServiceDeathRecipient(std::weak_ptr<DataObsMgrClient> owner) : owner_(owner) {} in ServiceDeathRecipient() 126 auto serviceClient = owner_.lock(); 133 std::weak_ptr<DataObsMgrClient> owner_; member in OHOS::AAFwk::DataObsMgrClient::ServiceDeathRecipient
|
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/include/ |
H A D | connection_observer_stub_impl.h | 30 explicit ConnectionObserverStubImpl(const std::shared_ptr<ConnectionObserverClientImpl>& owner) : owner_(owner) {} in ConnectionObserverStubImpl() 44 std::weak_ptr<ConnectionObserverClientImpl> owner_; member in OHOS::AbilityRuntime::ConnectionObserverStubImpl
|
H A D | connection_observer_client_impl.h | 55 explicit ServiceDeathRecipient(const std::shared_ptr<ConnectionObserverClientImpl>& owner) : owner_(owner) {} in ServiceDeathRecipient() 62 std::weak_ptr<ConnectionObserverClientImpl> owner_; member in OHOS::AbilityRuntime::ConnectionObserverClientImpl::ServiceDeathRecipient
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | window_focus_changed_listener.cpp | 32 auto task = [inner = owner_, focusChangeInfo] { in OnFocused() 54 auto task = [inner = owner_, focusChangeInfo] { in OnUnfocused()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | window_focus_changed_listener.h | 29 const std::shared_ptr<TaskHandlerWrap>& handler) : owner_(owner), taskHandler_(handler) {} in WindowFocusChangedListener() 36 std::weak_ptr<AbilityManagerService> owner_; member in OHOS::AAFwk::WindowFocusChangedListener
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/ |
H A D | entity_manager.cpp | 338 : owner_(&owner), index_(static_cast<uint32_t>(index)), type_(type) in IteratorImpl() 351 return owner_; in GetOwner() 356 if ((other == nullptr) || (other->GetOwner() != owner_)) { in Compare() 365 const auto& entities = owner_->entities_; in Next() 379 return (index_ < owner_->entities_.size()); in Next() 384 if (index_ >= owner_->entities_.size()) { in Get() 387 return MakeEntityId(owner_->entities_[index_].generation, index_); in Get() 399 return owner_->MakeIterator(index_, type_); in Clone()
|
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_gatt_client_server.cpp | 212 BluetoothGattClientServer &owner_; member in OHOS::Bluetooth::BluetoothGattClientServer::impl::GattClientCallbackImpl::CallbackDeathRecipient 233 : callback_(callback), owner_(owner) in CallbackDeathRecipient() 240 if (owner_.pimpl == nullptr || owner_.pimpl->clientService_ == nullptr) { in OnRemoteDied() 244 std::lock_guard<std::mutex> lck(owner_.pimpl->registerMutex_); in OnRemoteDied() 245 for (auto it = owner_.pimpl->callbacks_.begin(); it != owner_.pimpl->callbacks_.end(); ++it) { in OnRemoteDied() 253 owner_.pimpl->clientService_->Disconnect((*it)->GetAppId()); in OnRemoteDied() 254 owner_.pimpl->clientService_->DeregisterApplication((*it)->GetAppId()); in OnRemoteDied() 255 owner_ in OnRemoteDied() [all...] |
H A D | bluetooth_gatt_server_server.cpp | 220 BluetoothGattServerServer &owner_; member in OHOS::Bluetooth::BluetoothGattServerServer::impl::GattServerCallbackImpl::GattServerCallbackDeathRecipient 245 : callback_(callback), owner_(owner) in GattServerCallbackDeathRecipient() 252 (unsigned long)owner_.pimpl->callbacks_.size()); in OnRemoteDied() 253 std::lock_guard<std::mutex> lck(owner_.pimpl->registerMutex_); in OnRemoteDied() 254 for (auto it = owner_.pimpl->callbacks_.begin(); it != owner_.pimpl->callbacks_.end(); ++it) { in OnRemoteDied() 262 if (owner_.pimpl->serverService_ != nullptr) { in OnRemoteDied() 263 int ret = owner_.pimpl->serverService_->DeregisterApplication(appId); in OnRemoteDied() 266 owner_.pimpl->callbacks_.erase(it); in OnRemoteDied()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/property/ |
H A D | property.cpp | 26 return owner_; in GetOwner() 30 owner_ = owner; in SetOwner()
|