HomeSort by relevance Sort by last modified time
    Searched refs:network (Results 426 - 450 of 879) sorted by null

<<11121314151617181920>>

  /external/autotest/client/cros/cellular/pseudomodem/
modem_3gpp.py 30 GsmNetwork stores the properties of a 3GPP network that can be
31 discovered during a network scan.
173 scanned = [network.ToScanDictionary()
174 for network in self.roaming_networks]
176 # get home network
188 {network['operator-code']: network for network in scanned})
234 returned when the modem is not registered on a network.
236 returned when the modem is registered on a network
    [all...]
  /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;
108 try (NetworkWrapper network = VvmNetworkRequest.getNetwork(config, phoneAccount, status)) {
109 if (network == null) {
110 VvmLog.e(TAG, "unable to acquire network");
114 doSync(task, network.get(), phoneAccount, voicemail, action, status);
123 Network network,
128 try (ImapHelper imapHelper = new ImapHelper(mContext, phoneAccount, network, status)) {
  /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...]
  /prebuilts/go/darwin-x86/src/net/
net.go 6 Package net provides a portable interface for network I/O, including
104 // Addr represents a network end point address.
106 // The two methods Network and String conventionally return strings
110 Network() string // name of the network (for example, "tcp", "udp")
114 // Conn is a generic stream-oriented network connection.
132 // LocalAddr returns the local network address.
135 // RemoteAddr returns the remote network address.
212 // LocalAddr returns the local network address.
222 // RemoteAddr returns the remote network address
    [all...]
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}
iprawsock.go 12 // BUG(mikio): On every POSIX platform, reads from the "ip4" network
36 // Network returns the address's network name, "ip".
37 func (a *IPAddr) Network() string { return "ip" }
65 // "ipv6-host%zone" and resolves the domain name on the network net,
91 // for IP network connections.
194 // DialIP connects to the remote address raddr on the network protocol
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)
tcpsock.go 25 // Network returns the address's network name, "tcp".
26 func (a *TCPAddr) Network() string { return "tcp" }
55 // port name on the network net, which must be "tcp", "tcp4" or
77 // TCPConn is an implementation of the Conn interface for TCP network
184 // DialTCP connects to the remote address raddr on the network net,
203 // TCPListener is a TCP network listener. Clients should typically
247 // Addr returns the listener's network address, a *TCPAddr.
udpsock_test.go 53 network string
94 addr, err := ResolveUDPAddr(tt.network, tt.litAddrOrName)
96 t.Errorf("ResolveUDPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err)
100 addr2, err := ResolveUDPAddr(addr.Network(), addr.String())
102 t.Errorf("(%q, %q): ResolveUDPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr.Network(), addr.String(), addr2, err, tt.addr, tt.err)
287 c1, err := ListenPacket(tt.network, tt.address)
308 c2, err := Dial(tt.network, ls.PacketConn.LocalAddr().String())
  /prebuilts/go/linux-x86/src/net/
net.go 6 Package net provides a portable interface for network I/O, including
104 // Addr represents a network end point address.
106 // The two methods Network and String conventionally return strings
110 Network() string // name of the network (for example, "tcp", "udp")
114 // Conn is a generic stream-oriented network connection.
132 // LocalAddr returns the local network address.
135 // RemoteAddr returns the remote network address.
212 // LocalAddr returns the local network address.
222 // RemoteAddr returns the remote network address
    [all...]
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}
iprawsock.go 12 // BUG(mikio): On every POSIX platform, reads from the "ip4" network
36 // Network returns the address's network name, "ip".
37 func (a *IPAddr) Network() string { return "ip" }
65 // "ipv6-host%zone" and resolves the domain name on the network net,
91 // for IP network connections.
194 // DialIP connects to the remote address raddr on the network protocol
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)
tcpsock.go 25 // Network returns the address's network name, "tcp".
26 func (a *TCPAddr) Network() string { return "tcp" }
55 // port name on the network net, which must be "tcp", "tcp4" or
77 // TCPConn is an implementation of the Conn interface for TCP network
184 // DialTCP connects to the remote address raddr on the network net,
203 // TCPListener is a TCP network listener. Clients should typically
247 // Addr returns the listener's network address, a *TCPAddr.
udpsock_test.go 53 network string
94 addr, err := ResolveUDPAddr(tt.network, tt.litAddrOrName)
96 t.Errorf("ResolveUDPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err)
100 addr2, err := ResolveUDPAddr(addr.Network(), addr.String())
102 t.Errorf("(%q, %q): ResolveUDPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr.Network(), addr.String(), addr2, err, tt.addr, tt.err)
287 c1, err := ListenPacket(tt.network, tt.address)
308 c2, err := Dial(tt.network, ls.PacketConn.LocalAddr().String())
  /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...]
  /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...]
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 25 import android.net.Network;
155 private void exerciseRemoteHost(Network network, URL url) throws Exception {
156 NetworkInfo networkInfo = mCm.getNetworkInfo(network);
158 Log.w(LOG_TAG, "Network info is null");
160 Log.w(LOG_TAG, "Network: " + networkInfo.toString());
168 urlc = (HttpURLConnection) network.openConnection(url);
278 public void onAvailable(Network network) {
281 exerciseRemoteHost(network, mUrl)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/details/
WifiDetailPreferenceController.java 33 import android.net.Network;
116 private Network mNetwork;
162 public void onLinkPropertiesChanged(Network network, LinkProperties lp) {
163 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
178 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
179 // If the network just validated or lost Internet access, refresh network state.
182 if (network.equals(mNetwork) && !nc.equals(mNetworkCapabilities))
    [all...]
  /external/autotest/server/cros/clique_lib/
clique_runner.py 14 from autotest_lib.client.common_lib.cros.network import ap_constants
19 from autotest_lib.server.cros.network import chaos_clique_utils as utils
20 from autotest_lib.server.cros.network import connection_worker
  /packages/services/NetworkRecommendation/src/com/android/networkrecommendation/
DefaultNetworkRecommendationProvider.java 47 * In memory, debuggable network recommendation provider.
49 * <p>This example evaluates networks in a scan and picks the "least bad" network, returning a
60 * <p>Score a network:
72 * <p>Eg, A high quality, paid network with captive portal:
77 * <p>Eg, A high quality, unmetered network with captive portal:
82 * <p>Eg, A high quality, unmetered network with any bssid:
145 * Recommend the wireless network with the highest RSSI and run
155 /** Recommend the wireless network with the highest RSSI. */
170 Blog.v(TAG, "Discarding closed network: " + scanResult);
177 Blog.v(TAG, "Evaluating network: " + networkKey)
180 final ScoredNetwork network = mStorage.get(networkKey); local
    [all...]

Completed in 1053 milliseconds

<<11121314151617181920>>