/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 | 125 network1.networkType = 0; in deserializeSerializedData() 129 network2.networkType = 1; in deserializeSerializedData() 133 network3.networkType = 2; in deserializeSerializedData()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 201 public Bucket querySummaryForDevice(int networkType, String subscriberId, in querySummaryForDevice() argument 205 template = createTemplate(networkType, subscriberId); in querySummaryForDevice() 234 public Bucket querySummaryForUser(int networkType, String subscriberId, long startTime, in querySummaryForUser() argument 238 template = createTemplate(networkType, subscriberId); in querySummaryForUser() 271 public NetworkStats querySummary(int networkType, String subscriberId, long startTime, in querySummary() argument 275 template = createTemplate(networkType, subscriberId); in querySummary() 299 public NetworkStats queryDetailsForUid(int networkType, String subscriberId, in queryDetailsForUid() argument 301 return queryDetailsForUidTagState(networkType, subscriberId, startTime, endTime, uid, in queryDetailsForUid() 317 public NetworkStats queryDetailsForUidTag(int networkType, String subscriberId, in queryDetailsForUidTag() argument 319 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 | 176 approvedAccessPoint.networkType); in serializeApprovedAccessPoint() 243 int networkType = -1; in parseApprovedAccessPoint() local 260 networkType = (int) value; in parseApprovedAccessPoint() 273 if (networkType == -1) { in parseApprovedAccessPoint() 276 return new AccessPoint(ssid, bssid, networkType); in parseApprovedAccessPoint()
|
D | WifiNetworkFactory.java | 156 public final @SecurityType int networkType; field in WifiNetworkFactory.AccessPoint 159 @SecurityType int networkType) { in AccessPoint() argument 162 this.networkType = networkType; in AccessPoint() 167 return Objects.hash(ssid, bssid, networkType); in hashCode() 181 && this.networkType == other.networkType; in equals() 191 .append(networkType) in toString() 1236 MacAddress.fromString(scanResult.BSSID), fromScanResult.networkType); in findUserApprovedAccessPointForActiveRequestFromActiveMatchedScanResults() 1264 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 126 int networkType) { in formatNumber() argument 152 if (networkType == CDMA_HOME_NETWORK in formatNumber() 153 || networkType == CDMA_ROAMING_NETWORK) { in formatNumber() 160 if (networkType == CDMA_HOME_NETWORK) { in formatNumber() 162 } else if (networkType == GSM_UMTS_NETWORK) { in formatNumber() 166 } else if (networkType == CDMA_ROAMING_NETWORK) { in formatNumber() 180 if (networkType == GSM_UMTS_NETWORK) { in formatNumber() 192 if (networkType == GSM_UMTS_NETWORK || networkType == CDMA_ROAMING_NETWORK) { in formatNumber() 217 && (networkType == CDMA_HOME_NETWORK || networkType == CDMA_ROAMING_NETWORK)) { in formatNumber() 547 final int networkType = getNetworkType(phone); in filterDestAddr() local [all …]
|
D | CellularNetworkService.java | 219 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() local 220 if (networkType == TelephonyManager.NETWORK_TYPE_LTE_CA) { in createRegistrationStateFromVoiceRegState() 221 networkType = TelephonyManager.NETWORK_TYPE_LTE; in createRegistrationStateFromVoiceRegState() 235 networkType, reasonForDenial, emergencyOnly, availableServices, in createRegistrationStateFromVoiceRegState() 242 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() local 243 if (networkType == TelephonyManager.NETWORK_TYPE_LTE_CA) { in createRegistrationStateFromVoiceRegState() 244 networkType = TelephonyManager.NETWORK_TYPE_LTE; in createRegistrationStateFromVoiceRegState() 258 networkType, reasonForDenial, emergencyOnly, availableServices, in createRegistrationStateFromVoiceRegState() 270 int networkType = TelephonyManager.NETWORK_TYPE_UNKNOWN; in createRegistrationStateFromDataRegState() local 288 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() [all …]
|
D | PhoneFactory.java | 400 int networkType = android.provider.Settings.Global.getInt(context.getContentResolver(), in calculatePreferredNetworkType() local 404 " networkType = " + networkType); in calculatePreferredNetworkType() 406 if (networkType == -1) { in calculatePreferredNetworkType() 407 networkType = RILConstants.PREFERRED_NETWORK_MODE; in calculatePreferredNetworkType() 409 networkType = TelephonyManager.getIntAtIndex(context.getContentResolver(), in calculatePreferredNetworkType() 418 return networkType; in calculatePreferredNetworkType()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 55 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() argument 59 Network getNetworkForType(int networkType); in getNetworkForType() argument 63 boolean isNetworkSupported(int networkType); in isNetworkSupported() argument 67 LinkProperties getLinkPropertiesForType(int networkType); in getLinkPropertiesForType() argument 78 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress); in requestRouteToHostAddress() argument 115 void reportInetCondition(int networkType, int percentage); in reportInetCondition() argument 150 void setProvisioningNotificationVisible(boolean visible, int networkType, in String action); in setProvisioningNotificationVisible() argument 190 int getRestoreDefaultNetworkDelay(int networkType); in getRestoreDefaultNetworkDelay() argument
|
D | NetworkScoreManager.java | 389 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in registerNetworkScoreCache() argument 390 registerNetworkScoreCache(networkType, scoreCache, CACHE_FILTER_NONE); in registerNetworkScoreCache() 405 public void registerNetworkScoreCache(int networkType, INetworkScoreCache scoreCache, in registerNetworkScoreCache() argument 408 mService.registerNetworkScoreCache(networkType, scoreCache, filterType); in registerNetworkScoreCache() 425 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument 427 mService.unregisterNetworkScoreCache(networkType, scoreCache); in unregisterNetworkScoreCache()
|
D | ConnectivityManager.java | 801 public static boolean isNetworkTypeValid(int networkType) { in isNetworkTypeValid() argument 802 return MIN_NETWORK_TYPE <= networkType && networkType <= MAX_NETWORK_TYPE; in isNetworkTypeValid() 871 public static boolean isNetworkTypeMobile(int networkType) { in isNetworkTypeMobile() argument 872 switch (networkType) { in isNetworkTypeMobile() 896 public static boolean isNetworkTypeWifi(int networkType) { in isNetworkTypeWifi() argument 897 switch (networkType) { in isNetworkTypeWifi() 1161 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() argument 1163 return mService.getNetworkInfo(networkType); in getNetworkInfo() 1230 public Network getNetworkForType(int networkType) { in getNetworkForType() argument 1232 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/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/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 90 int networkType = mServiceState.getDataNetworkType(); in notePhoneDataConnectionState() local 92 networkType, visible ? "" : "not ")); in notePhoneDataConnectionState() 94 mBatteryStats.notePhoneDataConnectionState(networkType, visible); in notePhoneDataConnectionState() 144 public void onDataConnectionStateChanged(int state, int networkType) {
|
/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/ |
D | NetworkScoreService.java | 514 List<ScoredNetwork> scoredNetworkList, int networkType) { in create() argument 515 return new FilteringCacheUpdatingConsumer(context, scoredNetworkList, networkType, in create() 521 List<ScoredNetwork> scoredNetworkList, int networkType, in FilteringCacheUpdatingConsumer() argument 526 mNetworkType = networkType; in FilteringCacheUpdatingConsumer() 829 public void registerNetworkScoreCache(int networkType, in registerNetworkScoreCache() argument 836 RemoteCallbackList<INetworkScoreCache> callbackList = mScoreCaches.get(networkType); in registerNetworkScoreCache() 839 mScoreCaches.put(networkType, callbackList); in registerNetworkScoreCache() 843 mScoreCaches.remove(networkType); in registerNetworkScoreCache() 846 Log.v(TAG, "Unable to register NetworkScoreCache for type " + networkType); in registerNetworkScoreCache() 856 public void unregisterNetworkScoreCache(int networkType, INetworkScoreCache scoreCache) { in unregisterNetworkScoreCache() argument [all …]
|
/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/telephony/java/android/telephony/ |
D | CallAttributes.java | 40 public CallAttributes(@NonNull PreciseCallState state, @NetworkType int networkType, in CallAttributes() argument 43 this.mNetworkType = networkType; in CallAttributes()
|
D | PreciseDataConnectionState.java | 64 @TelephonyManager.NetworkType int networkType, in PreciseDataConnectionState() argument 69 mNetworkType = networkType; in PreciseDataConnectionState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 231 int networkType, boolean validated, boolean isConnected) { in setConnectivityViaBroadcast() argument 232 setConnectivityCommon(networkType, validated, isConnected); in setConnectivityViaBroadcast() 238 int networkType, boolean validated, boolean isConnected){ in setConnectivityViaCallback() argument 239 setConnectivityCommon(networkType, validated, isConnected); in setConnectivityViaCallback() 245 int networkType, boolean validated, boolean isConnected){ in setConnectivityCommon() argument 248 mNetCapabilities.addTransportType(networkType); in setConnectivityCommon() 250 mNetCapabilities.removeTransportType(networkType); in setConnectivityCommon()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 58 in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); in notifyDataConnection() argument 62 in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); in notifyDataConnectionForSubscriber() argument
|