Home
last modified time | relevance | path

Searched refs:mNetworkType (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/metrics/
DNetworkEvent.java56 private final int mNetworkType; field in NetworkEvent
111 this.mNetworkType = type; in NetworkEvent()
121 return mNetworkType; in getNetworkType()
150 + "networkType = " + mNetworkType + ", " in toString()
160 return mNetworkType == that.mNetworkType in equals()
166 return Objects.hash(mNetworkType, mTimeSinceCreatedMillis); in hashCode()
171 dest.writeInt(mNetworkType); in writeToParcel()
186 this.mNetworkType = type; in NetworkEvent()
211 private int mNetworkType = NETWORK_TYPE_UNKNOWN; field in NetworkEvent.Builder
225 mNetworkType = value; in setNetworkType()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCallAttributes.java39 private int mNetworkType; // TelephonyManager.NETWORK_TYPE_* ints field in CallAttributes
46 this.mNetworkType = networkType; in CallAttributes()
53 return "mPreciseCallState=" + mPreciseCallState + " mNetworkType=" + mNetworkType in toString()
59 this.mNetworkType = in.readInt(); in CallAttributes()
99 return mNetworkType; in getNetworkType()
112 return Objects.hash(mPreciseCallState, mNetworkType, mCallQuality); in hashCode()
128 && mNetworkType == s.mNetworkType in equals()
144 dest.writeInt(mNetworkType); in writeToParcel()
DTelephonyDisplayInfo.java90 private final int mNetworkType; field in TelephonyDisplayInfo
124 mNetworkType = networkType; in TelephonyDisplayInfo()
131 mNetworkType = p.readInt(); in TelephonyDisplayInfo()
144 return mNetworkType; in getNetworkType()
175 dest.writeInt(mNetworkType); in writeToParcel()
203 return mNetworkType == that.mNetworkType in equals()
210 return Objects.hash(mNetworkType, mOverrideNetworkType, mIsRoaming); in hashCode()
234 return "TelephonyDisplayInfo {network=" + TelephonyManager.getNetworkTypeName(mNetworkType) in toString()
DCallState.java79 private final int mNetworkType; // TelephonyManager.NETWORK_TYPE_* ints field in CallState
118 this.mNetworkType = networkType; in CallState()
129 return "mPreciseCallState=" + mPreciseCallState + " mNetworkType=" + mNetworkType in toString()
137 this.mNetworkType = in.readInt(); in CallState()
182 return mNetworkType; in getNetworkType()
230 return Objects.hash(mPreciseCallState, mNetworkType, mCallQuality, mCallClassification, in hashCode()
247 && mNetworkType == s.mNetworkType in equals()
267 dest.writeInt(mNetworkType); in writeToParcel()
304 private @NetworkType int mNetworkType = TelephonyManager.NETWORK_TYPE_UNKNOWN; field in CallState.Builder
327 this.mNetworkType = networkType; in setNetworkType()
[all …]
DNeighboringCellInfo.java80 private int mNetworkType; field in NeighboringCellInfo
97 mNetworkType = NETWORK_TYPE_UNKNOWN; in NeighboringCellInfo()
117 mNetworkType = TelephonyManager.NETWORK_TYPE_GPRS; in NeighboringCellInfo()
133 mNetworkType = TelephonyManager.NETWORK_TYPE_UMTS; in NeighboringCellInfo()
161 mNetworkType = NETWORK_TYPE_UNKNOWN; in NeighboringCellInfo()
180 mNetworkType = radioType; in NeighboringCellInfo()
191 mNetworkType = radioType; in NeighboringCellInfo()
200 mNetworkType = NETWORK_TYPE_UNKNOWN; in NeighboringCellInfo()
212 mNetworkType = in.readInt(); in NeighboringCellInfo()
272 return mNetworkType; in getNetworkType()
[all …]
DPhysicalChannelConfig.java102 private int mNetworkType; field in PhysicalChannelConfig
157 dest.writeInt(mNetworkType); in writeToParcel()
283 return mNetworkType; in getNetworkType()
326 switch (mNetworkType) { in setDownlinkFrequency()
354 switch (mNetworkType){ in setUplinkFrequency()
386 switch (mNetworkType) { in setFrequencyRange()
431 && mNetworkType == config.mNetworkType in equals()
446 mNetworkType, mFrequencyRange, mDownlinkChannelNumber, mUplinkChannelNumber, in hashCode()
473 .append(TelephonyManager.getNetworkTypeName(mNetworkType)) in toString()
498 mNetworkType = in.readInt(); in PhysicalChannelConfig()
[all …]
DPreciseDataConnectionState.java70 private final @NetworkType int mNetworkType; field in PreciseDataConnectionState
171 mNetworkType = networkType; in PreciseDataConnectionState()
189 mNetworkType = in.readInt(); in PreciseDataConnectionState()
275 return mNetworkType; in getNetworkType()
379 out.writeInt(mNetworkType); in writeToParcel()
401 return Objects.hash(mTransportType, mId, mNetId, mState, mNetworkType, mFailCause, in hashCode()
415 && mNetworkType == that.mNetworkType in equals()
433 sb.append(", network type: ").append(TelephonyManager.getNetworkTypeName(mNetworkType)); in toString()
489 private @NetworkType int mNetworkType = TelephonyManager.NETWORK_TYPE_UNKNOWN; field in PreciseDataConnectionState.Builder
561 mNetworkType = networkType; in setNetworkType()
[all …]
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DHotspotNetwork.java81 private final int mNetworkType; field in HotspotNetwork
99 private int mNetworkType; field in HotspotNetwork.Builder
142 mNetworkType = networkType; in setHostNetworkType()
215 mNetworkType, in build()
256 mNetworkType = networkType; in HotspotNetwork()
290 return mNetworkType; in getHostNetworkType()
350 && mNetworkType == other.getHostNetworkType() in equals()
372 dest.writeInt(mNetworkType); in writeToParcel()
409 .append(", networkType=").append(mNetworkType) in toString()
/frameworks/base/core/java/android/net/
DLinkQualityInfo.java53 private int mNetworkType = ConnectivityManager.TYPE_NONE; field in LinkQualityInfo
101 dest.writeInt(mNetworkType); in writeToParcel()
141 mNetworkType = in.readInt(); in initializeFromParcel()
158 return mNetworkType; in getNetworkType()
165 mNetworkType = networkType; in setNetworkType()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java75 private int mNetworkType = -1; field in SipService
275 if (mNetworkType == -1) { in createSession()
536 if (mNetworkType != -1) { in openToReceiveCalls()
923 if (mNetworkType != -1 && mRegistered) mSession.unregister(); in stop()
966 } else if (mNetworkType == -1) { in setListener()
998 if (mNetworkType != -1) { in run()
1166 mNetworkType = -1; in unregisterReceivers()
1175 if (mNetworkType == ConnectivityManager.TYPE_WIFI || mNetworkType == -1) { in updateWakeLocks()
1194 if (info == null || info.isConnected() || info.getType() != mNetworkType) { in onConnectivityChanged()
1208 if (mNetworkType == networkType) { in onConnectivityChanged()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java111 private int mNetworkType = TelephonyManager.NETWORK_TYPE_UNKNOWN; field in TelephonyRegistryTest
237 mNetworkType = networkType; in onDataConnectionStateChanged()
566 assertEquals(TelephonyManager.NETWORK_TYPE_UNKNOWN, mNetworkType); in testDataConnectionStateChanged()
587 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mNetworkType); in testDataConnectionStateChanged()
606 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mNetworkType); in testDataConnectionStateChanged()
625 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mNetworkType); in testDataConnectionStateChanged()
640 assertEquals(TelephonyManager.NETWORK_TYPE_UNKNOWN, mNetworkType); in testDataConnectionStateChangedMultipleInternet()
662 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mNetworkType); in testDataConnectionStateChangedMultipleInternet()
681 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mNetworkType); in testDataConnectionStateChangedMultipleInternet()
699 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, mNetworkType); in testDataConnectionStateChangedMultipleInternet()
[all …]
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java499 private final int mNetworkType; field in NetworkScoreService.FilteringCacheUpdatingConsumer
519 mNetworkType = networkType; in FilteringCacheUpdatingConsumer()
539 Log.v(TAG, "Unable to update scores of type " + mNetworkType, e); in accept()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32911 Landroid/net/LinkQualityInfo;->mNetworkType:I
54256 Landroid/telephony/PreciseDataConnectionState;->mNetworkType:I