/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | CellSignalStrength.java | 26 public abstract class CellSignalStrength { class 50 protected CellSignalStrength() { in CellSignalStrength() method in CellSignalStrength 84 public abstract CellSignalStrength copy(); in copy()
|
H A D | SignalStrength.java | 46 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 D | CellInfoNr.java | 84 public CellSignalStrength getCellSignalStrength() { in getCellSignalStrength()
|
H A D | CellSignalStrengthTdscdma.java | 35 public final class CellSignalStrengthTdscdma extends CellSignalStrength implements Parcelable {
|
H A D | CellInfo.java | 222 public abstract CellSignalStrength getCellSignalStrength(); in getCellSignalStrength()
|
H A D | CellSignalStrengthGsm.java | 33 public final class CellSignalStrengthGsm extends CellSignalStrength implements Parcelable {
|
H A D | CellSignalStrengthWcdma.java | 36 public final class CellSignalStrengthWcdma extends CellSignalStrength implements Parcelable {
|
H A D | CellSignalStrengthCdma.java | 31 public final class CellSignalStrengthCdma extends CellSignalStrength implements Parcelable {
|
H A D | CellSignalStrengthNr.java | 39 public final class CellSignalStrengthNr extends CellSignalStrength implements Parcelable {
|
H A D | CellSignalStrengthLte.java | 34 public final class CellSignalStrengthLte extends CellSignalStrength implements Parcelable {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
H A D | NetworkControllerSignalTest.java | 30 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 D | NetworkControllerBaseTest.java | 49 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 D | MobileRadioPowerCalculatorTest.java | 39 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 D | BatteryStatsNoteTest.java | 45 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 D | CellularBatteryStats.java | 27 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 D | MobileConnectionRepository.kt | 19 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 D | DemoMobileConnectionRepository.kt | 19 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 D | MobileSignalController.java | 27 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 D | MobileRadioPowerCalculator.java | 24 import android.telephony.CellSignalStrength; 42 CellSignalStrength.getNumSignalStrengthLevels(); 323 final int txLvlCount = CellSignalStrength.getNumSignalStrengthLevels(); in calculateActiveModemPowerMah()
|
H A D | BatteryStatsImpl.java | 76 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 D | ConnectivityControllerTest.java | 69 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 D | SignalDrawable.java | 35 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 D | ConnectivityController.java | 41 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 D | CarrierMergedConnectionRepository.kt | 19 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 D | MobileIconInteractorTest.kt | 19 import android.telephony.CellSignalStrength 123 assertThat(latest).isEqualTo(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN)
|