Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dchannels_tests.cpp31 void checkMonotone(const T *ary, size_t size) in checkMonotone() argument
34 EXPECT_LT(ary[i-1], ary[i]); in checkMonotone()
39 void checkUnsignedMonotoneOrZero(const T *ary, size_t size) in checkUnsignedMonotoneOrZero() argument
43 T least = ary[0]; in checkUnsignedMonotoneOrZero()
45 if (ary[i]) { in checkUnsignedMonotoneOrZero()
46 EXPECT_LT(least, ary[i]); in checkUnsignedMonotoneOrZero()
47 least = ary[i]; in checkUnsignedMonotoneOrZero()
Dprimitives_tests.cpp110 void checkMonotone(const T *ary, size_t size) in checkMonotone() argument
113 EXPECT_LT(ary[i-1], ary[i]); in checkMonotone()
357 void checkMonotoneOrZero(const T *ary, size_t size) in checkMonotoneOrZero() argument
362 if (ary[i]) { in checkMonotoneOrZero()
363 EXPECT_LT(least, ary[i]); in checkMonotoneOrZero()
364 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()