Home
last modified time | relevance | path

Searched refs:inputChannel (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_input_channel_test.cpp73 ASSERT_NE(inputChannel, nullptr);
79 inputChannel->window_ = nullptr;
81 inputChannel->window_ = window_;
112 inputChannel->Destroy();
126 ASSERT_NE(inputChannel, nullptr);
155 ASSERT_NE(inputChannel, nullptr);
163 inputChannel->window_ = nullptr;
165 inputChannel->window_ = window_;
177 ASSERT_NE(inputChannel, nullptr);
178 inputChannel->window_ = nullptr;
[all …]
H A Dinput_transfer_station_test.cpp98 sptr<WindowInputChannel> inputChannel = sptr<WindowInputChannel>::MakeSptr(window_); variable
99 …ansferStation::GetInstance().windowInputChannels_.insert({ window_->GetWindowId(), inputChannel });
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dinput_transfer_station.cpp117 sptr<WindowInputChannel> inputChannel = new WindowInputChannel(window); in AddInputWindow() local
123 windowInputChannels_.insert(std::make_pair(windowId, inputChannel)); in AddInputWindow()
151 sptr<WindowInputChannel> inputChannel = nullptr; in RemoveInputWindow() local
160 inputChannel = iter->second; in RemoveInputWindow()
164 if (inputChannel != nullptr) { in RemoveInputWindow()
165 inputChannel->Destroy(); in RemoveInputWindow()