HomeSort by relevance Sort by last modified time
    Searched full:iface_name (Results 1 - 25 of 33) sorted by null

1 2

  /frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/tethering/
TetherInterfaceStateMachineTest.java 54 private static final String IFACE_NAME = "testnet1";
67 mTestedSm = new TetherInterfaceStateMachine(IFACE_NAME, mLooper.getLooper(), interfaceType,
74 when(mNMService.getInterfaceConfig(IFACE_NAME)).thenReturn(mInterfaceConfiguration);
84 when(mNMService.getInterfaceConfig(IFACE_NAME)).thenReturn(mInterfaceConfiguration);
93 mTestedSm = new TetherInterfaceStateMachine(IFACE_NAME, mLooper.getLooper(),
98 IFACE_NAME, mTestedSm, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR);
128 IFACE_NAME, mTestedSm, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR);
138 inOrder.verify(mNMService).tetherInterface(IFACE_NAME);
140 IFACE_NAME, mTestedSm, STATE_TETHERED, TETHER_ERROR_NO_ERROR);
150 inOrder.verify(mNMService).untetherInterface(IFACE_NAME);
    [all...]
  /external/autotest/client/site_tests/network_NegotiatedLANSpeed/
network_NegotiatedLANSpeed.py 9 def run_once(self, iface_name = 'eth0'):
11 if not self.iface_up(iface_name):
12 utils.system('ifconfig %s up' % iface_name)
13 if not self.iface_up(iface_name):
16 if not int(self.get_speed(iface_name)) >= 1000:
control 14 job.run_test('network_NegotiatedLANSpeed', iface_name = 'eth0', tag = 'eth0')
  /system/connectivity/apmanager/
device_info.cc 143 string iface_name(reinterpret_cast<const char*>(b.GetConstData()));
147 AddLinkMsgHandler(iface_name, dev_index);
149 DelLinkMsgHandler(iface_name, dev_index);
155 void DeviceInfo::AddLinkMsgHandler(const string& iface_name, int iface_index) {
157 if (!IsWifiInterface(iface_name)) {
158 LOG(INFO) << "Ignore link event for non-wifi interface: " << iface_name;
165 LOG(INFO) << "AddLinkMsgHandler: interface " << iface_name
172 wifi_interface.iface_name = iface_name;
180 void DeviceInfo::DelLinkMsgHandler(const string& iface_name, int iface_index)
    [all...]
device_info.h 71 void AddLinkMsgHandler(const std::string& iface_name, int iface_index);
72 void DelLinkMsgHandler(const std::string& iface_name, int iface_index);
74 // Return true if the specify |iface_name| is a wifi interface, false
76 bool IsWifiInterface(const std::string& iface_name);
79 // |iface_name| in output parameter |contents_out|. Return true if file
81 bool GetDeviceInfoContents(const std::string& iface_name,
device_unittest.cc 176 VerifyPreferredApInterface(kManagedModeInterface0.iface_name);
180 VerifyPreferredApInterface(kApModeInterface0.iface_name);
187 VerifyPreferredApInterface(kApModeInterface0.iface_name);
192 VerifyPreferredApInterface(kApModeInterface1.iface_name);
197 VerifyPreferredApInterface(kManagedModeInterface0.iface_name);
202 VerifyPreferredApInterface(kManagedModeInterface1.iface_name);
303 EXPECT_CALL(manager_, ClaimInterface(kApModeInterface1.iface_name)).Times(1);
305 ClaimInterface(kManagedModeInterface1.iface_name)).Times(1);
316 ReleaseInterface(kApModeInterface1.iface_name)).Times(1);
318 ReleaseInterface(kManagedModeInterface1.iface_name)).Times(1)
    [all...]
device.cc 47 LOG(INFO) << "RegisteringInterface " << new_interface.iface_name
52 LOG(INFO) << "Interface " << new_interface.iface_name
62 LOG(INFO) << "DeregisteringInterface " << interface.iface_name
145 manager_->ClaimInterface(interface.iface_name);
146 claimed_interfaces_.insert(interface.iface_name);
173 if (interface.iface_name == interface_name) {
383 preferred_interface.iface_name.empty()) {
389 SetPreferredApInterface(preferred_interface.iface_name);
device.h 46 : iface_name(in_iface_name),
50 std::string iface_name; member in struct:apmanager::Device::WiFiInterface
55 return this->iface_name == other.iface_name &&
  /art/test/971-iface-super/util-src/
generate_smali.py 217 return "No exception thrown for {iface_name}.super.call() on {tree}\n"
219 return "AbstractMethodError thrown for {iface_name}.super.call() on {tree}\n"
221 return "NoSuchMethodError thrown for {iface_name}.super.call() on {tree}\n"
223 return "IncompatibleClassChangeError thrown for {iface_name}.super.call() on {tree}\n"
270 # System.out.println("Calling {iface_name}.super.call() on {tree}");
271 # {iface_name}.super.call();
272 # System.out.println("No exception thrown for {iface_name}.super.call() on {tree}");
274 # System.out.println("AbstractMethodError thrown for {iface_name}.super.call() on {tree}");
276 # System.out.println("NoSuchMethodError thrown for {iface_name}.super.call() on {tree}");
278 # System.out.println("IncompatibleClassChangeError thrown for {iface_name}.super.call() on {tree}")
    [all...]
  /external/autotest/client/site_tests/suite_HWConfig/
control 47 iface_name='wlan0', tag='wlan0') # WiFi
49 iface_name='eth0', tag='eth0') # Ethernet
51 iface_name='hci0', tag='hci0') # Bluetooth
  /external/autotest/client/site_tests/suite_HWQual/
control.auto 80 iface_name='wlan0', tag='wlan0') # WiFi
82 iface_name='eth0', tag='eth0') # Ethernet
84 iface_name='hci0', tag='hci0') # Bluetooth
  /external/autotest/client/site_tests/network_ShillInitScripts/
control 20 job.run_test('network_ShillInitScripts', iface_name='all', tag='all')
  /system/connectivity/shill/
device_info.h 242 // a specific interface |iface_name|.
243 base::FilePath GetDeviceInfoPath(const std::string& iface_name,
246 // |iface_name| in output parameter |contents_out|. Returns true if file
248 bool GetDeviceInfoContents(const std::string& iface_name,
253 // |path_name| for interface |iface_name| in output parameter |path_out|.
255 bool GetDeviceInfoSymbolicLink(const std::string& iface_name,
258 // Classify the device named |iface_name|, and return an identifier
261 const std::string& iface_name);
262 // Checks the device specified by |iface_name| to see if it's a modem device.
263 // This method assumes that |iface_name| has already been determined to b
    [all...]
device_info.cc 241 FilePath DeviceInfo::GetDeviceInfoPath(const string& iface_name,
243 return device_info_root_.Append(iface_name).Append(path_name);
246 bool DeviceInfo::GetDeviceInfoContents(const string& iface_name,
249 return base::ReadFileToString(GetDeviceInfoPath(iface_name, path_name),
253 bool DeviceInfo::GetDeviceInfoSymbolicLink(const string& iface_name,
256 return base::ReadSymbolicLink(GetDeviceInfoPath(iface_name, path_name),
261 const string& iface_name) {
264 if (GetDeviceInfoContents(iface_name, kInterfaceType, &type_string) &&
271 if (!GetDeviceInfoContents(iface_name, kInterfaceUevent, &contents)) {
273 __func__, iface_name.c_str())
    [all...]
  /external/autotest/client/cros/cellular/
net_interface.py 26 IFACE_NAME = 'pseudomodem0'
27 PEER_IFACE_NAME = IFACE_NAME + 'p'
43 interface_name=self.IFACE_NAME,
98 utils.run('sudo ifconfig %s up' % self.IFACE_NAME)
105 utils.run('sudo ifconfig %s down' % self.IFACE_NAME);
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
platformsettings.py 694 def _netsh_set_dns(self, iface_name, addr):
697 iface_name, 'static', addr)
699 def _netsh_set_dns_dhcp(self, iface_name):
702 iface_name, 'dhcp')
709 iface_name = None
716 iface_name = iface_match.group('name')
725 if iface_name and iface_dns and iface_kind:
726 ifaces.append((iface_dns, iface_name, iface_kind))
727 iface_name = None
739 (iface_dns, iface_name, iface_kind) = ifac
    [all...]
  /external/dhcpcd-6.8.2/dbus/
rpc-dbus.c 511 const char *iface_name; local
513 DBUS_TYPE_STRING, &iface_name,
519 dhcpcd_start_interface(dhcpcd_ctx, iface_name);
522 const char *iface_name; local
524 DBUS_TYPE_STRING, &iface_name,
530 dhcpcd_release_ipv4(dhcpcd_ctx, iface_name);
533 const char *iface_name; local
535 DBUS_TYPE_STRING, &iface_name,
541 dhcpcd_stop_interface(dhcpcd_ctx, iface_name);
  /external/toybox/toys/other/
ifconfig.c 168 char iface_name[IFNAMSIZ]; local
176 ipv6_addr, &plen, &iscope, iface_name);
180 if (!strcmp(name, iface_name)) {
266 static void show_iface(char *iface_name)
289 if (iface_name) {
290 if (!strcmp(iface_name, name)) {
291 display_ifconfig(iface_name, 1, val);
306 if (iface_name) display_ifconfig(iface_name, 1, 0);
  /external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/
control 44 job.run_test('documentscan_AppTestWithFakeLorgnette', iface_name='all', tag='all')
  /art/test/964-default-iface-init-generated/util-src/
generate_java.py 185 System.out.println("{class_name} touching {iface_name}");
186 {iface_name}.field.touch();
190 {class_name} touching {iface_name}
219 iface_name = a.get_name(),
235 iface_name = a.get_name()),
  /external/autotest/client/cros/cellular/pseudomodem/
bearer.py 35 'Interface': net_interface.PseudoNetInterface.IFACE_NAME,
  /art/test/968-default-partial-compile-generated/util-src/
generate_smali.py 261 .implements L{iface_name};
263 # public class {class_name} implements {iface_name} {{
315 iface_name = self.iface.get_name(),
414 .implements L{iface_name};
522 s_ifaces += self.IMPLEMENTS_TEMPLATE.format(iface_name = i.get_name())
  /art/test/961-default-iface-resolution-generated/util-src/
generate_java.py 163 public class {class_name} implements {iface_name} {{
213 iface_name = self.iface.get_name(),
  /art/test/970-iface-super-resolution-generated/util-src/
generate_smali.py 274 .implements L{iface_name};
394 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()),
448 .implements L{iface_name};
523 s_ifaces = '\n'.join(map(lambda a: self.IMPLEMENTS_TEMPLATE.format(iface_name = a.get_name()),
  /external/dnsmasq/contrib/lease-access/
lease.access.patch 195 -size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
196 +size_t dhcp_reply(int pipefd, struct dhcp_context *context, char *iface_name, int int_index,
457 -size_t dhcp_reply(struct dhcp_context *context, char *iface_name, int int_index,
458 +size_t dhcp_reply(int piperead, struct dhcp_context *context, char *iface_name, int int_index,

Completed in 487 milliseconds

1 2