Searched refs:__android_log_ratelimit (Results 1 – 3 of 3) sorted by relevance
/system/core/liblog/include/log/ |
D | log.h | 233 int __android_log_ratelimit(time_t seconds, time_t* last); 250 #define IF_ALOG_RATELIMIT() if (__android_log_ratelimit(0, NULL) > 0) 252 if (__android_log_ratelimit(seconds, state) > 0)
|
/system/core/liblog/ |
D | log_ratelimit.cpp | 45 LIBLOG_ABI_PUBLIC int __android_log_ratelimit(time_t seconds, time_t* last) { in __android_log_ratelimit() function
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 3270 TEST(liblog, __android_log_ratelimit) { in TEST() argument 3275 __android_log_ratelimit(3, &state); in TEST() 3278 EXPECT_FALSE(__android_log_ratelimit(3, &state)); in TEST() 3280 EXPECT_FALSE(__android_log_ratelimit(3, &state)); in TEST() 3282 EXPECT_TRUE(__android_log_ratelimit(3, &state)); in TEST() 3284 EXPECT_TRUE(__android_log_ratelimit(3, &state)); in TEST()
|