/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | CellularLinkLayerStatsCollectorTest.java | 104 private List<CellInfo> generateCellInfoList(@NetworkType int networkType) { in generateCellInfoList() argument 109 if (networkType == NETWORK_TYPE_LTE) { in generateCellInfoList() 111 } else if (networkType == NETWORK_TYPE_CDMA || networkType == NETWORK_TYPE_EVDO_0) { in generateCellInfoList() 113 } else if (networkType == NETWORK_TYPE_GSM) { in generateCellInfoList() 115 } else if (networkType == NETWORK_TYPE_TD_SCDMA) { in generateCellInfoList() 117 } else if (networkType == NETWORK_TYPE_UMTS) { in generateCellInfoList() 119 } else if (networkType == NETWORK_TYPE_NR) { in generateCellInfoList() 125 if (i == 0 && networkType != NETWORK_TYPE_UNKNOWN) { in generateCellInfoList() 136 @NetworkType int networkType) { in generateSignalStrength() argument 145 if (networkType == NETWORK_TYPE_UNKNOWN) { in generateSignalStrength() [all …]
|
D | WakeupConfigStoreDataTest.java | 129 network1.networkType = 0; in deserializeSerializedData() 133 network2.networkType = 1; in deserializeSerializedData() 137 network3.networkType = 2; in deserializeSerializedData()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 208 public Bucket querySummaryForDevice(int networkType, String subscriberId, in querySummaryForDevice() argument 212 template = createTemplate(networkType, subscriberId); in querySummaryForDevice() 241 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() argument 245 template = createTemplate(networkType, subscriberId); in querySummaryForUser() 278 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, in querySummary() argument 282 template = createTemplate(networkType, subscriberId); in querySummary() 306 public NetworkStats queryDetailsForUid(int networkType, String subscriberId, in queryDetailsForUid() argument 308 return queryDetailsForUidTagState(networkType, subscriberId, startTime, endTime, uid, in queryDetailsForUid() 324 public NetworkStats queryDetailsForUidTag(int networkType, String subscriberId, in queryDetailsForUidTag() argument 326 return queryDetailsForUidTagState(networkType, subscriberId, startTime, endTime, uid, in queryDetailsForUidTag() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanResultMatchInfo.java | 36 public @WifiConfiguration.SecurityType int networkType; field in ScanResultMatchInfo 74 info.networkType = getNetworkType(config); in fromWifiConfiguration() 111 info.networkType = getNetworkType(scanResult); in fromScanResult() 114 if (info.networkType == WifiConfiguration.SECURITY_TYPE_SAE) { in fromScanResult() 118 } else if (info.networkType == WifiConfiguration.SECURITY_TYPE_OWE) { in fromScanResult() 140 if (other.pskSaeInTransitionMode && networkType == WifiConfiguration.SECURITY_TYPE_PSK in equals() 142 && other.networkType == WifiConfiguration.SECURITY_TYPE_PSK)) { in equals() 144 } else if ((networkType == WifiConfiguration.SECURITY_TYPE_OPEN in equals() 146 && other.networkType == WifiConfiguration.SECURITY_TYPE_OPEN)) { in equals() 151 networkTypeEquals = networkType == other.networkType; in equals() [all …]
|
D | CellularLinkLayerStatsCollector.java | 99 int networkType = cellStats.getDataNetworkType(); in update() local 101 networkType); in update() 102 boolean isSameRegisteredCell = getIsSameRegisteredCell(primaryCellInfo, networkType); in update() 107 mLastDataNetworkType = networkType; in update() 186 int networkType) { in getPrimaryCellInfo() argument 196 if ((cellInfo instanceof CellInfoTdscdma && networkType == NETWORK_TYPE_TD_SCDMA) in getPrimaryCellInfo() 197 || (cellInfo instanceof CellInfoCdma && (networkType == NETWORK_TYPE_CDMA in getPrimaryCellInfo() 198 || networkType == NETWORK_TYPE_EVDO_0)) in getPrimaryCellInfo() 199 || (cellInfo instanceof CellInfoLte && networkType == NETWORK_TYPE_LTE) in getPrimaryCellInfo() 200 || (cellInfo instanceof CellInfoWcdma && networkType == NETWORK_TYPE_UMTS) in getPrimaryCellInfo() [all …]
|
D | NetworkRequestStoreData.java | 181 approvedAccessPoint.networkType); in serializeApprovedAccessPoint() 248 int networkType = -1; in parseApprovedAccessPoint() local 265 networkType = (int) value; in parseApprovedAccessPoint() 278 if (networkType == -1) { in parseApprovedAccessPoint() 281 return new AccessPoint(ssid, bssid, networkType); in parseApprovedAccessPoint()
|
D | WifiNetworkFactory.java | 162 public final @SecurityType int networkType; field in WifiNetworkFactory.AccessPoint 165 @SecurityType int networkType) { in AccessPoint() argument 168 this.networkType = networkType; in AccessPoint() 173 return Objects.hash(ssid, bssid, networkType); in hashCode() 187 && this.networkType == other.networkType; in equals() 197 .append(networkType) in toString() 1266 MacAddress.fromString(scanResult.BSSID), fromScanResult.networkType); in findUserApprovedAccessPointForActiveRequestFromActiveMatchedScanResults() 1298 fromScanResult.networkType); in addNetworkToUserApprovedAccessPointMap()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 255 for (int networkType = NUM_NETWORK_TYPES - 1; networkType >= 0; networkType--) { in initializeNetworkStates() 256 mConnectivityState[networkType] = new NetworkState(); in initializeNetworkStates() 257 Log.v(LOG_TAG, "Initialize network state for " + networkType + ": " + in initializeNetworkStates() 258 mConnectivityState[networkType].toString()); in initializeNetworkStates() 262 public void recordNetworkState(int networkType, State networkState) { in recordNetworkState() argument 264 Log.v(LOG_TAG, "record network state for network " + networkType + in recordNetworkState() 266 mConnectivityState[networkType].recordState(networkState); in recordNetworkState() 277 public void setStateTransitionCriteria(int networkType, State initState, in setStateTransitionCriteria() argument 279 mConnectivityState[networkType].setStateTransitionCriteria( in setStateTransitionCriteria() 288 public boolean validateNetworkStates(int networkType) { in validateNetworkStates() argument [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 131 int networkType) { in formatNumber() argument 157 if (networkType == CDMA_HOME_NETWORK in formatNumber() 158 || networkType == CDMA_ROAMING_NETWORK) { in formatNumber() 165 if (networkType == CDMA_HOME_NETWORK) { in formatNumber() 167 } else if (networkType == GSM_UMTS_NETWORK) { in formatNumber() 171 } else if (networkType == CDMA_ROAMING_NETWORK) { in formatNumber() 185 if (networkType == GSM_UMTS_NETWORK) { in formatNumber() 197 if (networkType == GSM_UMTS_NETWORK || networkType == CDMA_ROAMING_NETWORK) { in formatNumber() 222 && (networkType == CDMA_HOME_NETWORK || networkType == CDMA_ROAMING_NETWORK)) { in formatNumber() 582 final int networkType = getNetworkType(telephonyManager); in filterDestAddr() local [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkScoreManager.java | 412 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in registerNetworkScoreCache() argument 413 registerNetworkScoreCache(networkType, scoreCache, SCORE_FILTER_NONE); in registerNetworkScoreCache() 428 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, in registerNetworkScoreCache() argument 431 mService.registerNetworkScoreCache(networkType, scoreCache, filterType); in registerNetworkScoreCache() 448 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument 450 mService.unregisterNetworkScoreCache(networkType, scoreCache); in unregisterNetworkScoreCache() 526 public void registerNetworkScoreCallback(@NetworkKey.NetworkType int networkType, in registerNetworkScoreCallback() argument 537 networkType, new NetworkScoreCallbackProxy(executor, callback), filterType); in registerNetworkScoreCallback()
|
D | IConnectivityManager.aidl | 58 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() argument 62 Network getNetworkForType(int networkType); in getNetworkForType() argument 67 boolean isNetworkSupported(int networkType); in isNetworkSupported() argument 71 LinkProperties getLinkPropertiesForType(int networkType); in getLinkPropertiesForType() argument 82 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress, in requestRouteToHostAddress() argument 111 void reportInetCondition(int networkType, int percentage); in reportInetCondition() argument 154 void setProvisioningNotificationVisible(boolean visible, int networkType, in String action); in setProvisioningNotificationVisible() argument 200 int getRestoreDefaultNetworkDelay(int networkType); in getRestoreDefaultNetworkDelay() argument
|
D | ConnectivityManager.java | 841 public static boolean isNetworkTypeValid(int networkType) { in isNetworkTypeValid() argument 842 return MIN_NETWORK_TYPE <= networkType && networkType <= MAX_NETWORK_TYPE; in isNetworkTypeValid() 911 public static boolean isNetworkTypeMobile(int networkType) { in isNetworkTypeMobile() argument 912 switch (networkType) { in isNetworkTypeMobile() 936 public static boolean isNetworkTypeWifi(int networkType) { in isNetworkTypeWifi() argument 937 switch (networkType) { in isNetworkTypeWifi() 1201 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() argument 1203 return mService.getNetworkInfo(networkType); in getNetworkInfo() 1270 public Network getNetworkForType(int networkType) { in getNetworkForType() argument 1272 return mService.getNetworkForType(networkType); in getNetworkForType() [all …]
|
D | INetworkScoreService.aidl | 68 void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, int filterType); in registerNetworkScoreCache() argument 78 void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache); in unregisterNetworkScoreCache() argument
|
D | LinkQualityInfo.java | 163 public void setNetworkType(int networkType) { in setNetworkType() argument 164 mNetworkType = networkType; in setNetworkType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkService.java | 230 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() local 243 networkType, reasonForDenial, emergencyOnly, availableServices, in createRegistrationStateFromVoiceRegState() 250 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() local 263 networkType, reasonForDenial, emergencyOnly, availableServices, in createRegistrationStateFromVoiceRegState() 276 int networkType = TelephonyManager.NETWORK_TYPE_UNKNOWN; in createRegistrationStateFromDataRegState() local 299 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() 308 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() 317 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.base.rat); in createRegistrationStateFromDataRegState() 351 return new NetworkRegistrationInfo(domain, transportType, regState, networkType, in createRegistrationStateFromDataRegState() 371 int networkType = ServiceState.rilRadioTechnologyToNetworkType(regResult.rat); in getNetworkRegistrationInfo() local [all …]
|
D | PhoneFactory.java | 409 int networkType = android.provider.Settings.Global.getInt(context.getContentResolver(), in calculatePreferredNetworkType() local 413 " networkType = " + networkType); in calculatePreferredNetworkType() 415 if (networkType == -1) { in calculatePreferredNetworkType() 416 networkType = RILConstants.PREFERRED_NETWORK_MODE; in calculatePreferredNetworkType() 418 networkType = TelephonyManager.getIntAtIndex(context.getContentResolver(), in calculatePreferredNetworkType() 427 return networkType; in calculatePreferredNetworkType()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | SimStatusImeiInfoPreferenceControllerTest.java | 108 private void setNetworkSupported(int networkType, boolean supported) { in setNetworkSupported() argument 109 mSupportedNetworkTypes.put(networkType, supported); in setNetworkSupported() 113 public boolean isNetworkSupported(int networkType) { in isNetworkSupported() argument 114 return mSupportedNetworkTypes.get(networkType); in isNetworkSupported()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkScoreTest.java | 51 public final NetworkDetail.Ant networkType; field in PasspointNetworkScoreTest.TestData 62 networkType = type; in TestData() 316 NetworkDetail.Ant networkType) { in generateScanDetail() argument 324 when(networkDetail.getAnt()).thenReturn(networkType); in generateScanDetail() 343 data.networkType); in calculateScore() 364 data.networkType); in calculatorScoreWithUnSupportedNetworkType()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 100 int networkType = regInfo == null ? TelephonyManager.NETWORK_TYPE_UNKNOWN in notePhoneDataConnectionState() local 103 networkType, visible ? "" : "not ")); in notePhoneDataConnectionState() 105 mBatteryStats.notePhoneDataConnectionState(networkType, visible, in notePhoneDataConnectionState() 160 public void onDataConnectionStateChanged(int state, int networkType) { in onDataConnectionStateChanged() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 510 List<ScoredNetwork> scoredNetworkList, int networkType) { in create() argument 511 return new FilteringCacheUpdatingConsumer(context, scoredNetworkList, networkType, in create() 517 List<ScoredNetwork> scoredNetworkList, int networkType, in FilteringCacheUpdatingConsumer() argument 522 mNetworkType = networkType; in FilteringCacheUpdatingConsumer() 825 public void registerNetworkScoreCache(int networkType, in registerNetworkScoreCache() argument 832 RemoteCallbackList<INetworkScoreCache> callbackList = mScoreCaches.get(networkType); in registerNetworkScoreCache() 835 mScoreCaches.put(networkType, callbackList); in registerNetworkScoreCache() 839 mScoreCaches.remove(networkType); in registerNetworkScoreCache() 842 Log.v(TAG, "Unable to register NetworkScoreCache for type " + networkType); in registerNetworkScoreCache() 852 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 76 @NetworkType int networkType, in PreciseDataConnectionState() argument 80 this(state, networkType, apnTypes, apn, linkProperties, failCause, null); in PreciseDataConnectionState() 99 @NetworkType int networkType, in PreciseDataConnectionState() argument 105 mNetworkType = networkType; in PreciseDataConnectionState()
|
D | TelephonyDisplayInfo.java | 82 public TelephonyDisplayInfo(@NetworkType int networkType, in TelephonyDisplayInfo() argument 84 mNetworkType = networkType; in TelephonyDisplayInfo()
|
D | CallAttributes.java | 41 public CallAttributes(@NonNull PreciseCallState state, @NetworkType int networkType, in CallAttributes() argument 44 this.mNetworkType = networkType; in CallAttributes()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueBackupJob.java | 79 final int networkType; in schedule() local 85 networkType = constants.getKeyValueBackupRequiredNetworkType(); in schedule() 98 .setRequiredNetworkType(networkType) in schedule()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 239 int networkType, boolean validated, boolean isConnected) { in setConnectivityViaBroadcast() argument 240 setConnectivityCommon(networkType, validated, isConnected); in setConnectivityViaBroadcast() 246 int networkType, boolean validated, boolean isConnected){ in setConnectivityViaCallback() argument 247 setConnectivityCommon(networkType, validated, isConnected); in setConnectivityViaCallback() 253 int networkType, boolean validated, boolean isConnected){ in setConnectivityCommon() argument 256 mNetCapabilities.addTransportType(networkType); in setConnectivityCommon() 258 mNetCapabilities.removeTransportType(networkType); in setConnectivityCommon()
|