Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 517) sorted by relevance

12345678910>>...21

/system/extras/simpleperf/
Dworkload.cpp74 close(start_signal_fd_); in ~Workload()
77 close(exec_child_fd_); in ~Workload()
93 close(start_signal_pipe[0]); in CreateNewProcess()
94 close(start_signal_pipe[1]); in CreateNewProcess()
101 close(start_signal_pipe[0]); in CreateNewProcess()
102 close(start_signal_pipe[1]); in CreateNewProcess()
103 close(exec_child_pipe[0]); in CreateNewProcess()
104 close(exec_child_pipe[1]); in CreateNewProcess()
108 close(start_signal_pipe[1]); in CreateNewProcess()
109 close(exec_child_pipe[0]); in CreateNewProcess()
[all …]
DIOEventLoop_test.cpp62 close(fd[0]); in TEST()
63 close(fd[1]); in TEST()
96 close(fd[1]); in TEST()
98 close(fd[0]); in TEST()
180 close(fd[0]); in TEST()
181 close(fd[1]); in TEST()
217 close(fd[0]); in TEST()
218 close(fd[1]); in TEST()
/system/vold/
DBenchmarkGen.h62 close(t3433f18); in BenchmarkRun()
72 close(t3433f18); in BenchmarkRun()
80 close(t3433f18); in BenchmarkRun()
90 close(t3433f18); in BenchmarkRun()
100 close(t3433f18); in BenchmarkRun()
110 close(t3433f18); in BenchmarkRun()
120 close(t3433f18); in BenchmarkRun()
130 close(t3433f18); in BenchmarkRun()
140 close(t3433f18); in BenchmarkRun()
150 close(t3433f18); in BenchmarkRun()
[all …]
/system/bt/gd/cert/
Dclosable.py26 self.close()
30 self.close()
33 def close(self): member in Closable
39 closable.close()
/system/core/libcutils/
Dsocket_network_client_unix.cpp35 close(s); in toggle_O_NONBLOCK()
73 close(s); in socket_network_client_timeout()
86 close(s); in socket_network_client_timeout()
91 close(s); in socket_network_client_timeout()
99 close(s); in socket_network_client_timeout()
103 close(s); in socket_network_client_timeout()
110 close(s); in socket_network_client_timeout()
/system/extras/tests/cpueater/
Dcpueater.c50 close(0); in main()
52 close(1); in main()
58 close(2); in main()
61 close(fd); in main()
Ddaemonize.c43 close(0); open("/dev/null", 0); in main()
44 close(1); in main()
91 close(2); dup(1); /* join stdout and stderr */ in main()
97 close(fd); in main()
/system/security/identity/
DUtil.cpp60 close(fd); in fileGetContents()
72 close(fd); in fileGetContents()
78 close(fd); in fileGetContents()
106 close(fd); in fileSetContents()
115 close(fd); in fileSetContents()
118 close(fd); in fileSetContents()
122 close(fd); in fileSetContents()
/system/extras/tests/kernel.config/
Daslr_test.cpp52 bo_file.close(); in set_mmap_rnd_bits()
60 bi_file.close(); in set_mmap_rnd_bits()
78 close(fd[0]); in scrape_addr()
79 close(fd[1]); in scrape_addr()
83 close(fd[1]); in scrape_addr()
87 close(fd[0]); in scrape_addr()
93 close(fd[0]); in scrape_addr()
97 close(fd[0]); in scrape_addr()
100 close(fd[0]); in scrape_addr()
103 close(fd[1]); in scrape_addr()
[all …]
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp123 close(sock); in ipv4_loopback()
139 close(sock); in ipv4_loopback()
143 close(accepted); in ipv4_loopback()
144 close(sock); in ipv4_loopback()
146 close(listensocket); in ipv4_loopback()
180 close(sock); in ipv6_loopback()
196 close(sock); in ipv6_loopback()
200 close(accepted); in ipv6_loopback()
201 close(sock); in ipv6_loopback()
203 close(listensocket); in ipv6_loopback()
/system/netd/server/
DOffloadUtilsTest.cpp107 close(fd); in TEST_F()
116 close(fd); in TEST_F()
125 close(fd); in TEST_F()
134 close(fd); in TEST_F()
143 close(fd); in TEST_F()
152 close(fd); in TEST_F()
161 close(fd); in TEST_F()
172 close(fd); in TEST_F()
183 close(fd); in TEST_F()
192 close(fd); in TEST_F()
[all …]
DNetlinkManager.cpp91 close(*sock); in setupSocket()
97 close(*sock); in setupSocket()
103 close(*sock); in setupSocket()
125 close(*sock); in setupSocket()
174 close(mUeventSock); in stop()
185 close(mRouteSock); in stop()
197 close(mQuotaSock); in stop()
210 close(mStrictSock); in stop()
/system/libbase/include/android-base/
Dunique_fd.h73 close(fd); in Close()
82 ::close(fd);
139 close(fd_, this); in reset()
168 static auto close(int fd, void* tag_value) -> decltype(T::Close(fd, tag_value), void()) {
173 static auto close(int fd, void*) -> decltype(T::Close(fd), void()) {
202 close(pipefd[0]);
203 close(pipefd[1]);
209 close(pipefd[0]);
210 close(pipefd[1]);
244 close(fd); in Fdopen()
[all …]
/system/media/audio_utils/tests/
Dfifo_multiprocess.cpp114 (void) close(frontFd); in main()
115 (void) close(rearFd); in main()
116 (void) close(dataFd); in main()
190 (void) close(frontFd); in main()
191 (void) close(rearFd); in main()
192 (void) close(dataFd); in main()
222 (void) close(frontFd); in main()
223 (void) close(rearFd); in main()
224 (void) close(dataFd); in main()
/system/extras/tests/memeater/
Dmemeater.c56 close(0); in main()
59 close(fd); in main()
82 close(1); in main()
87 close(2); in main()
/system/extras/boot_control_copy/
Dboot_control_copy.cpp54 close(fd); in get_dev_t_for_partition()
57 close(fd); in get_dev_t_for_partition()
177 close(src_fd); in module_setActiveBootSlot()
186 close(src_fd); in module_setActiveBootSlot()
187 close(dst_fd); in module_setActiveBootSlot()
192 close(src_fd); in module_setActiveBootSlot()
193 close(dst_fd); in module_setActiveBootSlot()
203 close(src_fd); in module_setActiveBootSlot()
204 close(dst_fd); in module_setActiveBootSlot()
Dbootinfo.cpp99 close(fd); in boot_info_open_partition()
133 close(fd); in boot_info_load()
140 close(fd); in boot_info_load()
154 close(fd); in boot_info_save()
161 close(fd); in boot_info_save()
/system/netd/libnetdutils/
DFdTest.cpp75 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F()
85 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F()
93 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F()
108 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F()
127 EXPECT_CALL(mSyscalls, close(kFd)).WillOnce(Return(status::ok)); in TEST_F()
136 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(status::ok)); in TEST_F()
142 EXPECT_CALL(mSyscalls, close(toFd(u))).WillOnce(Return(statusFromErrno(EINTR, "test"))); in TEST_F()
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp47 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
59 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
71 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
84 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
121 ASSERT_EQ(0, close(fds[i])); in TEST_F()
140 ASSERT_EQ(0, close(map_fd)); in TEST_F()
161 ASSERT_EQ(0, close(map_fd)); in TEST_F()
184 ASSERT_EQ(0, close(map_fd1)); in TEST_F()
185 ASSERT_EQ(0, close(map_fd2)); in TEST_F()
216 ASSERT_EQ(0, close(map_fd)); in TEST_F()
[all …]
/system/core/libdiskconfig/
Ddiskutils.c107 close(src_fd); in write_raw_image()
109 close(dst_fd); in write_raw_image()
114 close(dst_fd); in write_raw_image()
116 close(src_fd); in write_raw_image()
/system/media/audio_utils/
Dtinysndfile.c89 goto close; in sf_open_read()
95 goto close; in sf_open_read()
102 goto close; in sf_open_read()
108 goto close; in sf_open_read()
121 goto close; in sf_open_read()
129 goto close; in sf_open_read()
136 goto close; in sf_open_read()
142 goto close; in sf_open_read()
150 goto close; in sf_open_read()
166 goto close; in sf_open_read()
[all …]
/system/bt/vendor_libs/test_vendor_lib/scripts/
Dsimple_stack.py118 def close(self): member in Connection
119 self._socket.close()
138 def close(self): member in RawPort
139 self._connection.close()
193 self._raw_port.close()
Dsimple_link_layer_socket.py85 def close(self): member in Connection
86 self._socket.close()
106 def close(self): member in RawPort
107 self._connection.close()
164 self._raw_port.close()
/system/memory/libion/tests/
Dallocate_test.cpp37 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
52 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
68 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
86 ASSERT_EQ(close(fd), 0); // free the buffer in TEST_F()
127 ASSERT_EQ(0, close(fds[i])); in TEST_F()
143 ASSERT_EQ(0, close(map_fd)); in TEST_F()
/system/update_engine/payload_consumer/
Dfec_file_descriptor.cc31 fh_.close(); in Open()
38 fh_.close(); in Open()
75 return fh_.close(); in Close()

12345678910>>...21