Searched refs:network (Results 1 - 25 of 70) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
H A DAuthException.java17 package com.android.inputmethod.latin.network;
H A DHttpException.java17 package com.android.inputmethod.latin.network;
/packages/apps/Settings/src/com/android/settings/network/
H A DNetworkResetPreferenceController.java17 package com.android.settings.network;
H A DNetworkScoreManagerWrapper.java16 package com.android.settings.network;
45 * Obtain the package name of the current active network scorer.
H A DNetworkResetRestrictionChecker.java17 package com.android.settings.network;
H A DProxyPreferenceController.java16 package com.android.settings.network;
H A DWifiCallingPreferenceController.java16 package com.android.settings.network;
H A DVpnPreferenceController.java16 package com.android.settings.network;
130 // Legacy VPNs should do nothing if the network is disconnected. Third-party
182 public void onAvailable(Network network) {
183 Log.d(TAG, "onAvailable " + network.netId);
188 public void onLost(Network network) {
189 Log.d(TAG, "onLost " + network.netId);
/packages/services/Mms/src/com/android/mms/service/
H A DMmsNetworkManager.java32 * Manages the MMS network connectivity
42 // Waiting time used before releasing a network prematurely. This allows the MMS download
43 // acknowledgement messages to be sent using the same network that was used to download the data
50 // MMS network is available.
52 // The current count of MMS requests that require the MMS network
53 // If mMmsRequestCount is 0, we should release the MMS network.
57 // The callback to register when we request MMS network
62 // The MMS HTTP client for this network
65 // The handler used for delayed release of the network
68 // The task that does the delayed releasing of the network
79 onAvailable(Network network) argument
89 onLost(Network network) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DVvmNetworkRequest.java34 * PhoneAccountHandle)} will block until a suitable network is retrieved or it has failed.
51 private NetworkWrapper(Network network, VvmNetworkRequestCallback callback) { argument
52 mNetwork = network;
84 VvmLog.e(TAG, "can't get future network", e);
109 public void onAvailable(Network network) { argument
110 super.onAvailable(network);
111 mFuture.complete(new NetworkWrapper(network, this));
H A DVvmNetworkRequestCallback.java37 * Base class for network request call backs for visual voicemail syncing with the Imap server. This
38 * handles retries and network requests.
85 * @return NetworkRequest for a proper transport type. Use only cellular network if the carrier
116 public void onLost(Network network) { argument
124 public void onAvailable(Network network) { argument
125 super.onAvailable(network);
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DConnectivityManagerWrapperImpl.java56 public void startCaptivePortalApp(Network network) { argument
57 mCm.startCaptivePortalApp(network);
H A DConnectivityManagerWrapper.java74 public void startCaptivePortalApp(Network network); argument
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
H A DJobPreconditions.java30 for (Network network : connectivityManager.getAllNetworks()) {
31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network);
/packages/apps/Settings/src/com/android/settings/datausage/
H A DCycleAdapter.java80 historyStart = chartData.network.getStart();
81 historyEnd = chartData.network.getEnd();
99 entry = chartData.network.getValues(cycleStart, cycleEnd, entry);
121 entry = chartData.network.getValues(cycleStart, cycleEnd, entry);
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
H A DMobilePlanPreferenceControllerTest.java17 package com.android.settings.network;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
H A DHttpUrlConnectionBuilderTests.java17 package com.android.inputmethod.latin.network;
19 import static com.android.inputmethod.latin.network.HttpUrlConnectionBuilder.MODE_BI_DIRECTIONAL;
20 import static com.android.inputmethod.latin.network.HttpUrlConnectionBuilder.MODE_DOWNLOAD_ONLY;
21 import static com.android.inputmethod.latin.network.HttpUrlConnectionBuilder.MODE_UPLOAD_ONLY;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DSystemFacade.java36 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked); argument
62 * Returns true if cleartext network traffic is permitted for the specified UID.
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DFakeSystemFacade.java71 final Network network = mock(Network.class);
73 when(network.openConnection(any())).then(new Answer<URLConnection>() {
82 return network;
87 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { argument
/packages/services/BuiltInPrintService/src/com/android/bips/util/
H A DWifiMonitor.java75 for (Network network : cm.getAllNetworks()) {
76 NetworkInfo networkInfo = cm.getNetworkInfo(network);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DConnectivityListener.java201 for (final Network network : networks) {
202 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network);
204 return network;
211 final Network network = getFirstEthernet();
212 if (network == null) {
217 final LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network);
246 * Return a list of wifi networks. Ensure that if a wifi network is connected that it appears
281 // Find the SSID of network.
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
H A DFetchVoicemailReceiver.java141 VvmLog.i(TAG, "Requesting network to fetch voicemail");
193 public void onAvailable(final Network network) { argument
194 super.onAvailable(network);
195 fetchVoicemail(network, getVoicemailStatusEditor());
199 private void fetchVoicemail(final Network network, final VoicemailStatus.Editor status) { argument
209 new ImapHelper(mContext, mPhoneAccount, network, status)) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DUtilsTest.java46 private Network network; field in class:UtilsTest
62 when(wifiManager.getCurrentNetwork()).thenReturn(network);
66 when(connectivityManager.getLinkProperties(network)).thenReturn(lp);
73 when(wifiManager.getCurrentNetwork()).thenReturn(network);
75 when(connectivityManager.getLinkProperties(network)).thenReturn(null);
/packages/apps/Settings/src/com/android/settings/dashboard/
H A DSupportFragment.java55 public void onCapabilitiesChanged(Network network,
61 public void onAvailable(Network network) {
66 public void onLost(Network network) {
/packages/apps/Settings/src/com/android/settings/wifi/
H A DConfigureWifiSettings.java32 import com.android.settings.network.NetworkScoreManagerWrapper;
33 import com.android.settings.network.NetworkScorerPickerPreferenceController;
34 import com.android.settings.network.WifiCallingPreferenceController;

Completed in 525 milliseconds

123