Lines Matching refs:aaudioStream
42 AAudioStream *aaudioStream = nullptr; in checkAttributes() local
69 ASSERT_EQ(AAUDIO_OK, AAudioStreamBuilder_openStream(aaudioBuilder, &aaudioStream)); in checkAttributes()
77 EXPECT_EQ(expectedUsage, AAudioStream_getUsage(aaudioStream)); in checkAttributes()
83 EXPECT_EQ(expectedContentType, AAudioStream_getContentType(aaudioStream)); in checkAttributes()
89 EXPECT_EQ(expectedPreset, AAudioStream_getInputPreset(aaudioStream)); in checkAttributes()
95 EXPECT_EQ(expectedCapturePolicy, AAudioStream_getAllowedCapturePolicy(aaudioStream)); in checkAttributes()
102 EXPECT_EQ(expectedPrivacyMode, AAudioStream_isPrivacySensitive(aaudioStream)); in checkAttributes()
104 EXPECT_EQ(AAUDIO_OK, AAudioStream_requestStart(aaudioStream)); in checkAttributes()
108 AAudioStream_read(aaudioStream, buffer, kNumFrames, kNanosPerSecond)); in checkAttributes()
111 AAudioStream_write(aaudioStream, buffer, kNumFrames, kNanosPerSecond)); in checkAttributes()
114 EXPECT_EQ(AAUDIO_OK, AAudioStream_requestStop(aaudioStream)); in checkAttributes()
116 EXPECT_EQ(AAUDIO_OK, AAudioStream_close(aaudioStream)); in checkAttributes()