Home
last modified time | relevance | path

Searched refs:kSamples (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/
Dactive_link_monitor_unittest.cc584 const int kSamples[] = { 200, 950, 1200, 4096, 5000, in TEST_F() local
589 .Times(arraysize(kSamples)); in TEST_F()
590 ASSERT_GT(arraysize(kSamples), filter_depth); in TEST_F()
595 AdvanceTime(kSamples[i]); in TEST_F()
597 sum += kSamples[i]; in TEST_F()
601 for (; i < arraysize(kSamples); ++i) { in TEST_F()
602 AdvanceTime(kSamples[i]); in TEST_F()
604 sum = (sum + kSamples[i]) * filter_depth / (filter_depth + 1); in TEST_F()
/system/core/libpixelflinger/
Dtrap.cpp184 const int kSamples = 4; in coverageNice() local
191 for (int i=0 ; i<kSamples ; i++, x_sample += kInc) { in coverageNice()
194 for (int j=0 ; j<kSamples ; j++, y_sample += kInc) { in coverageNice()
199 return min(0x7FFF, hits << (15 - kSamples)); in coverageNice()