/base/accessibility/services/aams/src/ |
D | accessibility_window_manager.cpp | 93 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 …]
|
D | accessibility_window_connection.cpp | 22 AccessibilityWindowConnection::AccessibilityWindowConnection(const int windowId, in AccessibilityWindowConnection() argument 25 windowId_ = windowId; in AccessibilityWindowConnection()
|
D | accessible_ability_manager_service.cpp | 270 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 …]
|
D | accessibility_interaction_bridge.cpp | 153 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()
|
D | accessibility_account_data.cpp | 159 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/ |
D | accessibility_window_manager.h | 40 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);
|
D | accessible_ability_manager_service.h | 65 …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);
|
D | accessibility_account_data.h | 124 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/ |
D | accessibility_window_manager_test.cpp | 87 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 …]
|
D | accessibility_interaction_bridge_test.cpp | 115 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));
|
D | accessibility_account_data_test.cpp | 504 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/ |
D | accessibility_event_info_mock.cpp | 41 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()
|
D | mock_window_manager.cpp | 38 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
|
D | accessible_ability_manager_service_mock.cpp | 151 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/ |
D | accessibility_event_info_mock.cpp | 41 AccessibilityEventInfo::AccessibilityEventInfo(int windowId, WindowUpdateType windowChangeTypes) in AccessibilityEventInfo() argument 81 void AccessibilityMemo::SetWindowId(const int windowId) in SetWindowId() argument 83 windowId_ = windowId; in SetWindowId()
|
D | accessible_ability_manager_service_mock.cpp | 162 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/ |
D | mock_accessible_ability_manager_service_impl.h | 52 …void RegisterElementOperator(const int windowId, const sptr<IAccessibilityElementOperator> &operat… in RegisterElementOperator() argument 57 void DeregisterElementOperator(const int windowId) in DeregisterElementOperator() argument
|
D | mock_accessible_ability_manager_service_stub.h | 44 void RegisterElementOperator(const int windowId, in RegisterElementOperator() argument 47 void DeregisterElementOperator(const int windowId) {} in DeregisterElementOperator() argument
|
/base/miscservices/inputmethod/frameworks/inputmethod_ability/src/ |
D | input_method_agent_stub.cpp | 51 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()
|
D | input_method_agent_proxy.cpp | 77 void InputMethodAgentProxy::SetCallingWindow(uint32_t windowId) in SetCallingWindow() argument 87 data.WriteUint32(windowId); in SetCallingWindow()
|
/base/accessibility/frameworks/asacfwk/src/ |
D | accessibility_system_ability_client.cpp | 148 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 …]
|
D | accessibility_event_info.cpp | 128 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/ |
D | mock_accessibility_event_info.cpp | 72 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/ |
D | accessibility_system_ability_client.h | 79 …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/ |
D | accessible_ability_manager_service_interface.h | 80 …const int windowId, const sptr<IAccessibilityElementOperator>& operation, const int accountId) = 0; 87 virtual void DeregisterElementOperator(const int windowId) = 0;
|