Searched defs:device (Results 1 - 25 of 98) sorted by relevance

1234

/system/connectivity/shill/test-scripts/
H A Ddisable-device6 print "Usage: %s <device | interface>" % (sys.argv[0])
13 device = flim.FindElementByNameSubstring('Device', name) variable
14 if device is None:
15 device = flim.FindElementByPropertySubstring('Device', 'Interface', name) variable
17 print "Disabling device %s" % (device.object_path)
21 device.Disable()
23 device.SetProperty("Powered", dbus.Boolean(0))
H A Denable-device6 print "Usage: %s <device | interface>" % (sys.argv[0])
13 device = flim.FindElementByNameSubstring('Device', name) variable
14 if device is None:
15 device = flim.FindElementByPropertySubstring('Device', 'Interface', name) variable
17 print "Enabling device %s" % (device.object_path)
21 device.Enable()
23 device.SetProperty("Powered", dbus.Boolean(1))
H A Dget-profile-entry30 device = flim.FindElementByPropertySubstring('Profile', variable
H A Dlist-ipconfigs6 print "Usage: %s <device | interface>" % (sys.argv[0])
13 device = flim.FindElementByNameSubstring('Device', name) variable
14 if device is None:
15 device = flim.FindElementByPropertySubstring('Device', 'Interface', name) variable
16 if device is None:
17 print "No such device or interface %s" % name
20 properties = device.GetProperties(utf8_strings = True)
H A Dshow-introspection16 device = dbus.Interface(bus.get_object("org.chromium.flimflam", path), variable
18 print device.Introspect()
/system/connectivity/shill/cellular/
H A Dmock_cellular_service.cc30 const CellularRefPtr& device)
31 : CellularService(modem_info, device),
29 MockCellularService(ModemInfo* modem_info, const CellularRefPtr& device) argument
/system/connectivity/shill/
H A Dppp_device_unittest.cc46 scoped_refptr<PPPDevice> device = new PPPDevice(&control, nullptr, &metrics, local
60 IPConfig::Properties props = device->ParseIPConfiguration("in-test", config);
77 IPConfig::Properties props2 = device->ParseIPConfiguration("in-test", config);
H A Dppp_daemon.cc46 const std::string& device,
87 arguments.push_back(device);
41 Start( ControlInterface* control_interface, ProcessManager* process_manager, const base::WeakPtr<RPCTaskDelegate>& task_delegate, const PPPDaemon::Options& options, const std::string& device, const PPPDaemon::DeathCallback& death_callback, Error* error) argument
H A Dppp_daemon_unittest.cc51 const std::string& device,
57 options, device, callback, error);
50 Start(const PPPDaemon::Options& options, const std::string& device, Error* error) argument
/system/core/trusty/gatekeeper/
H A Dmodule.cpp28 hw_device_t **device) {
36 *device = gatekeeper->hw_device();
27 trusty_gatekeeper_open(const hw_module_t *module, const char *name, hw_device_t **device) argument
/system/connectivity/shill/dbus/
H A Dchromeos_device_dbus_adaptor.h35 // so we're OK with DeviceDBusAdaptor having a bare pointer to its owner device.
46 Device* device);
113 Device* device() const { return device_; } function in class:shill::ChromeosDeviceDBusAdaptor
/system/update_engine/common/
H A Dfake_boot_control.h47 std::string* device) const override {
53 *device = part_it->second;
90 const std::string device) {
92 devices_[slot][partition_name] = device;
88 SetPartitionDevice(const std::string partition_name, BootControlInterface::Slot slot, const std::string device) argument
/system/connectivity/apmanager/dbus/
H A Ddevice_dbus_adaptor.cc22 #include "apmanager/device.h"
34 Device* device)
39 device->identifier())),
31 DeviceDBusAdaptor( const scoped_refptr<dbus::Bus>& bus, ExportedObjectManager* object_manager, Device* device) argument
H A Ddbus_control.cc99 Device* device) {
101 new DeviceDBusAdaptor(bus_, object_manager_.get(), device));
98 CreateDeviceAdaptor( Device* device) argument
/system/connectivity/apmanager/
H A Dmanager_unittest.cc38 void RegisterDevice(scoped_refptr<Device> device) { argument
39 manager_.devices_.push_back(device);
48 // Register a device without AP support (no preferred AP interface).
52 // No available device for AP operation.
55 // Add AP support to the device.
60 // Register another device with AP support.
66 // Both devices are idle by default, should return the first added device.
69 // Set first one to be in used, should return the non-used device.
/system/connectivity/shill/binder/
H A Ddevice_binder_adaptor.h52 // owner device.
58 DeviceBinderAdaptor(Device* device, const std::string& id);
92 Device* device() const { return device_; } function in class:shill::DeviceBinderAdaptor
/system/core/adb/
H A Dtransport_test.cpp127 ASSERT_EQ(nullptr, t.device);
134 "host::ro.product.name=foo;ro.product.model=bar;ro.product.device=baz;";
143 ASSERT_EQ(std::string("baz"), t.device);
150 "host::ro.product.name=foo;ro.product.model=bar;ro.product.device=baz;"
162 ASSERT_EQ(std::string("baz"), t.device);
170 std::string device = "test_device"; local
177 t.device = &device[0];
187 EXPECT_TRUE(t.MatchesTarget("device:" + device));
[all...]
/system/media/brillo/audio/audioservice/test/
H A Daudio_device_handler_test.cpp16 // Tests for audio device handler.
223 audio_devices_t device = AUDIO_DEVICE_IN_WIRED_HEADSET; local
224 handler_.connected_input_devices_.insert(device);
226 NotifyAudioPolicyService(device,
235 audio_devices_t device = AUDIO_DEVICE_OUT_WIRED_HEADPHONE; local
236 handler_.connected_output_devices_.insert(device);
238 NotifyAudioPolicyService(device,
301 // Test ConnectAudioDevice() with an input device.
303 audio_devices_t device = AUDIO_DEVICE_IN_WIRED_HEADSET; local
305 NotifyAudioPolicyService(device,
316 audio_devices_t device = AUDIO_DEVICE_OUT_WIRED_HEADSET; local
329 audio_devices_t device = AUDIO_DEVICE_IN_WIRED_HEADSET; local
342 audio_devices_t device = AUDIO_DEVICE_OUT_WIRED_HEADSET; local
[all...]
/system/vold/
H A DEmulatedVolume.cpp46 EmulatedVolume::EmulatedVolume(const std::string& rawPath, dev_t device, argument
48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device)));
H A DPublicVolume.cpp44 PublicVolume::PublicVolume(dev_t device) : argument
45 VolumeBase(Type::kPublic), mDevice(device), mFusePid(0) {
46 setId(StringPrintf("public:%u,%u", major(device), minor(device)));
/system/weaved/buffet/
H A Dshill_client.h66 std::unique_ptr<org::chromium::flimflam::DeviceProxy> device; member in struct:buffet::final::DeviceState
68 // also be the selected service for a device, but is not always the selected
77 bool IsMonitoredDevice(org::chromium::flimflam::DeviceProxy* device);
116 // There is logic that assumes we will never change this device list
H A Dbinder_weave_service.cc21 #include <weave/device.h>
33 weave::Device* device,
35 : device_{device}, client_{client} {}
32 BinderWeaveService( weave::Device* device, android::sp<android::weave::IWeaveClient> client) argument
/system/keymaster/
H A Dkeymaster0_engine.h40 * ownership of the device, and will close it during destruction.
62 const keymaster0_device_t* device() { return keymaster0_device_; } function in class:keymaster::Keymaster0Engine
/system/media/alsa_utils/include/
H A Dalsa_device_profile.h40 int device; member in struct:__anon1795
51 /* read from the hardware device */
64 bool profile_is_cached_for(alsa_device_profile* profile, int card, int device);
/system/security/keystore/
H A Doperation.h73 const keymaster2_device_t* device,
78 const keymaster2_device_t* device; member in struct:android::OperationMap::Operation

Completed in 1543 milliseconds

1234