Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_tethering_OffloadHardwareInterface.cpp107 fd2(conntrackSocket(NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY)); in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() local
108 if (fd1.get() < 0 || fd2.get() < 0) { in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
114 h2(handleFromFileDescriptor(std::move(fd2))); in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp197 int fd2 = mem->handle->data[0]; in isEquivalent() local
198 ret = (fd1 == fd2); in isEquivalent()
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp704 LocalHandle fd2; in TEST() local
714 fd2 = LocalHandle(200); in TEST()
715 Serialize(std::forward_as_tuple(fd1, fd2), &result); in TEST()
727 fd2.Release(); // Don't try to close fd 200. in TEST()