/frameworks/base/services/core/jni/ |
D | com_android_server_companion_virtual_InputController.cpp | 64 ioctl(fd, UI_SET_PHYS, phys); in openUinput() 66 ioctl(fd, UI_SET_EVBIT, EV_KEY); in openUinput() 67 ioctl(fd, UI_SET_EVBIT, EV_SYN); in openUinput() 71 ioctl(fd, UI_SET_KEYBIT, keyCode); in openUinput() 76 ioctl(fd, UI_SET_KEYBIT, keyCode); in openUinput() 80 ioctl(fd, UI_SET_EVBIT, EV_REL); in openUinput() 81 ioctl(fd, UI_SET_KEYBIT, BTN_LEFT); in openUinput() 82 ioctl(fd, UI_SET_KEYBIT, BTN_RIGHT); in openUinput() 83 ioctl(fd, UI_SET_KEYBIT, BTN_MIDDLE); in openUinput() 84 ioctl(fd, UI_SET_KEYBIT, BTN_BACK); in openUinput() [all …]
|
D | com_android_server_accessibility_BrailleDisplayConnection.cpp | 45 if (ioctl(fd, HIDIOCGRDESCSIZE, &size) < 0) { in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDescSize() 55 if (ioctl(fd, HIDIOCGRDESC, &desc) < 0) { in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc() 69 if (ioctl(fd, HIDIOCGRAWUNIQ(UNIQ_SIZE_MAX), buf) < 0) { in com_android_server_accessibility_BrailleDisplayConnection_getHidrawUniq() 79 if (ioctl(fd, HIDIOCGRAWINFO, &info) < 0) { in com_android_server_accessibility_BrailleDisplayConnection_getHidrawBusType() 88 if (ioctl(fd, HIDIOCGRAWNAME(NAME_SIZE_MAX), buf) < 0) { in com_android_server_accessibility_BrailleDisplayConnection_getHidrawName()
|
D | com_android_server_connectivity_Vpn.cpp | 68 if (ioctl(tun, TUNSETIFF, &ifr4)) { in create_interface() 75 if (ioctl(inet4, SIOCSIFFLAGS, &ifr4)) { in create_interface() 82 if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) { in create_interface() 97 if (ioctl(tun, TUNGETIFF, &ifr4)) { in get_interface_name() 109 if (ioctl(inet4, SIOGIFINDEX, &ifr4)) { in get_interface_index() 150 if (ioctl(inet6, SIOCSIFADDR, &ifr6)) { in set_addresses() 165 if (ioctl(inet4, SIOCSIFADDR, &ifr4)) { in set_addresses() 172 if (ioctl(inet4, SIOCSIFNETMASK, &ifr4)) { in set_addresses() 199 if (ioctl(inet4, SIOCSIFFLAGS, &ifr4) && errno != ENODEV) { in reset_interface() 212 if (ioctl(inet4, SIOCGIFFLAGS, &ifr4) && errno != ENODEV) { in check_interface()
|
D | com_android_server_pdb_PersistentDataBlockService.cpp | 36 ret = ioctl(fd, BLKGETSIZE64, &size); in get_block_device_size() 53 ret = ioctl(fd, BLKSECDISCARD, &range); in wipe_block_device() 58 ret = ioctl(fd, BLKDISCARD, &range); in wipe_block_device()
|
D | com_android_server_tv_TvUinputBridge.cpp | 202 ioctl(mFd, UI_SET_PHYS, uniqueId); in Open() 212 ioctl(mFd, UI_SET_EVBIT, EV_KEY); in Open() 218 ioctl(mFd, UI_SET_KEYBIT, keyCode); in EnableKey() 222 ioctl(mFd, UI_SET_EVBIT, EV_ABS); in EnableAxesEvents() 231 if (ioctl(mFd, UI_SET_ABSBIT, axis) != 0) { in EnableAxis() 248 if (ioctl(mFd, UI_DEV_CREATE) != 0) { in Create() 295 ioctl(mFd, UI_DEV_DESTROY); in ~NativeConnection()
|
D | com_android_server_UsbDeviceManager.cpp | 50 ioctl(fd, cmd, buffer); in set_accessory_string() 106 int result = ioctl(fd, ACCESSORY_IS_START_REQUESTED); in android_server_UsbDeviceManager_isStartRequested()
|
/frameworks/native/services/inputflinger/tests/ |
D | UinputDevice.cpp | 31 if (ioctl(mDeviceFd, UI_DEV_DESTROY)) { in ~UinputDevice() 57 if (ioctl(mDeviceFd, UI_DEV_CREATE)) { in init() 85 if (ioctl(fd, UI_SET_EVBIT, EV_KEY)) { in configureDevice() 91 if (ioctl(fd, UI_SET_KEYBIT, key)) { in configureDevice() 97 if (ioctl(fd, UI_SET_EVBIT, EV_SYN)) { in configureDevice() 149 ioctl(fd, UI_SET_EVBIT, EV_ABS); in configureDevice() 150 ioctl(fd, UI_SET_ABSBIT, ABS_PRESSURE); in configureDevice() 168 ioctl(fd, UI_SET_EVBIT, EV_MSC); in configureDevice() 169 ioctl(fd, UI_SET_MSCBIT, MSC_SCAN); in configureDevice() 184 ioctl(fd, UI_SET_EVBIT, EV_REL); in configureDevice() [all …]
|
/frameworks/native/cmds/evemu-record/ |
D | evdev.rs | 91 mod ioctl { module 149 ioctl: unsafe fn(c_int, &mut [u8]) -> nix::Result<c_int>, in buf_from_ioctl() 156 match unsafe { ioctl(fd.as_raw_fd(), buf.as_mut_slice()) } { in buf_from_ioctl() 187 let mut buf = unsafe { buf_from_ioctl(ioctl::eviocgname, &self.fd, 256)? }; in name() 199 unsafe { ioctl::eviocgid(self.fd.as_raw_fd(), &mut ids) }.map(|_| ids) in ids() 210 unsafe { buf_from_ioctl(ioctl::eviocgprop, &self.fd, buf_size) } in properties_bitmap() 229 libc::ioctl( in bitmap_for_event_type() 232 as nix::sys::ioctl::ioctl_num_type, in bitmap_for_event_type() 272 nix::libc::ioctl( in absolute_axis_info()
|
/frameworks/native/services/inputflinger/reader/ |
D | TouchVideoDevice.cpp | 59 int result = ioctl(fd.get(), VIDIOC_QUERYCAP, &cap); in create() 75 result = ioctl(fd.get(), VIDIOC_ENUMINPUT, &v4l2_input_struct); in create() 89 result = ioctl(fd.get(), VIDIOC_G_FMT, &v4l2_fmt); in create() 103 result = ioctl(fd.get(), VIDIOC_REQBUFS, &req); in create() 120 result = ioctl(fd.get(), VIDIOC_QUERYBUF, &buf); in create() 141 result = ioctl(fd.get(), VIDIOC_STREAMON, &type); in create() 149 result = ioctl(fd.get(), VIDIOC_QBUF, &buf); in create() 190 int result = ioctl(mFd.get(), VIDIOC_DQBUF, &buf); in readFrame() 210 result = ioctl(mFd.get(), VIDIOC_QBUF, &buf); in readFrame() 236 int result = ioctl(mFd.get(), VIDIOC_STREAMOFF, &type); in ~TouchVideoDevice()
|
/frameworks/opt/net/wifi/libwifi_system_iface/ |
D | interface_tool.cpp | 51 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCGIFFLAGS, ifr)) != 0) { in GetIfState() 102 if (TEMP_FAILURE_RETRY(ioctl(sock.get(), SIOCSIFFLAGS, &ifr)) != 0) { in SetUpState() 135 if (TEMP_FAILURE_RETRY(ioctl(sock.get(), SIOCSIFHWADDR, &ifr)) != 0) { in SetMacAddress() 169 if (TEMP_FAILURE_RETRY(ioctl(sock.get(), SIOCETHTOOL, &ifr)) != 0) { in GetFactoryMacAddress() 181 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCBRADDBR, br_name.c_str())) != 0) { in createBridge() 193 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCBRDELBR, br_name.c_str())) != 0) { in deleteBridge() 213 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCBRADDIF, &ifr)) != 0) { in addIfaceToBridge() 234 if (TEMP_FAILURE_RETRY(ioctl(sock, SIOCBRDELIF, &ifr)) != 0) { in removeIfaceFromBridge()
|
/frameworks/av/media/mtp/ |
D | MtpDevHandle.cpp | 52 return ioctl(mFd, MTP_RECEIVE_FILE, reinterpret_cast<unsigned long>(&mfr)); in receiveFile() 56 return ioctl(mFd, MTP_SEND_FILE_WITH_HEADER, reinterpret_cast<unsigned long>(&mfr)); in sendFile() 60 return ioctl(mFd, MTP_SEND_EVENT, reinterpret_cast<unsigned long>(&me)); in sendEvent()
|
/frameworks/base/cmds/uinput/jni/ |
D | com_android_commands_uinput_Device.cpp | 110 ::ioctl(fd, UI_GET_VERSION, &version); in open() 130 if (::ioctl(fd, UI_DEV_SETUP, &setupDescriptor)) { in open() 136 ::ioctl(fd, UI_SET_PHYS, port); in open() 138 if (::ioctl(fd, UI_DEV_CREATE) != 0) { in open() 166 ::ioctl(mFd, UI_DEV_DESTROY); in ~UinputDevice() 203 ::ioctl(mFd, UI_BEGIN_FF_UPLOAD, &ff_upload); in handleEvents() 205 ::ioctl(mFd, UI_END_FF_UPLOAD, &ff_upload); in handleEvents() 209 ::ioctl(mFd, UI_BEGIN_FF_ERASE, &ff_erase); in handleEvents() 211 ::ioctl(mFd, UI_END_FF_ERASE, &ff_erase); in handleEvents() 287 if (::ioctl(static_cast<int>(handle), _IOW(UINPUT_IOCTL_BASE, code, int), config) < 0) { in configure() [all …]
|
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 215 int result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR_EXT, &obj); in becomeContextManager() 222 result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &unused); in becomeContextManager() 246 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_DEBUG_INFO, &info); in getKernelReferences() 275 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_INFO_FOR_REF, &info); in getStrongRefCountForNode() 425 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) != -1) { in setThreadPoolMaxThreadCount() 504 if (ioctl(mDriverFD, BINDER_ENABLE_ONEWAY_SPAM_DETECTION, &enableDetection) == -1) { in enableOnewaySpamDetection() 526 int result = ioctl(fd.get(), BINDER_VERSION, &vers); in open_driver() 539 result = ioctl(fd.get(), BINDER_SET_MAX_THREADS, &maxThreads); in open_driver() 544 result = ioctl(fd.get(), BINDER_ENABLE_ONEWAY_SPAM_DETECTION, &enable); in open_driver()
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_F2fsUtils.cpp | 57 ret = ioctl(fd, FS_IOC_GETFLAGS, &flags); in com_android_internal_content_F2fsUtils_nativeReleaseCompressedBlocks() 66 ret = ioctl(fd, F2FS_IOC_RELEASE_COMPRESS_BLOCKS, &blkcnt); in com_android_internal_content_F2fsUtils_nativeReleaseCompressedBlocks()
|
D | com_android_internal_security_VerityUtils.cpp | 53 if (ioctl(fd, FS_IOC_ENABLE_VERITY, &arg) < 0) { in enableFsverityForFd() 100 if (ioctl(rfd.get(), FS_IOC_GETFLAGS, &flags) < 0) { in statxForFsverity() 126 if (::ioctl(rfd.get(), FS_IOC_MEASURE_VERITY, data) < 0) { in measureFsverity()
|
D | android_os_storage_StorageManager.cpp | 55 int ret = ioctl(fd, FS_IOC_FSGETXATTR, &fsx); in android_os_storage_StorageManager_setQuotaProjectId() 63 ret = ioctl(fd, FS_IOC_FSSETXATTR, &fsx); in android_os_storage_StorageManager_setQuotaProjectId()
|
/frameworks/base/tests/FsVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 69 ioctl(fd_.get(), F2FS_IOC_SET_PIN_FILE, &set); in ScopedF2fsFilePinning() 74 ioctl(fd_.get(), F2FS_IOC_SET_PIN_FILE, &set); in ~ScopedF2fsFilePinning() 89 if (ioctl(fd, BLKSSZGET, &size) < 0) { in get_logical_block_size() 112 int ret = ioctl(fd.get(), FS_IOC_FIEMAP, fiemap); in get_physical_offset()
|
/frameworks/native/libs/binder/tests/ |
D | binderDriverInterfaceTest.cpp | 41 ret = ioctl(m_binderFd, BINDER_SET_MAX_THREADS, &max_threads); in SetUp() 63 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr); in EnterLooper() 84 ret = ioctl(m_binderFd, cmd, arg); in binderTestIoctlSuccessOrError() 93 ret = ioctl(m_binderFd, cmd, arg); in binderTestIoctlRetErr2() 112 ret = ioctl(m_binderFd, cmd, arg); in binderTestIoctlUnimplemented()
|
/frameworks/av/media/codec2/hal/services/seccomp_policy/ |
D | android.hardware.media.c2-default-riscv64.policy | 16 # ioctl calls are filtered via the selinux policy. 17 ioctl: 1
|
D | android.hardware.media.c2-default-arm.policy | 16 # ioctl calls are filtered via the selinux policy. 17 ioctl: 1
|
D | android.hardware.media.c2-default-arm64.policy | 16 # ioctl calls are filtered via the selinux policy. 17 ioctl: 1
|
/frameworks/native/services/surfaceflinger/tests/waitforvsync/ |
D | waitforvsync.cpp | 37 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); in main()
|
/frameworks/av/services/mediacodec/seccomp_policy/ |
D | mediaswcodec-arm.policy | 16 # ioctl calls are filtered via the selinux policy. 17 ioctl: 1
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | hid.c | 61 if (ioctl(fd, HIDIOCGRDESCSIZE, &desc_length)) { in hid_thread() 68 if (ioctl(fd, HIDIOCGRDESC, &desc)) { in hid_thread()
|
/frameworks/base/core/tests/utiltests/jni/ |
D | android_util_MemoryIntArrayTest.cpp | 65 ioctl(fd, ASHMEM_SET_SIZE, size); in android_util_MemoryIntArrayTest_setAshmemSize()
|