/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/ |
FetchVoicemailReceiver.java | 25 import android.net.Network; 141 VvmLog.i(TAG, "Requesting network to fetch voicemail"); 193 public void onAvailable(final Network network) { 194 super.onAvailable(network); 195 fetchVoicemail(network, getVoicemailStatusEditor()); 199 private void fetchVoicemail(final Network network, final VoicemailStatus.Editor status) { 209 new ImapHelper(context, phoneAccount, network, status)) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
UtilsTest.java | 39 import android.net.Network; 72 private Network network; field in class:UtilsTest 99 when(wifiManager.getCurrentNetwork()).thenReturn(network); 103 when(connectivityManager.getLinkProperties(network)).thenReturn(lp); 110 when(wifiManager.getCurrentNetwork()).thenReturn(network); 112 when(connectivityManager.getLinkProperties(network)).thenReturn(null);
|
/prebuilts/go/darwin-x86/src/log/syslog/ |
syslog.go | 80 network string 112 // address raddr on the specified network. Each write to the returned 115 // If network is empty, Dial will connect to the local syslog server. 117 // of network and raddr. 118 func Dial(network, raddr string, priority Priority, tag string) (*Writer, error) { 132 network: network, 155 if w.network == "" { 162 c, err = net.Dial(w.network, w.raddr) 285 // Compared to the network form below, the changes are [all...] |
/prebuilts/go/darwin-x86/src/net/ |
interface.go | 20 errInvalidInterface = errors.New("invalid network interface") 21 errInvalidInterfaceIndex = errors.New("invalid network interface index") 22 errInvalidInterfaceName = errors.New("invalid network interface name") 23 errNoSuchInterface = errors.New("no such network interface") 24 errNoSuchMulticastInterface = errors.New("no such multicast network interface") 27 // Interface represents a mapping between network interface name 28 // and index. It also represents network interface facility 98 // Interfaces returns a list of the system's network interfaces. 125 // On Solaris, it returns one of the logical network interfaces 172 // An ipv6ZoneCache represents a cache holding partial network [all...] |
cgo_unix.go | 59 func cgoLookupPort(ctx context.Context, network, service string) (port int, err error, completed bool) { 61 switch network { 70 return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}, true 72 if len(network) >= 4 { 73 switch network[3] { 81 port, err := cgoLookupServicePort(&hints, network, service) 85 go cgoPortLookup(result, &hints, network, service) 96 func cgoLookupServicePort(hints *C.struct_addrinfo, network, service string) (port int, err error) { 114 return 0, &DNSError{Err: err.Error(), Name: network + "/" + service [all...] |
iprawsock_test.go | 19 network string 65 addr, err := ResolveIPAddr(tt.network, tt.litAddrOrName) 67 t.Errorf("ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err) 71 addr2, err := ResolveIPAddr(addr.Network(), addr.String()) 73 t.Errorf("(%q, %q): ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr.Network(), addr.String(), addr2, err, tt.addr, tt.err) 148 network, address string 154 c, err := ListenPacket(tt.network, tt.address)
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/proxy/ |
socks5.go | 16 func SOCKS5(network, addr string, auth *Auth, forward Dialer) (Dialer, error) { 18 network: network, 32 network, addr string 55 "network unreachable", 63 // Dial connects to the address addr on the network net via the SOCKS5 proxy. 64 func (s *socks5) Dial(network, addr string) (net.Conn, error) { 65 switch network { 68 return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network) 71 conn, err := s.forward.Dial(s.network, s.addr [all...] |
proxy.go | 5 // Package proxy provides support for a variety of protocols to proxy network 19 Dial(network, addr string) (c net.Conn, err error) 69 // Dialer for it to make network requests.
|
/prebuilts/go/linux-x86/src/log/syslog/ |
syslog.go | 80 network string 112 // address raddr on the specified network. Each write to the returned 115 // If network is empty, Dial will connect to the local syslog server. 117 // of network and raddr. 118 func Dial(network, raddr string, priority Priority, tag string) (*Writer, error) { 132 network: network, 155 if w.network == "" { 162 c, err = net.Dial(w.network, w.raddr) 285 // Compared to the network form below, the changes are [all...] |
/prebuilts/go/linux-x86/src/net/ |
interface.go | 20 errInvalidInterface = errors.New("invalid network interface") 21 errInvalidInterfaceIndex = errors.New("invalid network interface index") 22 errInvalidInterfaceName = errors.New("invalid network interface name") 23 errNoSuchInterface = errors.New("no such network interface") 24 errNoSuchMulticastInterface = errors.New("no such multicast network interface") 27 // Interface represents a mapping between network interface name 28 // and index. It also represents network interface facility 98 // Interfaces returns a list of the system's network interfaces. 125 // On Solaris, it returns one of the logical network interfaces 172 // An ipv6ZoneCache represents a cache holding partial network [all...] |
cgo_unix.go | 59 func cgoLookupPort(ctx context.Context, network, service string) (port int, err error, completed bool) { 61 switch network { 70 return 0, &DNSError{Err: "unknown network", Name: network + "/" + service}, true 72 if len(network) >= 4 { 73 switch network[3] { 81 port, err := cgoLookupServicePort(&hints, network, service) 85 go cgoPortLookup(result, &hints, network, service) 96 func cgoLookupServicePort(hints *C.struct_addrinfo, network, service string) (port int, err error) { 114 return 0, &DNSError{Err: err.Error(), Name: network + "/" + service [all...] |
iprawsock_test.go | 19 network string 65 addr, err := ResolveIPAddr(tt.network, tt.litAddrOrName) 67 t.Errorf("ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr, err, tt.addr, tt.err) 71 addr2, err := ResolveIPAddr(addr.Network(), addr.String()) 73 t.Errorf("(%q, %q): ResolveIPAddr(%q, %q) = %#v, %v, want %#v, %v", tt.network, tt.litAddrOrName, addr.Network(), addr.String(), addr2, err, tt.addr, tt.err) 148 network, address string 154 c, err := ListenPacket(tt.network, tt.address)
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/proxy/ |
socks5.go | 16 func SOCKS5(network, addr string, auth *Auth, forward Dialer) (Dialer, error) { 18 network: network, 32 network, addr string 55 "network unreachable", 63 // Dial connects to the address addr on the network net via the SOCKS5 proxy. 64 func (s *socks5) Dial(network, addr string) (net.Conn, error) { 65 switch network { 68 return nil, errors.New("proxy: no support for SOCKS5 proxy connections of type " + network) 71 conn, err := s.forward.Dial(s.network, s.addr [all...] |
proxy.go | 5 // Package proxy provides support for a variety of protocols to proxy network 19 Dial(network, addr string) (c net.Conn, err error) 69 // Dialer for it to make network requests.
|
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 64 import android.net.Network; 212 // TODO: create better separation between radio types and network types 214 // how long to wait before switching back to a radio's default network 220 // How long to wait before putting up a "This network doesn't have an Internet connection, 221 // connect anyway?" dialog after the user selects a network that doesn't validate. 278 // the highest scoring network satisfying a NetworkRequest. This should be passed when 287 LINGER, // Determine whether this network is unneeded and should be lingered. 288 TEARDOWN, // Determine whether this network is unneeded and should be torn down. 299 * network - EVENT_EXPIRE_NET_TRANSITION_WAKELOCK happens 300 * after a timeout if no network is found (typically 1 min) 3048 Network network = (Network) msg.obj; local [all...] |
/device/google/cuttlefish_common/host/commands/launch/ |
ril_region_handler.cc | 50 LOG(INFO) << "Network config:"; 85 // Address (Find an address in the network different than the network, the 87 auto network = gateway_s_addr & netmask_s_addr; local 88 auto s_addr = network + 1; 89 // s_addr & ~netmask_s_addr is zero when s_addr wraps around the network 96 if (s_addr == network) { 128 LOG(ERROR) << "Unable to obtain the network configuration";
|
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/ |
network_ChromeCellularSmokeTest.py | 19 Tests that Chrome can bring the network to a connected state and effectively 20 access the internet through the cellular network. The test repeats a 22 always connect to the network via chrome.networkingPrivate. 43 'Expected 1 cellular network, found ' + str(len(networks))) 44 network = networks[0] 46 network, pm_constants.DEFAULT_TEST_NETWORK_PREFIX, 48 return network 67 # Make sure that the network becomes disconnected. 69 logging.info('Disconnecting from network: ' + network_id) 74 logging.info('Checking that the network is disconnected.' [all...] |
/external/autotest/server/site_tests/network_WiFi_IPv6RA/ |
network_WiFi_IPv6RA.py | 9 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 10 from autotest_lib.server.cros.network import wifi_cell_test_base 11 from autotest_lib.server.cros.network import hostap_config
|
/external/webrtc/webrtc/p2p/base/ |
tcpport.h | 33 rtc::Network* network, 40 TCPPort* port = new TCPPort(thread, factory, network, ip, min_port, 65 rtc::Network* network,
|
turnport.h | 45 rtc::Network* network, 53 return new TurnPort(thread, factory, network, socket, username, password, 59 rtc::Network* network, 69 return new TurnPort(thread, factory, network, ip, min_port, max_port, 158 rtc::Network* network, 169 rtc::Network* network, [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
VvmNetworkRequestCallback.java | 21 import android.net.Network; 37 * Base class for network request call backs for visual voicemail syncing with the Imap server. This 38 * handles retries and network requests. 86 * @return NetworkRequest for a proper transport type. Use only cellular network if the carrier 115 public void onLost(Network network) { 123 public void onAvailable(Network network) { 124 super.onAvailable(network);
|
/packages/apps/Settings/src/com/android/settings/network/ |
PrivateDnsPreferenceController.java | 17 package com.android.settings.network; 33 import android.net.Network; 97 final Network defaultNetwork = mConnectivityManager.getActiveNetwork(); 151 public void onLinkPropertiesChanged(Network network, LinkProperties lp) { 158 public void onLost(Network network) {
|
/external/iputils/ |
iputils.spec | 6 Summary: The ping program for checking to see if network hosts are alive. 21 specified network host and can tell you if that machine is alive and 22 receiving network traffic.
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
checkpointable_utils_test.py | 26 from tensorflow.contrib.eager.python import network as network_lib 65 class CheckpointableNetwork(network_lib.Network, checkpointable.Checkpointable): 122 """A concrete Network for testing.""" 270 network = MyNetwork() 271 # A nuisance Network using the same optimizer. Its slot variables should not 277 optimizer=optimizer, network=network, optimizer_step=optimizer_step) 280 lambda: network(input_value), 287 network(input_value), global_step=optimizer_step) 300 "network/via_track_layer/kernel" [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityListener.java | 28 import android.net.Network; 234 private Network getFirstEthernet() { 235 final Network[] networks = mConnectivityManager.getAllNetworks(); 236 for (final Network network : networks) { 237 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); 239 return network; 246 final Network network = getFirstEthernet(); local 247 if (network == null) [all...] |