Home
last modified time | relevance | path

Searched refs:bus_ (Results 1 – 25 of 42) sorted by relevance

12

/external/chromium_org/dbus/
Dobject_proxy.cc55 : bus_(bus), in ObjectProxy()
71 bus_->AssertOnDBusThread(); in CallMethodAndBlockWithErrorDetails()
73 if (!bus_->Connect() || in CallMethodAndBlockWithErrorDetails()
83 bus_->SendWithReplyAndBlock(request_message, timeout_ms, error->get()); in CallMethodAndBlockWithErrorDetails()
127 bus_->AssertOnOriginThread(); in CallMethodWithErrorCallback()
141 bus_->GetOriginTaskRunner()->PostTask(FROM_HERE, task); in CallMethodWithErrorCallback()
163 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task); in CallMethodWithErrorCallback()
170 bus_->AssertOnOriginThread(); in ConnectToSignal()
173 bus_->GetDBusTaskRunner(), in ConnectToSignal()
187 bus_->AssertOnOriginThread(); in SetNameOwnerChangedCallback()
[all …]
Dexported_object.cc31 : bus_(bus), in ExportedObject()
44 bus_->AssertOnDBusThread(); in ExportMethodAndBlock()
54 if (!bus_->Connect()) in ExportMethodAndBlock()
56 if (!bus_->SetUpAsyncOperations()) in ExportMethodAndBlock()
71 bus_->AssertOnOriginThread(); in ExportMethod()
79 bus_->GetDBusTaskRunner()->PostTask(FROM_HERE, task); in ExportMethod()
94 bus_->GetDBusTaskRunner()->PostTask( in SendSignal()
103 bus_->AssertOnDBusThread(); in Unregister()
108 bus_->UnregisterObjectPath(object_path_); in Unregister()
117 bus_->AssertOnDBusThread(); in ExportMethodInternal()
[all …]
Dobject_manager.cc33 : bus_(bus), in ObjectManager()
41 DCHECK(bus_); in ObjectManager()
42 bus_->AssertOnOriginThread(); in ObjectManager()
43 object_proxy_ = bus_->GetObjectProxy(service_name_, object_path_); in ObjectManager()
53 bus_->GetDBusTaskRunner(), in ObjectManager()
149 DCHECK(bus_); in CleanUp()
150 bus_->AssertOnDBusThread(); in CleanUp()
158 if (!bus_->RemoveFilterFunction(&ObjectManager::HandleMessageThunk, this)) in CleanUp()
162 bus_->RemoveMatch(match_rule_, error.get()); in CleanUp()
170 DCHECK(bus_); in InitializeObjects()
[all …]
Dend_to_end_async_unittest.cc65 bus_ = new Bus(bus_options); in SetUp()
66 object_proxy_ = bus_->GetObjectProxy( in SetUp()
69 ASSERT_TRUE(bus_->HasDBusThread()); in SetUp()
101 root_object_proxy_ = bus_->GetObjectProxy("org.chromium.TestService", in SetUp()
103 ASSERT_TRUE(bus_->HasDBusThread()); in SetUp()
120 bus_->ShutdownOnDBusThreadAndBlock(); in TearDown()
137 bus_->ShutdownOnDBusThreadAndBlock(); in SetUpBrokenBus()
146 bus_ = new Bus(bus_options); in SetUpBrokenBus()
147 ASSERT_TRUE(bus_->HasDBusThread()); in SetUpBrokenBus()
150 object_proxy_ = bus_->GetObjectProxy( in SetUpBrokenBus()
[all …]
Dobject_proxy_unittest.cc22 bus_ = new Bus(bus_options); in SetUp()
24 object_proxy_ = bus_->GetObjectProxy( in SetUp()
29 bus_->ShutdownAndBlock(); in TearDown()
33 scoped_refptr<Bus> bus_; member in dbus::__anonf81d534a0111::ObjectProxyTest
Dobject_manager_unittest.cc85 bus_ = new Bus(bus_options); in SetUp()
86 ASSERT_TRUE(bus_->HasDBusThread()); in SetUp()
88 object_manager_ = bus_->GetObjectManager( in SetUp()
97 bus_->ShutdownOnDBusThreadAndBlock(); in TearDown()
190 ObjectProxy* object_proxy = bus_->GetObjectProxy( in PerformAction()
209 scoped_refptr<Bus> bus_; member in dbus::ObjectManagerTest
289 ObjectManager* object_manager = bus_->GetObjectManager( in TEST_F()
296 ObjectManager* object_manager = bus_->GetObjectManager( in TEST_F()
303 ObjectManager* object_manager = bus_->GetObjectManager( in TEST_F()
388 EXPECT_TRUE(bus_->RemoveObjectManager( in TEST_F()
[all …]
Dtest_service.cc69 return bus_->HasDBusThread(); in HasDBusThread()
74 bus_->ShutdownOnDBusThreadAndBlock(); in ShutdownAndBlockInternal()
76 bus_->ShutdownAndBlock(); in ShutdownAndBlockInternal()
107 bus_->RequestOwnership("org.chromium.TestService", in SendTestSignalFromRootInternal()
114 ExportedObject* root_object = bus_->GetExportedObject(ObjectPath("/")); in SendTestSignalFromRootInternal()
128 bus_->RequestOwnership("org.chromium.TestService", in RequestOwnershipInternal()
146 bus_->GetDBusTaskRunner()->PostTask( in ReleaseOwnership()
155 bus_->ReleaseOwnership("org.chromium.TestService"); in ReleaseOwnershipInternal()
158 bus_->GetOriginTaskRunner()->PostTask( in ReleaseOwnershipInternal()
182 bus_->RequestOwnership("org.chromium.TestService", in OnExported()
[all …]
Dsignal_sender_verification_unittest.cc48 bus_ = new Bus(bus_options); in SetUp()
49 object_proxy_ = bus_->GetObjectProxy( in SetUp()
52 ASSERT_TRUE(bus_->HasDBusThread()); in SetUp()
98 bus_->ShutdownOnDBusThreadAndBlock(); in TearDown()
170 scoped_refptr<Bus> bus_; member in dbus::SignalSenderVerificationTest
333 ObjectProxy* object_proxy2 = bus_->GetObjectProxy( in TEST_F()
Dproperty_unittest.cc75 bus_ = new Bus(bus_options); in SetUp()
76 object_proxy_ = bus_->GetObjectProxy( in SetUp()
79 ASSERT_TRUE(bus_->HasDBusThread()); in SetUp()
91 bus_->ShutdownOnDBusThreadAndBlock(); in TearDown()
150 scoped_refptr<Bus> bus_; member in dbus::PropertyTest
/external/chromium_org/media/audio/
Daudio_power_monitor_unittest.cc36 this->bus_ = AudioBus::Create(other.bus_->channels(), other.bus_->frames()); in operator =()
37 other.bus_->CopyTo(this->bus_.get()); in operator =()
45 result.bus_->channel(0)[result.bus_->frames() / 2] = bad_value; in WithABadSample()
50 return *bus_; in data()
66 bus_ = AudioBus::Create(num_channels, kFramesPerBuffer); in CreatePopulatedBuffer()
70 memcpy(bus_->channel(ch) + frames, data + num_frames * ch, in CreatePopulatedBuffer()
78 scoped_ptr<AudioBus> bus_; member in media::__anona92ba9ea0111::TestScenario
/external/chromium_org/mojo/dbus/
Ddbus_external_service.cc70 CHECK(!bus_.get()); in InitializeDBus()
73 bus_ = new dbus::Bus(options); in InitializeDBus()
74 CHECK(bus_->Connect()); in InitializeDBus()
75 CHECK(bus_->SetUpAsyncOperations()); in InitializeDBus()
78 bus_->GetExportedObject(dbus::ObjectPath(kMojoDBusImplPath)); in InitializeDBus()
82 CHECK(bus_->RequestOwnershipAndBlock( in TakeDBusServiceOwnership()
/external/chromium_org/content/browser/
Dpower_save_blocker_x11.cc118 scoped_refptr<dbus::Bus> bus_; member in content::PowerSaveBlockerImpl::Delegate
175 DCHECK(!bus_.get()); // ApplyBlock() should only be called once. in ApplyBlock()
180 bus_ = new dbus::Bus(options); in ApplyBlock()
191 object_proxy = bus_->GetObjectProxy( in ApplyBlock()
221 object_proxy = bus_->GetObjectProxy( in ApplyBlock()
255 DCHECK(bus_.get()); // RemoveBlock() should only be called once. in RemoveBlock()
265 object_proxy = bus_->GetObjectProxy( in RemoveBlock()
272 object_proxy = bus_->GetObjectProxy( in RemoveBlock()
290 bus_->ShutdownAndBlock(); in RemoveBlock()
291 bus_ = NULL; in RemoveBlock()
/external/chromium_org/mojo/shell/
Ddbus_application_loader_linux.cc40 bus_(bus), in LoadContext()
60 CHECK(bus_->Connect()); in CreateChannelOnIOThread()
61 CHECK(bus_->SetUpAsyncOperations()); in CreateChannelOnIOThread()
88 bus_->GetObjectProxy(service_name, dbus::ObjectPath(object_path)); in ConnectChannel()
128 scoped_refptr<dbus::Bus> bus_; member in mojo::shell::DBusApplicationLoader::LoadContext
143 bus_ = new dbus::Bus(options); in DBusApplicationLoader()
162 new LoadContext(this, bus_, url, shell_handle.Pass()); in Load()
/external/chromium_org/chromeos/dbus/
Dsms_client.cc33 SMSClientImpl() : bus_(NULL), weak_ptr_factory_(this) {} in SMSClientImpl()
41 dbus::ObjectProxy *proxy = bus_->GetObjectProxy(service_name, object_path); in GetAll()
54 bus_ = bus; in Init()
78 dbus::Bus* bus_; member in chromeos::__anonab401d930111::SMSClientImpl
Dintrospectable_client.cc35 IntrospectableClientImpl() : bus_(NULL), weak_ptr_factory_(this) {} in IntrospectableClientImpl()
46 dbus::ObjectProxy* object_proxy = bus_->GetObjectProxy(service_name, in Introspect()
58 virtual void Init(dbus::Bus* bus) OVERRIDE { bus_ = bus; } in Init()
83 dbus::Bus* bus_; member in chromeos::IntrospectableClientImpl
Dmodem_messaging_client.cc34 : bus_(bus), in ModemMessagingProxy()
124 dbus::Bus* bus_; member in chromeos::__anon8e7019cf0111::ModemMessagingProxy
139 : bus_(NULL), in ModemMessagingClientImpl()
171 bus_ = bus; in Init()
188 = new ModemMessagingProxy(bus_, service_name, object_path); in GetProxy()
193 dbus::Bus* bus_; member in chromeos::__anon8e7019cf0111::ModemMessagingClientImpl
Dshill_profile_client.cc60 bus_ = bus; in Init()
69 dbus::Bus* bus_; member in chromeos::__anonbb5ff42c0111::ShillProfileClientImpl
77 : bus_(NULL), in ShillProfileClientImpl()
89 bus_->GetObjectProxy(shill::kFlimflamServiceName, profile_path); in GetHelper()
Dnfc_record_client.cc47 : bus_(NULL), in NfcRecordClientImpl()
100 bus_ = bus; in Init()
113 object_path, nfc_record::kNfcRecordServiceName, this, bus_); in DeviceAdded()
156 object_path, nfc_record::kNfcRecordServiceName, this, bus_); in TagAdded()
247 dbus::Bus* bus_; member in chromeos::NfcRecordClientImpl
Dshill_service_client.cc57 : bus_(NULL), in ShillServiceClientImpl()
65 bus_->RemoveObjectProxy(shill::kFlimflamServiceName, in ~ShillServiceClientImpl()
224 bus_ = bus; in Init()
239 bus_->GetObjectProxy(shill::kFlimflamServiceName, service_path); in GetHelper()
265 bus_->RemoveObjectProxy(shill::kFlimflamServiceName, in NotifyReleased()
271 dbus::Bus* bus_; member in chromeos::__anonba8648ac0111::ShillServiceClientImpl
Dbluetooth_gatt_service_service_provider.cc38 bus_(bus), in BluetoothGattServiceServiceProviderImpl()
45 DCHECK(bus_); in BluetoothGattServiceServiceProviderImpl()
47 exported_object_ = bus_->GetExportedObject(object_path_); in BluetoothGattServiceServiceProviderImpl()
76 bus_->UnregisterExportedObject(object_path_); in ~BluetoothGattServiceServiceProviderImpl()
240 dbus::Bus* bus_; member in chromeos::BluetoothGattServiceServiceProviderImpl
Dnfc_client_helpers.cc40 : bus_(bus), in DBusObjectMap()
43 DCHECK(bus_); in DBusObjectMap()
105 DCHECK(bus_); in AddObject()
107 dbus::ObjectProxy* object_proxy = bus_->GetObjectProxy(service_name_, in AddObject()
123 DCHECK(bus_); in RemoveObject()
Dnfc_device_client.cc40 : bus_(NULL), in NfcDeviceClientImpl()
126 bus_ = bus; in Init()
137 object_path, nfc_device::kNfcDeviceServiceName, this, bus_); in AdapterAdded()
208 dbus::Bus* bus_; member in chromeos::NfcDeviceClientImpl
Dshill_ipconfig_client.cc58 bus_ = bus; in Init()
72 bus_->GetObjectProxy(shill::kFlimflamServiceName, ipconfig_path); in GetHelper()
79 dbus::Bus* bus_; member in chromeos::__anon9fad978a0111::ShillIPConfigClientImpl
87 : bus_(NULL), in ShillIPConfigClientImpl()
Dnfc_tag_client.cc43 : bus_(NULL), in NfcTagClientImpl()
127 bus_ = bus; in Init()
138 object_path, nfc_tag::kNfcTagServiceName, this, bus_); in AdapterAdded()
228 dbus::Bus* bus_; member in chromeos::NfcTagClientImpl
/external/chromium_org/chrome/browser/chromeos/dbus/
Dcros_dbus_service.cc36 bus_(bus) { in CrosDBusServiceImpl()
61 bus_->RequestOwnership(kLibCrosServiceName, in Start()
66 exported_object_ = bus_->GetExportedObject( in Start()
97 dbus::Bus* bus_; member in chromeos::CrosDBusServiceImpl

12