Home
last modified time | relevance | path

Searched refs:network (Results 1 – 25 of 100) sorted by relevance

1234

/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java79 public void onAvailable(Network network) { in onAvailable() argument
80 super.onAvailable(network); in onAvailable()
81 LogUtil.i("NetworkCallbackListener.onAvailable: network=" + network); in onAvailable()
83 mNetwork = network; in onAvailable()
89 public void onLost(Network network) { in onLost() argument
90 super.onLost(network); in onLost()
91 LogUtil.w("NetworkCallbackListener.onLost: network=" + network); in onLost()
282 Network network = null; in getApnName() local
287 network = mNetwork; in getApnName()
291 final NetworkInfo mmsNetworkInfo = connectivityManager.getNetworkInfo(network); in getApnName()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmNetworkRequest.java51 private NetworkWrapper(Network network, VvmNetworkRequestCallback callback) { in NetworkWrapper() argument
52 mNetwork = network; in NetworkWrapper()
109 public void onAvailable(Network network) { in onAvailable() argument
110 super.onAvailable(network); in onAvailable()
111 mFuture.complete(new NetworkWrapper(network, this)); in onAvailable()
DOmtpVvmSyncService.java108 try (NetworkWrapper network = VvmNetworkRequest.getNetwork(config, phoneAccount, status)) { in setupAndSendRequest() argument
109 if (network == null) { in setupAndSendRequest()
114 doSync(task, network.get(), phoneAccount, voicemail, action, status); in setupAndSendRequest()
123 Network network, in doSync() argument
128 try (ImapHelper imapHelper = new ImapHelper(mContext, phoneAccount, network, status)) { in doSync() argument
DVvmNetworkRequestCallback.java116 public void onLost(Network network) { in onLost() argument
124 public void onAvailable(Network network) { in onAvailable() argument
125 super.onAvailable(network); in onAvailable()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java72 final Network network = mock(Network.class); in getActiveNetwork() local
74 when(network.openConnection(any())).then(new Answer<URLConnection>() { in getActiveNetwork()
83 return network; in getActiveNetwork()
88 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() argument
100 public boolean isNetworkMetered(Network network) { in isNetworkMetered() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java201 for (final Network network : networks) { in getFirstEthernet()
202 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet()
204 return network; in getFirstEthernet()
211 final Network network = getFirstEthernet(); in getEthernetIpAddress() local
212 if (network == null) { in getEthernetIpAddress()
217 final LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network); in getEthernetIpAddress()
/packages/apps/Dialer/java/com/android/voicemail/impl/fetch/
DFetchVoicemailReceiver.java193 public void onAvailable(final Network network) { in onAvailable() argument
194 super.onAvailable(network); in onAvailable()
195 fetchVoicemail(network, getVoicemailStatusEditor()); in onAvailable()
199 private void fetchVoicemail(final Network network, final VoicemailStatus.Editor status) { in fetchVoicemail() argument
209 new ImapHelper(mContext, mPhoneAccount, network, status)) { in fetchVoicemail()
/packages/apps/Settings/src/com/android/settings/network/
DVpnPreferenceController.java16 package com.android.settings.network;
183 public void onAvailable(Network network) {
184 Log.d(TAG, "onAvailable " + network.netId);
189 public void onLost(Network network) {
190 Log.d(TAG, "onLost " + network.netId);
DNetworkDashboardFragment.java16 package com.android.settings.network;
18 import static com.android.settings.network.MobilePlanPreferenceController
37 import com.android.settings.network.MobilePlanPreferenceController.MobilePlanPreferenceHost;
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java54 private Network network; field in UtilsTest
74 when(wifiManager.getCurrentNetwork()).thenReturn(network); in testGetWifiIpAddresses_succeeds()
78 when(connectivityManager.getLinkProperties(network)).thenReturn(lp); in testGetWifiIpAddresses_succeeds()
85 when(wifiManager.getCurrentNetwork()).thenReturn(network); in testGetWifiIpAddresses_nullLinkProperties()
87 when(connectivityManager.getLinkProperties(network)).thenReturn(null); in testGetWifiIpAddresses_nullLinkProperties()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java59 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfo() argument
61 .getNetworkInfoForUid(network, uid, ignoreBlocked); in getNetworkInfo()
65 public boolean isNetworkMetered(Network network) { in isNetworkMetered() argument
66 return !mContext.getSystemService(ConnectivityManager.class).getNetworkCapabilities(network) in isNetworkMetered()
DSystemFacade.java37 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked); in getNetworkInfo() argument
39 public boolean isNetworkMetered(Network network); in isNetworkMetered() argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
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/apps/Settings/src/com/android/settings/datausage/
DCycleAdapter.java84 historyStart = chartData.network.getStart(); in updateCycleList()
85 historyEnd = chartData.network.getEnd(); in updateCycleList()
103 entry = chartData.network.getValues(cycleStart, cycleEnd, entry); in updateCycleList()
124 entry = chartData.network.getValues(cycleStart, cycleEnd, entry); in updateCycleList()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java166 public void onLinkPropertiesChanged(Network network, LinkProperties lp) {
167 if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
182 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
186 if (network.equals(mNetwork) && !nc.equals(mNetworkCapabilities)) {
197 public void onLost(Network network) {
198 if (network.equals(mNetwork)) {
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiNoInternetDialog.java89 public void onLost(Network network) { in onCreate()
91 if (mNetwork.equals(network)) { in onCreate()
97 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in onCreate()
99 if (mNetwork.equals(network) && nc.hasCapability(NET_CAPABILITY_VALIDATED)) { in onCreate()
DConfigureWifiSettings.java31 import com.android.settings.network.NetworkScoreManagerWrapper;
32 import com.android.settings.network.NetworkScorerPickerPreferenceController;
33 import com.android.settings.network.WifiCallingPreferenceController;
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Subscriber.java193 Network network = wrapper.get(); in subscribe() local
196 Volley.newRequestQueue(mHelper.getContext(), new NetworkSpecifiedHurlStack(network)); in subscribe()
369 public NetworkSpecifiedHurlStack(Network network) { in NetworkSpecifiedHurlStack() argument
370 mNetwork = network; in NetworkSpecifiedHurlStack()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSupportFragment.java55 public void onCapabilitiesChanged(Network network,
61 public void onAvailable(Network network) {
66 public void onLost(Network network) {
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java89 Context context, PhoneAccountHandle phoneAccount, Network network, Editor status) in ImapHelper() argument
95 network, in ImapHelper()
103 Network network, in ImapHelper() argument
108 mNetwork = network; in ImapHelper()
129 new ImapStore(context, this, username, password, port, serverName, auth, network); in ImapHelper()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConnectivityManagerWrapperImpl.java56 public void startCaptivePortalApp(Network network) { in startCaptivePortalApp() argument
57 mCm.startCaptivePortalApp(network); in startCaptivePortalApp()
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DJobPreconditions.java30 for (Network network : connectivityManager.getAllNetworks()) { in isWifiConnected()
31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in isWifiConnected()
/packages/apps/CarrierConfig/
DREADME5 based on the subscriber's network. It replaced many XML resource overlays in frameworks/base and
6 frameworks/opt/telephony. The current framework allows per-network configuration that uses
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DWifiMonitor.java75 for (Network network : cm.getAllNetworks()) { in isConnected()
76 NetworkInfo networkInfo = cm.getNetworkInfo(network); in isConnected()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DJobPreconditionsTest.java119 Network network = (Network) invocation.getArguments()[0]; in hookUpMocks()
120 return mNetworkMap.get(network); in hookUpMocks()

1234