Home
last modified time | relevance | path

Searched refs:ccid_keeper (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dcontent_control_id_keeper_test.cc29 auto ccid_keeper = ContentControlIdKeeper::GetInstance(); in TEST() local
30 ASSERT_NE(nullptr, ccid_keeper); in TEST()
31 ccid_keeper->Start(); in TEST()
32 ccid_keeper->Stop(); in TEST()
36 auto ccid_keeper = ContentControlIdKeeper::GetInstance(); in TEST() local
37 ASSERT_NE(nullptr, ccid_keeper); in TEST()
38 ccid_keeper->Start(); in TEST()
42 ccid_keeper->SetCcid( in TEST()
45 ASSERT_EQ(ccid_one, ccid_keeper->GetCcid(types::LeAudioContextType::MEDIA)); in TEST()
46 ASSERT_EQ(ccid_one, ccid_keeper->GetCcid(types::LeAudioContextType::ALERTS)); in TEST()
[all …]
Dcontent_control_id_keeper.cc36 struct ccid_keeper { struct
38 ccid_keeper() {} in ccid_keeper() argument
40 ~ccid_keeper() {} in ~ccid_keeper() argument
96 impl(const ContentControlIdKeeper& ccid_keeper) : ccid_keeper_(ccid_keeper) {} in impl()
101 ccid_keeper_impl_ = std::make_unique<ccid_keeper>(); in Start()
113 std::unique_ptr<ccid_keeper> ccid_keeper_impl_;