Home
last modified time | relevance | path

Searched refs:kNumFrames (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_session_id.cpp26 constexpr int kNumFrames = 256; variable
32 float *buffer = new float[kNumFrames * kChannelCount]; in checkSessionIdNone()
54 ASSERT_EQ(kNumFrames, AAudioStream_write(aaudioStream1, buffer, kNumFrames, kNanosPerSecond)); in checkSessionIdNone()
75 float *buffer = new float[kNumFrames * kChannelCount]; in checkSessionIdAllocate()
108 ASSERT_EQ(kNumFrames, AAudioStream_read(aaudioStream1, in checkSessionIdAllocate()
109 buffer, kNumFrames, kNanosPerSecond)); in checkSessionIdAllocate()
111 ASSERT_EQ(kNumFrames, AAudioStream_write(aaudioStream1, in checkSessionIdAllocate()
112 buffer, kNumFrames, kNanosPerSecond)); in checkSessionIdAllocate()
137 ASSERT_EQ(kNumFrames, AAudioStream_read(aaudioStream2, in checkSessionIdAllocate()
138 buffer, kNumFrames, kNanosPerSecond)); in checkSessionIdAllocate()
[all …]
Dtest_full_queue.cpp28 constexpr int kNumFrames = 256; variable
34 kNumFrames * kChannelCount); in checkFullQueue()
60 kNumFrames, in checkFullQueue()
62 EXPECT_EQ(kNumFrames, result); in checkFullQueue()
63 if (kNumFrames != result) break; in checkFullQueue()
Dtest_attributes.cpp26 constexpr int kNumFrames = 256; variable
39 float *buffer = new float[kNumFrames * kChannelCount]; in checkAttributes()
107 EXPECT_EQ(kNumFrames, in checkAttributes()
108 AAudioStream_read(aaudioStream, buffer, kNumFrames, kNanosPerSecond)); in checkAttributes()
110 EXPECT_EQ(kNumFrames, in checkAttributes()
111 AAudioStream_write(aaudioStream, buffer, kNumFrames, kNanosPerSecond)); in checkAttributes()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerInfoTest.cpp52 constexpr int kNumFrames = 10; in TEST_F() local
53 for (int i = 1; i <= kNumFrames; i++) { in TEST_F()
70 constexpr int kNumFrames = 10; in TEST_F() local
71 for (int i = 1; i <= kNumFrames; i++) { in TEST_F()
88 constexpr int kNumFrames = 10; in TEST_F() local
89 for (int i = 1; i <= kNumFrames; i++) { in TEST_F()