/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 | 451 public void onDataConnectionStateChanged(int state, int networkType) { argument 634 public void onDataConnectionStateChanged(int state, int networkType) { argument 635 send(LISTEN_DATA_CONNECTION_STATE, state, networkType, null);
|
H A D | TelephonyManager.java | 1858 public static int getNetworkClass(int networkType) { argument 1859 switch (networkType) { 4626 * @param networkType the preferred network type, defined in RILConstants.java. 4630 public boolean setPreferredNetworkType(int subId, int networkType) { argument 4634 return telephony.setPreferredNetworkType(subId, networkType);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | PasspointNetworkScoreTest.java | 50 public final NetworkDetail.Ant networkType; field in class:PasspointNetworkScoreTest.TestData 61 networkType = type; 135 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, 145 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, 156 NetworkDetail.Ant.FreePublic /* networkType */, null /* anqpElements */, 167 NetworkDetail.Ant.Personal /* networkType */, null /* anqpElements */, 178 NetworkDetail.Ant.FreePublic /* networkType */, 190 NetworkDetail.Ant.FreePublic /* networkType */, 203 NetworkDetail.Ant.FreePublic /* networkType */, 216 NetworkDetail.Ant.FreePublic /* networkType */, 314 generateScanDetail(int rssiLevel, boolean internetAccess, NetworkDetail.Ant networkType) argument [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | NetworkStatsManager.java | 117 * @param networkType As defined in {@link ConnectivityManager}, e.g. 128 public Bucket querySummaryForDevice(int networkType, String subscriberId, argument 132 template = createTemplate(networkType, subscriberId); 155 * @param networkType As defined in {@link ConnectivityManager}, e.g. 166 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, argument 170 template = createTemplate(networkType, subscriberId); 192 * @param networkType As defined in {@link ConnectivityManager}, e.g. 203 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, argument 207 template = createTemplate(networkType, subscriberId); 225 public NetworkStats queryDetailsForUid(int networkType, Strin argument 256 queryDetailsForUidTag(int networkType, String subscriberId, long startTime, long endTime, int uid, int tag) argument 297 queryDetails(int networkType, String subscriberId, long startTime, long endTime) argument 318 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback) argument 339 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback, @Nullable Handler handler) argument 404 onThresholdReached(int networkType, String subscriberId) argument 412 createTemplate(int networkType, String subscriberId) argument 435 CallbackHandler(Looper looper, int networkType, String subscriberId, UsageCallback callback) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | LinkQualityInfo.java | 162 public void setNetworkType(int networkType) { argument 163 mNetworkType = networkType;
|
H A D | NetworkScoreManager.java | 363 * @param networkType the type of network this cache can handle. See {@link NetworkKey#type}. 372 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { argument 373 registerNetworkScoreCache(networkType, scoreCache, CACHE_FILTER_NONE); 379 * @param networkType the type of network this cache can handle. See {@link NetworkKey#type} 387 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, argument 390 mService.registerNetworkScoreCache(networkType, scoreCache, filterType); 399 * @param networkType the type of network this cache can handle. See {@link NetworkKey#type}. 406 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { argument 408 mService.unregisterNetworkScoreCache(networkType, scoreCache);
|
H A D | ConnectivityManager.java | 175 public static final String EXTRA_NETWORK_TYPE = "networkType"; 627 * @param networkType the type to be tested 633 public static boolean isNetworkTypeValid(int networkType) { argument 634 return networkType >= 0 && networkType <= MAX_NETWORK_TYPE; 691 * @param networkType the type to check 695 public static boolean isNetworkTypeMobile(int networkType) { argument 696 switch (networkType) { 718 public static boolean isNetworkTypeWifi(int networkType) { argument 719 switch (networkType) { 908 getNetworkInfo(int networkType) argument 972 getNetworkForType(int networkType) argument 1042 getLinkProperties(int networkType) argument 1124 startUsingNetworkFeature(int networkType, String feature) argument 1181 stopUsingNetworkFeature(int networkType, String feature) argument 1196 networkCapabilitiesForFeature(int networkType, String feature) argument 1641 requestRouteToHost(int networkType, int hostAddress) argument 1664 requestRouteToHostAddress(int networkType, InetAddress hostAddress) argument 2288 reportInetCondition(int networkType, int percentage) argument 2421 isNetworkSupported(int networkType) argument 2508 setProvisioningNotificationVisible(boolean visible, int networkType, String action) 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/tests/net/java/com/android/server/connectivity/ |
H A D | LingerMonitorTest.java | 336 NetworkAgentInfo nai(int netId, int transport, int networkType, String networkTypeName) { argument 337 NetworkInfo info = new NetworkInfo(networkType, 0, networkTypeName, "");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsNumberUtils.java | 119 * @param networkType current network type 125 int networkType) { 151 if (networkType == CDMA_HOME_NETWORK 152 || networkType == CDMA_ROAMING_NETWORK) { 159 if (networkType == CDMA_HOME_NETWORK) { 161 } else if (networkType == GSM_UMTS_NETWORK) { 165 } else if (networkType == CDMA_ROAMING_NETWORK) { 179 if (networkType == GSM_UMTS_NETWORK) { 191 if (networkType == GSM_UMTS_NETWORK || networkType 123 formatNumber(Context context, String number, String activeMcc, int networkType) argument [all...] |
/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/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 | 433 public NetworkInfo getNetworkInfo(int networkType) { argument 448 public Network getNetworkForType(int networkType) { argument 463 public boolean isNetworkSupported(int networkType) { argument 473 public LinkProperties getLinkPropertiesForType(int networkType) { argument 502 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { argument 507 public int getRestoreDefaultNetworkDelay(int networkType) { argument 592 public void reportInetCondition(int networkType, int percentage) { argument 673 public void setProvisioningNotificationVisible(boolean visible, int networkType, argument
|
H A D | PhoneMock.java | 484 public void setPreferredNetworkType(int networkType, Message response) { argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerBaseTest.java | 203 public void setConnectivity(int networkType, boolean inetCondition, boolean isConnected) { argument 207 mNetCapabilities.addTransportType(networkType); 209 mNetCapabilities.removeTransportType(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 | 252 private final int networkType; field in class:JobInfo 382 return networkType; 520 if (networkType != j.networkType) { 580 hashCode = 31 * hashCode + networkType; 610 networkType = in.readInt(); 638 networkType = b.mNetworkType; 675 out.writeInt(networkType); 915 public Builder setRequiredNetworkType(@NetworkType int networkType) { argument 916 mNetworkType = networkType; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | MobileSignalController.java | 525 public void onDataConnectionStateChanged(int state, int networkType) { argument 528 + " type=" + networkType); 531 mDataNetType = networkType;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkScoreService.java | 439 List<ScoredNetwork> scoredNetworkList, int networkType) { 440 return new FilteringCacheUpdatingConsumer(context, scoredNetworkList, networkType, 446 List<ScoredNetwork> scoredNetworkList, int networkType, 451 mNetworkType = networkType; 764 public void registerNetworkScoreCache(int networkType, argument 771 RemoteCallbackList<INetworkScoreCache> callbackList = mScoreCaches.get(networkType); 774 mScoreCaches.put(networkType, callbackList); 778 mScoreCaches.remove(networkType); 781 Log.v(TAG, "Unable to register NetworkScoreCache for type " + networkType); 791 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCach argument 438 create(Context context, List<ScoredNetwork> scoredNetworkList, int networkType) argument 445 FilteringCacheUpdatingConsumer(Context context, List<ScoredNetwork> scoredNetworkList, int networkType, UnaryOperator<List<ScoredNetwork>> currentNetworkFilter, UnaryOperator<List<ScoredNetwork>> scanResultsFilter) argument [all...] |
H A D | TelephonyRegistry.java | 1085 NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { 1088 networkCapabilities, networkType, roaming); 1094 int networkType, boolean roaming) { 1102 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType 1132 if (mDataConnectionNetworkType[phoneId] != networkType) { 1133 mDataConnectionNetworkType[phoneId] = networkType; 1160 mPreciseDataConnectionState = new PreciseDataConnectionState(state, networkType, 1178 broadcastPreciseDataConnectionStateChanged(state, networkType, apnType, apn, reason, 1601 private void broadcastPreciseDataConnectionStateChanged(int state, int networkType, argument 1083 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1091 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 | 913 private NetworkState getFilteredNetworkState(int networkType, int uid, boolean ignoreBlocked) { argument 914 if (mLegacyTypeTracker.isTypeSupported(networkType)) { 915 final NetworkAgentInfo nai = mLegacyTypeTracker.getNetworkForType(networkType); 919 state.networkInfo.setType(networkType); 921 final NetworkInfo info = new NetworkInfo(networkType, 0, 922 getNetworkTypeName(networkType), ""); 1121 public NetworkInfo getNetworkInfo(int networkType) { argument 1129 if (state.networkInfo != null && state.networkInfo.getType() == networkType) { 1134 final NetworkState state = getFilteredNetworkState(networkType, uid, false); 1155 for (int networkType 1166 getNetworkForType(int networkType) argument 1238 isNetworkSupported(int networkType) argument 1260 getLinkPropertiesForType(int networkType) argument 1364 requestRouteToHostAddress(int networkType, byte[] hostAddress) argument 1808 getRestoreDefaultNetworkDelay(int networkType) argument 3041 reportInetCondition(int networkType, int percentage) argument 3775 setProvisioningNotificationVisible(boolean visible, int networkType, String action) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
H A D | TelephonyMetrics.java | 878 * @param networkType The preferred network 880 public void writeSetPreferredNetworkType(int phoneId, int networkType) { argument 882 s.preferredNetworkMode = networkType + 1;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 921 public void noteNetworkInterfaceType(String iface, int networkType) { argument 924 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
|