Home
last modified time | relevance | path

Searched refs:ASSERT_GE (Results 1 – 25 of 50) sorted by relevance

12

/system/netd/server/
DOffloadUtilsTest.cpp105 ASSERT_GE(fd, 3); // 0,1,2 - stdin/out/err, thus fd >= 3 in TEST_F()
114 ASSERT_GE(fd, 3); in TEST_F()
123 ASSERT_GE(fd, 3); in TEST_F()
132 ASSERT_GE(fd, 3); // 0,1,2 - stdin/out/err, thus fd >= 3 in TEST_F()
141 ASSERT_GE(fd, 3); in TEST_F()
150 ASSERT_GE(fd, 3); in TEST_F()
159 ASSERT_GE(fd, 3); // 0,1,2 - stdin/out/err, thus fd >= 3 in TEST_F()
170 ASSERT_GE(fd, 3); in TEST_F()
181 ASSERT_GE(fd, 3); in TEST_F()
190 ASSERT_GE(fd, 3); // 0,1,2 - stdin/out/err, thus fd >= 3 in TEST_F()
[all …]
/system/netd/tests/
Dnetd_test.cpp76 ASSERT_GE(tid, 0); in nsTest()
121 ASSERT_GE(rv, 3); in TEST()
126 ASSERT_GE(rv, 3); in TEST()
131 ASSERT_GE(rv, 3); in TEST()
155 ASSERT_GE(rv, 3); in TEST()
167 ASSERT_GE(tunif, 2); in TEST()
170 ASSERT_GE(tapif, 2); in TEST()
207 ASSERT_GE(bpfFd, 3); in TEST()
217 ASSERT_GE(rv, 3); in TEST()
221 ASSERT_GE(rv, 3); in TEST()
[all …]
/system/core/fs_mgr/liblp/
Dio_test.cpp128 ASSERT_GE(fd, 0); in TEST_F()
151 ASSERT_GE(fd, 0); in TEST_F()
165 ASSERT_GE(fd, 0); in TEST_F()
211 ASSERT_GE(fd, 0); in TEST_F()
248 ASSERT_GE(lseek(fd, i * LP_SECTOR_SIZE, SEEK_SET), 0); in TEST_F()
256 ASSERT_GE(fd, 0); in TEST_F()
275 ASSERT_GE(fd, 0); in TEST_F()
304 ASSERT_GE(fd, 0); in TEST_F()
309 ASSERT_GE(lseek(fd, 0, SEEK_SET), 0); in TEST_F()
323 ASSERT_GE(fd, 0); in TEST_F()
[all …]
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp46 ASSERT_GE(fd, 0); in TEST_F()
58 ASSERT_GE(fd, 0); in TEST_F()
70 ASSERT_GE(fd, 0); in TEST_F()
83 ASSERT_GE(fd, 0); in TEST_F()
101 ASSERT_GE(map_fd, 0); in TEST_F()
125 ASSERT_GE(map_fd, 0); in TEST_F()
148 ASSERT_GE(map_fd, 0); in TEST_F()
170 ASSERT_GE(map_fd1, 0); in TEST_F()
173 ASSERT_GE(map_fd2, 0); in TEST_F()
194 ASSERT_GE(map_fd, 0); in TEST_F()
[all …]
/system/core/deprecated-adf/libadf/tests/
Dadf_test.cpp31 ASSERT_GE(err, 0) << "opening ADF device " << dev_id << in SetUp()
36 ASSERT_GE(err, 0) << "finding ADF configuration failed: " << in SetUp()
40 ASSERT_GE(intf, 0) << "opening ADF interface " << dev_id << "." << in SetUp()
44 ASSERT_GE(eng, 0) << "opening ADF overlay engine " << dev_id << "." << in SetUp()
59 ASSERT_GE(err, 0) << "getting ADF overlay engine data failed: " << in get8888Format()
81 ASSERT_GE(err, 0) << "getting ADF interface data failed: " << in getInterfaceData()
116 ASSERT_GE(err, 0) << "reading ADF event failed: " << strerror(-err); in readVsyncTimestamp()
135 ASSERT_GE(buf_fd, 0) << "allocating " << w << "x" << h << " " << in drawCheckerboard()
195 ASSERT_GE(n_devs, 0) << "enumerating ADF devices failed: " << in TEST()
203 ASSERT_GE(err, 0) << "getting ADF device data failed: " << strerror(-err); in TEST_F()
[all …]
/system/core/libcutils/
Dandroid_get_control_socket_test.cpp43 ASSERT_GE(fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0), 0); in TEST()
46 ASSERT_GE(flags = fcntl(fd, F_GETFL), 0); in TEST()
47 ASSERT_GE(fcntl(fd, F_SETFL, flags | O_NONBLOCK), 0); in TEST()
Dandroid_get_control_file_test.cpp33 ASSERT_GE(tf.fd, 0); in TEST()
/system/core/libutils/
DSystemClock_test.cpp37 ASSERT_GE(startRealtimeMs, startUptimeMs) in TEST()
39 ASSERT_GE(startRealtimeNs, startUptimeMs * MS_IN_NS) in TEST()
42 ASSERT_GE(startRealtimeNs, startRealtimeMs * MS_IN_NS) in TEST()
/system/memory/libion/tests/
Dexit_test.cpp85 ASSERT_GE(map_fd, 0); in TEST_F()
109 ASSERT_GE(map_fd, 0); in TEST_F()
136 ASSERT_GE(map_fd, 0); in TEST_F()
161 ASSERT_GE(map_fd, 0); in TEST_F()
189 ASSERT_GE(map_fd, 0); in TEST_F()
215 ASSERT_GE(map_fd, 0); in TEST_F()
Dmap_test.cpp37 ASSERT_GE(map_fd, 0); in TEST_F()
58 ASSERT_GE(map_fd, 0); in TEST_F()
91 ASSERT_GE(map_fd, 0); in TEST_F()
116 ASSERT_GE(map_fd, 0); in TEST_F()
Dion_test_fixture.cpp26 ASSERT_GE(ionfd, 0); in SetUp()
Dallocate_test.cpp114 ASSERT_GE(map_fd, 0); in TEST_F()
134 ASSERT_GE(map_fd, 0); in TEST_F()
/system/core/fs_mgr/libdm/
Dloop_control_test.cpp54 ASSERT_GE(fd, 0); in TEST()
61 ASSERT_GE(loop_fd, 0); in TEST()
Ddm_linear_fuzzer.cpp52 void ASSERT_GE(const T& /*a*/, const C& /*b*/) { in ASSERT_GE() function
86 ASSERT_GE(tmp1, 0); in LLVMFuzzerTestOneInput()
88 ASSERT_GE(tmp2, 0); in LLVMFuzzerTestOneInput()
Ddm_test.cpp53 ASSERT_GE(tmp1, 0); in TEST()
55 ASSERT_GE(tmp2, 0); in TEST()
94 ASSERT_GE(dev_fd, 0); in TEST()
129 ASSERT_GE(tmp1, 0); in TEST()
241 ASSERT_GE(base_fd_, 0); in SetupImpl()
243 ASSERT_GE(cow_fd_, 0); in SetupImpl()
340 ASSERT_GE(origin_fd, 0); in TEST()
342 ASSERT_GE(snapshot_fd, 0); in TEST()
384 ASSERT_GE(snapshot_fd, 0); in TEST()
539 ASSERT_GE(tmp, 0); in TEST()
[all …]
/system/libziparchive/
Dzip_writer_test.cc59 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
91 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
126 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
160 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
188 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
210 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
238 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
271 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
338 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
364 ASSERT_GE(0, lseek(fd_, 0, SEEK_SET)); in TEST_F()
/system/core/adb/pairing_auth/tests/
Daes_128_gcm_test.cpp49 ASSERT_GE(alice.EncryptedSize(sizeof(msg)), sizeof(msg)); in TEST()
54 ASSERT_GE(bob.DecryptedSize(*encrypted_size), sizeof(msg)); in TEST()
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp44 ASSERT_GE(fd, 0); in TEST_F()
77 ASSERT_GE(fd, 0); in TEST_F()
/system/extras/simpleperf/
Drecord_lib_test.cpp57 ASSERT_GE(counter.value, 0u); in TEST()
58 ASSERT_GE(counter.time_enabled_in_ns, 0u); in TEST()
59 ASSERT_GE(counter.time_running_in_ns, 0u); in TEST()
/system/netd/client/
DNetdClientTest.cpp123 ASSERT_GE(s, 3); in TEST()
130 ASSERT_GE(s, 3); in TEST()
/system/bt/common/
Dmessage_loop_thread_unittest.cc97 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
107 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
140 ASSERT_GE(message_loop_thread.GetThreadId(), 0); in TEST_F()
157 ASSERT_GE(thread_id, 0); in TEST_F()
/system/media/audio_utils/tests/
Dsample_tests.cpp74 ASSERT_GE(ratio, lower) << "prev " << prev << " curr " << curr; in TEST()
/system/update_engine/update_manager/
Dprng_unittest.cc71 ASSERT_GE(10, r); in TEST()
/system/bt/packet/tests/base/
Dpacket_builder_test.cc52 ASSERT_GE(packet->GetData().capacity(), test_l2cap_data.size()); in TEST()
/system/gsid/tests/
Dboot_tests.cpp51 ASSERT_GE(fd, 0); in TEST()

12