Lines Matching refs:instance_
34 AvrcpService* AvrcpService::instance_ = nullptr; member in bluetooth::avrcp::AvrcpService
294 media_interface->RegisterUpdateCallback(instance_); in Init()
304 base::Bind(&AvrcpService::DeviceCallback, base::Unretained(instance_)), in Init()
321 CHECK(instance_); in Get()
322 return instance_; in Get()
354 instance_->connection_handler_->GetListOfDevices()) { in SendMediaUpdate()
369 instance_->connection_handler_->GetListOfDevices()) { in SendFolderUpdate()
398 CHECK(instance_ == nullptr); in Init()
399 instance_ = new AvrcpService(); in Init()
407 base::Bind(&AvrcpService::Init, base::Unretained(instance_), in Init()
414 CHECK(instance_ != nullptr); in ConnectDevice()
416 base::Unretained(instance_), bdaddr)); in ConnectDevice()
423 CHECK(instance_ != nullptr); in DisconnectDevice()
425 base::Unretained(instance_), bdaddr)); in DisconnectDevice()
432 if (instance_ == nullptr) return false; in Cleanup()
441 base::Bind(&AvrcpService::Cleanup, base::Owned(instance_))); in Cleanup()
445 instance_ = nullptr; in Cleanup()
451 if (instance_ == nullptr) { in DebugDump()
456 auto device_list = instance_->connection_handler_->GetListOfDevices(); in DebugDump()