Home
last modified time | relevance | path

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

12

/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.h53 struct DeviceState { struct
54 DeviceState();
55 ~DeviceState();
72 virtual void DevicesUpdated(const ScopedVector<DeviceState>& devices) {} in DevicesUpdated() argument
73 virtual void DevicesDiscovered(const ScopedVector<DeviceState>& devices) {} in DevicesDiscovered()
107 void OnDevicesUpdated(const ScopedVector<DeviceState>* devices);
108 void OnDevicesDiscovered(const ScopedVector<DeviceState>* devices);
138 ScopedVector<DeviceState>* device_list);
141 void DiscoverServices(ScopedVector<DeviceState>* device_list);
Dbluetooth_task_manager_win.cc61 device::BluetoothTaskManagerWin::DeviceState* state) { in GetDeviceState()
138 BluetoothTaskManagerWin::DeviceState::DeviceState() in DeviceState() function in device::BluetoothTaskManagerWin::DeviceState
145 BluetoothTaskManagerWin::DeviceState::~DeviceState() { in ~DeviceState()
259 const ScopedVector<DeviceState>* devices) { in OnDevicesUpdated()
266 const ScopedVector<DeviceState>* devices) { in OnDevicesDiscovered()
363 ScopedVector<DeviceState>* device_list = new ScopedVector<DeviceState>(); in DiscoverDevices()
391 ScopedVector<DeviceState>* device_list = new ScopedVector<DeviceState>(); in GetKnownDevices()
408 ScopedVector<DeviceState>* device_list) { in SearchDevices()
426 DeviceState* device_state = new DeviceState(); in SearchDevices()
436 ScopedVector<DeviceState>* device_list) { in DiscoverServices()
[all …]
Dbluetooth_adapter_win_unittest.cc24 device::BluetoothTaskManagerWin::DeviceState* state) { in MakeDeviceState()
491 BluetoothTaskManagerWin::DeviceState* android_phone_state = in TEST_F()
492 new BluetoothTaskManagerWin::DeviceState(); in TEST_F()
494 BluetoothTaskManagerWin::DeviceState* laptop_state = in TEST_F()
495 new BluetoothTaskManagerWin::DeviceState(); in TEST_F()
497 BluetoothTaskManagerWin::DeviceState* iphone_state = in TEST_F()
498 new BluetoothTaskManagerWin::DeviceState(); in TEST_F()
500 ScopedVector<BluetoothTaskManagerWin::DeviceState> devices; in TEST_F()
Dbluetooth_adapter_win.cc216 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) { in DevicesDiscovered()
218 for (ScopedVector<BluetoothTaskManagerWin::DeviceState>::const_iterator iter = in DevicesDiscovered()
234 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices) { in DevicesUpdated()
236 for (ScopedVector<BluetoothTaskManagerWin::DeviceState>::const_iterator iter = in DevicesUpdated()
Dbluetooth_adapter_win.h75 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices)
79 const ScopedVector<BluetoothTaskManagerWin::DeviceState>& devices)
Dbluetooth_device_win_unittest.cc47 BluetoothTaskManagerWin::DeviceState device_state; in BluetoothDeviceWinTest()
/external/chromium_org/chromeos/network/
Ddevice_state.cc17 DeviceState::DeviceState(const std::string& path) in DeviceState() function in chromeos::DeviceState
28 DeviceState::~DeviceState() { in ~DeviceState()
31 bool DeviceState::PropertyChanged(const std::string& key, in PropertyChanged()
116 bool DeviceState::InitialPropertiesReceived( in InitialPropertiesReceived()
126 void DeviceState::IPConfigPropertiesChanged( in IPConfigPropertiesChanged()
142 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;
Dmanaged_state.cc47 return new DeviceState(path); in Create()
58 DeviceState* ManagedState::AsDeviceState() { in AsDeviceState()
60 return static_cast<DeviceState*>(this); in AsDeviceState()
Dmanaged_state.h21 class DeviceState; variable
43 DeviceState* 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()
650 DeviceState* device = GetModifiableDeviceState(path); in UpdateIPConfigProperties()
821 DeviceState* NetworkStateHandler::GetModifiableDeviceState( in GetModifiableDeviceState()
/external/chromium_org/chrome/browser/ui/webui/chromeos/
Dsim_unlock_ui.cc202 const DeviceState* GetCellularDevice();
249 void ProcessSimCardState(const DeviceState* cellular);
252 void UpdatePage(const DeviceState* cellular, const std::string& error_msg);
397 const DeviceState* cellular_device = GetCellularDevice(); in DeviceListChanged()
422 const DeviceState* cellular = GetCellularDevice(); in OnPinOperationCompleted()
451 const DeviceState* SimUnlockHandler::GetCellularDevice() { in GetCellularDevice()
506 const DeviceState* cellular = GetCellularDevice(); in ChangeRequirePin()
526 const DeviceState* cellular = GetCellularDevice(); in EnterPin()
546 const DeviceState* cellular = GetCellularDevice(); in ChangePin()
567 const DeviceState* cellular = GetCellularDevice(); in UnblockPin()
[all …]
Dchoose_mobile_network_ui.cc127 const DeviceState* cellular = in ChooseMobileNetworkHandler()
163 const DeviceState* cellular = GetNetworkStateHandler()->GetDeviceState( in DeviceListChanged()
176 const DeviceState::CellularScanResults& scan_results = in DeviceListChanged()
179 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/qemu/include/migration/
Dvmstate.h65 int register_savevm(DeviceState* dev,
73 int register_savevm_live(DeviceState* dev,
80 void unregister_savevm(DeviceState* dev, const char *idstr, void *opaque);
81 void register_device_unmigratable(DeviceState *dev, const char *idstr,
735 int vmstate_register_with_alias_id(DeviceState *dev, int instance_id,
740 static inline int vmstate_register(DeviceState *dev, int instance_id, in vmstate_register()
748 void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd,
753 void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev);
754 void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev);
/external/qemu/include/net/
Dnet.h139 void qdev_get_macaddr(DeviceState *dev, uint8_t *macaddr);
140 VLANClientState *qdev_get_vlan_client(DeviceState *dev,
/external/qemu/include/exec/
Dcpu-common.h84 ram_addr_t qemu_ram_alloc_from_ptr(DeviceState *dev, const char *name,
86 ram_addr_t qemu_ram_alloc(DeviceState *dev, const char *name, ram_addr_t size);
/external/qemu/include/block/
Dblock.h74 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev);
75 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev);
76 DeviceState *bdrv_get_attached(BlockDriverState *bs);
/external/qemu/hw/arm/
Darmv7m.c138 DeviceState *dev; in armv7m_bitband_init()
160 DeviceState *nvic; in armv7m_init()

12