Home
last modified time | relevance | path

Searched refs:VirtualDpad (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DVirtualDpad.java42 public class VirtualDpad extends VirtualInputDevice { class
56 public VirtualDpad(VirtualDpadConfig config, IVirtualDevice virtualDevice, IBinder token) { in VirtualDpad() method in VirtualDpad
/frameworks/native/include/input/
DVirtualInputDevice.h56 class VirtualDpad : public VirtualInputDevice {
59 VirtualDpad(android::base::unique_fd fd);
60 virtual ~VirtualDpad() override;
/frameworks/native/libs/input/
DVirtualInputDevice.cpp218 const std::map<int, int> VirtualDpad::DPAD_KEY_CODE_MAPPING = {
229 VirtualDpad::VirtualDpad(unique_fd fd) : VirtualInputDevice(std::move(fd)) {} in VirtualDpad() function in android::VirtualDpad
231 VirtualDpad::~VirtualDpad() {} in ~VirtualDpad()
233 bool VirtualDpad::writeDpadKeyEvent(int32_t androidKeyCode, int32_t androidAction, in writeDpadKeyEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp70 for (const auto& [_, keyCode] : VirtualDpad::DPAD_KEY_CODE_MAPPING) { in openUinput()
284 return fd.ok() ? reinterpret_cast<jlong>(new VirtualDpad(std::move(fd))) : INVALID_PTR; in nativeOpenUinputDpad()
323 VirtualDpad* virtualDpad = reinterpret_cast<VirtualDpad*>(ptr); in nativeWriteDpadKeyEvent()
/frameworks/base/core/java/android/companion/virtual/
DVirtualDeviceInternal.java41 import android.hardware.input.VirtualDpad;
277 VirtualDpad createVirtualDpad(@NonNull VirtualDpadConfig config) { in createVirtualDpad()
282 return new VirtualDpad(config, mVirtualDevice, token); in createVirtualDpad()
DVirtualDeviceManager.java51 import android.hardware.input.VirtualDpad;
798 public VirtualDpad createVirtualDpad(@NonNull VirtualDpadConfig config) { in createVirtualDpad()
/frameworks/base/core/api/
Dsystem-current.txt3472 …nifest.permission.CREATE_VIRTUAL_DEVICE) public android.hardware.input.VirtualDpad createVirtualDp…
5595 public class VirtualDpad implements java.io.Closeable {