/external/chromium_org/chromeos/dbus/ |
D | nfc_client_unittest.cc | 48 MOCK_METHOD1(AdapterAdded, void(const dbus::ObjectPath&)); 49 MOCK_METHOD1(AdapterRemoved, void(const dbus::ObjectPath&)); 55 MOCK_METHOD1(AdapterAdded, void(const dbus::ObjectPath&)); 56 MOCK_METHOD1(AdapterRemoved, void(const dbus::ObjectPath&)); 57 MOCK_METHOD2(AdapterPropertyChanged, void(const dbus::ObjectPath&, 63 MOCK_METHOD1(DeviceAdded, void(const dbus::ObjectPath&)); 64 MOCK_METHOD1(DeviceRemoved, void(const dbus::ObjectPath&)); 65 MOCK_METHOD2(DevicePropertyChanged, void(const dbus::ObjectPath&, 71 MOCK_METHOD1(RecordAdded, void(const dbus::ObjectPath&)); 72 MOCK_METHOD1(RecordRemoved, void(const dbus::ObjectPath&)); [all …]
|
D | fake_bluetooth_device_client.h | 48 virtual std::vector<dbus::ObjectPath> GetDevicesForAdapter( 49 const dbus::ObjectPath& adapter_path) OVERRIDE; 50 virtual Properties* GetProperties(const dbus::ObjectPath& object_path) 52 virtual void Connect(const dbus::ObjectPath& object_path, 55 virtual void Disconnect(const dbus::ObjectPath& object_path, 58 virtual void ConnectProfile(const dbus::ObjectPath& object_path, 62 virtual void DisconnectProfile(const dbus::ObjectPath& object_path, 66 virtual void Pair(const dbus::ObjectPath& object_path, 69 virtual void CancelPairing(const dbus::ObjectPath& object_path, 76 void BeginDiscoverySimulation(const dbus::ObjectPath& adapter_path); [all …]
|
D | fake_bluetooth_device_client.cc | 198 dbus::ObjectPath(kPairedDevicePath))); in FakeBluetoothDeviceClient() 206 dbus::ObjectPath(FakeBluetoothAdapterClient::kAdapterPath)); in FakeBluetoothDeviceClient() 215 properties_map_[dbus::ObjectPath(kPairedDevicePath)] = properties; in FakeBluetoothDeviceClient() 216 device_list_.push_back(dbus::ObjectPath(kPairedDevicePath)); in FakeBluetoothDeviceClient() 235 std::vector<dbus::ObjectPath> FakeBluetoothDeviceClient::GetDevicesForAdapter( in GetDevicesForAdapter() 236 const dbus::ObjectPath& adapter_path) { in GetDevicesForAdapter() 238 dbus::ObjectPath(FakeBluetoothAdapterClient::kAdapterPath)) in GetDevicesForAdapter() 241 return std::vector<dbus::ObjectPath>(); in GetDevicesForAdapter() 245 FakeBluetoothDeviceClient::GetProperties(const dbus::ObjectPath& object_path) { in GetProperties() 253 const dbus::ObjectPath& object_path, in Connect() [all …]
|
D | nfc_client_helpers.h | 37 typedef std::vector<dbus::ObjectPath> ObjectPathVector; 78 virtual void ObjectAdded(const dbus::ObjectPath& object_path) {} in ObjectAdded() 85 virtual void ObjectRemoved(const dbus::ObjectPath& object_path) {} in ObjectRemoved() 102 dbus::ObjectProxy* GetObjectProxy(const dbus::ObjectPath& object_path); 107 NfcPropertySet* GetObjectProperties(const dbus::ObjectPath& object_path); 117 bool AddObject(const dbus::ObjectPath& object_path); 122 void RemoveObject(const dbus::ObjectPath& object_path); 126 void RefreshProperties(const dbus::ObjectPath& object_path); 138 typedef std::map<dbus::ObjectPath, ObjectPropertyPair> ObjectMap; 143 ObjectPropertyPair GetObjectPropertyPair(const dbus::ObjectPath& object_path); [all …]
|
D | fake_bluetooth_adapter_client.cc | 101 std::vector<dbus::ObjectPath> FakeBluetoothAdapterClient::GetAdapters() { in GetAdapters() 102 std::vector<dbus::ObjectPath> object_paths; in GetAdapters() 104 object_paths.push_back(dbus::ObjectPath(kAdapterPath)); in GetAdapters() 106 object_paths.push_back(dbus::ObjectPath(kSecondAdapterPath)); in GetAdapters() 111 FakeBluetoothAdapterClient::GetProperties(const dbus::ObjectPath& object_path) { in GetProperties() 112 if (object_path == dbus::ObjectPath(kAdapterPath)) in GetProperties() 114 else if (object_path == dbus::ObjectPath(kSecondAdapterPath)) in GetProperties() 121 const dbus::ObjectPath& object_path, in StartDiscovery() 124 if (object_path != dbus::ObjectPath(kAdapterPath)) { in StartDiscovery() 140 device_client->BeginDiscoverySimulation(dbus::ObjectPath(kAdapterPath)); in StartDiscovery() [all …]
|
D | fake_shill_device_client.h | 28 const dbus::ObjectPath& device_path, 31 const dbus::ObjectPath& device_path, 33 virtual void GetProperties(const dbus::ObjectPath& device_path, 35 virtual void ProposeScan(const dbus::ObjectPath& device_path, 37 virtual void SetProperty(const dbus::ObjectPath& device_path, 42 virtual void ClearProperty(const dbus::ObjectPath& device_path, 46 const dbus::ObjectPath& device_path, 49 virtual void RequirePin(const dbus::ObjectPath& device_path, 54 virtual void EnterPin(const dbus::ObjectPath& device_path, 58 virtual void UnblockPin(const dbus::ObjectPath& device_path, [all …]
|
D | mock_shill_service_client.h | 23 void(const dbus::ObjectPath& service_path, 26 void(const dbus::ObjectPath& service_path, 28 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& service_path, 30 MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& service_path, 35 MOCK_METHOD4(SetProperties, void(const dbus::ObjectPath& service_path, 39 MOCK_METHOD4(ClearProperty, void(const dbus::ObjectPath& service_path, 43 MOCK_METHOD4(ClearProperties, void(const dbus::ObjectPath& service_path, 47 MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path, 50 MOCK_METHOD3(Disconnect, void(const dbus::ObjectPath& service_path, 53 MOCK_METHOD3(Remove, void(const dbus::ObjectPath& service_path, [all …]
|
D | fake_shill_service_client.h | 31 const dbus::ObjectPath& service_path, 34 const dbus::ObjectPath& service_path, 36 virtual void GetProperties(const dbus::ObjectPath& service_path, 38 virtual void SetProperty(const dbus::ObjectPath& service_path, 43 virtual void SetProperties(const dbus::ObjectPath& service_path, 47 virtual void ClearProperty(const dbus::ObjectPath& service_path, 51 virtual void ClearProperties(const dbus::ObjectPath& service_path, 55 virtual void Connect(const dbus::ObjectPath& service_path, 58 virtual void Disconnect(const dbus::ObjectPath& service_path, 61 virtual void Remove(const dbus::ObjectPath& service_path, [all …]
|
D | shill_device_client.h | 25 class ObjectPath; variable 68 const dbus::ObjectPath& device_path, 73 const dbus::ObjectPath& device_path, 78 virtual void GetProperties(const dbus::ObjectPath& device_path, 83 virtual void ProposeScan(const dbus::ObjectPath& device_path, 88 virtual void SetProperty(const dbus::ObjectPath& device_path, 96 virtual void ClearProperty(const dbus::ObjectPath& device_path, 102 virtual void AddIPConfig(const dbus::ObjectPath& device_path, 108 virtual void RequirePin(const dbus::ObjectPath& device_path, 116 virtual void EnterPin(const dbus::ObjectPath& device_path, [all …]
|
D | fake_nfc_adapter_client.cc | 82 dbus::ObjectPath(kAdapterPath0)))); in FakeNfcAdapterClient() 88 dbus::ObjectPath(kAdapterPath1)))); in FakeNfcAdapterClient() 106 std::vector<dbus::ObjectPath> FakeNfcAdapterClient::GetAdapters() { in GetAdapters() 107 std::vector<dbus::ObjectPath> object_paths; in GetAdapters() 109 object_paths.push_back(dbus::ObjectPath(kAdapterPath0)); in GetAdapters() 111 object_paths.push_back(dbus::ObjectPath(kAdapterPath1)); in GetAdapters() 116 FakeNfcAdapterClient::GetProperties(const dbus::ObjectPath& object_path) { in GetProperties() 117 if (object_path == dbus::ObjectPath(kAdapterPath0)) in GetProperties() 119 if (object_path == dbus::ObjectPath(kAdapterPath1)) in GetProperties() 125 const dbus::ObjectPath& object_path, in StartPollLoop() [all …]
|
D | shill_service_client.h | 25 class ObjectPath; variable 90 const dbus::ObjectPath& service_path, 95 const dbus::ObjectPath& service_path, 100 virtual void GetProperties(const dbus::ObjectPath& service_path, 105 virtual void SetProperty(const dbus::ObjectPath& service_path, 113 virtual void SetProperties(const dbus::ObjectPath& service_path, 120 virtual void ClearProperty(const dbus::ObjectPath& service_path, 127 virtual void ClearProperties(const dbus::ObjectPath& service_path, 134 virtual void Connect(const dbus::ObjectPath& service_path, 140 virtual void Disconnect(const dbus::ObjectPath& service_path, [all …]
|
D | bluetooth_device_client.h | 69 dbus::Property<dbus::ObjectPath> adapter; 95 virtual void DeviceAdded(const dbus::ObjectPath& object_path) {} in DeviceAdded() 99 virtual void DeviceRemoved(const dbus::ObjectPath& object_path) {} in DeviceRemoved() 103 virtual void DevicePropertyChanged(const dbus::ObjectPath& object_path, in DevicePropertyChanged() 117 virtual std::vector<dbus::ObjectPath> GetDevicesForAdapter( 118 const dbus::ObjectPath& adapter_path) = 0; 122 virtual Properties* GetProperties(const dbus::ObjectPath& object_path) = 0; 134 virtual void Connect(const dbus::ObjectPath& object_path, 140 virtual void Disconnect(const dbus::ObjectPath& object_path, 147 virtual void ConnectProfile(const dbus::ObjectPath& object_path, [all …]
|
D | fake_bluetooth_agent_service_provider.h | 26 FakeBluetoothAgentServiceProvider(const dbus::ObjectPath& object_path, 33 virtual void RequestPinCode(const dbus::ObjectPath& device_path, 35 virtual void DisplayPinCode(const dbus::ObjectPath& device_path, 37 virtual void RequestPasskey(const dbus::ObjectPath& device_path, 39 virtual void DisplayPasskey(const dbus::ObjectPath& device_path, 42 const dbus::ObjectPath& device_path, 46 const dbus::ObjectPath& device_path, 49 const dbus::ObjectPath& device_path, 58 dbus::ObjectPath object_path_;
|
D | modem_messaging_client.h | 17 class ObjectPath; variable 29 typedef base::Callback<void(const dbus::ObjectPath& message_path, 31 typedef base::Callback<void(const std::vector<dbus::ObjectPath>& paths)> 42 const dbus::ObjectPath& object_path, 47 const dbus::ObjectPath& object_path) = 0; 51 const dbus::ObjectPath& object_path, 52 const dbus::ObjectPath& sms_path, 57 const dbus::ObjectPath& object_path,
|
D | modem_messaging_client_unittest.cc | 30 MOCK_METHOD2(Run, void(const dbus::ObjectPath &sms, bool complete)); 42 MOCK_METHOD1(Run, void(const std::vector<dbus::ObjectPath>& result)); 66 dbus::ObjectPath(kObjectPath)); in SetUp() 81 GetObjectProxy(kServiceName, dbus::ObjectPath(kObjectPath))) in SetUp() 103 dbus::ObjectPath sms_path; in OnDelete() 126 void CheckResult(const std::vector<dbus::ObjectPath>& result) { in CheckResult() 142 dbus::ObjectPath expected_sms_path_; 146 std::vector<dbus::ObjectPath>* expected_result_; 166 const dbus::ObjectPath kSmsPath("/SMS/0"); in TEST_F() 171 client_->SetSmsReceivedHandler(kServiceName, dbus::ObjectPath(kObjectPath), in TEST_F() [all …]
|
D | fake_modem_messaging_client.cc | 23 const dbus::ObjectPath& object_path, in SetSmsReceivedHandler() 31 const dbus::ObjectPath& object_path) { in ResetSmsReceivedHandler() 36 const dbus::ObjectPath& object_path, in Delete() 37 const dbus::ObjectPath& sms_path, in Delete() 39 std::vector<dbus::ObjectPath>::iterator it( in Delete() 47 const dbus::ObjectPath& object_path, in List() 53 std::vector<dbus::ObjectPath> no_paths; in List() 54 const dbus::ObjectPath kSmsPath("/SMS/0"); in List()
|
D | shill_ipconfig_client.h | 25 class ObjectPath; variable 48 const dbus::ObjectPath& ipconfig_path, 53 const dbus::ObjectPath& ipconfig_path, 58 virtual void Refresh(const dbus::ObjectPath& ipconfig_path, 63 virtual void GetProperties(const dbus::ObjectPath& ipconfig_path, 68 virtual void SetProperty(const dbus::ObjectPath& ipconfig_path, 75 virtual void ClearProperty(const dbus::ObjectPath& ipconfig_path, 81 virtual void Remove(const dbus::ObjectPath& ipconfig_path,
|
D | nfc_adapter_client.h | 49 dbus::Property<std::vector<dbus::ObjectPath> > tags; 54 dbus::Property<std::vector<dbus::ObjectPath> > devices; 68 virtual void AdapterAdded(const dbus::ObjectPath& object_path) {} in AdapterAdded() 72 virtual void AdapterRemoved(const dbus::ObjectPath& object_path) {} in AdapterRemoved() 76 virtual void AdapterPropertyChanged(const dbus::ObjectPath& object_path, in AdapterPropertyChanged() 89 virtual std::vector<dbus::ObjectPath> GetAdapters() = 0; 94 virtual Properties* GetProperties(const dbus::ObjectPath& object_path) = 0; 103 const dbus::ObjectPath& object_path, 110 const dbus::ObjectPath& object_path,
|
D | bluetooth_agent_service_provider.h | 77 virtual void RequestPinCode(const dbus::ObjectPath& device_path, 89 virtual void DisplayPinCode(const dbus::ObjectPath& device_path, 101 virtual void RequestPasskey(const dbus::ObjectPath& device_path, 117 virtual void DisplayPasskey(const dbus::ObjectPath& device_path, 131 virtual void RequestConfirmation(const dbus::ObjectPath& device_path, 142 virtual void RequestAuthorization(const dbus::ObjectPath& device_path, 150 virtual void AuthorizeService(const dbus::ObjectPath& device_path, 167 const dbus::ObjectPath& object_path,
|
/external/chromium_org/dbus/ |
D | object_manager_unittest.cc | 37 Property<std::vector<ObjectPath> > objects; 52 const ObjectPath& object_path, in CreateProperties() 89 ObjectPath("/org/chromium/TestService")); in SetUp() 117 virtual void ObjectAdded(const ObjectPath& object_path, in ObjectAdded() 124 virtual void ObjectRemoved(const ObjectPath& object_path, in ObjectRemoved() 131 void OnPropertyChanged(const ObjectPath& object_path, in OnPropertyChanged() 162 void PerformAction(const std::string& action, const ObjectPath& object_path) { in PerformAction() 165 ObjectPath("/org/chromium/TestObject")); in PerformAction() 185 std::vector<std::pair<ObjectPath, std::string> > added_objects_; 186 std::vector<std::pair<ObjectPath, std::string> > removed_objects_; [all …]
|
D | object_path.cc | 13 bool ObjectPath::IsValid() const { in IsValid() 17 bool ObjectPath::operator<(const ObjectPath& that) const { in operator <() 21 bool ObjectPath::operator==(const ObjectPath& that) const { in operator ==() 25 bool ObjectPath::operator!=(const ObjectPath& that) const { in operator !=() 29 void PrintTo(const ObjectPath& path, std::ostream* out) { in PrintTo()
|
D | object_manager.h | 154 const dbus::ObjectPath& object_path, 166 virtual void ObjectAdded(const ObjectPath& object_path, in ObjectAdded() 178 virtual void ObjectRemoved(const ObjectPath& object_path, in ObjectRemoved() 185 const ObjectPath& object_path); 201 std::vector<ObjectPath> GetObjects(); 205 std::vector<ObjectPath> GetObjectsWithInterface( 211 ObjectProxy* GetObjectProxy(const ObjectPath& object_path); 218 PropertySet* GetProperties(const ObjectPath& object_path, 254 void UpdateObject(const ObjectPath& object_path, MessageReader* reader); 265 void AddInterface(const ObjectPath& object_path, [all …]
|
D | object_path.h | 19 class CHROME_DBUS_EXPORT ObjectPath { 28 ObjectPath() {} in ObjectPath() function 29 explicit ObjectPath(const std::string& value) : value_(value) {} in ObjectPath() function 39 bool operator<(const ObjectPath&) const; 43 bool operator==(const ObjectPath&) const; 44 bool operator!=(const ObjectPath&) const; 51 CHROME_DBUS_EXPORT void PrintTo(const ObjectPath& path, std::ostream* out);
|
/external/chromium_org/chromeos/network/ |
D | managed_network_configuration_handler_unittest.cc | 88 void GetProperties(const dbus::ObjectPath& profile_path, in GetProperties() 111 void GetEntry(const dbus::ObjectPath& profile_path, in GetEntry() 285 GetProperties(dbus::ObjectPath(kUser1ProfilePath), _, _)); in TEST_F() 289 dbus::ObjectPath(kUser1ProfilePath), in TEST_F() 306 GetProperties(dbus::ObjectPath(kUser1ProfilePath), _, _)); in TEST_F() 310 dbus::ObjectPath(kUser1ProfilePath), in TEST_F() 339 GetProperties(dbus::ObjectPath(kUser1ProfilePath), _, _)); in TEST_F() 342 GetEntry(dbus::ObjectPath(kUser1ProfilePath), _, _, _)).Times(2); in TEST_F() 346 DeleteEntry(dbus::ObjectPath(kUser1ProfilePath), "eth_entry", _, _)); in TEST_F() 350 ConfigureServiceForProfile(dbus::ObjectPath(kUser1ProfilePath), in TEST_F() [all …]
|
/external/chromium_org/device/nfc/ |
D | nfc_adapter_chromeos.h | 54 virtual void AdapterAdded(const dbus::ObjectPath& object_path) OVERRIDE; 55 virtual void AdapterRemoved(const dbus::ObjectPath& object_path) OVERRIDE; 57 const dbus::ObjectPath& object_path, 61 virtual void DeviceAdded(const dbus::ObjectPath& object_path) OVERRIDE; 62 virtual void DeviceRemoved(const dbus::ObjectPath& object_path) OVERRIDE; 63 virtual void DevicePropertyChanged(const dbus::ObjectPath& object_path, 67 virtual void TagAdded(const dbus::ObjectPath& object_path) OVERRIDE; 68 virtual void TagRemoved(const dbus::ObjectPath& object_path) OVERRIDE; 69 virtual void TagPropertyChanged(const dbus::ObjectPath& object_path, 74 void SetAdapter(const dbus::ObjectPath& object_path); [all …]
|