Home
last modified time | relevance | path

Searched refs:mock_codec_manager_ (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_test.cc320 ON_CALL(*mock_codec_manager_, UpdateActiveUnicastAudioHalClient(_, _, _)) in SetUp()
322 ON_CALL(*mock_codec_manager_, UpdateActiveBroadcastAudioHalClient(_, _)) in SetUp()
324 ON_CALL(*mock_codec_manager_, GetBroadcastConfig) in SetUp()
349 mock_codec_manager_ = MockCodecManager::GetInstance(); in ConfigCodecManagerMock()
350 ASSERT_NE(mock_codec_manager_, nullptr); in ConfigCodecManagerMock()
351 ON_CALL(*mock_codec_manager_, GetCodecLocation()).WillByDefault(Return(location)); in ConfigCodecManagerMock()
378 mock_codec_manager_ = nullptr; in TearDown()
446 MockCodecManager* mock_codec_manager_ = nullptr; member in bluetooth::le_audio::BroadcasterTest
460 EXPECT_CALL(*mock_codec_manager_, UpdateActiveBroadcastAudioHalClient(mock_audio_source_, false)) in TEST_F()
523 EXPECT_CALL(*mock_codec_manager_, UpdateActiveBroadcastAudioHalClient(mock_audio_source_, true)) in TEST_F()
[all …]
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software_unittest.cc611 mock_codec_manager_ = MockCodecManager::GetInstance(); in SetUpMockCodecManager()
612 ASSERT_NE((void*)mock_codec_manager_, (void*)codec_manager_); in SetUpMockCodecManager()
613 ASSERT_NE(mock_codec_manager_, nullptr); in SetUpMockCodecManager()
614 ON_CALL(*mock_codec_manager_, GetCodecLocation()).WillByDefault(Return(location)); in SetUpMockCodecManager()
630 MockCodecManager* mock_codec_manager_; member in __anonfc4200280211::LeAudioSoftwareUnicastTestAidl
/packages/modules/Bluetooth/system/bta/le_audio/
Ddevices_test.cc673 mock_codec_manager_ = MockCodecManager::GetInstance(); in SetUpMockCodecManager()
674 ASSERT_NE((void*)mock_codec_manager_, (void*)codec_manager_); in SetUpMockCodecManager()
675 ASSERT_NE(mock_codec_manager_, nullptr); in SetUpMockCodecManager()
676 ON_CALL(*mock_codec_manager_, GetCodecLocation()).WillByDefault(Return(location)); in SetUpMockCodecManager()
682 ON_CALL(*mock_codec_manager_, IsDualBiDirSwbSupported).WillByDefault(Return(true)); in SetUpMockCodecManager()
685 ON_CALL(*mock_codec_manager_, GetCodecConfig) in SetUpMockCodecManager()
718 ON_CALL(*mock_codec_manager_, CheckCodecConfigIsBiDirSwb) in SetUpMockCodecManager()
724 ON_CALL(*mock_codec_manager_, CheckCodecConfigIsDualBiDirSwb) in SetUpMockCodecManager()
739 if (mock_codec_manager_) { in TearDown()
740 testing::Mock::VerifyAndClearExpectations(mock_codec_manager_); in TearDown()
[all …]
Dstate_machine_test.cc595 mock_codec_manager_ = MockCodecManager::GetInstance(); in ConfigCodecManagerMock()
596 ASSERT_NE(mock_codec_manager_, nullptr); in ConfigCodecManagerMock()
597 ON_CALL(*mock_codec_manager_, GetCodecLocation()).WillByDefault(Return(location)); in ConfigCodecManagerMock()
599 ON_CALL(*mock_codec_manager_, IsDualBiDirSwbSupported).WillByDefault(Return(true)); in ConfigCodecManagerMock()
600 ON_CALL(*mock_codec_manager_, CheckCodecConfigIsBiDirSwb) in ConfigCodecManagerMock()
604 ON_CALL(*mock_codec_manager_, GetCodecConfig) in ConfigCodecManagerMock()
639 mock_codec_manager_ = nullptr; in TearDown()
1704 MockCodecManager* mock_codec_manager_; member in bluetooth::le_audio::internal::StateMachineTestBase
1735 ON_CALL(*mock_codec_manager_, IsDualBiDirSwbSupported).WillByDefault(Return(false)); in SetUp()
1805 ON_CALL(*mock_codec_manager_, GetCodecConfig) in TEST_F()
[all …]
Dle_audio_client_test.cc1529 mock_codec_manager_ = MockCodecManager::GetInstance(); in SetUpMockCodecManager()
1530 ASSERT_NE((void*)mock_codec_manager_, (void*)codec_manager_); in SetUpMockCodecManager()
1531 ASSERT_NE(mock_codec_manager_, nullptr); in SetUpMockCodecManager()
1532 ON_CALL(*mock_codec_manager_, GetCodecLocation()).WillByDefault(Return(location)); in SetUpMockCodecManager()
1533 ON_CALL(*mock_codec_manager_, UpdateActiveUnicastAudioHalClient(_, _, _)) in SetUpMockCodecManager()
1535 ON_CALL(*mock_codec_manager_, UpdateActiveBroadcastAudioHalClient(_, _)) in SetUpMockCodecManager()
1538 ON_CALL(*mock_codec_manager_, IsDualBiDirSwbSupported).WillByDefault(Return(true)); in SetUpMockCodecManager()
1540 ON_CALL(*mock_codec_manager_, GetCodecConfig) in SetUpMockCodecManager()
2744 MockCodecManager* mock_codec_manager_; member in bluetooth::le_audio::UnicastTestNoInit
4879 EXPECT_CALL(*mock_codec_manager_, in TEST_F()
[all …]