Home
last modified time | relevance | path

Searched refs:mSignalStrength (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/atoms/
DAtomsQnsImsCallDropStats.java39 private int mSignalStrength; field in AtomsQnsImsCallDropStats
69 builder.writeInt(mSignalStrength); // atom #4 in build()
115 mSignalStrength = signalStrength; in AtomsQnsImsCallDropStats()
132 mSignalStrength = info.mSignalStrength; in AtomsQnsImsCallDropStats()
165 return mSignalStrength; in getSignalStrength()
169 mSignalStrength = signalStrength; in setSignalStrength()
222 + mSignalStrength in toString()
244 && mSignalStrength == that.mSignalStrength in equals()
258 mSignalStrength, in hashCode()
DAtomsQualifiedRatListChangedInfo.java50 private int mSignalStrength; field in AtomsQualifiedRatListChangedInfo
122 mSignalStrength = signalStrength; in AtomsQualifiedRatListChangedInfo()
148 mSignalStrength = info.mSignalStrength; in AtomsQualifiedRatListChangedInfo()
175 builder.writeInt(mSignalStrength); // atom #11 in build()
278 return mSignalStrength; in getSignalStrength()
282 mSignalStrength = signalStrength; in setSignalStrength()
365 + mSignalStrength in toString()
398 && mSignalStrength == that.mSignalStrength in equals()
421 mSignalStrength, in hashCode()
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbTunerHal.java42 private int mSignalStrength = TvInputConstantCompat.SIGNAL_STRENGTH_NOT_USED; field in DvbTunerHal
190 mSignalStrength = signalStrength; in getSignalStrength()
194 mSignalStrength = signalStrength; in getSignalStrength()
219 int delta = Math.abs(signal - mSignalStrength); in updatingSignal()
221 mSignalStrength = signal; in updatingSignal()
223 return mSignalStrength; in updatingSignal()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2Test.java74 private int mSignalStrength = TvInputConstantCompat.SIGNAL_STRENGTH_UNKNOWN; field in TunerSessionWorkerExoV2Test
157 mSignalStrength = signal; in setUp()
189 assertThat(mSignalStrength).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_NOT_USED); in handleSignal_isNotUsed()
196 assertThat(mSignalStrength).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_ERROR); in handleSignal_isError()
203 assertThat(mSignalStrength).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_UNKNOWN); in handleSignal_isUnknown()
209 assertThat(mSignalStrength).isEqualTo(100); in handleSignal_isNotifySignal()
DTunerSessionWorkerTest.java69 private int mSignalStrength = TvInputConstantCompat.SIGNAL_STRENGTH_UNKNOWN; field in TunerSessionWorkerTest
129 mSignalStrength = signal; in setUp()
161 assertThat(mSignalStrength).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_NOT_USED); in handleSignal_isNotUsed()
168 assertThat(mSignalStrength).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_ERROR); in handleSignal_isError()
175 assertThat(mSignalStrength).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_UNKNOWN); in handleSignal_isUnknown()
181 assertThat(mSignalStrength).isEqualTo(100); in handleSignal_isNotifySignal()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java365 mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; in clearAll()
396 mSignalStrength = nc.mSignalStrength; in set()
1250 final int originalSignalStrength = mSignalStrength; in restrictCapabilitiesForTestNetwork()
1281 mSignalStrength = originalSignalStrength; in restrictCapabilitiesForTestNetwork()
1899 private int mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; field in NetworkCapabilities
1915 mSignalStrength = signalStrength; in setSignalStrength()
1926 return mSignalStrength > SIGNAL_STRENGTH_UNSPECIFIED; in hasSignalStrength()
1935 return mSignalStrength; in getSignalStrength()
1939 return this.mSignalStrength <= nc.mSignalStrength; in satisfiedBySignalStrength()
1943 return this.mSignalStrength == nc.mSignalStrength; in equalsSignalStrength()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/atoms/
DAtomsQnsImsCallDropStatsTest.java68 private int mSignalStrength; field in AtomsQnsImsCallDropStatsTest
91 mSignalStrength = DEFAULT_SIGNAL_STRENGTH; in setUp()
104 mSignalStrength, in setUp()
319 mSignalStrength, in testHashCode()
330 mSignalStrength, in testHashCode()
DAtomsQualifiedRatListChangedInfoTest.java89 private int mSignalStrength; field in AtomsQualifiedRatListChangedInfoTest
118 mSignalStrength = DEFAULT_SIGNAL_STRENGTH; in setUp()
139 mSignalStrength, in setUp()
469 mSignalStrength, in testHashCode()
489 mSignalStrength, in testHashCode()
510 mSignalStrength, in testHashCode()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java109 private SignalStrength mSignalStrength; field in SubscriptionsPreferenceControllerTest
139 when(mSignalStrength.getLevel()).thenReturn(SIGNAL_STRENGTH_GREAT); in setUp()
144 when(mTelephonyManager.getSignalStrength()).thenReturn(mSignalStrength); in setUp()
548 when(mSignalStrength.getLevel()).thenReturn(SIGNAL_STRENGTH_GOOD); in getIcon_carrierNetworkIsNotActive_useMobileDataLevel()
566 when(mSignalStrength.getLevel()).thenReturn(SIGNAL_STRENGTH_GOOD); in getIcon_carrierNetworkIsActive_useCarrierNetworkLevel()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHeadsetClient.java1501 private final int mSignalStrength; field in BluetoothHeadsetClient.NetworkServiceState
1526 mSignalStrength = signalStrength; in NetworkServiceState()
1581 return mSignalStrength; in getSignalStrength()
1619 out.writeInt(mSignalStrength); in writeToParcel()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java242 private int mSignalStrength; field in TunerSessionWorkerExoV2
1325 if (signal != mSignalStrength && signal >= 0) { in handleSignal()
1336 mSignalStrength = signal; in notifySignal()
1777 mSignalStrength = TvInputConstantCompat.SIGNAL_STRENGTH_UNKNOWN; in prepareTune()
1779 mSession.notifySignalStrength(mSignalStrength); in prepareTune()
DTunerSessionWorker.java243 private int mSignalStrength; field in TunerSessionWorker
1392 if (signal != mSignalStrength && signal >= 0) { in handleSignal()
1403 mSignalStrength = signal; in notifySignal()
1843 mSignalStrength = TvInputConstantCompat.SIGNAL_STRENGTH_UNKNOWN; in prepareTune()
1845 mSession.notifySignalStrength(mSignalStrength); in prepareTune()