/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 40 import static com.android.server.DeviceIdleController.STATE_INACTIVE; 552 verifyStateConditions(STATE_INACTIVE); in testStateActiveToStateInactive_ConditionsMet() 575 enterDeepState(STATE_INACTIVE); in testTransitionFromAnyStateToStateQuickDozeDelay() 647 enterDeepState(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 650 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 655 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 660 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 665 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 679 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon() 684 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 | 987 public static final int STATE_INACTIVE = 1; field in PackageWatchdog.MonitoredPackage 998 private int mHealthCheckState = STATE_INACTIVE; 1085 if (mHealthCheckState == STATE_INACTIVE) { in setHealthCheckActiveLocked() 1173 return mHealthCheckState == STATE_ACTIVE || mHealthCheckState == STATE_INACTIVE; in isPendingHealthChecksLocked() 1192 mHealthCheckState = STATE_INACTIVE; in updateHealthCheckStateLocked() 1206 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 | 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 | RotationLockTile.java | 83 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | BatterySaverTile.java | 101 : mPowerSave ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | NfcTile.java | 109 : state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | CellularTile.java | 191 state.state = Tile.STATE_INACTIVE; in handleUpdateState() 199 if (state.state == Tile.STATE_INACTIVE) { in handleUpdateState()
|
D | UiModeNightTile.java | 113 state.state = 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 | DataSaverTile.java | 97 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | LocationTile.java | 117 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 | 706 assertEquals(MonitoredPackage.STATE_INACTIVE, m1.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions() 708 assertEquals(MonitoredPackage.STATE_INACTIVE, m1.handleElapsedTimeLocked(SHORT_DURATION)); in testPackageHealthCheckStateTransitions() 716 assertEquals(MonitoredPackage.STATE_INACTIVE, m2.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions() 724 assertEquals(MonitoredPackage.STATE_INACTIVE, m3.getHealthCheckStateLocked()); in testPackageHealthCheckStateTransitions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 217 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 | 271 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()
|