Home
last modified time | relevance | path

Searched refs:windowId (Results 1 – 25 of 53) sorted by relevance

123

/base/accessibility/services/aams/src/
Daccessibility_window_manager.cpp93 int AccessibilityWindowInfoManager::ConvertToRealWindowId(int windowId, int focusType) in ConvertToRealWindowId() argument
95 …("ConvertToRealWindowId called, windowId[%{public}d], focusType[%{public}d]", windowId, focusType); in ConvertToRealWindowId()
96 if (windowId == ACTIVE_WINDOW_ID) { in ConvertToRealWindowId()
101 if (windowId == ANY_WINDOW_ID) { in ConvertToRealWindowId()
110 HILOG_DEBUG("ConvertToRealWindowId called, after convert windowId[%{public}d]", windowId); in ConvertToRealWindowId()
111 return windowId; in ConvertToRealWindowId()
170 void AccessibilityWindowInfoManager::SetActiveWindow(int windowId) in SetActiveWindow() argument
172 HILOG_DEBUG("windowId(%{public}d)", windowId); in SetActiveWindow()
173 if (windowId == INVALID_WINDOW_ID) { in SetActiveWindow()
181 if (!a11yWindows_.count(windowId)) { in SetActiveWindow()
[all …]
Daccessibility_window_connection.cpp22 AccessibilityWindowConnection::AccessibilityWindowConnection(const int windowId, in AccessibilityWindowConnection() argument
25 windowId_ = windowId; in AccessibilityWindowConnection()
Daccessible_ability_manager_service.cpp270 const int windowId, const sptr<IAccessibilityElementOperator>& operation, int accountId) in RegisterElementOperator() argument
274 if (accountData->GetAccessibilityWindowConnection(windowId)) { in RegisterElementOperator()
279 …cessibilityWindowConnection> connection = new(std::nothrow) AccessibilityWindowConnection(windowId, in RegisterElementOperator()
285 accountData->AddAccessibilityWindowConnection(windowId, connection); in RegisterElementOperator()
288 …teractionOperationDeathRecipient_ = new(std::nothrow) InteractionOperationDeathRecipient(windowId); in RegisterElementOperator()
305 void AccessibleAbilityManagerService::DeregisterElementOperator(int windowId) in DeregisterElementOperator() argument
309 …ccessibilityWindowConnection> connection = accountData->GetAccessibilityWindowConnection(windowId); in DeregisterElementOperator()
311 HILOG_WARN("The operation of windowId[%{public}d] has not been registered.", windowId); in DeregisterElementOperator()
324 accountData->RemoveAccessibilityWindowConnection(windowId); in DeregisterElementOperator()
437 int windowId) in GetAccessibilityWindowConnection() argument
[all …]
Daccessibility_interaction_bridge.cpp153 AccessibilityElementInfo AccessibilityInteractionBridge::FindFocusedElementInfo(const int &windowId) in FindFocusedElementInfo() argument
155 HILOG_DEBUG("[windowId %{public}d]", windowId); in FindFocusedElementInfo()
158 windowId, NONE_ID, FOCUS_TYPE_ACCESSIBILITY, info); in FindFocusedElementInfo()
Daccessibility_account_data.cpp159 const int windowId, const sptr<AccessibilityWindowConnection>& interactionConnection) in AddAccessibilityWindowConnection() argument
161 HILOG_DEBUG("windowId(%{public}d)", windowId); in AddAccessibilityWindowConnection()
162 if (!asacConnections_.count(windowId)) { in AddAccessibilityWindowConnection()
163 asacConnections_.insert(std::make_pair(windowId, interactionConnection)); in AddAccessibilityWindowConnection()
168 void AccessibilityAccountData::RemoveAccessibilityWindowConnection(const int windowId) in RemoveAccessibilityWindowConnection() argument
170 HILOG_DEBUG("windowId(%{public}d)", windowId); in RemoveAccessibilityWindowConnection()
171 … std::map<int, sptr<AccessibilityWindowConnection>>::iterator it = asacConnections_.find(windowId); in RemoveAccessibilityWindowConnection()
306 const int windowId) in GetAccessibilityWindowConnection() argument
308 HILOG_DEBUG("windowId(%{public}d).", windowId); in GetAccessibilityWindowConnection()
309 if (asacConnections_.count(windowId) > 0) { in GetAccessibilityWindowConnection()
[all …]
/base/accessibility/services/aams/include/
Daccessibility_window_manager.h40 int ConvertToRealWindowId(int windowId, int focusType);
43 void SetActiveWindow(int windowId);
44 void SetAccessibilityFocusedWindow(int windowId);
45 void SetInputFocusedWindow(int windowId);
47 bool GetAccessibilityWindow(int windowId, AccessibilityWindowInfo &window);
48 bool IsValidWindow(int windowId);
51 void SetWindowSize(int windowId, Rect rect);
Daccessible_ability_manager_service.h65 …const int windowId, const sptr<IAccessibilityElementOperator>& operation, const int accountId) ove…
67 void DeregisterElementOperator(const int windowId) override;
165 InteractionOperationDeathRecipient(int windowId) : windowId_(windowId) {}; in InteractionOperationDeathRecipient() argument
184 sptr<AccessibilityWindowConnection> GetAccessibilityWindowConnection(int windowId);
185 void ClearFocus(int windowId);
186 void OutsideTouch(int windowId);
Daccessibility_account_data.h124 const int windowId, const sptr<AccessibilityWindowConnection>& interactionConnection);
131 void RemoveAccessibilityWindowConnection(const int windowId);
200 const sptr<AccessibilityWindowConnection> GetAccessibilityWindowConnection(const int windowId);
/base/accessibility/services/aams/test/unittest/
Daccessibility_window_manager_test.cpp87 int windowId = ACTIVE_WINDOW_ID; variable
90 int realWindowId = mgr.ConvertToRealWindowId(windowId, focusType);
104 int windowId = ANY_WINDOW_ID; variable
107 int realWindowId = mgr.ConvertToRealWindowId(windowId, focusType);
121 int windowId = ANY_WINDOW_ID; variable
124 int realWindowId = mgr.ConvertToRealWindowId(windowId, focusType);
419 int windowId = INVALID_WINDOW_ID; variable
420 mgr.SetActiveWindow(windowId);
449 int windowId = INVALID_WINDOW_ID; variable
450 mgr.SetActiveWindow(windowId);
[all …]
Daccessibility_interaction_bridge_test.cpp115 int windowId = 0; variable
119 … AccessibilityWindowInfoManager::GetInstance().a11yWindows_.insert(std::make_pair(windowId, info));
159 int windowId = 0; variable
163 … AccessibilityWindowInfoManager::GetInstance().a11yWindows_.insert(std::make_pair(windowId, info));
200 int windowId = 0; variable
204 … AccessibilityWindowInfoManager::GetInstance().a11yWindows_.insert(std::make_pair(windowId, info));
Daccessibility_account_data_test.cpp504 const int windowId = 1; variable
507 …tr<AccessibilityWindowConnection> operationConnection = new AccessibilityWindowConnection(windowId,
510 accountData->AddAccessibilityWindowConnection(windowId, operationConnection);
606 const int windowId = 1; variable
610 sptr<AccessibilityWindowConnection> connection = new AccessibilityWindowConnection(windowId,
614 accountData->AddAccessibilityWindowConnection(windowId, connection);
617 EXPECT_EQ(connection, accountData->GetAccessibilityWindowConnection(windowId));
632 const int windowId = 1; variable
637 sptr<AccessibilityWindowConnection> connection = new AccessibilityWindowConnection(windowId,
641 accountData->AddAccessibilityWindowConnection(windowId, connection);
[all …]
/base/accessibility/services/test/mock/
Daccessibility_event_info_mock.cpp41 int windowId, WindowUpdateType windowChangeTypes) in AccessibilityEventInfo() argument
45 SetWindowId(windowId); in AccessibilityEventInfo()
68 void AccessibilityMemo::SetWindowId(const int windowId) in SetWindowId() argument
70 windowId_ = windowId; in SetWindowId()
Dmock_window_manager.cpp38 void NotifyFocused(uint32_t windowId, const sptr<IRemoteObject>& abilityToken,
40 void NotifyUnfocused(uint32_t windowId, const sptr<IRemoteObject>& abilityToken,
49 void WindowManager::Impl::NotifyFocused(uint32_t windowId, const sptr<IRemoteObject>& abilityToken, in NotifyFocused() argument
54 void WindowManager::Impl::NotifyUnfocused(uint32_t windowId, const sptr<IRemoteObject>& abilityToke… in NotifyUnfocused() argument
103 void WindowManager::UpdateFocusStatus(uint32_t windowId, const sptr<IRemoteObject>& abilityToken, W… in UpdateFocusStatus() argument
Daccessible_ability_manager_service_mock.cpp151 void AccessibleAbilityManagerService::RegisterElementOperator(const int windowId, in RegisterElementOperator() argument
155 …sptr<AccessibilityWindowConnection> connection = new AccessibilityWindowConnection(windowId, opera… in RegisterElementOperator()
157 accountData->AddAccessibilityWindowConnection(windowId, connection); in RegisterElementOperator()
162 void AccessibleAbilityManagerService::DeregisterElementOperator(int windowId) in DeregisterElementOperator() argument
165 accountData->RemoveAccessibilityWindowConnection(windowId); in DeregisterElementOperator()
201 …tyWindowConnection> AccessibleAbilityManagerService::GetAccessibilityWindowConnection(int windowId) in GetAccessibilityWindowConnection() argument
208 return accountData->GetAccessibilityWindowConnection(windowId); in GetAccessibilityWindowConnection()
211 void AccessibleAbilityManagerService::ClearFocus(int windowId) in ClearFocus() argument
213 sptr<AccessibilityWindowConnection> connection = GetAccessibilityWindowConnection(windowId); in ClearFocus()
217 void AccessibleAbilityManagerService::OutsideTouch(int windowId) in OutsideTouch() argument
[all …]
/base/accessibility/services/aams/test/mock/
Daccessibility_event_info_mock.cpp41 AccessibilityEventInfo::AccessibilityEventInfo(int windowId, WindowUpdateType windowChangeTypes) in AccessibilityEventInfo() argument
81 void AccessibilityMemo::SetWindowId(const int windowId) in SetWindowId() argument
83 windowId_ = windowId; in SetWindowId()
Daccessible_ability_manager_service_mock.cpp162 void AccessibleAbilityManagerService::RegisterElementOperator(const int windowId, in RegisterElementOperator() argument
166 sptr<AccessibilityWindowConnection> connection = new AccessibilityWindowConnection(windowId, in RegisterElementOperator()
169 accountData->AddAccessibilityWindowConnection(windowId, connection); in RegisterElementOperator()
174 void AccessibleAbilityManagerService::DeregisterElementOperator(int windowId) in DeregisterElementOperator() argument
177 accountData->RemoveAccessibilityWindowConnection(windowId); in DeregisterElementOperator()
217 int windowId) in GetAccessibilityWindowConnection() argument
224 return accountData->GetAccessibilityWindowConnection(windowId); in GetAccessibilityWindowConnection()
227 void AccessibleAbilityManagerService::ClearFocus(int windowId) in ClearFocus() argument
229 sptr<AccessibilityWindowConnection> connection = GetAccessibilityWindowConnection(windowId); in ClearFocus()
233 void AccessibleAbilityManagerService::OutsideTouch(int windowId) in OutsideTouch() argument
[all …]
/base/accessibility/frameworks/asacfwk/test/mock/
Dmock_accessible_ability_manager_service_impl.h52 …void RegisterElementOperator(const int windowId, const sptr<IAccessibilityElementOperator> &operat… in RegisterElementOperator() argument
57 void DeregisterElementOperator(const int windowId) in DeregisterElementOperator() argument
Dmock_accessible_ability_manager_service_stub.h44 void RegisterElementOperator(const int windowId, in RegisterElementOperator() argument
47 void DeregisterElementOperator(const int windowId) {} in DeregisterElementOperator() argument
/base/miscservices/inputmethod/frameworks/inputmethod_ability/src/
Dinput_method_agent_stub.cpp51 uint32_t windowId = data.ReadUint32(); in OnRemoteRequest() local
52 SetCallingWindow(windowId); in OnRemoteRequest()
88 void InputMethodAgentStub::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument
94 InputMethodAbility::GetInstance()->SetCallingWindow(windowId); in SetCallingWindow()
Dinput_method_agent_proxy.cpp77 void InputMethodAgentProxy::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument
87 data.WriteUint32(windowId); in SetCallingWindow()
/base/accessibility/frameworks/asacfwk/src/
Daccessibility_system_ability_client.cpp148 const int windowId, const shared_ptr<AccessibilityElementOperator>& operation, int user) in RegisterElementOperator() argument
156 connectionWindowId_ = windowId; in RegisterElementOperator()
158 if (iter->first == windowId) { in RegisterElementOperator()
159 HILOG_ERROR("windowID[%{public}d] is exited", windowId); in RegisterElementOperator()
163 …interactionOperators_.insert(pair<int, shared_ptr<AccessibilityElementOperator>>(windowId, operati… in RegisterElementOperator()
167 aamsInteractionOperator->SetWindowId(windowId); in RegisterElementOperator()
173 proxyService->RegisterElementOperator(windowId, aamsInteractionOperator, user); in RegisterElementOperator()
181 void AccessibilitySystemAbilityClient::DeregisterElementOperator(const int windowId) in DeregisterElementOperator() argument
189 proxyService->DeregisterElementOperator(windowId); in DeregisterElementOperator()
191 if (iter->first == windowId) { in DeregisterElementOperator()
[all …]
Daccessibility_event_info.cpp128 void AccessibilityMemo::SetWindowId(const int windowId) in SetWindowId() argument
130 HILOG_DEBUG("windowId[%{public}d]", windowId); in SetWindowId()
131 windowId_ = windowId; in SetWindowId()
292 int32_t windowId = 0; in ReadFromParcel() local
293 READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, windowId); in ReadFromParcel()
294 SetWindowId(windowId); in ReadFromParcel()
502 AccessibilityEventInfo::AccessibilityEventInfo(int windowId, WindowUpdateType windowChangeTypes) in AccessibilityEventInfo() argument
506 SetWindowId(windowId); in AccessibilityEventInfo()
/base/accessibility/frameworks/aafwk/test/mock/
Dmock_accessibility_event_info.cpp72 void AccessibilityMemo::SetWindowId(const int windowId) in SetWindowId() argument
74 (void)windowId; in SetWindowId()
286 AccessibilityEventInfo::AccessibilityEventInfo(int windowId, WindowUpdateType windowChangeTypes) in AccessibilityEventInfo() argument
288 (void)windowId; in AccessibilityEventInfo()
/base/accessibility/interfaces/innerkits/asacfwk/include/
Daccessibility_system_ability_client.h79 …const int windowId, const std::shared_ptr<AccessibilityElementOperator>& operation, int accountId);
86 void DeregisterElementOperator(const int windowId);
257 std::shared_ptr<AccessibilityElementOperator> GetOperatorObject(int windowId);
/base/accessibility/frameworks/asacfwk/include/
Daccessible_ability_manager_service_interface.h80 …const int windowId, const sptr<IAccessibilityElementOperator>& operation, const int accountId) = 0;
87 virtual void DeregisterElementOperator(const int windowId) = 0;

123