Searched refs:networkType (Results 1 – 9 of 9) sorted by relevance
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadInfo.java | 414 private NetworkState checkIsNetworkTypeAllowed(int networkType, long totalBytes) { in checkIsNetworkTypeAllowed() argument 416 final int flag = translateNetworkTypeToApiFlag(networkType); in checkIsNetworkTypeAllowed() 422 return checkSizeAllowedForNetwork(networkType, totalBytes); in checkIsNetworkTypeAllowed() 429 private int translateNetworkTypeToApiFlag(int networkType) { in translateNetworkTypeToApiFlag() argument 430 switch (networkType) { in translateNetworkTypeToApiFlag() 449 private NetworkState checkSizeAllowedForNetwork(int networkType, long totalBytes) { in checkSizeAllowedForNetwork() argument 455 if (ConnectivityManager.isNetworkTypeMobile(networkType)) { in checkSizeAllowedForNetwork()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 625 int networkType = (Integer) request.argument; in handleMessage() local 626 getPhoneFromRequest(request).setPreferredNetworkType(networkType, onCompleted); in handleMessage() 2245 int networkType = (result != null ? result[0] : -1); in getPreferredNetworkType() local 2246 if (DBG) log("getPreferredNetworkType: " + networkType); in getPreferredNetworkType() 2247 return networkType; in getPreferredNetworkType() 2258 public boolean setPreferredNetworkType(int subId, int networkType) { in setPreferredNetworkType() argument 2260 if (DBG) log("setPreferredNetworkType: subId " + subId + " type " + networkType); in setPreferredNetworkType() 2261 Boolean success = (Boolean) sendRequest(CMD_SET_PREFERRED_NETWORK_TYPE, networkType, subId); in setPreferredNetworkType() 2265 Settings.Global.PREFERRED_NETWORK_MODE + subId, networkType); in setPreferredNetworkType() local
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 368 private boolean setNetworkType(int networkType) { in setNetworkType() argument 369 boolean hasChanged = mConnectivityStatus.mNetworkType != networkType; in setNetworkType() 370 mConnectivityStatus.mNetworkType = networkType; in setNetworkType()
|
D | NetworkConfigurationFactory.java | 35 Context context, int networkType) { in createNetworkConfiguration() argument 36 switch (networkType) { in createNetworkConfiguration()
|
D | SaveWifiConfigurationFragment.java | 75 int networkType = getArguments().getInt(EXTRA_NETWORK_TYPE); in onCreate() local 77 NetworkConfigurationFactory.createNetworkConfiguration(getActivity(), networkType); in onCreate()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | EmailConnectivityManager.java | 97 public void onConnectivityRestored(int networkType) { in onConnectivityRestored() argument 105 public void onConnectivityLost(int networkType) { in onConnectivityLost() argument
|
D | AttachmentInfo.java | 169 int networkType = EmailConnectivityManager.getActiveNetworkType(context); in AttachmentInfo() local 170 if (networkType != ConnectivityManager.TYPE_WIFI) { in AttachmentInfo()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 94 final int networkType = getConnectivityChangeNetworkType(intent); 95 if (networkType != ConnectivityManager.TYPE_MOBILE_MMS) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessPendingMessagesAction.java | 108 final int networkType = in scheduleProcessPendingMessagesAction() 110 if (networkType != ConnectivityManager.TYPE_MOBILE) { in scheduleProcessPendingMessagesAction()
|