/frameworks/base/core/java/android/net/ |
IConnectivityManager.aidl | 43 NetworkInfo getNetworkInfo(int networkType); 46 boolean isNetworkSupported(int networkType); 49 LinkProperties getLinkProperties(int networkType); 57 boolean setRadio(int networkType, boolean turnOn); 59 int startUsingNetworkFeature(int networkType, in String feature, 62 int stopUsingNetworkFeature(int networkType, in String feature); 64 boolean requestRouteToHost(int networkType, int hostAddress); 66 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress); 72 void setPolicyDataEnable(int networkType, boolean enabled); 104 void reportInetCondition(int networkType, int percentage) [all...] |
ConnectivityManager.java | 291 public static boolean isNetworkTypeValid(int networkType) { 292 return networkType >= 0 && networkType <= MAX_NETWORK_TYPE; 332 public static boolean isNetworkTypeMobile(int networkType) { 333 switch (networkType) { 380 public NetworkInfo getNetworkInfo(int networkType) { 382 return mService.getNetworkInfo(networkType); 406 public LinkProperties getLinkProperties(int networkType) { 408 return mService.getLinkProperties(networkType); 424 public boolean setRadio(int networkType, boolean turnOn) [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 246 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >= 0; networkType--) { 247 mConnectivityState[networkType] = new NetworkState(); 248 Log.v(LOG_TAG, "Initialize network state for " + networkType + ": " + 249 mConnectivityState[networkType].toString()); 253 public void recordNetworkState(int networkType, State networkState) { 255 Log.v(LOG_TAG, "record network state for network " + networkType + 257 mConnectivityState[networkType].recordState(networkState); 263 * @param networkType [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 260 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >=0; networkType--) { 261 connectivityState[networkType] = new NetworkState(); 262 log("Initialize network state for " + networkType + ": " + 263 connectivityState[networkType].toString()); 268 public void recordNetworkState(int networkType, State networkState) { 269 log("record network state for network " + networkType + 271 connectivityState[networkType].recordState(networkState); 275 public void setStateTransitionCriteria(int networkType, State initState [all...] |
/packages/apps/Phone/src/com/android/phone/ |
Use2GOnlyCheckBoxPreference.java | 56 int networkType = isChecked() ? Phone.NT_MODE_GSM_ONLY : Phone.NT_MODE_WCDMA_PREF; 57 Log.i(LOG_TAG, "set preferred network type="+networkType); 58 mPhone.setPreferredNetworkType(networkType, mHandler
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IPhoneStateListener.aidl | 32 void onDataConnectionStateChanged(int state, int networkType);
|
ITelephonyRegistry.aidl | 38 in LinkCapabilities linkCapabilities, int networkType, boolean roaming);
|
Phone.java | [all...] |
PhoneBase.java | 752 public void setPreferredNetworkType(int networkType, Message response) { 753 mCM.setPreferredNetworkType(networkType, response); [all...] |
/frameworks/base/services/java/com/android/server/ |
ConnectivityService.java | 195 * arg1 = networkType to prefer 202 * arg1 = networkType 210 * arg1 = networkType 238 * arg2 = NetworkType 679 public NetworkInfo getNetworkInfo(int networkType) { 682 return getNetworkInfo(networkType, uid); 685 private NetworkInfo getNetworkInfo(int networkType, int uid) { 687 if (isNetworkTypeValid(networkType)) { 688 final NetworkStateTracker tracker = mNetTrackers[networkType]; 712 public boolean isNetworkSupported(int networkType) { [all...] |
TelephonyRegistry.java | 387 LinkCapabilities linkCapabilities, int networkType, boolean roaming) { 394 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType); 421 if (mDataConnectionNetworkType != networkType) { 422 mDataConnectionNetworkType = networkType;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaLteServiceStateTracker.java | 209 // determine data NetworkType from both LET and CDMA SS 263 boolean hasNetworkTypeChanged = networkType != newNetworkType; 275 (((networkType == ServiceState.RADIO_TECHNOLOGY_LTE) && 277 ((networkType == ServiceState.RADIO_TECHNOLOGY_EHRPD) && 283 ((networkType != ServiceState.RADIO_TECHNOLOGY_LTE) && 284 (networkType != ServiceState.RADIO_TECHNOLOGY_EHRPD))); 340 networkType = newNetworkType; 346 ServiceState.radioTechnologyToString(networkType)); 464 if (networkType == ServiceState.RADIO_TECHNOLOGY_LTE) { 470 if (networkType != ServiceState.RADIO_TECHNOLOGY_LTE) [all...] |
CdmaServiceStateTracker.java | 89 protected int networkType = 0; [all...] |
/cts/tests/tests/net/src/android/net/http/cts/ |
ApacheHttpClientTest.java | 186 ConnectivityActionReceiver(int networkType, State expectedState) { 187 mNetworkType = networkType; 194 int networkType = networkInfo.getType(); 196 Log.i(TAG, "Network type: " + networkType + " State: " + networkInfo.getState()); 197 if (networkType == mNetworkType && networkInfo.getState() == mExpectedState) {
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneStateListener.java | 235 public void onDataConnectionStateChanged(int state, int networkType) { 310 public void onDataConnectionStateChanged(int state, int networkType) { 311 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType).
|
TelephonyManager.java | 488 public static int getNetworkClass(int networkType) { 489 switch (networkType) { [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 285 ConnectivityActionReceiver(int networkType) { 286 mNetworkType = networkType; 292 int networkType = networkInfo.getType(); 294 Log.i(TAG, "Network type: " + networkType + " state: " + networkState); 295 if (networkType == mNetworkType && networkInfo.getState() == State.CONNECTED) {
|
/packages/apps/Email/src/com/android/email/ |
EmailConnectivityManager.java | 94 * @param networkType as defined by ConnectivityManager 96 public void onConnectivityRestored(int networkType) { 102 * @param networkType as defined by ConnectivityManager 104 public void onConnectivityLost(int networkType) {
|
AttachmentInfo.java | 162 int networkType = EmailConnectivityManager.getActiveNetworkType(context); 163 if (networkType != ConnectivityManager.TYPE_WIFI) {
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadInfo.java | 395 * @param networkType a constant from ConnectivityManager.TYPE_*. 398 private int checkIsNetworkTypeAllowed(int networkType) { 400 int flag = translateNetworkTypeToApiFlag(networkType); 405 return checkSizeAllowedForNetwork(networkType); 412 private int translateNetworkTypeToApiFlag(int networkType) { 413 switch (networkType) { 429 private int checkSizeAllowedForNetwork(int networkType) { 433 if (networkType == ConnectivityManager.TYPE_WIFI) {
|
/frameworks/base/voip/java/com/android/server/sip/ |
SipService.java | [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipCommandInterface.java | 305 public void setPreferredNetworkType(int networkType , Message response) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 325 public void onDataConnectionStateChanged(int state, int networkType) { 328 + " type=" + networkType); 331 mDataNetType = networkType; [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkPolicyManagerService.java | [all...] |