Home
last modified time | relevance | path

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

123

/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/netd/server/
DOffloadUtilsTest.cpp111 ASSERT_GE(fd, 3); // 0,1,2 - stdin/out/err, thus fd >= 3 in TEST_F()
118 ASSERT_GE(fd, 3); in TEST_F()
125 ASSERT_GE(fd, 3); in TEST_F()
132 ASSERT_GE(fd, 3); // 0,1,2 - stdin/out/err, thus fd >= 3 in TEST_F()
139 ASSERT_GE(fd, 3); in TEST_F()
146 ASSERT_GE(fd, 3); in TEST_F()
168 ASSERT_GE(clatBpfFd, 3); in checkAttachDetachBpfFilterClsactLo()
/system/core/libutils/
DSystemClock_test.cpp40 ASSERT_GE(startRealtimeMs, startUptimeMs) in TEST()
42 ASSERT_GE(startRealtimeNs, startUptimeNs) in TEST()
45 ASSERT_GE(startUptimeNs, startUptimeMs * MS_IN_NS) in TEST()
50 ASSERT_GE(startRealtimeNs, startRealtimeMs * MS_IN_NS) in TEST()
/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/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp39 ASSERT_GE(map_fd, 0); in DoAlloc()
136 ASSERT_GE(fd, 0); in TEST_F()
149 ASSERT_GE(fd, 0); in TEST_F()
163 ASSERT_GE(fd, 0); in TEST_F()
182 ASSERT_GE(map_fd, 0); in TEST_F()
204 ASSERT_GE(map_fd, 0); in TEST_F()
226 ASSERT_GE(map_fd, 0); in TEST_F()
261 ASSERT_GE(map_fd, 0); in TEST_F()
311 ASSERT_GE(map_fd, 0); in TEST_F()
/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/chre/apps/test/chqts/src/shared/
Dmacros.h40 #define ASSERT_GE(value, lower, failureMessage) \ macro
62 ASSERT_GE((value), (lower), failureMessage); \
/system/core/fs_mgr/libdm/
Dloop_control_test.cpp54 ASSERT_GE(fd, 0); in TEST()
61 ASSERT_GE(loop_fd, 0); in TEST()
Ddm_test.cpp54 ASSERT_GE(tmp1, 0); in TEST()
56 ASSERT_GE(tmp2, 0); in TEST()
95 ASSERT_GE(dev_fd, 0); in TEST()
130 ASSERT_GE(tmp1, 0); in TEST()
242 ASSERT_GE(base_fd_, 0); in SetupImpl()
244 ASSERT_GE(cow_fd_, 0); in SetupImpl()
341 ASSERT_GE(origin_fd, 0); in TEST()
343 ASSERT_GE(snapshot_fd, 0); in TEST()
385 ASSERT_GE(snapshot_fd, 0); in TEST()
540 ASSERT_GE(tmp, 0); in TEST()
[all …]
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()
/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/media/audio_utils/tests/
Dspdif_tests.cpp104 ASSERT_GE(burstBufferSizeBytes, pendingBytes); in TEST()
131 ASSERT_GE(bufferSize, pendingBytes); in TEST()
150 ASSERT_GE(bufferSize, pendingBytes); in TEST()
Dsample_tests.cpp74 ASSERT_GE(ratio, lower) << "prev " << prev << " curr " << curr; in TEST()
/system/core/trusty/coverage/
Dcoverage_test.cpp66 ASSERT_GE(test_srv, 0); in TEST_F()
88 ASSERT_GE(counter, high_watermark); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_reader_test.cpp37 ASSERT_GE(base_->fd, 0) << strerror(errno); in SetUp()
40 ASSERT_GE(cow_->fd, 0) << strerror(errno); in SetUp()
53 ASSERT_GE(random, 0); in WriteBaseDevice()
156 ASSERT_GE(cow_fd, 0); in TEST_F()
/system/core/trusty/metrics/
Dmetrics_test.cpp46 ASSERT_GE(crasher, 0); in TriggerCrash()
90 ASSERT_GE(binder_fd, 0); in TEST_F()
/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/incremental_delivery/incfs/tests/
Dincfs_test.cpp54 ASSERT_GE(wfd.get(), 0); in writeTestRanges()
116 ASSERT_GE(fd.get(), 0); in testWriteBlockAndPageRead()
175 ASSERT_GE(fd.get(), 0); in testWaitForPendingReads()
190 ASSERT_GE(fd.get(), 0); in testWaitForPendingReads()
232 ASSERT_GE(fd.get(), 0); in TEST_F()
435 ASSERT_GE(readFd.get(), 0); in TEST_F()
450 ASSERT_GE(fd.get(), 0); in TEST_F()
616 ASSERT_GE(fd.get(), 0); in TEST_F()
676 ASSERT_GE(fd.get(), 0); in TEST_F()
700 ASSERT_GE(fd.get(), 0); in TEST_F()
[all …]
/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()

123