Home
last modified time | relevance | path

Searched refs:DeviceState (Results 1 – 25 of 58) sorted by relevance

123

/external/qemu/include/hw/
Dqdev-core.h13 struct DeviceState { struct
23 QLIST_ENTRY(DeviceState) sibling; argument
35 DeviceState *parent;
38 QLIST_HEAD(, DeviceState) children;
44 DeviceState *qdev_create(BusState *bus, const char *name);
45 void qdev_init(DeviceState *dev);
46 void qdev_free(DeviceState *dev);
49 void qdev_set_prop_int(DeviceState *dev, const char *name, uint64_t value);
50 void qdev_set_prop_dev(DeviceState *dev, const char *name, DeviceState *value);
51 void qdev_set_prop_ptr(DeviceState *dev, const char *name, void *value);
[all …]
Dsysbus.h16 DeviceState qdev;
54 DeviceState *sysbus_create_varargs(const char *name,
56 static inline DeviceState *sysbus_create_simple(const char *name, in sysbus_create_simple()
/external/qemu/hw/core/
Dqdev.c60 assert(info->size >= sizeof(DeviceState)); in qdev_register()
71 DeviceState *qdev_create(BusState *bus, const char *name) in qdev_create()
74 DeviceState *dev; in qdev_create()
151 DeviceState *qdev_device_add(QemuOpts *opts) in qdev_device_add()
158 DeviceState *qdev; in qdev_device_add()
222 void qdev_init(DeviceState *dev) in qdev_init()
228 void qdev_free(DeviceState *dev) in qdev_free()
234 static DeviceProperty *create_prop(DeviceState *dev, const char *name, in create_prop()
249 void qdev_set_prop_int(DeviceState *dev, const char *name, uint64_t value) in qdev_set_prop_int()
257 void qdev_set_prop_dev(DeviceState *dev, const char *name, DeviceState *value) in qdev_set_prop_dev()
[all …]
Dsysbus.c102 static void sysbus_device_init(DeviceState *dev, DeviceInfo *base) in sysbus_device_init()
129 DeviceState *sysbus_create_varargs(const char *name, in sysbus_create_varargs()
132 DeviceState *dev; in sysbus_create_varargs()
157 void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent) in sysbus_dev_print()
/external/chromium_org/device/bluetooth/
Dbluetooth_task_manager_win.h57 struct DeviceState { struct
58 DeviceState();
59 ~DeviceState();
90 virtual void DevicesPolled(const ScopedVector<DeviceState>& devices) {} in DevicesPolled() argument
128 void OnDevicesPolled(const ScopedVector<DeviceState>* devices);
160 ScopedVector<DeviceState>* device_list);
166 ScopedVector<DeviceState>* device_list);
169 bool SearchLowEnergyDevices(ScopedVector<DeviceState>* device_list);
172 bool DiscoverServices(ScopedVector<DeviceState>* device_list,
Dbluetooth_task_manager_win.cc99 device::BluetoothTaskManagerWin::DeviceState* state) { in GetDeviceState()
127 BluetoothTaskManagerWin::DeviceState::DeviceState() in DeviceState() function in device::BluetoothTaskManagerWin::DeviceState
134 BluetoothTaskManagerWin::DeviceState::~DeviceState() { in ~DeviceState()
281 const ScopedVector<DeviceState>* devices) { in OnDevicesPolled()
379 scoped_ptr<ScopedVector<DeviceState> > device_list( in DiscoverDevices()
380 new ScopedVector<DeviceState>()); in DiscoverDevices()
398 scoped_ptr<ScopedVector<DeviceState> > device_list( in GetKnownDevices()
399 new ScopedVector<DeviceState>()); in GetKnownDevices()
412 ScopedVector<DeviceState>* device_list) { in SearchDevices()
422 ScopedVector<DeviceState>* device_list) { in SearchClassicDevices()
[all …]
Dbluetooth_device_win_unittest.cc51 device_state_.reset(new BluetoothTaskManagerWin::DeviceState()); in BluetoothDeviceWinTest()
74 empty_device_state_.reset(new BluetoothTaskManagerWin::DeviceState()); in BluetoothDeviceWinTest()
86 scoped_ptr<BluetoothTaskManagerWin::DeviceState> device_state_;
88 scoped_ptr<BluetoothTaskManagerWin::DeviceState> empty_device_state_;
Dbluetooth_device_win.h25 const BluetoothTaskManagerWin::DeviceState& device_state,
81 bool IsEqual(const BluetoothTaskManagerWin::DeviceState& device_state);
85 void Update(const BluetoothTaskManagerWin::DeviceState& device_state);
99 void UpdateServices(const BluetoothTaskManagerWin::DeviceState& device_state);
Dbluetooth_device_win.cc30 const BluetoothTaskManagerWin::DeviceState& device_state, in BluetoothDeviceWin()
47 const BluetoothTaskManagerWin::DeviceState& device_state) { in Update()
60 const BluetoothTaskManagerWin::DeviceState& device_state) { in UpdateServices()
79 const BluetoothTaskManagerWin::DeviceState& device_state) { in IsEqual()
Dbluetooth_adapter_win_unittest.cc32 device::BluetoothTaskManagerWin::DeviceState* state) { in MakeDeviceState()
511 BluetoothTaskManagerWin::DeviceState* android_phone_state = in TEST_F()
512 new BluetoothTaskManagerWin::DeviceState(); in TEST_F()
514 BluetoothTaskManagerWin::DeviceState* laptop_state = in TEST_F()
515 new BluetoothTaskManagerWin::DeviceState(); in TEST_F()
517 BluetoothTaskManagerWin::DeviceState* iphone_state = in TEST_F()
518 new BluetoothTaskManagerWin::DeviceState(); in TEST_F()
520 ScopedVector<BluetoothTaskManagerWin::DeviceState> devices; in TEST_F()
Dbluetooth_adapter_win.cc213 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) { in DevicesPolled()
229 for (ScopedVector<BluetoothTaskManagerWin::DeviceState>::const_iterator iter = in DevicesPolled()
255 for (ScopedVector<BluetoothTaskManagerWin::DeviceState>::const_iterator iter = in DevicesPolled()
259 BluetoothTaskManagerWin::DeviceState* device_state = (*iter); in DevicesPolled()
/external/chromium_org/chromeos/network/
Ddevice_state.cc17 DeviceState::DeviceState(const std::string& path) in DeviceState() function in chromeos::DeviceState
29 DeviceState::~DeviceState() { in ~DeviceState()
32 bool DeviceState::PropertyChanged(const std::string& key, in PropertyChanged()
117 bool DeviceState::InitialPropertiesReceived( in InitialPropertiesReceived()
127 void DeviceState::IPConfigPropertiesChanged( in IPConfigPropertiesChanged()
143 bool DeviceState::IsSimAbsent() const { in IsSimAbsent()
Ddevice_state.h16 class CHROMEOS_EXPORT DeviceState : public ManagedState {
20 explicit DeviceState(const std::string& path);
21 virtual ~DeviceState();
98 DISALLOW_COPY_AND_ASSIGN(DeviceState);
Dnetwork_state_handler.h37 class DeviceState; variable
70 typedef std::vector<const DeviceState*> DeviceStateList;
107 const DeviceState* GetDeviceState(const std::string& device_path) const;
110 const DeviceState* GetDeviceStateByType(const NetworkTypePattern& type) const;
336 DeviceState* GetModifiableDeviceState(const std::string& device_path) const;
355 void NotifyDevicePropertiesUpdated(const DeviceState* device);
Dnetwork_state_handler_observer.h16 class DeviceState; variable
49 virtual void DevicePropertiesUpdated(const DeviceState* device);
Dmanaged_state.cc47 return new DeviceState(path); in Create()
58 DeviceState* ManagedState::AsDeviceState() { in AsDeviceState()
60 return static_cast<DeviceState*>(this); in AsDeviceState()
Dnetwork_state_handler.cc139 const DeviceState* NetworkStateHandler::GetDeviceState( in GetDeviceState()
141 const DeviceState* device = GetModifiableDeviceState(device_path); in GetDeviceState()
147 const DeviceState* NetworkStateHandler::GetDeviceStateByType( in GetDeviceStateByType()
164 const DeviceState* device = (*iter)->AsDeviceState(); in GetScanningByType()
242 const DeviceState* device = NULL; in FormattedHardwareAddressForType()
332 const DeviceState* device = (*iter)->AsDeviceState(); in GetDeviceListByType()
398 const DeviceState* device = GetDeviceState(network->device_path()); in GetEAPForEthernet()
603 DeviceState* device = GetModifiableDeviceState(device_path); in UpdateDeviceProperty()
652 DeviceState* device = GetModifiableDeviceState(path); in UpdateIPConfigProperties()
824 DeviceState* NetworkStateHandler::GetModifiableDeviceState( in GetModifiableDeviceState()
[all …]
Dmanaged_state.h21 class DeviceState; variable
43 DeviceState* AsDeviceState();
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Ddevice_event_router.h19 enum DeviceState { enum
80 DeviceState GetDeviceState(const std::string& device_path) const;
83 void SetDeviceState(const std::string& device_path, DeviceState state);
96 std::map<std::string, DeviceState> device_states_;
Ddevice_event_router.cc144 DeviceState DeviceEventRouter::GetDeviceState( in GetDeviceState()
146 const std::map<std::string, DeviceState>::const_iterator it = in GetDeviceState()
152 DeviceState state) { in SetDeviceState()
156 const std::map<std::string, DeviceState>::iterator it = in SetDeviceState()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Dsim_unlock_ui.cc194 const DeviceState* GetCellularDevice();
229 void ProcessSimCardState(const DeviceState* cellular);
232 void UpdatePage(const DeviceState* cellular, const std::string& error_msg);
375 const DeviceState* cellular_device = GetCellularDevice(); in DeviceListChanged()
400 const DeviceState* cellular = GetCellularDevice(); in OnPinOperationCompleted()
423 const DeviceState* SimUnlockHandler::GetCellularDevice() { in GetCellularDevice()
464 const DeviceState* cellular = GetCellularDevice(); in ChangeRequirePin()
484 const DeviceState* cellular = GetCellularDevice(); in EnterPin()
504 const DeviceState* cellular = GetCellularDevice(); in ChangePin()
525 const DeviceState* cellular = GetCellularDevice(); in UnblockPin()
[all …]
Dchoose_mobile_network_ui.cc125 const DeviceState* cellular = in ChooseMobileNetworkHandler()
161 const DeviceState* cellular = GetNetworkStateHandler()->GetDeviceState( in DeviceListChanged()
174 const DeviceState::CellularScanResults& scan_results = in DeviceListChanged()
177 for (DeviceState::CellularScanResults::const_iterator it = in DeviceListChanged()
/external/qemu/include/qemu/
Dtypedefs.h20 typedef struct DeviceState DeviceState; typedef
/external/qemu/include/hw/pci/
Dpci.h141 DeviceState qdev;
182 PCIBus *pci_register_bus(DeviceState *parent, const char *name,
275 void lsi_scsi_attach(DeviceState *host, BlockDriverState *bd, int id);
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.h20 class DeviceState; variable
94 const chromeos::DeviceState* device) OVERRIDE;

123