Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_avrcp_audio_track.cc78 BtifAvrcpAudioTrack* trackHolder = static_cast<BtifAvrcpAudioTrack*>(s_AudioEngine.trackHandle); in BtifAvrcpAudioErrorHandle() local
80 trackHolder->stream = stream; in BtifAvrcpAudioErrorHandle()
82 if (trackHolder != NULL && trackHolder->stream != NULL) { in BtifAvrcpAudioErrorHandle()
84 AAudioStream_requestStart(trackHolder->stream); in BtifAvrcpAudioErrorHandle()
116 BtifAvrcpAudioTrack* trackHolder = new BtifAvrcpAudioTrack; in BtifAvrcpAudioTrackCreate() local
117 log::assert_that(trackHolder != NULL, "assert failed: trackHolder != NULL"); in BtifAvrcpAudioTrackCreate()
118 trackHolder->stream = stream; in BtifAvrcpAudioTrackCreate()
119 trackHolder->bitsPerSample = bitsPerSample; in BtifAvrcpAudioTrackCreate()
120 trackHolder->channelCount = channelCount; in BtifAvrcpAudioTrackCreate()
121 trackHolder->bufferLength = in BtifAvrcpAudioTrackCreate()
[all …]
/packages/modules/Bluetooth/system/btif/test/
Dbtif_avrcp_audio_track_test.cc50 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
52 EXPECT_EQ(trackHolder->gain, 1.0f); in TEST_F()
59 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
61 EXPECT_EQ(trackHolder->gain, 0.0f); in TEST_F()
68 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
71 EXPECT_EQ(trackHolder->gain, 1.0f); in TEST_F()
78 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
81 EXPECT_EQ(trackHolder->gain, 0.0f); in TEST_F()
93 BtifAvrcpAudioTrack* trackHolder = in TEST_F() local
97 trackHolder->stream = stream.get(); in TEST_F()
[all …]