Home
last modified time | relevance | path

Searched refs:owner_ (Results 1 - 25 of 59) sorted by relevance

123

/foundation/resourceschedule/ffrt/src/sync/
H A Drecord_mutex.cpp34 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 Drecord_mutex.h58 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 Dproperty_handle.cpp24 : 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 Ddata_share_manager_impl.h54 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 Dams_mgr_proxy.h35 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 Dconnection_observer_stub_impl.cpp24 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 Drdb_manager_impl.h47 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 Dunordered_map.h65 : 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 Dproperty_data.cpp161 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 Dwindow_focus_changed_listener.cpp27 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 Dfile_descriptor_listener.h75 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 Dattachment_container.cpp68 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 Dinterface_manager.cpp60 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 Dextension_mgr_proxy.h38 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 Dbundle_mgr_proxy.h77 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 Dremote_observer_list.h52 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 Ddataobs_mgr_client.h123 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 Dconnection_observer_stub_impl.h30 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 Dconnection_observer_client_impl.h55 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 Dwindow_focus_changed_listener.cpp32 auto task = [inner = owner_, focusChangeInfo] { in OnFocused()
54 auto task = [inner = owner_, focusChangeInfo] { in OnUnfocused()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dwindow_focus_changed_listener.h29 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 Dentity_manager.cpp338 : 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 Dbluetooth_gatt_client_server.cpp212 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 Dbluetooth_gatt_server_server.cpp220 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 Dproperty.cpp26 return owner_; in GetOwner()
30 owner_ = owner; in SetOwner()

Completed in 9 milliseconds

123