/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 38 import static com.android.server.DeviceIdleController.STATE_INACTIVE; 500 verifyStateConditions(STATE_INACTIVE); in testStateActiveToStateInactive_ConditionsMet() 523 enterDeepState(STATE_INACTIVE); in testTransitionFromAnyStateToStateQuickDozeDelay() 595 enterDeepState(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 598 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 603 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 608 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 613 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 627 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 632 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() [all …]
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 55 public static final int STATE_INACTIVE = 1; field in Tile 69 private int mState = STATE_INACTIVE;
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnyMotionDetector.java | 51 private static final int STATE_INACTIVE = 0; field in AnyMotionDetector 131 mState = STATE_INACTIVE; in AnyMotionDetector() 175 mState = STATE_INACTIVE; in stop() 246 mState = STATE_INACTIVE; in stopOrientationMeasurementLocked()
|
D | PackageWatchdog.java | 968 public static final int STATE_INACTIVE = 1; field in PackageWatchdog.MonitoredPackage 979 private int mHealthCheckState = STATE_INACTIVE; 1066 if (mHealthCheckState == STATE_INACTIVE) { in setHealthCheckActiveLocked() 1154 return mHealthCheckState == STATE_ACTIVE || mHealthCheckState == STATE_INACTIVE; in isPendingHealthChecksLocked() 1173 mHealthCheckState = STATE_INACTIVE; in updateHealthCheckStateLocked() 1187 case STATE_INACTIVE: in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileColorPicker.java | 53 case Tile.STATE_INACTIVE: in getColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileColorPickerTest.java | 59 final int color = mTileColorPicker.getColor(Tile.STATE_INACTIVE); in testGetColor_StateInactive_ReturnInactiveColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 101 : mPowerSave ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | RotationLockTile.java | 83 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | ColorInversionTile.java | 102 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | WorkModeTile.java | 115 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | UiModeNightTile.java | 103 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | NfcTile.java | 107 : state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | FlashlightTile.java | 125 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | CellularTile.java | 183 state.state = Tile.STATE_INACTIVE; in handleUpdateState() 191 if (state.state == Tile.STATE_INACTIVE) { in handleUpdateState()
|
D | LocationTile.java | 117 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | DataSaverTile.java | 95 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | AirplaneModeTile.java | 111 state.state = airplaneMode ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | HotspotTile.java | 145 state.state = isTileActive ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | NightDisplayTile.java | 120 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | CastTile.java | 208 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 697 assertEquals(MonitoredPackage.STATE_INACTIVE, m1.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions() 699 assertEquals(MonitoredPackage.STATE_INACTIVE, m1.handleElapsedTimeLocked(SHORT_DURATION)); in testPackageHealthCheckStateTransitions() 707 assertEquals(MonitoredPackage.STATE_INACTIVE, m2.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions() 715 assertEquals(MonitoredPackage.STATE_INACTIVE, m3.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 215 state.state = Tile.STATE_INACTIVE; in createStateAndAddTile()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 154 assertEquals(Tile.STATE_INACTIVE, mCastTile.getState().state); in testStateInactive_wifiEnabledNotCasting()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileQueryHelperTest.java | 256 assertEquals(Tile.STATE_INACTIVE, tileInfos.get(0).state.state); in testThirdPartyTilesInactive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileBaseView.java | 246 case Tile.STATE_INACTIVE: in getCircleColor()
|