/frameworks/base/core/java/android/net/ |
IConnectivityManager.aidl | 43 NetworkInfo getNetworkInfo(int networkType); 46 boolean isNetworkSupported(int networkType); 49 LinkProperties getLinkProperties(int networkType); 58 boolean setRadio(int networkType, boolean turnOn); 60 int startUsingNetworkFeature(int networkType, in String feature, 63 int stopUsingNetworkFeature(int networkType, in String feature); 65 boolean requestRouteToHost(int networkType, int hostAddress); 67 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress); 73 void setPolicyDataEnable(int networkType, boolean enabled); 105 void reportInetCondition(int networkType, int percentage) [all...] |
ConnectivityManager.java | 303 public static boolean isNetworkTypeValid(int networkType) { 304 return networkType >= 0 && networkType <= MAX_NETWORK_TYPE; 344 public static boolean isNetworkTypeMobile(int networkType) { 345 switch (networkType) { 400 public NetworkInfo getNetworkInfo(int networkType) { 402 return mService.getNetworkInfo(networkType); 426 public LinkProperties getLinkProperties(int networkType) { 428 return mService.getLinkProperties(networkType); 444 public boolean setRadio(int networkType, boolean turnOn) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 267 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >=0; networkType--) { 268 connectivityState[networkType] = new NetworkState(); 269 log("Initialize network state for " + networkType + ": " + 270 connectivityState[networkType].toString()); 275 public void recordNetworkState(int networkType, State networkState) { 276 log("record network state for network " + networkType + 278 connectivityState[networkType].recordState(networkState); 282 public void setStateTransitionCriteria(int networkType, State initState [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 257 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >= 0; networkType--) { 258 mConnectivityState[networkType] = new NetworkState(); 259 Log.v(LOG_TAG, "Initialize network state for " + networkType + ": " + 260 mConnectivityState[networkType].toString()); 264 public void recordNetworkState(int networkType, State networkState) { 266 Log.v(LOG_TAG, "record network state for network " + networkType + 268 mConnectivityState[networkType].recordState(networkState); 274 * @param networkType [all...] |
/packages/apps/Phone/src/com/android/phone/ |
Use2GOnlyCheckBoxPreference.java | 55 int networkType = isChecked() ? Phone.NT_MODE_GSM_ONLY : Phone.NT_MODE_WCDMA_PREF; 56 Log.i(LOG_TAG, "set preferred network type="+networkType); 58 android.provider.Settings.Secure.PREFERRED_NETWORK_MODE, networkType); 59 mPhone.setPreferredNetworkType(networkType, mHandler
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IPhoneStateListener.aidl | 33 void onDataConnectionStateChanged(int state, int networkType);
|
ITelephonyRegistry.aidl | 39 in LinkCapabilities linkCapabilities, int networkType, boolean roaming);
|
Phone.java | [all...] |
/frameworks/base/services/java/com/android/server/ |
ConnectivityService.java | 209 * arg1 = networkType to prefer 216 * arg1 = networkType 224 * arg1 = networkType 252 * arg2 = NetworkType 775 public NetworkInfo getNetworkInfo(int networkType) { 778 return getNetworkInfo(networkType, uid); 781 private NetworkInfo getNetworkInfo(int networkType, int uid) { 783 if (isNetworkTypeValid(networkType)) { 784 final NetworkStateTracker tracker = mNetTrackers[networkType]; 808 public boolean isNetworkSupported(int networkType) { [all...] |
TelephonyRegistry.java | 417 LinkCapabilities linkCapabilities, int networkType, boolean roaming) { 424 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType); 451 if (mDataConnectionNetworkType != networkType) { 452 mDataConnectionNetworkType = networkType;
|
/cts/tests/tests/net/src/android/net/cts/ |
ConnectivityManagerTest.java | 228 ConnectivityActionReceiver(int networkType) { 229 mNetworkType = networkType; 235 int networkType = networkInfo.getType(); 237 Log.i(TAG, "Network type: " + networkType + " state: " + networkState); 238 if (networkType == mNetworkType && networkInfo.getState() == State.CONNECTED) {
|
/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 | 244 public void onDataConnectionStateChanged(int state, int networkType) { 333 public void onDataConnectionStateChanged(int state, int networkType) { 334 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType).
|
TelephonyManager.java | 491 public static int getNetworkClass(int networkType) { 492 switch (networkType) { [all...] |
/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) {
|
/hardware/ti/wlan/wl1271/stad/src/Connection_Managment/ |
apConnApi.h | 192 OS_802_11_NETWORK_TYPE networkType; /**< Network Type: 2.4G, 5G or Dual */
|
apConn.c | [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadInfo.java | 402 * @param networkType a constant from ConnectivityManager.TYPE_*. 405 private int checkIsNetworkTypeAllowed(int networkType) { 407 final int flag = translateNetworkTypeToApiFlag(networkType); 413 return checkSizeAllowedForNetwork(networkType); 420 private int translateNetworkTypeToApiFlag(int networkType) { 421 switch (networkType) { 437 private int checkSizeAllowedForNetwork(int networkType) { 441 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 | 317 public void setPreferredNetworkType(int networkType , Message response) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 401 public void onDataConnectionStateChanged(int state, int networkType) { 404 + " type=" + networkType); 407 mDataNetType = networkType; [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 334 // watch for networkType changes that aren't broadcast through 793 public void onDataConnectionStateChanged(int state, int networkType) { 795 final boolean networkTypeChanged = networkType != mLastPhoneNetworkType; 798 // networkType changed without a state change, which means we [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
UsimDataDownloadCommands.java | 476 public void setPreferredNetworkType(int networkType, Message response) {
|