Home
last modified time | relevance | path

Searched refs:ASSERT_LE (Results 1 – 25 of 30) sorted by relevance

12

/system/extras/tests/timetest/
Drtc_test.cpp85 ASSERT_LE(0, rd_hwtime(&roll)); in rtc_rollover()
88 ASSERT_LE(0, roll.tm_sec); in rtc_rollover()
90 ASSERT_LE(0, roll.tm_min); in rtc_rollover()
92 ASSERT_LE(0, roll.tm_hour); in rtc_rollover()
94 ASSERT_LE(0, roll.tm_mday); in rtc_rollover()
96 ASSERT_LE(0, roll.tm_mon); in rtc_rollover()
98 ASSERT_LE(0, roll.tm_year); in rtc_rollover()
107 ASSERT_LE(0, rd_hwtime(&save)); in rtc_rollover()
135 ASSERT_LE(0, __set_hwtime); in rtc_rollover()
136 ASSERT_LE(0, rd_hwtime(&tm)); in rtc_rollover()
[all …]
/system/core/llkd/tests/
Dllkd_test.cpp163 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in waitForPid()
205 ASSERT_LE(0, child_pid); in llkd_driver_ABA()
213 ASSERT_LE(0, driver_pid); in llkd_driver_ABA()
229 ASSERT_LE(0, waitpid(child_pid, &wstatus, 0)); in llkd_driver_ABA()
265 ASSERT_LE(0, child_pid); in TEST()
268 ASSERT_LE(0, zombie_pid); in TEST()
289 ASSERT_LE(0, child_pid); in TEST()
293 ASSERT_LE(0, driver_pid); in TEST()
315 ASSERT_LE(0, pipe_ret); in TEST()
318 ASSERT_LE(0, child_pid); in TEST()
[all …]
/system/netd/tests/
Dbpf_base_test.cpp89 ASSERT_LE(0, cookieTagMap.getMap()); in TEST_F()
91 ASSERT_LE(0, sock); in TEST_F()
107 ASSERT_LE(0, cookieTagMap.getMap()); in TEST_F()
109 ASSERT_LE(0, sock); in TEST_F()
132 ASSERT_LE(0, uidCounterSetMap.getMap()); in TEST_F()
146 ASSERT_LE(0, statsMapA.getMap()); in TEST_F()
148 ASSERT_LE(0, statsMapB.getMap()); in TEST_F()
150 ASSERT_LE(0, appUidStatsMap.getMap()); in TEST_F()
/system/chre/apps/test/chqts/src/shared/
Dmacros.h47 #define ASSERT_LE(value, upper, failureMessage) \ macro
63 ASSERT_LE((value), (upper), failureMessage)
/system/media/audio_utils/tests/
Dsample_tests.cpp60 ASSERT_LE(signum_prev, signum_curr); in TEST()
75 ASSERT_LE(ratio, upper) << "prev " << prev << " curr " << curr; in TEST()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp348 ASSERT_LE(11U, fstab.size()); in TEST()
425 ASSERT_LE(6U, fstab.size()); in TEST()
502 ASSERT_LE(3U, fstab.size()); in TEST()
572 ASSERT_LE(1U, fstab.size()); in TEST()
596 ASSERT_LE(4U, fstab.size()); in TEST()
637 ASSERT_LE(2U, fstab.size()); in TEST()
663 ASSERT_LE(2U, fstab.size()); in TEST()
693 ASSERT_LE(6U, fstab.size()); in TEST()
739 ASSERT_LE(1U, fstab.size()); in TEST()
762 ASSERT_LE(1U, fstab.size()); in TEST()
[all …]
/system/extras/simpleperf/
Drecord_lib_test.cpp60 ASSERT_LE(counter.time_running_in_ns, counter.time_enabled_in_ns); in TEST()
82 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
109 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
135 ASSERT_LE(counters[0].time_running_in_ns, counters[0].time_enabled_in_ns); in TEST()
/system/unwinding/libunwindstack/tests/
DTestUtils.cpp38 ASSERT_LE(last_allocated_bytes - first_allocated_bytes, kMaxAllowedLeakBytes) in TestCheckForLeaks()
DMemoryRemoteTest.cpp122 ASSERT_LE(1024U, bytes); in TEST()
242 ASSERT_LE(page_size, read_size); in TEST()
DDexFileTest.cpp45 ASSERT_LE(*last_allocated_bytes - *first_allocated_bytes, kMaxAllowedLeakBytes) in CheckForLeak()
DUnwindTest.cpp479 ASSERT_LE(3U, frames[i]) << "Failed for thread " << i; in TEST_F()
/system/libfmq/tests/
Dmsgq_test_client.cpp637 ASSERT_LE(dataLen, kNumElementsInSyncQueue); in TYPED_TEST()
658 ASSERT_LE(dataLen, kNumElementsInSyncQueue); in TYPED_TEST()
693 ASSERT_LE(dataLen, kNumElementsInSyncQueue); in TYPED_TEST()
721 ASSERT_LE(dataLen, kNumElementsInSyncQueue); in TYPED_TEST()
738 ASSERT_LE(dataLen, kNumElementsInSyncQueue); in TYPED_TEST()
776 ASSERT_LE(numMessages, kNumElementsInSyncQueue); in TYPED_TEST()
855 ASSERT_LE(numMessages, kNumElementsInSyncQueue); in TYPED_TEST()
876 ASSERT_LE(numMessages, kNumElementsInSyncQueue); in TYPED_TEST()
946 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
960 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
[all …]
Dfmq_unit_tests.cpp659 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
676 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
705 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
748 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
760 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
887 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
906 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
985 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
1099 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
1117 ASSERT_LE(dataLen, this->mNumMessagesMax); in TYPED_TEST()
/system/netd/netutils_wrappers/
DNetUtilsWrapperTest-1.0.cpp63 ASSERT_LE(pieces.size(), ARRAY_SIZE(argv)); in TEST()
/system/update_engine/update_manager/
Dprng_unittest.cc70 ASSERT_LE(0, r); in TEST()
/system/chre/apps/test/chqts/src/general_test/
Dbasic_wifi_test.cc289 ASSERT_LE(lci->latitudeUncertainty, kMaxLatLngUncertainty, in validateLci()
291 ASSERT_LE(lci->longitudeUncertainty, kMaxLatLngUncertainty, in validateLci()
309 ASSERT_LE(lci->altitudeUncertainty, kMaxAltitudeUncertainty, in validateLci()
/system/libprocinfo/
Dprocess_test.cpp157 ASSERT_LE(start, process_start); in TEST()
158 ASSERT_LE(process_start, end); in TEST()
/system/netd/libnetdbpf/
DBpfNetworkStatsTest.cpp84 ASSERT_LE(0, mFakeCookieTagMap.getMap()); in SetUp()
87 ASSERT_LE(0, mFakeAppUidStatsMap.getMap()); in SetUp()
90 ASSERT_LE(0, mFakeStatsMap.getMap()); in SetUp()
93 ASSERT_LE(0, mFakeIfaceIndexNameMap.getMap()); in SetUp()
96 ASSERT_LE(0, mFakeIfaceStatsMap.getMap()); in SetUp()
/system/nvram/messages/tests/
Dio_test.cpp70 ASSERT_LE(size, sizeof(data)); in CheckRead()
240 ASSERT_LE(size, sizeof(data)); in WriteBuf()
/system/hardware/interfaces/net/netd/1.1/vts/functional/
DVtsHalNetNetdV1_1TargetTest.cpp102 ASSERT_LE(sTun1.name().size(), static_cast<size_t>(IFNAMSIZ)); in SetUpTestCase()
103 ASSERT_LE(sTun2.name().size(), static_cast<size_t>(IFNAMSIZ)); in SetUpTestCase()
/system/testing/gtest_extras/tests/
DSystemTests.cpp852 ASSERT_LE(18.0, seconds) << "Repeat test should take at least 18 seconds.\n" in TEST_F()
882 ASSERT_LE(3.0, test_sec) << "Test output:\n" << output; in TEST_F()
905 ASSERT_LE(6.0, double(time_ns) / 1000000000) << "Test output:\n" << output; in TEST_F()
/system/netd/server/
DTetherControllerTest.cpp437 ASSERT_LE(expectedError.size(), err.size()); in TEST_F()
/system/unwinding/libbacktrace/
Dbacktrace_test.cpp209 ASSERT_LE(static_cast<size_t>(3), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
1821 ASSERT_LE(frame + 2, names.size()) << DumpFrames(backtrace.get()); in UnwindThroughSignal()
1822 ASSERT_LE(2U, frame) << DumpFrames(backtrace.get()); in UnwindThroughSignal()
1876 ASSERT_LE(last_allocated_bytes - first_allocated_bytes, MAX_LEAK_BYTES); in CheckForLeak()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp364 ASSERT_LE(size, std::numeric_limits<uint32_t>::max()) in AssertHexUint32()
366 ASSERT_LE(var.size(), FB_RESPONSE_SZ - 4) in AssertHexUint32()
454 ASSERT_LE(num_slots, 26) << "What?! You can't have more than 26 slots"; in TEST_F()
512 ASSERT_LE(num_slots, 26) << "You can't have more than 26 slots"; in TEST_F()
/system/nvram/hal/tests/
Dnvram_hal_test.cc242 ASSERT_LE(space_index_list.size(), max_spaces); in TEST()

12