Home
last modified time | relevance | path

Searched refs:ContentControlIdKeeper (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/
Dcontent_control_id_keeper.cc95 struct ContentControlIdKeeper::impl {
96 impl(const ContentControlIdKeeper& ccid_keeper) : ccid_keeper_(ccid_keeper) {} in impl()
112 const ContentControlIdKeeper& ccid_keeper_;
116 ContentControlIdKeeper::ContentControlIdKeeper() in ContentControlIdKeeper() function in bluetooth::le_audio::ContentControlIdKeeper
119 void ContentControlIdKeeper::Start() { in Start()
123 void ContentControlIdKeeper::Stop() { in Stop()
127 int ContentControlIdKeeper::GetCcid( in GetCcid()
136 void ContentControlIdKeeper::SetCcid(types::LeAudioContextType context_type, in SetCcid()
147 void ContentControlIdKeeper::SetCcid(const types::AudioContexts& contexts, in SetCcid()
152 std::vector<uint8_t> ContentControlIdKeeper::GetAllCcids( in GetAllCcids()
Dcontent_control_id_keeper.h26 class ContentControlIdKeeper {
28 ContentControlIdKeeper();
29 ~ContentControlIdKeeper() = default;
30 static ContentControlIdKeeper* GetInstance(void) { in GetInstance()
31 static ContentControlIdKeeper* instance = new ContentControlIdKeeper(); in GetInstance()
Dcontent_control_id_keeper_test.cc29 auto ccid_keeper = ContentControlIdKeeper::GetInstance(); in TEST()
36 auto ccid_keeper = ContentControlIdKeeper::GetInstance(); in TEST()
70 auto ccid_keeper = ContentControlIdKeeper::GetInstance(); in TEST()
107 auto ccid_keeper = ContentControlIdKeeper::GetInstance(); in TEST()
Dstate_machine_test.cc292 ContentControlIdKeeper::GetInstance()->Start(); in SetUp()
4791 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
4907 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5023 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5130 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5269 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5383 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5445 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5557 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
5685 ContentControlIdKeeper::GetInstance()->SetCcid(media_context, media_ccid); in TEST_F()
[all …]
Dclient.cc76 using bluetooth::le_audio::ContentControlIdKeeper;
895 .sink = ContentControlIdKeeper::GetInstance()->GetAllCcids( in GroupStream()
897 .source = ContentControlIdKeeper::GetInstance()->GetAllCcids( in GroupStream()
1015 ContentControlIdKeeper::GetInstance()->SetCcid(AudioContexts(context_type), in SetCcidInformation()
3218 .sink = ContentControlIdKeeper::GetInstance()->GetAllCcids( in AttachToStreamingGroupIfNeeded()
3220 .source = ContentControlIdKeeper::GetInstance()->GetAllCcids( in AttachToStreamingGroupIfNeeded()
6361 ContentControlIdKeeper::GetInstance()->Start(); in Initialize()
6402 ContentControlIdKeeper::GetInstance()->Stop(); in Cleanup()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DContentControlIdKeeperTest.java55 ContentControlIdKeeper.initForTesting(mServiceFactoryMock); in setUp()
60 ContentControlIdKeeper.initForTesting(null); in tearDown()
64 int ccid = ContentControlIdKeeper.acquireCcid(uuid, context); in testCcidAcquire()
65 Assert.assertNotEquals(ccid, ContentControlIdKeeper.CCID_INVALID); in testCcidAcquire()
69 ContentControlIdKeeper.getUuidToCcidContextPairMap(); in testCcidAcquire()
80 ContentControlIdKeeper.getUuidToCcidContextPairMap(); in testCcidRelease()
83 ContentControlIdKeeper.releaseCcid(ccid); in testCcidRelease()
84 uuidToCcidContextPair = ContentControlIdKeeper.getUuidToCcidContextPairMap(); in testCcidRelease()
121 int ccid = ContentControlIdKeeper.acquireCcid(uuid, 0); in testAcquireInvalidContext()
122 Assert.assertEquals(ccid, ContentControlIdKeeper.CCID_INVALID); in testAcquireInvalidContext()
[all …]
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dbroadcaster_test.cc297 ContentControlIdKeeper::GetInstance()->Start(); in SetUp()
298 ContentControlIdKeeper::GetInstance()->SetCcid(LeAudioContextType::MEDIA, in SetUp()
359 ContentControlIdKeeper::GetInstance()->Stop(); in TearDown()
724 ContentControlIdKeeper::GetInstance()->SetCcid(LeAudioContextType::ALERTS, in TEST_F()
792 ContentControlIdKeeper::GetInstance()->SetCcid(LeAudioContextType::MEDIA, in TEST_F()
949 ContentControlIdKeeper::GetInstance()->SetCcid(LeAudioContextType::MEDIA, in TEST_F()
1092 ContentControlIdKeeper::GetInstance()->SetCcid(LeAudioContextType::MEDIA, in TEST_F()
Dbroadcaster.cc51 using bluetooth::le_audio::ContentControlIdKeeper;
259 auto ccids = ContentControlIdKeeper::GetInstance()->GetAllCcids(contexts); in UpdateStreamingContextTypeOnAllSubgroups()
393 ContentControlIdKeeper::GetInstance()->GetAllCcids(context_type); in UpdateMetadata()
565 ContentControlIdKeeper::GetInstance()->GetAllCcids(context_type); in CreateAudioBroadcast()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGeneric.java36 import com.android.bluetooth.le_audio.ContentControlIdKeeper;
169 ContentControlIdKeeper.acquireCcid( in init()
354 ContentControlIdKeeper.acquireCcid( in addBearer()
403 ContentControlIdKeeper.releaseCcid(bearer.ccid); in removeBearer()
1034 return ccid != ContentControlIdKeeper.CCID_INVALID; in isCcidValid()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlProfile.java42 import com.android.bluetooth.le_audio.ContentControlIdKeeper;
778 ContentControlIdKeeper.acquireCcid( in init()
782 if (ccid == ContentControlIdKeeper.CCID_INVALID) { in init()
883 ContentControlIdKeeper.releaseCcid(ccid); in unregisterServiceInstance()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DContentControlIdKeeper.java36 public class ContentControlIdKeeper { class
DLeAudioService.java3491 ContentControlIdKeeper.getUuidToCcidContextPairMap().entrySet()) { in messageFromNative()