/frameworks/base/core/java/android/net/ |
H A D | NetworkScoreManager.java | 258 * @param networkType the type of network this cache can handle. See {@link NetworkKey#type}. 265 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { argument 267 mService.registerNetworkScoreCache(networkType, scoreCache);
|
H A D | LinkQualityInfo.java | 162 public void setNetworkType(int networkType) { argument 163 mNetworkType = networkType;
|
H A D | ConnectivityManager.java | 173 public static final String EXTRA_NETWORK_TYPE = "networkType"; 614 * @param networkType the type to be tested 619 public static boolean isNetworkTypeValid(int networkType) { argument 620 return networkType >= 0 && networkType <= MAX_NETWORK_TYPE; 677 * @param networkType the type to check 681 public static boolean isNetworkTypeMobile(int networkType) { argument 682 switch (networkType) { 704 public static boolean isNetworkTypeWifi(int networkType) { argument 705 switch (networkType) { 897 getNetworkInfo(int networkType) argument 963 getNetworkForType(int networkType) argument 1035 getLinkProperties(int networkType) argument 1157 startUsingNetworkFeature(int networkType, String feature) argument 1212 stopUsingNetworkFeature(int networkType, String feature) argument 1227 networkCapabilitiesForFeature(int networkType, String feature) argument 1625 requestRouteToHost(int networkType, int hostAddress) argument 1647 requestRouteToHostAddress(int networkType, InetAddress hostAddress) argument 2273 reportInetCondition(int networkType, int percentage) argument 2407 isNetworkSupported(int networkType) argument 2494 setProvisioningNotificationVisible(boolean visible, int networkType, String action) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 56 public PreciseDataConnectionState(int state, int networkType, argument 60 mNetworkType = networkType;
|
H A D | PhoneStateListener.java | 419 public void onDataConnectionStateChanged(int state, int networkType) { argument 584 public void onDataConnectionStateChanged(int state, int networkType) { argument 585 send(LISTEN_DATA_CONNECTION_STATE, state, networkType, null);
|
H A D | TelephonyManager.java | 1687 public static int getNetworkClass(int networkType) { argument 1688 switch (networkType) { 4108 * @param networkType the preferred network type, defined in RILConstants.java. 4112 public boolean setPreferredNetworkType(int subId, int networkType) { argument 4116 return telephony.setPreferredNetworkType(subId, networkType);
|
/frameworks/base/core/java/android/app/usage/ |
H A D | NetworkStatsManager.java | 112 * @param networkType As defined in {@link ConnectivityManager}, e.g. 123 public Bucket querySummaryForDevice(int networkType, String subscriberId, argument 127 template = createTemplate(networkType, subscriberId); 148 * @param networkType As defined in {@link ConnectivityManager}, e.g. 159 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, argument 163 template = createTemplate(networkType, subscriberId); 184 * @param networkType As defined in {@link ConnectivityManager}, e.g. 195 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, argument 199 template = createTemplate(networkType, subscriberId); 217 public NetworkStats queryDetailsForUid(int networkType, Strin argument 246 queryDetailsForUidTag(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag) argument 285 queryDetails(int networkType, String subscriberId, long startTime, long endTime) argument 306 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback) argument 327 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback, @Nullable Handler handler) argument 392 onThresholdReached(int networkType, String subscriberId) argument 400 createTemplate(int networkType, String subscriberId) argument 423 CallbackHandler(Looper looper, int networkType, String subscriberId, UsageCallback callback) argument [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestBase.java | 159 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) { argument 162 NetworkInfo ni = mCm.getNetworkInfo(networkType);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkScoreService.java | 398 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { argument 401 if (mScoreCaches.containsKey(networkType)) { 403 "Score cache already registered for type " + networkType); 405 mScoreCaches.put(networkType, scoreCache);
|
H A D | TelephonyRegistry.java | 1003 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { 1006 networkCapabilities, networkType, roaming); 1012 int networkType, boolean roaming) { 1020 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType 1050 if (mDataConnectionNetworkType[phoneId] != networkType) { 1051 mDataConnectionNetworkType[phoneId] = networkType; 1076 mPreciseDataConnectionState = new PreciseDataConnectionState(state, networkType, 1093 broadcastPreciseDataConnectionStateChanged(state, networkType, apnType, apn, reason, 1494 private void broadcastPreciseDataConnectionStateChanged(int state, int networkType, argument 1001 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1009 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument [all...] |
H A D | ConnectivityService.java | 940 private NetworkState getFilteredNetworkState(int networkType, int uid, boolean ignoreBlocked) { argument 941 if (mLegacyTypeTracker.isTypeSupported(networkType)) { 942 final NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); 946 state.networkInfo.setType(networkType); 948 final NetworkInfo info = new NetworkInfo(networkType, 0, 949 getNetworkTypeName(networkType), ""); 1177 public NetworkInfo getNetworkInfo(int networkType) { argument 1185 if (state.networkInfo != null && state.networkInfo.getType() == networkType) { 1190 final NetworkState state = getFilteredNetworkState(networkType, uid, false); 1211 for (int networkType 1222 getNetworkForType(int networkType) argument 1294 isNetworkSupported(int networkType) argument 1316 getLinkPropertiesForType(int networkType) argument 1417 requestRouteToHostAddress(int networkType, byte[] hostAddress) argument 1909 getRestoreDefaultNetworkDelay(int networkType) argument 3162 reportInetCondition(int networkType, int percentage) argument 3883 setProvisioningNotificationVisible(boolean visible, int networkType, String action) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
H A D | LingerMonitorTest.java | 320 NetworkAgentInfo nai(int netId, int transport, int networkType, String networkTypeName) { argument 321 NetworkInfo info = new NetworkInfo(networkType, 0, networkTypeName, "");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsNumberUtils.java | 117 * @param networkType current network type 123 int networkType) { 149 if (networkType == CDMA_HOME_NETWORK 150 || networkType == CDMA_ROAMING_NETWORK) { 157 if (networkType == CDMA_HOME_NETWORK) { 159 } else if (networkType == GSM_UMTS_NETWORK) { 163 } else if (networkType == CDMA_ROAMING_NETWORK) { 177 if (networkType == GSM_UMTS_NETWORK) { 189 if (networkType == GSM_UMTS_NETWORK || networkType 121 formatNumber(Context context, String number, String activeMcc, int networkType) argument [all...] |
H A D | Phone.java | 1787 * @param networkType one of NT_*_TYPE 1790 public void setPreferredNetworkType(int networkType, Message response) { argument 1793 int rafFromType = RadioAccessFamily.getRafFromNetworkType(networkType); 1812 Rlog.d(LOG_TAG, "setPreferredNetworkType: networkType = " + networkType
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 255 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >= 0; networkType--) { 256 mConnectivityState[networkType] = new NetworkState(); 257 Log.v(LOG_TAG, "Initialize network state for " + networkType + ": " + 258 mConnectivityState[networkType].toString()); 262 public void recordNetworkState(int networkType, State networkState) { argument 264 Log.v(LOG_TAG, "record network state for network " + networkType + 266 mConnectivityState[networkType].recordState(networkState); 272 * @param networkType 277 setStateTransitionCriteria(int networkType, State initState, StateTransitionDirection transitionDir, State targetState) argument 288 validateNetworkStates(int networkType) argument 298 getTransitionFailureReason(int networkType) argument 434 waitForNetworkState(int networkType, State expectedState, long timeout) argument [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerBaseTest.java | 177 public void setConnectivity(int networkType, boolean inetCondition, boolean isConnected) { argument 181 mNetCapabilities.addTransportType(networkType); 183 mNetCapabilities.removeTransportType(networkType);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | TelephonyRegistryMock.java | 236 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { 244 int networkType, boolean roaming) { 234 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 241 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
|
H A D | ConnectivityServiceMock.java | 510 public NetworkInfo getNetworkInfo(int networkType) { argument 525 public Network getNetworkForType(int networkType) { argument 540 public boolean isNetworkSupported(int networkType) { argument 550 public LinkProperties getLinkPropertiesForType(int networkType) { argument 589 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { argument 594 public int getRestoreDefaultNetworkDelay(int networkType) { argument 671 public void reportInetCondition(int networkType, int percentage) { argument 752 public void setProvisioningNotificationVisible(boolean visible, int networkType, argument
|
H A D | PhoneMock.java | 477 public void setPreferredNetworkType(int networkType, Message response) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | MobileSignalController.java | 477 public void onDataConnectionStateChanged(int state, int networkType) { argument 480 + " type=" + networkType); 483 mDataNetType = networkType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnContext.java | 543 public static int apnIdForType(int networkType) { argument 544 switch (networkType) {
|
/frameworks/base/core/java/android/app/job/ |
H A D | JobInfo.java | 186 private final int networkType; field in class:JobInfo 276 return networkType; 373 networkType = in.readInt(); 399 networkType = b.mNetworkType; 429 out.writeInt(networkType); 619 public Builder setRequiredNetworkType(int networkType) { argument 620 mNetworkType = networkType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
H A D | TelephonyMetrics.java | 852 * @param networkType The preferred network 854 public void writeSetPreferredNetworkType(int phoneId, int networkType) { argument 856 s.setPreferredNetworkMode(networkType);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 886 public void noteNetworkInterfaceType(String iface, int networkType) { argument 889 mStats.noteNetworkInterfaceTypeLocked(iface, networkType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommandsVerifier.java | 1002 public void setPreferredNetworkType(int networkType, Message response) { argument
|