Home
last modified time | relevance | path

Searched refs:STATE_INACTIVE (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java40 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/
DTile.java55 public static final int STATE_INACTIVE = 1; field in Tile
69 private int mState = STATE_INACTIVE;
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java51 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()
DPackageWatchdog.java987 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/
DTileColorPicker.java53 case Tile.STATE_INACTIVE: in getColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java59 final int color = mTileColorPicker.getColor(Tile.STATE_INACTIVE); in testGetColor_StateInactive_ReturnInactiveColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DColorInversionTile.java102 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DWorkModeTile.java115 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DRotationLockTile.java83 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DBatterySaverTile.java101 : mPowerSave ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DNfcTile.java109 : state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DCellularTile.java191 state.state = Tile.STATE_INACTIVE; in handleUpdateState()
199 if (state.state == Tile.STATE_INACTIVE) { in handleUpdateState()
DUiModeNightTile.java113 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DFlashlightTile.java125 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DDataSaverTile.java97 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DLocationTile.java117 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DAirplaneModeTile.java111 state.state = airplaneMode ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DHotspotTile.java145 state.state = isTileActive ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DNightDisplayTile.java120 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DCastTile.java208 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java706 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/
DTileQueryHelper.java217 state.state = Tile.STATE_INACTIVE; in createStateAndAddTile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java154 assertEquals(Tile.STATE_INACTIVE, mCastTile.getState().state); in testStateInactive_wifiEnabledNotCasting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java271 assertEquals(Tile.STATE_INACTIVE, tileInfos.get(0).state.state); in testThirdPartyTilesInactive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java246 case Tile.STATE_INACTIVE: in getCircleColor()

12