HomeSort by relevance Sort by last modified time
    Searched refs:network (Results 501 - 525 of 1047) sorted by null

<<21222324252627282930>>

  /external/scapy/scapy/layers/
dhcp.py 316 def parse_options(self, pool=Net("192.168.1.128/25"), network="192.168.1.0/24",gw="192.168.1.1",
319 netw,msk = (network.split("/")+["32"])[:2]
322 self.network = ltoa(atol(netw)&msk)
323 self.broadcast = ltoa( atol(self.network) | (0xffffffff&~msk) )
328 pool = [k for k in pool if k not in [gw, self.network, self.broadcast]]
  /external/selinux/python/sepolicy/sepolicy/
generate.py 45 from .templates import network
328 self.DEFAULT_EXT["_port_t"] = network
642 return re.sub("TEMPLATETYPE", self.name, network.te_types)
692 newte += re.sub("TEMPLATETYPE", self.name, network.te_network)
696 newte += re.sub("TEMPLATETYPE", self.name, network.te_tcp)
699 newte += re.sub("TEMPLATETYPE", self.name, network.te_in_tcp)
702 newte += re.sub("TEMPLATETYPE", self.name, network.te_in_need_port_tcp)
705 newte += re.sub("TEMPLATETYPE", self.name, network.te_out_need_port_tcp)
708 newte += re.sub("TEMPLATETYPE", self.name, network.te_in_all_ports_tcp)
710 newte += re.sub("TEMPLATETYPE", self.name, network.te_in_reserved_ports_tcp
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/sync/
OmtpVvmSyncService.java 20 import android.net.Network;
98 try (NetworkWrapper network = VvmNetworkRequest.getNetwork(config, phoneAccount, status)) {
99 if (network == null) {
100 VvmLog.e(TAG, "unable to acquire network");
104 doSync(task, network.get(), phoneAccount, voicemail, status);
113 Network network,
117 try (ImapHelper imapHelper = new ImapHelper(context, phoneAccount, network, status)) {
  /prebuilts/go/darwin-x86/src/internal/poll/
fd_unix.go 16 // field of a larger type representing a network connection or OS file.
41 // Whether this is a file rather than a network socket.
50 // The net argument is a network name from the net package (e.g., "tcp"),
54 // We don't actually care about the various network types.
106 // Shutdown wraps the shutdown network call.
193 // ReadFrom wraps the recvfrom network call.
217 // ReadMsg wraps the recvmsg network call.
308 // WriteTo wraps the sendto network call.
331 // WriteMsg wraps the sendmsg network call.
354 // Accept wraps the accept network call
    [all...]
  /prebuilts/go/linux-x86/src/internal/poll/
fd_unix.go 16 // field of a larger type representing a network connection or OS file.
41 // Whether this is a file rather than a network socket.
50 // The net argument is a network name from the net package (e.g., "tcp"),
54 // We don't actually care about the various network types.
106 // Shutdown wraps the shutdown network call.
193 // ReadFrom wraps the recvfrom network call.
217 // ReadMsg wraps the recvmsg network call.
308 // WriteTo wraps the sendto network call.
331 // WriteMsg wraps the sendmsg network call.
354 // Accept wraps the accept network call
    [all...]
  /tools/test/connectivity/acts/framework/acts/test_utils/wifi/
wifi_power_test_utils.py 235 def ap_setup(ap, network, bandwidth=80):
236 """Set up the whirlwind AP with provided network info.
240 network: dict with information of the network, including ssid, password
248 ssid = network[wutils.WifiEnums.SSID_KEY]
249 if "password" in network.keys():
250 password = network["password"]
255 channel = network["channel"]
  /tools/test/connectivity/acts/tests/google/wifi/
WifiStaApConcurrencyTest.py 45 * One Wi-Fi network visible to the device (for STA).
122 channel_2g: The channel number to use for 2GHz network.
123 channel_5g: The channel number to use for 5GHz network.
156 params: A tuple of network info and AndroidDevice object.
160 network, ad = params
161 SSID = network[WifiEnums.SSID_KEY]
174 params: A tuple of network info and AndroidDevice object.
176 network, ad = params
179 SSID = network[WifiEnums.SSID_KEY]
182 wutils.wifi_connect(ad, network, num_of_tries=3
    [all...]
WifiNewSetupAutoJoinTest.py 27 NETWORK_ID_ERROR = "Network don't have ID"
28 NETWORK_ERROR = "Device is not connected to reference network"
35 def add_network_and_enable(self, network):
36 """Add a network and enable it.
39 network : Network details for the network to be added.
42 ret = self.dut.droid.wifiAddNetwork(network)
43 asserts.assert_true(ret != -1, "Add network %r failed" % network)
    [all...]
  /external/webrtc/webrtc/p2p/client/
basicportallocator.cc 313 std::vector<rtc::Network*>* networks) {
317 // If the network permission state is BLOCKED, we just act as if the flag has
333 [this](rtc::Network* network) {
335 network->type();
340 // For each network, see if we have a sequence that covers it already. If not,
344 std::vector<rtc::Network*> networks;
404 std::vector<rtc::Network*> networks;
407 // Remove the network from the allocation sequence if it is not in
410 std::find(networks.begin(), networks.end(), sequence->network()) =
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WificondControl.java 553 // Update carrier network info if this AP's SSID is associated with a carrier Wi-Fi
554 // network and it uses EAP.
639 HiddenNetwork network = new HiddenNetwork(); local
641 network.ssid = NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssid));
646 settings.hiddenNetworks.add(network);
676 for (WifiNative.PnoNetwork network : pnoSettings.networkList) {
678 condNetwork.isHidden = (network.flags
682 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(network.ssid));
684 Log.e(TAG, "Illegal argument " + network.ssid, e);
  /prebuilts/go/darwin-x86/src/net/
lookup_windows.go 138 func (r *Resolver) lookupPort(ctx context.Context, network, service string) (int, error) {
140 return lookupPortMap(network, service)
147 switch network {
161 if port, err := lookupPortMap(network, service); err == nil {
164 return 0, &DNSError{Err: winError("getaddrinfow", e).Error(), Name: network + "/" + service}
168 return 0, &DNSError{Err: syscall.EINVAL.Error(), Name: network + "/" + service}
179 return 0, &DNSError{Err: syscall.EINVAL.Error(), Name: network + "/" + service}
net.go 6 Package net provides a portable interface for network I/O, including
99 // Addr represents a network end point address.
101 // The two methods Network and String conventionally return strings
105 Network() string // name of the network (for example, "tcp", "udp")
109 // Conn is a generic stream-oriented network connection.
127 // LocalAddr returns the local network address.
130 // RemoteAddr returns the remote network address.
207 // LocalAddr returns the local network address.
217 // RemoteAddr returns the remote network address
    [all...]
interface_plan9.go 13 // network interfaces. Otherwise it returns a mapping of a specific
132 // network interfaces. Otherwise it returns addresses for a specific
178 return nil, errors.New("cannot parse network mask for interface: " + status)
  /prebuilts/go/linux-x86/src/net/
lookup_windows.go 138 func (r *Resolver) lookupPort(ctx context.Context, network, service string) (int, error) {
140 return lookupPortMap(network, service)
147 switch network {
161 if port, err := lookupPortMap(network, service); err == nil {
164 return 0, &DNSError{Err: winError("getaddrinfow", e).Error(), Name: network + "/" + service}
168 return 0, &DNSError{Err: syscall.EINVAL.Error(), Name: network + "/" + service}
179 return 0, &DNSError{Err: syscall.EINVAL.Error(), Name: network + "/" + service}
net.go 6 Package net provides a portable interface for network I/O, including
99 // Addr represents a network end point address.
101 // The two methods Network and String conventionally return strings
105 Network() string // name of the network (for example, "tcp", "udp")
109 // Conn is a generic stream-oriented network connection.
127 // LocalAddr returns the local network address.
130 // RemoteAddr returns the remote network address.
207 // LocalAddr returns the local network address.
217 // RemoteAddr returns the remote network address
    [all...]
interface_plan9.go 13 // network interfaces. Otherwise it returns a mapping of a specific
132 // network interfaces. Otherwise it returns addresses for a specific
178 return nil, errors.New("cannot parse network mask for interface: " + status)
  /external/webrtc/webrtc/p2p/base/
p2ptransportchannel.cc 304 // connection per network and at least one active connection.
320 std::set<rtc::Network*> networks;
322 rtc::Network* network = connection->port()->Network(); local
323 if (networks.find(network) == networks.end()) {
324 networks.insert(network);
327 << network->ToString()
726 // immediately be re-pruned, churning the network for no purpose.
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
sta_iface.cpp 513 android::sp<ISupplicantStaNetwork> network; local
517 return {{SupplicantStatusCode::FAILURE_UNKNOWN, ""}, network};
522 wpa_s->ifname, ssid->id, &network)) {
523 return {{SupplicantStatusCode::FAILURE_UNKNOWN, ""}, network};
525 return {{SupplicantStatusCode::SUCCESS, ""}, network};
544 android::sp<ISupplicantStaNetwork> network; local
549 network};
554 wpa_s->ifname, ssid->id, &network)) {
555 return {{SupplicantStatusCode::FAILURE_UNKNOWN, ""}, network};
557 return {{SupplicantStatusCode::SUCCESS, ""}, network};
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/hidl/1.1/
sta_iface.cpp 527 android::sp<ISupplicantStaNetwork> network; local
531 return {{SupplicantStatusCode::FAILURE_UNKNOWN, ""}, network};
536 wpa_s->ifname, ssid->id, &network)) {
537 return {{SupplicantStatusCode::FAILURE_UNKNOWN, ""}, network};
539 return {{SupplicantStatusCode::SUCCESS, ""}, network};
558 android::sp<ISupplicantStaNetwork> network; local
563 network};
568 wpa_s->ifname, ssid->id, &network)) {
569 return {{SupplicantStatusCode::FAILURE_UNKNOWN, ""}, network};
571 return {{SupplicantStatusCode::SUCCESS, ""}, network};
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
zerrors_windows.go 217 ENETDOWN - APPLICATION_ERROR: "network is down",
218 ENETRESET - APPLICATION_ERROR: "network dropped connection on reset",
219 ENETUNREACH - APPLICATION_ERROR: "network is unreachable",
233 ENONET - APPLICATION_ERROR: "machine is not on the network",
248 ENOTUNIQ - APPLICATION_ERROR: "name not unique on network",
  /prebuilts/go/linux-x86/src/syscall/
zerrors_windows.go 217 ENETDOWN - APPLICATION_ERROR: "network is down",
218 ENETRESET - APPLICATION_ERROR: "network dropped connection on reset",
219 ENETUNREACH - APPLICATION_ERROR: "network is unreachable",
233 ENONET - APPLICATION_ERROR: "machine is not on the network",
248 ENOTUNIQ - APPLICATION_ERROR: "name not unique on network",
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
VpnTest.java 26 import android.net.Network;
72 * to the device without causing any network traffic. This allows testing the local VPN data path
73 * without a network connection or a VPN server.
106 Network mNetwork;
209 public void onAvailable(Network network) {
211 Log.i(TAG, "Got available callback for network=" + network);
212 mNetwork = network;
252 public void onLost(Network network)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/details/
WifiDetailPreferenceController.java 33 import android.net.Network;
122 private Network mNetwork;
156 // only one network changed
178 public void onLinkPropertiesChanged(Network network, LinkProperties lp) {
179 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
194 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
195 // If the network just validated or lost Internet access, refresh network state
    [all...]
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/proxy/
per_host.go 33 // Dial connects to the address addr on the given network through either
35 func (p *PerHost) Dial(network, addr string) (c net.Conn, err error) {
41 return p.dialerForRequest(host).Dial(network, addr)
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/net/proxy/
per_host.go 33 // Dial connects to the address addr on the given network through either
35 func (p *PerHost) Dial(network, addr string) (c net.Conn, err error) {
41 return p.dialerForRequest(host).Dial(network, addr)

Completed in 270 milliseconds

<<21222324252627282930>>