Home
last modified time | relevance | path

Searched refs:CellSignalStrength (Results 1 – 25 of 38) sorted by relevance

12

/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrength.java26 public abstract class CellSignalStrength { class
50 protected CellSignalStrength() { in CellSignalStrength() method in CellSignalStrength
84 public abstract CellSignalStrength copy(); in copy()
H A DSignalStrength.java46 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; // = 0
50 CellSignalStrength.SIGNAL_STRENGTH_POOR; // = 1
54 CellSignalStrength.SIGNAL_STRENGTH_MODERATE; // = 2
58 CellSignalStrength.SIGNAL_STRENGTH_GOOD; // = 3
62 CellSignalStrength.SIGNAL_STRENGTH_GREAT; // = 4
147 private CellSignalStrength getPrimary() { in getPrimary()
182 @NonNull public List<CellSignalStrength> getCellSignalStrengths() { in getCellSignalStrengths()
183 return getCellSignalStrengths(CellSignalStrength.class); in getCellSignalStrengths()
208 @NonNull public <T extends CellSignalStrength> List<T> getCellSignalStrengths( in getCellSignalStrengths()
H A DCellInfoNr.java84 public CellSignalStrength getCellSignalStrength() { in getCellSignalStrength()
H A DCellSignalStrengthTdscdma.java35 public final class CellSignalStrengthTdscdma extends CellSignalStrength implements Parcelable {
H A DCellInfo.java222 public abstract CellSignalStrength getCellSignalStrength(); in getCellSignalStrength()
H A DCellSignalStrengthGsm.java33 public final class CellSignalStrengthGsm extends CellSignalStrength implements Parcelable {
H A DCellSignalStrengthWcdma.java36 public final class CellSignalStrengthWcdma extends CellSignalStrength implements Parcelable {
H A DCellSignalStrengthCdma.java31 public final class CellSignalStrengthCdma extends CellSignalStrength implements Parcelable {
H A DCellSignalStrengthNr.java39 public final class CellSignalStrengthNr extends CellSignalStrength implements Parcelable {
H A DCellSignalStrengthLte.java34 public final class CellSignalStrengthLte extends CellSignalStrength implements Parcelable {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
H A DNetworkControllerSignalTest.java30 import android.telephony.CellSignalStrength;
307 testStrength < CellSignalStrength.getNumSignalStrengthLevels(); testStrength++) { in testSignalStrength()
325 testStrength < CellSignalStrength.getNumSignalStrengthLevels(); testStrength++) { in testCdmaSignalStrength()
339 testStrength < CellSignalStrength.getNumSignalStrengthLevels(); testStrength++) { in testSignalRoaming()
352 for (int testStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in testCdmaSignalRoaming()
375 for (int testStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in testQsSignalStrength()
388 for (int testStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in testCdmaQsSignalStrength()
669 CellSignalStrength.getNumSignalStrengthLevels()), in testCarrierNetworkChange_carrierNetworkChange()
701 CellSignalStrength.getNumSignalStrengthLevels()), in testCarrierNetworkChange_roamingBeforeNetworkChange()
734 CellSignalStrength.getNumSignalStrengthLevels()), in testCarrierNetworkChange_roamingAfterNetworkChange()
[all …]
H A DNetworkControllerBaseTest.java49 import android.telephony.CellSignalStrength;
525 int state = SignalDrawable.getState(icon, CellSignalStrength.getNumSignalStrengthLevels(), in verifyLastQsMobileDataIndicators()
555 : SignalDrawable.getState(icon, CellSignalStrength.getNumSignalStrengthLevels(), in verifyLastMobileDataIndicators()
572 level, CellSignalStrength.getNumSignalStrengthLevels(), !inet); in verifyLastMobileDataIndicatorsForVcn()
614 int numSignalStrengthBins = CellSignalStrength.getNumSignalStrengthLevels(); in verifyLastMobileDataIndicators()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DMobileRadioPowerCalculatorTest.java39 import android.telephony.CellSignalStrength;
91 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testCounterBasedModel()
92 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testCounterBasedModel()
211 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testCounterBasedModel_multipleDefinedRat()
212 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testCounterBasedModel_multipleDefinedRat()
366 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testCounterBasedModel_legacyPowerProfile()
367 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testCounterBasedModel_legacyPowerProfile()
484 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testTimerBasedModel_byProcessState()
485 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testTimerBasedModel_byProcessState()
689 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
[all …]
H A DBatteryStatsNoteTest.java45 import android.telephony.CellSignalStrength;
1368 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_noModemActivity()
1398 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testGetPerStateActiveRadioDurationMs_noModemActivity()
1410 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_noModemActivity()
1423 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testGetPerStateActiveRadioDurationMs_noModemActivity()
1689 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_withModemActivity()
1742 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testGetPerStateActiveRadioDurationMs_withModemActivity()
1766 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_withModemActivity()
1789 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testGetPerStateActiveRadioDurationMs_withModemActivity()
1967 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_withSpecificInfoModemActivity()
[all …]
/aosp14/frameworks/base/core/java/android/os/connectivity/
H A DCellularBatteryStats.java27 import android.telephony.CellSignalStrength;
109 CellSignalStrength.getNumSignalStrengthLevels())); in CellularBatteryStats()
295 @IntRange(from = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, in getTimeInRxSignalStrengthLevelMicros()
296 to = CellSignalStrength.SIGNAL_STRENGTH_GREAT) int signalStrengthBin) { in getTimeInRxSignalStrengthLevelMicros()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
H A DMobileConnectionRepository.kt19 import android.telephony.CellSignalStrength
137 val DEFAULT_NUM_LEVELS = CellSignalStrength.getNumSignalStrengthLevels()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
H A DDemoMobileConnectionRepository.kt19 import android.telephony.CellSignalStrength
124 private val _cdmaLevel = MutableStateFlow(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN)
135 private val _primaryLevel = MutableStateFlow(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DMobileSignalController.java27 import android.telephony.CellSignalStrength;
222 return CellSignalStrength.getNumSignalStrengthLevels() + 1; in getNumLevels()
224 return CellSignalStrength.getNumSignalStrengthLevels(); in getNumLevels()
451 return CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DMobileRadioPowerCalculator.java24 import android.telephony.CellSignalStrength;
42 CellSignalStrength.getNumSignalStrengthLevels();
323 final int txLvlCount = CellSignalStrength.getNumSignalStrengthLevels(); in calculateActiveModemPowerMah()
H A DBatteryStatsImpl.java76 import android.telephony.CellSignalStrength;
1042 new StopwatchTimer[CellSignalStrength.getNumSignalStrengthLevels()];
1206 out.writeInt(CellSignalStrength.NUM_SIGNAL_STRENGTH_BINS); in writeSummaryToParcel()
5912 for (int i = 0; i < CellSignalStrength.getNumSignalStrengthLevels(); i++) { in stopAllPhoneSignalStrengthTimersLocked()
5957 strengthBin = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateAllPhoneStateLocked()
6024 final List<CellSignalStrength> cellSignalStrengths = in notePhoneSignalStrengthLocked()
6028 CellSignalStrength cellSignalStrength = cellSignalStrengths.get(i); in notePhoneSignalStrengthLocked()
10941 for (int i = 0; i < CellSignalStrength.getNumSignalStrengthLevels(); i++) { in initTimersAndCounters()
11579 for (int i = 0; i < CellSignalStrength.getNumSignalStrengthLevels(); i++) { in resetAllStatsLocked()
12482 final int levelCount = CellSignalStrength.getNumSignalStrengthLevels(); in incrementPerRatDataLocked()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DConnectivityControllerTest.java69 import android.telephony.CellSignalStrength;
499 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testStrongEnough_Cellular()
511 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testStrongEnough_Cellular()
547 CellSignalStrength.SIGNAL_STRENGTH_MODERATE); in testStrongEnough_Cellular()
583 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testStrongEnough_Cellular()
597 CellSignalStrength.SIGNAL_STRENGTH_GREAT); in testStrongEnough_Cellular()
673 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testStrongEnough_Cellular_CheckDisabled()
685 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testStrongEnough_Cellular_CheckDisabled()
721 CellSignalStrength.SIGNAL_STRENGTH_MODERATE); in testStrongEnough_Cellular_CheckDisabled()
757 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testStrongEnough_Cellular_CheckDisabled()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DSignalDrawable.java35 import android.telephony.CellSignalStrength;
149 int levelOffset = numBins == (CellSignalStrength.getNumSignalStrengthLevels() + 1) ? 10 : 0; in unpackLevel()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DConnectivityController.java41 import android.telephony.CellSignalStrength;
851 int signalStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in isStrongEnough()
867 if (signalStrength <= CellSignalStrength.SIGNAL_STRENGTH_POOR) { in isStrongEnough()
881 if (signalStrength <= CellSignalStrength.SIGNAL_STRENGTH_MODERATE) { in isStrongEnough()
1708 public int signalStrength = CellSignalStrength.SIGNAL_STRENGTH_GREAT;
1717 for (CellSignalStrength css : signalStrength.getCellSignalStrengths()) { in onSignalStrengthsChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DCarrierMergedConnectionRepository.kt19 import android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
H A DMobileIconInteractorTest.kt19 import android.telephony.CellSignalStrength
123 assertThat(latest).isEqualTo(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN)

12