Searched refs:kOutputBuf (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/stack/mmc/test/ |
D | hfp_lc3_mmc_decoder_test.cc | 41 static uint8_t kOutputBuf[kOutputLen] = {0}; variable 72 std::fill(kOutputBuf, kOutputBuf + kOutputLen, 1); in SetUp() 84 std::fill(kOutputBuf, kOutputBuf + kOutputLen, 0); in TearDown() 147 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() 150 EXPECT_THAT(kOutputBuf, Each(0)); in TEST_F() 160 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() 163 EXPECT_EQ(kOutputBuf[0], 1); in TEST_F() 173 int ret = decoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() 176 EXPECT_EQ(kOutputBuf[0], 0); in TEST_F() 177 EXPECT_THAT(kOutputBuf, Contains(Ne(0))); in TEST_F()
|
D | hfp_lc3_mmc_encoder_test.cc | 41 static uint8_t kOutputBuf[kOutputLen] = {0}; variable 72 std::fill(kOutputBuf, kOutputBuf + kOutputLen, 1); in SetUp() 84 std::fill(kOutputBuf, kOutputBuf + kOutputLen, 0); in TearDown() 138 int ret = encoder_->transcode(nullptr, 0, kOutputBuf, kOutputLen); in TEST_F() 152 int ret = encoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() 155 EXPECT_THAT(kOutputBuf, Each(0)); in TEST_F() 165 int ret = encoder_->transcode((uint8_t*)kInputBuf, kInputLen, kOutputBuf, in TEST_F() 168 EXPECT_THAT(kOutputBuf, Contains(Ne(0))); in TEST_F()
|