/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | MobileRadioPowerCalculatorTest.java | 99 when(gsmSignalStrength.getLevel()).thenReturn( in testCounterBasedModel() 118 when(gsmSignalStrength.getLevel()).thenReturn( in testCounterBasedModel() 121 when(gsmSignalStrength.getLevel()).thenReturn(SignalStrength.SIGNAL_STRENGTH_POOR); in testCounterBasedModel() 123 when(gsmSignalStrength.getLevel()).thenReturn(SignalStrength.SIGNAL_STRENGTH_MODERATE); in testCounterBasedModel() 125 when(gsmSignalStrength.getLevel()).thenReturn(SignalStrength.SIGNAL_STRENGTH_GOOD); in testCounterBasedModel() 131 when(gsmSignalStrength.getLevel()).thenReturn(SignalStrength.SIGNAL_STRENGTH_GREAT); in testCounterBasedModel() 219 when(gsmSignalStrength.getLevel()).thenReturn( in testCounterBasedModel_multipleDefinedRat() 238 when(gsmSignalStrength.getLevel()).thenReturn( in testCounterBasedModel_multipleDefinedRat() 241 when(gsmSignalStrength.getLevel()).thenReturn(SignalStrength.SIGNAL_STRENGTH_POOR); in testCounterBasedModel_multipleDefinedRat() 243 when(gsmSignalStrength.getLevel()).thenReturn(SignalStrength.SIGNAL_STRENGTH_MODERATE); in testCounterBasedModel_multipleDefinedRat() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DaltonizerTest.cpp | 33 float getLevel() const { return mDaltonizer.mLevel; } in getLevel() function in android::DaltonizerTest 64 EXPECT_EQ(test.getLevel(), 0.7f); in TEST() 89 EXPECT_EQ(test.getLevel(), 0.7f); in TEST() 101 EXPECT_EQ(test.getLevel(), 0.7f); in TEST()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayShellCommand.java | 60 final int level = getLevel(); in setSaturation() 69 final int level = getLevel(); in setLayerSaturation() 94 private int getLevel() { in getLevel() method in ColorDisplayShellCommand
|
D | GlobalSaturationTintController.java | 73 public int getLevel() { in getLevel() method in GlobalSaturationTintController
|
D | TintController.java | 106 public abstract int getLevel(); in getLevel() method in TintController
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SignalStrengthControllerTest.java | 513 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_POOR, mSsc.getSignalStrength().getLevel()); in testLteSignalStrengthReportingCriteria() 528 assertEquals(mSsc.getSignalStrength().getLevel(), in testLteSignalStrengthReportingCriteria() 767 mSsc.getSignalStrength().getLevel()); 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() 838 mSsc.getSignalStrength().getLevel()); in test5gNrSignalStrengthReportingCriteria_UseSsRsrpAndSsRsrq() 865 assertEquals(CellSignalStrength.SIGNAL_STRENGTH_GREAT, mSsc.getSignalStrength().getLevel()); in test5gNrSignalStrengthReportingCriteria_ConfiguredThresholds() 882 mSsc.getSignalStrength().getLevel()); in test5gNrSignalStrengthReportingCriteria_ConfiguredThresholds() 898 assertEquals(mSsc.getSignalStrength().getLevel(), CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testWcdmaSignalStrengthReportingCriteria() 915 assertEquals(mSsc.getSignalStrength().getLevel(), CellSignalStrength.SIGNAL_STRENGTH_GOOD); in testWcdmaSignalStrengthReportingCriteria() [all …]
|
D | CellSignalStrengthNrTest.java | 213 assertThat(css.getLevel()).isIn(Range.range( in testSignalLevel_validValue() 226 assertThat(css.getLevel()).isEqualTo(CellSignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN); in testSignalLevel_invalidValue() 261 assertEquals(0 /* NONE or UNKNOWN */, css.getLevel()); in testLevel() 266 assertEquals(1 /* MODERATE */, css.getLevel()); in testLevel() 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()
|
D | CellSignalStrengthWcdmaTest.java | 95 assertEquals(2 /* MODERATE */, css.getLevel()); in testLevel() 108 assertEquals(2 /* MODERATE */, css.getLevel()); in testLevel() 114 assertEquals(1 /* POOR */, css.getLevel()); in testLevel()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardNetworkDetailsTrackerTest.java | 193 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel() 202 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel() 212 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testScanResultsAvailableAction_updates_getLevel() 273 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel() 281 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testWifiStateChanged_disabled_clearsLevel() 304 assertThat(wifiEntry.getLevel()).isEqualTo(WIFI_LEVEL_UNREACHABLE); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting() 316 assertThat(wifiEntry.getLevel()).isNotEqualTo(WIFI_LEVEL_UNREACHABLE); in testSecurityTargeting_pskScansWithSaeConfig_correspondsToNewNetworkTargeting() 351 assertThat(tracker.getWifiEntry().getLevel()).isEqualTo(BAD_LEVEL); in testScanner_wifiScannerResultReceived_scanResultsUpdated()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SignalStrength.java | 489 public int getLevel() { in getLevel() method in SignalStrength 490 int level = getPrimary().getLevel(); in getLevel() 495 return getPrimary().getLevel(); in getLevel() 559 return mGsm.getLevel(); in getGsmLevel() 591 return mCdma.getLevel(); in getCdmaLevel() 675 return mLte.getLevel(); in getLteLevel() 742 return mTdscdma.getLevel(); in getTdScdmaLevel() 826 return mWcdma.getLevel(); in getWcdmaLevel()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 164 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity() 168 final int level = getLevel(); in getOpacity() 180 if (dr.getLevel() == 0) { in draw() 186 final int level = getLevel(); in draw()
|
D | ScaleDrawable.java | 195 if (d != null && d.getLevel() != 0) { in draw() 203 if (d.getLevel() == 0) { in getOpacity() 208 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity() 228 final int level = getLevel(); in onBoundsChange()
|
D | LevelListDrawable.java | 72 onLevelChange(getLevel()); in addLevel() 150 onLevelChange(getLevel()); in inflateChildElements() 249 onLevelChange(getLevel()); in LevelListDrawable()
|
/frameworks/base/tests/Internal/src/com/android/internal/protolog/ |
D | PerfettoProtoLogImplTest.java | 230 Truth.assertThat(protolog.messages.getFirst().getLevel()).isEqualTo(LogLevel.WTF); in defaultMode() 260 Truth.assertThat(protolog.messages.get(0).getLevel()).isEqualTo(LogLevel.DEBUG); in respectsOverrideConfigs_defaultMode() 261 Truth.assertThat(protolog.messages.get(1).getLevel()).isEqualTo(LogLevel.VERBOSE); in respectsOverrideConfigs_defaultMode() 262 Truth.assertThat(protolog.messages.get(2).getLevel()).isEqualTo(LogLevel.WARN); in respectsOverrideConfigs_defaultMode() 263 Truth.assertThat(protolog.messages.get(3).getLevel()).isEqualTo(LogLevel.ERROR); in respectsOverrideConfigs_defaultMode() 264 Truth.assertThat(protolog.messages.get(4).getLevel()).isEqualTo(LogLevel.WTF); in respectsOverrideConfigs_defaultMode() 294 Truth.assertThat(protolog.messages.get(0).getLevel()).isEqualTo(LogLevel.WARN); in respectsOverrideConfigs_allEnabledMode() 295 Truth.assertThat(protolog.messages.get(1).getLevel()).isEqualTo(LogLevel.ERROR); in respectsOverrideConfigs_allEnabledMode() 296 Truth.assertThat(protolog.messages.get(2).getLevel()).isEqualTo(LogLevel.WTF); in respectsOverrideConfigs_allEnabledMode() 324 Truth.assertThat(protolog.messages.get(0).getLevel()).isEqualTo(LogLevel.DEBUG); in respectsAllEnabledMode() [all …]
|
/frameworks/native/libs/vibrator/ |
D | ExternalVibrationUtils.cpp | 67 HapticLevel hapticLevel = scale.getLevel(); in applyHapticScale() 101 switch (scale.getLevel()) { in isValidHapticScale()
|
/frameworks/base/telephony/java/android/telephony/satellite/ |
D | NtnSignalStrength.java | 82 this.mLevel = (source == null) ? NTN_SIGNAL_STRENGTH_NONE : source.getLevel(); in NtnSignalStrength() 93 @NtnSignalStrengthLevel public int getLevel() { in getLevel() method in NtnSignalStrength
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataConfigManagerTest.java | 126 doReturn(SignalStrength.SIGNAL_STRENGTH_POOR).when(signalStrength).getLevel(); in testParseAutoDataSwitchScoreTable() 132 doReturn(SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN).when(signalStrength).getLevel(); in testParseAutoDataSwitchScoreTable() 139 doReturn(SignalStrength.SIGNAL_STRENGTH_POOR).when(signalStrength).getLevel(); in testParseAutoDataSwitchScoreTable()
|
D | DataStallRecoveryManagerTest.java | 231 doReturn(1).when(mSignalStrength).getLevel(); in testDoNotDoRecoveryActionWhenPoorSignal() 247 doReturn(3).when(mSignalStrength).getLevel(); in testDoNotDoRecoveryActionWhenDialCall() 265 doReturn(3).when(mSignalStrength).getLevel(); in testDoNotDoRecoveryBySendMessageDelayedWhenDialCall() 286 doReturn(3).when(mSignalStrength).getLevel(); in testDoNotContinueRecoveryActionAfterModemReset() 322 doReturn(3).when(mSignalStrength).getLevel(); in testDoRecoveryWhenMeetDataStallAgain() 544 doReturn(3).when(mSignalStrength).getLevel(); in testRecoveryActionAfterDataEnabled() 570 doReturn(3).when(mSignalStrength).getLevel(); in testJumpToRecoveryActionRadioRestart()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataNetworkValidationStats.java | 100 mDataNetworkValidation.signalStrength = mPhone.getSignalStrength().getLevel(); in onDataNetworkDisconnected() 150 mDataNetworkValidation.signalStrength = mPhone.getSignalStrength().getLevel(); in onUpdateNetworkValidationState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | DataNetworkValidationStatsTest.java | 73 doReturn(SignalStrength.SIGNAL_STRENGTH_GREAT).when(mSignalStrength).getLevel(); in setup() 188 doReturn(SignalStrength.SIGNAL_STRENGTH_POOR).when(mSignalStrength).getLevel(); in testOnUpdateNetworkValidationStateWithUnsupportedStatus() 225 doReturn(SignalStrength.SIGNAL_STRENGTH_POOR).when(mSignalStrength).getLevel(); in testOnDataNetworkDisconnected()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | ISpatializer.aidl | 53 Spatialization.Level getLevel(); in getLevel() method
|
/frameworks/native/libs/vibrator/include/vibrator/ |
D | ExternalVibrationUtils.h | 42 HapticLevel getLevel() const { return mLevel; } in getLevel() function
|
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/ |
D | NtnSignalStrengthWrapper.java | 64 @NtnSignalStrengthLevel public int getLevel() { in getLevel() method in NtnSignalStrengthWrapper
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/ |
D | MobileStatusTracker.java | 133 : (" level=" + signalStrength.getLevel()))); in onSignalStrengthsChanged() 278 : signalStrength.getLevel()).append(',') in toString()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | ItemTest.java | 85 assertEquals("Recycled icon level should not change", 1, recycledIcon.getLevel()); in testOnBindView() 86 assertEquals("Icon should be level 4", 4, icon.getLevel()); in testOnBindView()
|