Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp40 static constexpr jlong INVALID_PTR = 0; variable
284 return fd.ok() ? reinterpret_cast<jlong>(new VirtualDpad(std::move(fd))) : INVALID_PTR; in nativeOpenUinputDpad()
291 return fd.ok() ? reinterpret_cast<jlong>(new VirtualKeyboard(std::move(fd))) : INVALID_PTR; in nativeOpenUinputKeyboard()
298 return fd.ok() ? reinterpret_cast<jlong>(new VirtualMouse(std::move(fd))) : INVALID_PTR; in nativeOpenUinputMouse()
305 return fd.ok() ? reinterpret_cast<jlong>(new VirtualTouchscreen(std::move(fd))) : INVALID_PTR; in nativeOpenUinputTouchscreen()
312 return fd.ok() ? reinterpret_cast<jlong>(new VirtualStylus(std::move(fd))) : INVALID_PTR; in nativeOpenUinputStylus()