/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrength.java | 27 public abstract class CellSignalStrength { class 51 protected CellSignalStrength() { in CellSignalStrength() method in CellSignalStrength 85 public abstract CellSignalStrength copy(); in copy()
|
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 121 private CellSignalStrength getPrimary() { in getPrimary() 156 @NonNull public List<CellSignalStrength> getCellSignalStrengths() { in getCellSignalStrengths() 157 return getCellSignalStrengths(CellSignalStrength.class); in getCellSignalStrengths() 182 @NonNull public <T extends CellSignalStrength> List<T> getCellSignalStrengths( in getCellSignalStrengths()
|
D | CellInfoNr.java | 84 public CellSignalStrength getCellSignalStrength() { in getCellSignalStrength()
|
D | CellSignalStrengthTdscdma.java | 35 public final class CellSignalStrengthTdscdma extends CellSignalStrength implements Parcelable {
|
D | CellSignalStrengthGsm.java | 33 public final class CellSignalStrengthGsm extends CellSignalStrength implements Parcelable {
|
D | CellInfo.java | 222 public abstract CellSignalStrength getCellSignalStrength(); in getCellSignalStrength()
|
D | CellSignalStrengthWcdma.java | 36 public final class CellSignalStrengthWcdma extends CellSignalStrength implements Parcelable {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SignalStrengthControllerTest.java | 51 import android.telephony.CellSignalStrength; 513 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_POOR, mSsc.getSignalStrength().getLevel()); in testLteSignalStrengthReportingCriteria() 529 CellSignalStrength.SIGNAL_STRENGTH_MODERATE); in testLteSignalStrengthReportingCriteria() 766 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, in testLteSignalStrengthReportingCriteria_convertRssnrUnitFromTenDbToDB() 783 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_GOOD, mSsc.getSignalStrength().getLevel()); in testLteSignalStrengthReportingCriteria_convertRssnrUnitFromTenDbToDB() 810 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_GREAT, mSsc.getSignalStrength().getLevel()); in test5gNrSignalStrengthReportingCriteria_UseSsRsrp() 837 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, in test5gNrSignalStrengthReportingCriteria_UseSsRsrpAndSsRsrq() 865 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_GREAT, mSsc.getSignalStrength().getLevel()); in test5gNrSignalStrengthReportingCriteria_ConfiguredThresholds() 881 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_POOR, in test5gNrSignalStrengthReportingCriteria_ConfiguredThresholds() 898 assertEquals(mSsc.getSignalStrength().getLevel(), CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testWcdmaSignalStrengthReportingCriteria() [all …]
|
D | CellSignalStrengthNrTest.java | 30 import android.telephony.CellSignalStrength; 214 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN, BoundType.CLOSED, in testSignalLevel_validValue() 215 CellSignalStrength.SIGNAL_STRENGTH_GREAT, BoundType.CLOSED)); in testSignalLevel_validValue() 226 assertThat(css.getLevel()).isEqualTo(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testSignalLevel_invalidValue() 288 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_POOR, css.getLevel()); in testSignalLevel_thresholdBoundaries() 293 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_MODERATE, css.getLevel()); in testSignalLevel_thresholdBoundaries() 298 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_GOOD, css.getLevel()); in testSignalLevel_thresholdBoundaries() 303 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_GREAT, css.getLevel()); in testSignalLevel_thresholdBoundaries()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerSignalTest.java | 30 import android.telephony.CellSignalStrength; 308 testStrength < CellSignalStrength.getNumSignalStrengthLevels(); testStrength++) { in testSignalStrength() 326 testStrength < CellSignalStrength.getNumSignalStrengthLevels(); testStrength++) { in testCdmaSignalStrength() 340 testStrength < CellSignalStrength.getNumSignalStrengthLevels(); testStrength++) { in testSignalRoaming() 353 for (int testStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in testCdmaSignalRoaming() 376 for (int testStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in testQsSignalStrength() 389 for (int testStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in testCdmaQsSignalStrength() 670 CellSignalStrength.getNumSignalStrengthLevels()), in testCarrierNetworkChange_carrierNetworkChange() 702 CellSignalStrength.getNumSignalStrengthLevels()), in testCarrierNetworkChange_roamingBeforeNetworkChange() 735 CellSignalStrength.getNumSignalStrengthLevels()), in testCarrierNetworkChange_roamingAfterNetworkChange() [all …]
|
D | NetworkControllerBaseTest.java | 51 import android.telephony.CellSignalStrength; 545 int state = SignalDrawable.getState(icon, CellSignalStrength.getNumSignalStrengthLevels(), in verifyLastQsMobileDataIndicators() 575 : SignalDrawable.getState(icon, CellSignalStrength.getNumSignalStrengthLevels(), in verifyLastMobileDataIndicators() 592 level, CellSignalStrength.getNumSignalStrengthLevels(), !inet); in verifyLastMobileDataIndicatorsForVcn() 634 int numSignalStrengthBins = CellSignalStrength.getNumSignalStrengthLevels(); in verifyLastMobileDataIndicators()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | MobileRadioPowerCalculatorTest.java | 41 import android.telephony.CellSignalStrength; 97 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testCounterBasedModel() 98 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testCounterBasedModel() 217 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testCounterBasedModel_multipleDefinedRat() 218 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testCounterBasedModel_multipleDefinedRat() 374 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testCounterBasedModel_legacyPowerProfile() 375 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testCounterBasedModel_legacyPowerProfile() 492 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testTimerBasedModel_byProcessState() 493 CellSignalStrength gsmSignalStrength = mock(CellSignalStrength.class); in testTimerBasedModel_byProcessState() 694 ArrayList<CellSignalStrength> perRatCellStrength = new ArrayList(); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel() [all …]
|
D | BatteryStatsNoteTest.java | 51 import android.telephony.CellSignalStrength; 1334 final int txLevelCount = CellSignalStrength.getNumSignalStrengthLevels(); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1376 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1392 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1409 CellSignalStrength.SIGNAL_STRENGTH_MODERATE); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1422 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1428 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1434 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1440 CellSignalStrength.SIGNAL_STRENGTH_GREAT); in testGetPerStateActiveRadioDurationMs_noModemActivity() 1447 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testGetPerStateActiveRadioDurationMs_noModemActivity() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 20 import android.telephony.CellSignalStrength; 64 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in buildProto() 95 for (int i = 0; i < CellSignalStrength.getNumSignalStrengthLevels(); i++) { in buildProto()
|
D | DataStallRecoveryStats.java | 42 import android.telephony.CellSignalStrength; 104 private int mSignalStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; 113 private int mOtherSignalStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; 389 mOtherSignalStrength = CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in updateDsdsInfo()
|
/frameworks/base/core/java/android/os/connectivity/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 19 import android.telephony.CellSignalStrength 170 val DEFAULT_NUM_LEVELS = CellSignalStrength.getNumSignalStrengthLevels() in isInEcmMode()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/ |
D | CarrierRoamingSatelliteSessionStats.java | 21 import android.telephony.CellSignalStrength; 217 List<CellSignalStrength> cellSignalStrengths = signalStrength.getCellSignalStrengths(); in getCellSignalStrengthLte() 218 for (CellSignalStrength cellSignalStrength : cellSignalStrengths) { in getCellSignalStrengthLte()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 19 import android.telephony.CellSignalStrength in <lambda>() 151 private val _cdmaLevel = MutableStateFlow(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN) in <lambda>() 162 private val _primaryLevel = MutableStateFlow(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
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()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 35 import android.telephony.CellSignalStrength; 156 int levelOffset = numBins == (CellSignalStrength.getNumSignalStrengthLevels() + 1) ? 10 : 0; in unpackLevel()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | ConnectivityControllerTest.java | 83 import android.telephony.CellSignalStrength; 523 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testStrongEnough_Cellular() 535 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testStrongEnough_Cellular() 571 CellSignalStrength.SIGNAL_STRENGTH_MODERATE); in testStrongEnough_Cellular() 607 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testStrongEnough_Cellular() 621 CellSignalStrength.SIGNAL_STRENGTH_GREAT); in testStrongEnough_Cellular() 697 CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testStrongEnough_Cellular_CheckDisabled() 709 CellSignalStrength.SIGNAL_STRENGTH_POOR); in testStrongEnough_Cellular_CheckDisabled() 745 CellSignalStrength.SIGNAL_STRENGTH_MODERATE); in testStrongEnough_Cellular_CheckDisabled() 781 CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testStrongEnough_Cellular_CheckDisabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | MobileRadioPowerStatsProcessor.java | 19 import android.telephony.CellSignalStrength; 39 CellSignalStrength.getNumSignalStrengthLevels();
|
D | MobileRadioPowerCalculator.java | 24 import android.telephony.CellSignalStrength; 42 CellSignalStrength.getNumSignalStrengthLevels();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepository.kt | 19 import android.telephony.CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN in <lambda>()
|