Home
last modified time | relevance | path

Searched refs:ary (Results 1 – 3 of 3) sorted by relevance

/system/media/audio_utils/tests/
Dchannels_tests.cpp27 void checkMonotone(const T *ary, size_t size) in checkMonotone() argument
30 EXPECT_LT(ary[i-1], ary[i]); in checkMonotone()
35 void checkUnsignedMonotoneOrZero(const T *ary, size_t size) in checkUnsignedMonotoneOrZero() argument
39 T least = ary[0]; in checkUnsignedMonotoneOrZero()
41 if (ary[i]) { in checkUnsignedMonotoneOrZero()
42 EXPECT_LT(least, ary[i]); in checkUnsignedMonotoneOrZero()
43 least = ary[i]; in checkUnsignedMonotoneOrZero()
Dprimitives_tests.cpp103 void checkMonotone(const T *ary, size_t size) in checkMonotone() argument
106 EXPECT_LT(ary[i-1], ary[i]); in checkMonotone()
350 void checkMonotoneOrZero(const T *ary, size_t size) in checkMonotoneOrZero() argument
355 if (ary[i]) { in checkMonotoneOrZero()
356 EXPECT_LT(least, ary[i]); in checkMonotoneOrZero()
357 least = ary[i]; in checkMonotoneOrZero()
Dstatistics_tests.cpp253 static constexpr double ary[] = { -1.5, 1.5, -2.5, 2.5 }; in TEST() local
255 PRINT_AND_EXPECT_EQ(-2.5, android::audio_utils::min(ary)); in TEST()
257 PRINT_AND_EXPECT_EQ(2.5, android::audio_utils::max(ary)); in TEST()