/frameworks/support/volley/tests/src/com/android/volley/ |
H A D | RequestQueueTest.java | 72 OrderCheckingNetwork network = new OrderCheckingNetwork(); 73 RequestQueue queue = new RequestQueue(new NoCache(), network, 1, mDelivery); 79 network.setExpectedRequests(requestsToMake); 81 network.waitUntilExpectedDone(2000); // 2 seconds 86 OrderCheckingNetwork network = new OrderCheckingNetwork(); 100 network.setExpectedRequests(2); 101 RequestQueue queue = new RequestQueue(new NoCache(), network, 3, mDelivery); 105 network.waitUntilExpectedDone(2000); 110 MockNetwork network = new MockNetwork(); 111 RequestQueue queue = new RequestQueue(new NoCache(), network, [all...] |
/frameworks/support/volley/src/com/android/volley/ |
H A D | RequestQueue.java | 35 * resolving from either cache or network on a worker thread, and then delivering 68 /** The queue of requests that are actually going out to the network. */ 72 /** Number of network request dispatcher threads to start. */ 84 /** The network dispatchers. */ 94 * @param network A Network interface for performing HTTP requests 95 * @param threadPoolSize Number of network dispatcher threads to create 98 public RequestQueue(Cache cache, Network network, int threadPoolSize, argument 101 mNetwork = network; 110 * @param network A Network interface for performing HTTP requests 111 * @param threadPoolSize Number of network dispatche 113 RequestQueue(Cache cache, Network network, int threadPoolSize) argument 124 RequestQueue(Cache cache, Network network) argument [all...] |
H A D | NetworkDispatcher.java | 24 * Provides a thread for performing network dispatch from a queue of requests. 26 * Requests added to the specified queue are processed from the network via a 35 /** The network interface for processing requests. */ 45 * Creates a new network dispatcher thread. You must call {@link #start()} 49 * @param network Network interface to use for performing requests 54 Network network, Cache cache, 57 mNetwork = network; 88 request.addMarker("network-queue-take"); 91 // network request. 93 request.finish("network 53 NetworkDispatcher(BlockingQueue<Request> queue, Network network, Cache cache, ResponseDelivery delivery) argument [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 51 char network[PROPERTY_VALUE_MAX], date[80]; local 59 property_get("gsm.operator.alpha", network, "(unknown)"); 71 printf("Network: %s\n", network); 191 property_get("dhcp.wlan0.gateway", network, ""); 192 if (network[0]) 193 run_command("PING GATEWAY", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL); 194 property_get("dhcp.wlan0.dns1", network, ""); 195 if (network[0]) 196 run_command("PING DNS1", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL); 197 property_get("dhcp.wlan0.dns2", network, ""); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 84 // handle the select network completion callbacks. 158 selectNetworkManually(OperatorInfo network, argument 164 nsm.operatorNumeric = network.getOperatorNumeric(); 165 nsm.operatorAlphaLong = network.getOperatorAlphaLong(); 170 mCM.setNetworkSelectionModeManual(network.getOperatorNumeric(), msg); 174 * Used to track the settings upon completion of the network change. 203 Log.e(LOG_TAG, "failed to commit network selection preference");
|
H A D | CDMAPhone.java | 498 selectNetworkManually(OperatorInfo network, argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | SettingsView.java | 66 findViewById(R.id.network).setOnClickListener(this); 98 case R.id.network:
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfigStore.java | 78 * (key, value) pairs for a given network are grouped together and can 81 * network. A network is identified by a unique ID_KEY. If there is no 112 /* configured networks with network id as the key */ 116 /* A network id is a unique identifier for a network configured in the 120 * that is generated from SSID and security type of the network. A mapping 121 * from the generated unique id to network id of the network is needed to 187 loge("Enable network faile 598 sendConfiguredNetworksChangedBroadcast(WifiConfiguration network, int reason) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 137 // TODO: create better separation between radio types and network types 139 // how long to wait before switching back to a radio's default network 162 /** Currently active network rules by UID. */ 168 * Sometimes we want to refer to the individual network state 174 /* Handles captive portal check on a network */ 223 * default network 233 * used internally to change our network preference setting 277 * default network 346 // the set of network types that can only be enabled by system/sig apps 401 // ouch, no rules updates means some processes may never get network 2491 updateDns(String network, String iface, Collection<InetAddress> dnses, String domains) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GSMPhone.java | 974 //class parameter in call waiting interrogation to network 1018 selectNetworkManually(OperatorInfo network, argument 1024 nsm.operatorNumeric = network.getOperatorNumeric(); 1025 nsm.operatorAlphaLong = network.getOperatorAlphaLong(); 1030 mCM.setNetworkSelectionModeManual(network.getOperatorNumeric(), msg); 1133 // The network may initiate its own USSD request 1149 * Make sure the network knows our preferred setting. 1313 // handle the select network completion callbacks. 1399 * Used to track the settings upon completion of the network change. 1428 Log.e(LOG_TAG, "failed to commit network selectio [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | Phone.java | 116 // Used for preferred network type 421 * its network activity and is in its final state. This may mean a state 481 * Register for Supplementary Service notifications from the network. 1007 * Switches network selection mode to "automatic", re-scanning and 1008 * re-selecting a network if appropriate. 1010 * @param response The message to dispatch when the network selection 1018 * Manually selects a network. <code>response</code> is 1025 void selectNetworkManually(OperatorInfo network, argument 1029 * Requests to set the preferred network type for searching and registering 1037 * Query the preferred network typ [all...] |
H A D | PhoneProxy.java | 659 public void selectNetworkManually(OperatorInfo network, Message response) { argument 660 mActivePhone.selectNetworkManually(network, response);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 365 OperatorInfo network, 364 selectNetworkManually( OperatorInfo network, Message response) argument
|