Home
last modified time | relevance | path

Searched refs:object_paths (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/dbus/
Dobject_manager_unittest.cc270 std::vector<ObjectPath> object_paths = object_manager_->GetObjects(); in TEST_F() local
271 ASSERT_EQ(1U, object_paths.size()); in TEST_F()
272 EXPECT_EQ(ObjectPath("/org/chromium/TestObject"), object_paths[0]); in TEST_F()
276 std::vector<ObjectPath> object_paths = in TEST_F() local
278 ASSERT_EQ(1U, object_paths.size()); in TEST_F()
279 EXPECT_EQ(ObjectPath("/org/chromium/TestObject"), object_paths[0]); in TEST_F()
283 std::vector<ObjectPath> object_paths = in TEST_F() local
285 EXPECT_EQ(0U, object_paths.size()); in TEST_F()
322 std::vector<ObjectPath> object_paths = object_manager_->GetObjects(); in TEST_F() local
323 ASSERT_EQ(2U, object_paths.size()); in TEST_F()
[all …]
Dobject_manager.cc87 std::vector<ObjectPath> object_paths; in GetObjects() local
91 object_paths.push_back(iter->first); in GetObjects()
93 return object_paths; in GetObjects()
98 std::vector<ObjectPath> object_paths; in GetObjectsWithInterface() local
107 object_paths.push_back(oiter->first); in GetObjectsWithInterface()
110 return object_paths; in GetObjectsWithInterface()
Dmessage.cc616 const std::vector<ObjectPath>& object_paths) { in AppendArrayOfObjectPaths() argument
620 for (size_t i = 0; i < object_paths.size(); ++i) { in AppendArrayOfObjectPaths()
621 array_writer.AppendObjectPath(object_paths[i]); in AppendArrayOfObjectPaths()
846 std::vector<ObjectPath> *object_paths) { in PopArrayOfObjectPaths() argument
847 object_paths->clear(); in PopArrayOfObjectPaths()
855 object_paths->push_back(object_path); in PopArrayOfObjectPaths()
Dmessage_unittest.cc290 std::vector<ObjectPath> object_paths; in TEST() local
291 object_paths.push_back(ObjectPath("/object/path/1")); in TEST()
292 object_paths.push_back(ObjectPath("/object/path/2")); in TEST()
293 object_paths.push_back(ObjectPath("/object/path/3")); in TEST()
294 writer.AppendArrayOfObjectPaths(object_paths); in TEST()
Dmessage.h321 void AppendArrayOfObjectPaths(const std::vector<ObjectPath>& object_paths);
432 bool PopArrayOfObjectPaths(std::vector<ObjectPath>* object_paths);
/external/chromium_org/chromeos/dbus/
Dnfc_client_unittest.cc318 ObjectPathVector object_paths) { in SendArrayPropertyChangedSignal() argument
324 variant_writer.AppendArrayOfObjectPaths(object_paths); in SendArrayPropertyChangedSignal()
764 ObjectPathVector object_paths; in TEST_F() local
771 object_paths.push_back(dbus::ObjectPath(kTestAdapterPath0)); in TEST_F()
772 object_paths.push_back(dbus::ObjectPath(kTestAdapterPath1)); in TEST_F()
773 SimulateAdaptersChanged(object_paths); in TEST_F()
789 object_paths.clear(); in TEST_F()
790 object_paths.push_back(dbus::ObjectPath(kTestDevicePath0)); in TEST_F()
791 SimulateDevicesChanged(object_paths, dbus::ObjectPath(kTestAdapterPath0)); in TEST_F()
792 object_paths.clear(); in TEST_F()
[all …]
Dnfc_client_helpers.cc69 void DBusObjectMap::UpdateObjects(const ObjectPathVector& object_paths) { in UpdateObjects() argument
78 for (ObjectPathVector::const_iterator iter = object_paths.begin(); in UpdateObjects()
79 iter != object_paths.end(); ++iter) { in UpdateObjects()
156 std::vector<dbus::ObjectPath> object_paths; in GetObjectPaths() local
160 object_paths.push_back(object_path); in GetObjectPaths()
162 return object_paths; in GetObjectPaths()
Dfake_bluetooth_adapter_client.cc113 std::vector<dbus::ObjectPath> object_paths; in GetAdapters() local
115 object_paths.push_back(dbus::ObjectPath(kAdapterPath)); in GetAdapters()
117 object_paths.push_back(dbus::ObjectPath(kSecondAdapterPath)); in GetAdapters()
118 return object_paths; in GetAdapters()
Dfake_nfc_adapter_client.cc124 std::vector<dbus::ObjectPath> object_paths; in GetAdapters() local
126 object_paths.push_back(dbus::ObjectPath(kAdapterPath0)); in GetAdapters()
128 object_paths.push_back(dbus::ObjectPath(kAdapterPath1)); in GetAdapters()
129 return object_paths; in GetAdapters()
Dbluetooth_device_client.cc98 std::vector<dbus::ObjectPath> object_paths, device_paths; in GetDevicesForAdapter() local
105 object_paths.push_back(*iter); in GetDevicesForAdapter()
107 return object_paths; in GetDevicesForAdapter()
Dnfc_client_helpers.h106 void UpdateObjects(const ObjectPathVector& object_paths);
/external/chromium_org/content/browser/geolocation/
Dwifi_data_provider_linux_unittest.cc124 std::vector<dbus::ObjectPath> object_paths; in CreateNetworkManagerProxyResponse() local
125 object_paths.push_back( in CreateNetworkManagerProxyResponse()
130 writer.AppendArrayOfObjectPaths(object_paths); in CreateNetworkManagerProxyResponse()
162 std::vector<dbus::ObjectPath> object_paths; in CreateDeviceProxyResponse() local
163 object_paths.push_back( in CreateDeviceProxyResponse()
165 writer.AppendArrayOfObjectPaths(object_paths); in CreateDeviceProxyResponse()
/external/chromium_org/device/nfc/
Dnfc_adapter_chromeos.cc30 const ObjectPathVector& object_paths = in NfcAdapterChromeOS() local
32 if (!object_paths.empty()) { in NfcAdapterChromeOS()
33 VLOG(1) << object_paths.size() << " NFC adapter(s) available."; in NfcAdapterChromeOS()
34 SetAdapter(object_paths[0]); in NfcAdapterChromeOS()
135 const ObjectPathVector& object_paths = in AdapterRemoved() local
138 object_paths.begin(); in AdapterRemoved()
139 iter != object_paths.end(); ++iter) { in AdapterRemoved()
/external/chromium_org/device/bluetooth/
Dbluetooth_adapter_chromeos.cc91 std::vector<dbus::ObjectPath> object_paths = in BluetoothAdapterChromeOS() local
94 if (!object_paths.empty()) { in BluetoothAdapterChromeOS()
95 VLOG(1) << object_paths.size() << " Bluetooth adapter(s) available."; in BluetoothAdapterChromeOS()
96 SetAdapter(object_paths[0]); in BluetoothAdapterChromeOS()