Loading system/binder/android/bluetooth/IBluetoothMap.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,6 @@ import android.bluetooth.BluetoothDevice; interface IBluetoothMap { int getState(); BluetoothDevice getClient(); boolean connect(in BluetoothDevice device); boolean disconnect(in BluetoothDevice device); boolean isConnected(in BluetoothDevice device); List<BluetoothDevice> getConnectedDevices(); Loading system/gd/grpc/grpc_module.cc +8 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,10 @@ void GrpcModule::RunGrpcLoop() { } } std::string GrpcModule::ToString() const { return "Grpc Module"; } const ::bluetooth::ModuleFactory GrpcModule::Factory = ::bluetooth::ModuleFactory([]() { return new GrpcModule(); }); Loading @@ -119,5 +123,9 @@ void GrpcFacadeModule::Stop() { GetDependency<GrpcModule>()->Unregister(this); } std::string GrpcFacadeModule::ToString() const { return "Grpc Facade Module"; } } // namespace grpc } // namespace bluetooth system/gd/grpc/grpc_module.h +4 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,8 @@ class GrpcModule : public ::bluetooth::Module { void Stop() override; std::string ToString() const override; private: bool started_; std::unique_ptr<::grpc::Server> server_ = nullptr; Loading @@ -70,6 +72,8 @@ class GrpcFacadeModule : public ::bluetooth::Module { virtual void OnServerStarted(::grpc::ServerCompletionQueue* cq) {} virtual void OnServerStopped() {} std::string ToString() const override; }; } // namespace grpc Loading system/gd/hci/acl_manager.cc +4 −0 Original line number Diff line number Diff line Loading @@ -1799,6 +1799,10 @@ void AclManager::Stop() { pimpl_->Stop(); } std::string AclManager::ToString() const { return "Acl Manager"; } const ModuleFactory AclManager::Factory = ModuleFactory([]() { return new AclManager(); }); AclManager::~AclManager() = default; Loading system/gd/hci/acl_manager.h +2 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,8 @@ class AclManager : public Module { void Stop() override; std::string ToString() const override; private: friend AclConnection; Loading Loading
system/binder/android/bluetooth/IBluetoothMap.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,6 @@ import android.bluetooth.BluetoothDevice; interface IBluetoothMap { int getState(); BluetoothDevice getClient(); boolean connect(in BluetoothDevice device); boolean disconnect(in BluetoothDevice device); boolean isConnected(in BluetoothDevice device); List<BluetoothDevice> getConnectedDevices(); Loading
system/gd/grpc/grpc_module.cc +8 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,10 @@ void GrpcModule::RunGrpcLoop() { } } std::string GrpcModule::ToString() const { return "Grpc Module"; } const ::bluetooth::ModuleFactory GrpcModule::Factory = ::bluetooth::ModuleFactory([]() { return new GrpcModule(); }); Loading @@ -119,5 +123,9 @@ void GrpcFacadeModule::Stop() { GetDependency<GrpcModule>()->Unregister(this); } std::string GrpcFacadeModule::ToString() const { return "Grpc Facade Module"; } } // namespace grpc } // namespace bluetooth
system/gd/grpc/grpc_module.h +4 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,8 @@ class GrpcModule : public ::bluetooth::Module { void Stop() override; std::string ToString() const override; private: bool started_; std::unique_ptr<::grpc::Server> server_ = nullptr; Loading @@ -70,6 +72,8 @@ class GrpcFacadeModule : public ::bluetooth::Module { virtual void OnServerStarted(::grpc::ServerCompletionQueue* cq) {} virtual void OnServerStopped() {} std::string ToString() const override; }; } // namespace grpc Loading
system/gd/hci/acl_manager.cc +4 −0 Original line number Diff line number Diff line Loading @@ -1799,6 +1799,10 @@ void AclManager::Stop() { pimpl_->Stop(); } std::string AclManager::ToString() const { return "Acl Manager"; } const ModuleFactory AclManager::Factory = ModuleFactory([]() { return new AclManager(); }); AclManager::~AclManager() = default; Loading
system/gd/hci/acl_manager.h +2 −0 Original line number Diff line number Diff line Loading @@ -236,6 +236,8 @@ class AclManager : public Module { void Stop() override; std::string ToString() const override; private: friend AclConnection; Loading