Lines Matching defs:treeId
31 AccessibilityWindowConnection::AccessibilityWindowConnection(const int32_t windowId, const int32_t treeId,
35 treeId_ = treeId;
36 cardProxy_[treeId] = connection;
44 RetError AccessibilityWindowConnection::SetCardProxy(const int32_t treeId,
51 cardProxy_[treeId] = operation;
55 sptr<IAccessibilityElementOperator> AccessibilityWindowConnection::GetCardProxy(const int32_t treeId)
57 auto iter = cardProxy_.find(treeId);
60 return cardProxy_[treeId];
66 RetError AccessibilityWindowConnection::SetTokenIdMap(const int32_t treeId,
69 HILOG_DEBUG("treeId : %{public}d", treeId);
70 tokenIdMap_[treeId] = tokenId;
74 uint32_t AccessibilityWindowConnection::GetTokenIdMap(const int32_t treeId)
76 HILOG_DEBUG("treeId : %{public}d", treeId);
77 return tokenIdMap_[treeId];
82 for (auto &treeId: cardProxy_) {
83 treeIds.emplace_back(treeId.first);
87 RetError AccessibilityWindowConnection::GetRootParentId(int32_t treeId, int64_t &elementId)
89 auto iter = treeIdParentId_.find(treeId);
97 RetError AccessibilityWindowConnection::SetRootParentId(const int32_t treeId, const int64_t elementId)
99 treeIdParentId_[treeId] = elementId;
103 void AccessibilityWindowConnection::EraseProxy(const int32_t treeId)
105 cardProxy_.erase(treeId);