/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 | 166 public static final String EXTRA_NETWORK_TYPE = "networkType"; 600 * @param networkType the type to be tested 605 public static boolean isNetworkTypeValid(int networkType) { argument 606 return networkType >= 0 && networkType <= MAX_NETWORK_TYPE; 663 * @param networkType the type to check 667 public static boolean isNetworkTypeMobile(int networkType) { argument 668 switch (networkType) { 690 public static boolean isNetworkTypeWifi(int networkType) { argument 691 switch (networkType) { 883 getNetworkInfo(int networkType) argument 949 getNetworkForType(int networkType) argument 1021 getLinkProperties(int networkType) argument 1143 startUsingNetworkFeature(int networkType, String feature) argument 1198 stopUsingNetworkFeature(int networkType, String feature) argument 1213 networkCapabilitiesForFeature(int networkType, String feature) argument 1611 requestRouteToHost(int networkType, int hostAddress) argument 1633 requestRouteToHostAddress(int networkType, InetAddress hostAddress) argument 2259 reportInetCondition(int networkType, int percentage) argument 2393 isNetworkSupported(int networkType) argument 2480 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 | 1686 public static int getNetworkClass(int networkType) { argument 1687 switch (networkType) { 4107 * @param networkType the preferred network type, defined in RILConstants.java. 4111 public boolean setPreferredNetworkType(int subId, int networkType) { argument 4115 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 | 939 private NetworkState getFilteredNetworkState(int networkType, int uid, boolean ignoreBlocked) { argument 940 if (mLegacyTypeTracker.isTypeSupported(networkType)) { 941 final NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); 945 state.networkInfo.setType(networkType); 947 final NetworkInfo info = new NetworkInfo(networkType, 0, 948 getNetworkTypeName(networkType), ""); 1176 public NetworkInfo getNetworkInfo(int networkType) { argument 1184 if (state.networkInfo != null && state.networkInfo.getType() == networkType) { 1189 final NetworkState state = getFilteredNetworkState(networkType, uid, false); 1210 for (int networkType 1221 getNetworkForType(int networkType) argument 1293 isNetworkSupported(int networkType) argument 1315 getLinkPropertiesForType(int networkType) argument 1416 requestRouteToHostAddress(int networkType, byte[] hostAddress) argument 1908 getRestoreDefaultNetworkDelay(int networkType) argument 3147 reportInetCondition(int networkType, int percentage) argument 3868 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 | 1785 * @param networkType one of NT_*_TYPE 1788 public void setPreferredNetworkType(int networkType, Message response) { argument 1791 int rafFromType = RadioAccessFamily.getRafFromNetworkType(networkType); 1810 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 | 170 public void setConnectivity(int networkType, boolean inetCondition, boolean isConnected) { argument 174 mNetCapabilities.addTransportType(networkType); 176 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 | 482 public void onDataConnectionStateChanged(int state, int networkType) { argument 485 + " type=" + networkType); 488 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 | 845 * @param networkType The preferred network 847 public void writeSetPreferredNetworkType(int phoneId, int networkType) { argument 849 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
|