/frameworks/base/core/java/android/net/ |
H A D | 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, in [all...] |
H A D | ConnectivityManager.java | 291 public static boolean isNetworkTypeValid(int networkType) { argument 292 return networkType >= 0 && networkType <= MAX_NETWORK_TYPE; 332 public static boolean isNetworkTypeMobile(int networkType) { argument 333 switch (networkType) { 380 public NetworkInfo getNetworkInfo(int networkType) { argument 382 return mService.getNetworkInfo(networkType); 406 public LinkProperties getLinkProperties(int networkType) { argument 408 return mService.getLinkProperties(networkType); 424 public boolean setRadio(int networkType, boolea argument 443 startUsingNetworkFeature(int networkType, String feature) argument 463 stopUsingNetworkFeature(int networkType, String feature) argument 480 requestRouteToHost(int networkType, int hostAddress) argument 500 requestRouteToHostAddress(int networkType, InetAddress hostAddress) argument 766 reportInetCondition(int networkType, int percentage) argument 813 setDataDependency(int networkType, boolean met) argument 831 isNetworkSupported(int networkType) argument [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestActivity.java | 262 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >=0; networkType--) { 263 connectivityState[networkType] = new NetworkState(); 264 log("Initialize network state for " + networkType + ": " + 265 connectivityState[networkType].toString()); 270 public void recordNetworkState(int networkType, State networkState) { argument 271 log("record network state for network " + networkType + 273 connectivityState[networkType].recordState(networkState); 277 public void setStateTransitionCriteria(int networkType, Stat argument 284 validateNetworkStates(int networkType) argument 290 getTransitionFailureReason(int networkType) argument 363 waitForNetworkState(int networkType, State expectedState, long timeout) argument [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 256 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >= 0; networkType--) { 257 mConnectivityState[networkType] = new NetworkState(); 258 Log.v(LOG_TAG, "Initialize network state for " + networkType + ": " + 259 mConnectivityState[networkType].toString()); 263 public void recordNetworkState(int networkType, State networkState) { argument 265 Log.v(LOG_TAG, "record network state for network " + networkType + 267 mConnectivityState[networkType].recordState(networkState); 273 * @param networkType 278 setStateTransitionCriteria(int networkType, State initState, StateTransitionDirection transitionDir, State targetState) argument 289 validateNetworkStates(int networkType) argument 299 getTransitionFailureReason(int networkType) argument 435 waitForNetworkState(int networkType, State expectedState, long timeout) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IPhoneStateListener.aidl | 32 void onDataConnectionStateChanged(int state, int networkType);
|
H A D | ITelephonyRegistry.aidl | 38 in LinkCapabilities linkCapabilities, int networkType, boolean roaming);
|
H A D | Phone.java | 1115 * @param networkType one of NT_*_TYPE 1118 void setPreferredNetworkType(int networkType, Message response); argument
|
H A D | PhoneBase.java | 753 public void setPreferredNetworkType(int networkType, Message response) { argument 754 mCM.setPreferredNetworkType(networkType, response);
|
H A D | PhoneProxy.java | 545 public void setPreferredNetworkType(int networkType, Message response) { argument 546 mActivePhone.setPreferredNetworkType(networkType, response);
|
H A D | CommandsInterface.java | 1315 * networkType that was passed to setPreferredNetworkType. 1322 * @param networkType one of NT_*_TYPE 1325 void setPreferredNetworkType(int networkType , Message response);
|
H A D | RIL.java | 1836 public void setPreferredNetworkType(int networkType , Message response) { 1841 rr.mp.writeInt(networkType); 1843 mSetPreferredNetworkType = networkType; 1844 mPreferredNetworkType = networkType; 1847 + " : " + networkType);
|
/frameworks/base/services/java/com/android/server/ |
H A D | ConnectivityService.java | 208 * arg1 = networkType to prefer 215 * arg1 = networkType 223 * arg1 = networkType 774 public NetworkInfo getNetworkInfo(int networkType) { argument 777 return getNetworkInfo(networkType, uid); 780 private NetworkInfo getNetworkInfo(int networkType, int uid) { argument 782 if (isNetworkTypeValid(networkType)) { 783 final NetworkStateTracker tracker = mNetTrackers[networkType]; 807 public boolean isNetworkSupported(int networkType) { argument 809 return (isNetworkTypeValid(networkType) 826 getLinkProperties(int networkType) argument 854 getNetworkStateUnchecked(int networkType) argument 953 isSameUser(int pid, int uid, int networkType, String feature) argument 968 startUsingNetworkFeature(int networkType, String feature, IBinder binder) argument 1072 stopUsingNetworkFeature(int networkType, String feature) argument 1203 requestRouteToHost(int networkType, int hostAddress) argument 1222 requestRouteToHostAddress(int networkType, byte[] hostAddress) argument 1374 setDataDependency(int networkType, boolean met) argument 1381 handleSetDependencyMet(int networkType, boolean met) argument 1457 setPolicyDataEnable(int networkType, boolean enabled) argument 1465 handleSetPolicyDataEnable(int networkType, boolean enabled) argument 2278 getRestoreDefaultNetworkDelay(int networkType) argument 2615 reportInetCondition(int networkType, int percentage) argument 2835 convertFeatureToNetworkType(int networkType, String feature) argument [all...] |
H A D | TelephonyRegistry.java | 387 LinkCapabilities linkCapabilities, int networkType, boolean roaming) { 394 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType); 421 if (mDataConnectionNetworkType != networkType) { 422 mDataConnectionNetworkType = networkType; 385 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, int networkType, boolean roaming) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaLteServiceStateTracker.java | 265 boolean hasNetworkTypeChanged = networkType != newNetworkType; 277 (((networkType == ServiceState.RADIO_TECHNOLOGY_LTE) && 279 ((networkType == ServiceState.RADIO_TECHNOLOGY_EHRPD) && 285 ((networkType != ServiceState.RADIO_TECHNOLOGY_LTE) && 286 (networkType != ServiceState.RADIO_TECHNOLOGY_EHRPD))); 342 networkType = newNetworkType; 348 ServiceState.radioTechnologyToString(networkType)); 472 if (networkType == ServiceState.RADIO_TECHNOLOGY_LTE) { 480 if (networkType != ServiceState.RADIO_TECHNOLOGY_LTE) { 502 return (networkType [all...] |
H A D | CdmaServiceStateTracker.java | 89 protected int networkType = 0; field in class:CdmaServiceStateTracker 903 boolean hasNetworkTypeChanged = networkType != newNetworkType; 933 networkType = newNetworkType; 941 ServiceState.radioTechnologyToString(networkType));
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 235 public void onDataConnectionStateChanged(int state, int networkType) { argument 310 public void onDataConnectionStateChanged(int state, int networkType) { 311 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType).
|
H A D | TelephonyManager.java | 488 public static int getNetworkClass(int networkType) { argument 489 switch (networkType) {
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipService.java | 1158 String networkType = connected ? info.getTypeName() : "null"; 1161 if (connected == mConnected && networkType.equals(mNetworkType)) { 1166 " -> " + networkType); 1179 mNetworkType = networkType;
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1505 int networkType = phone.getNetworkType(); 1506 if (networkType == TelephonyManager.NETWORK_TYPE_UMTS 1507 || networkType == TelephonyManager.NETWORK_TYPE_HSDPA 1508 || networkType == TelephonyManager.NETWORK_TYPE_HSUPA 1509 || networkType == TelephonyManager.NETWORK_TYPE_HSPA) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 311 public void setPreferredNetworkType(int networkType , Message response) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkController.java | 390 public void onDataConnectionStateChanged(int state, int networkType) { 393 + " type=" + networkType); 396 mDataNetType = networkType;
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 476 public void setPreferredNetworkType(int networkType, Message response) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 969 public void setPreferredNetworkType(int networkType , Message result) { 970 mNetworkType = networkType;
|
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 309 // watch for networkType changes that aren't broadcast through 697 public void onDataConnectionStateChanged(int state, int networkType) { 699 final boolean networkTypeChanged = networkType != mLastPhoneNetworkType; 702 // networkType changed without a state change, which means we 713 mLastPhoneNetworkType = networkType;
|
H A D | NetworkPolicyManagerService.java | 1538 private void setPolicyDataEnable(int networkType, boolean enabled) { argument 1540 mConnManager.setPolicyDataEnable(networkType, enabled);
|