/system/connectivity/shill/test-scripts/ |
H A D | disable-device | 6 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 D | enable-device | 6 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 D | get-profile-entry | 30 device = flim.FindElementByPropertySubstring('Profile', variable
|
H A D | list-ipconfigs | 6 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 D | show-introspection | 16 device = dbus.Interface(bus.get_object("org.chromium.flimflam", path), variable 18 print device.Introspect()
|
/system/connectivity/shill/cellular/ |
H A D | mock_cellular_service.cc | 30 const CellularRefPtr& device) 31 : CellularService(modem_info, device), 29 MockCellularService(ModemInfo* modem_info, const CellularRefPtr& device) argument
|
/system/connectivity/shill/ |
H A D | ppp_device_unittest.cc | 46 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 D | ppp_daemon.cc | 46 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 D | ppp_daemon_unittest.cc | 51 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 D | module.cpp | 28 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 D | chromeos_device_dbus_adaptor.h | 35 // 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 D | fake_boot_control.h | 47 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 D | device_dbus_adaptor.cc | 22 #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 D | dbus_control.cc | 99 Device* device) { 101 new DeviceDBusAdaptor(bus_, object_manager_.get(), device)); 98 CreateDeviceAdaptor( Device* device) argument
|
/system/connectivity/apmanager/ |
H A D | manager_unittest.cc | 38 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 D | device_binder_adaptor.h | 52 // 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 D | transport_test.cpp | 127 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 D | audio_device_handler_test.cpp | 16 // 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 D | EmulatedVolume.cpp | 46 EmulatedVolume::EmulatedVolume(const std::string& rawPath, dev_t device, argument 48 setId(StringPrintf("emulated:%u,%u", major(device), minor(device)));
|
H A D | PublicVolume.cpp | 44 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 D | shill_client.h | 66 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 D | binder_weave_service.cc | 21 #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 D | keymaster0_engine.h | 40 * 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 D | alsa_device_profile.h | 40 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 D | operation.h | 73 const keymaster2_device_t* device, 78 const keymaster2_device_t* device; member in struct:android::OperationMap::Operation
|