Searched refs:A2dpSource (Results 1 – 5 of 5) sorted by relevance
105 const int A2dpSource::kSingletonInstanceId = 0;107 A2dpSource::A2dpSource(const Uuid& uuid) : app_identifier_(uuid) { in A2dpSource() function in bluetooth::A2dpSource111 A2dpSource::~A2dpSource() { in ~A2dpSource()115 const Uuid& A2dpSource::GetAppIdentifier() const { return app_identifier_; } in GetAppIdentifier()117 int A2dpSource::GetInstanceId() const { return kSingletonInstanceId; } in GetInstanceId()119 void A2dpSource::SetDelegate(Delegate* delegate) { in SetDelegate()124 bool A2dpSource::Enable(const std::vector<A2dpCodecConfig>& codec_priorities) { in Enable()131 void A2dpSource::Disable() { in Disable()136 bool A2dpSource::Connect(const std::string& device_address) { in Connect()144 bool A2dpSource::Disconnect(const std::string& device_address) { in Disconnect()[all …]
32 class A2dpSource : public BluetoothInstance,52 ~A2dpSource() override;70 explicit A2dpSource(const Uuid& uuid);102 DISALLOW_COPY_AND_ASSIGN(A2dpSource);
42 class TestDelegate : public A2dpSource::Delegate {124 a2dp_source_ = std::unique_ptr<A2dpSource>( in SetUp()125 static_cast<A2dpSource*>(in_client.release())); in SetUp()157 std::unique_ptr<A2dpSource> a2dp_source_;168 std::unique_ptr<A2dpSource> a2dp_source; in TEST_F()175 a2dp_source = std::unique_ptr<A2dpSource>( in TEST_F()176 static_cast<A2dpSource*>(in_a2dp_source.release())); in TEST_F()191 EXPECT_EQ(bluetooth::A2dpSource::kSingletonInstanceId, in TEST_F()
200 auto cb = GetCallback(bluetooth::A2dpSource::kSingletonInstanceId); in GetA2dpSourceCallback()205 std::shared_ptr<bluetooth::A2dpSource>207 return std::static_pointer_cast<bluetooth::A2dpSource>( in GetA2dpSource()208 GetInstance(bluetooth::A2dpSource::kSingletonInstanceId)); in GetA2dpSource()216 bluetooth::A2dpSource* a2dp_source = in OnRegisterInstanceImpl()217 static_cast<bluetooth::A2dpSource*>(instance); in OnRegisterInstanceImpl()
41 public bluetooth::A2dpSource::Delegate {82 std::shared_ptr<bluetooth::A2dpSource> GetA2dpSource();