Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java38 import static com.android.server.DeviceIdleController.STATE_INACTIVE;
637 verifyStateConditions(STATE_INACTIVE); in testStateActiveToStateInactive_ConditionsMet()
655 verifyStateConditions(STATE_INACTIVE); in testStateActiveToStateInactive_DoNotUseMotionSensor()
680 verifyStateConditions(STATE_INACTIVE); in testStateActiveToStateInactive_MissingMotionSensor()
708 verifyStateConditions(STATE_INACTIVE); in testStateActiveToStateInactive_UpcomingAlarm()
749 enterDeepState(STATE_INACTIVE); in testTransitionFromAnyStateToStateQuickDozeDelay()
846 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_MissingMotionSensor()
927 enterDeepState(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
930 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
935 verifyStateConditions(STATE_INACTIVE); in testStepIdleStateLocked_ValidStates_WithWakeFromIdleAlarmSoon()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileStateToProtoTest.kt33 state = Tile.STATE_INACTIVE in platformTile_INACTIVE()
43 assertThat(proto?.state).isEqualTo(Tile.STATE_INACTIVE) in platformTile_INACTIVE()
108 state = Tile.STATE_INACTIVE in adapterState_INACTIVE()
119 assertThat(proto?.state).isEqualTo(Tile.STATE_INACTIVE) in adapterState_INACTIVE()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSIconViewImplTest_311121830.kt56 state = Tile.STATE_INACTIVE in alwaysLastIcon()
101 state = Tile.STATE_INACTIVE in alwaysLastIcon_twoStateChanges()
111 state = Tile.STATE_INACTIVE in alwaysLastIcon_twoStateChanges()
DQSTileViewImplTest.kt83 state.state = Tile.STATE_INACTIVE in testSecondaryLabelNotModified_booleanInactive()
106 state.state = Tile.STATE_INACTIVE in testSecondaryLabelNotModified_availableNotBoolean_inactive()
140 state.state = Tile.STATE_INACTIVE in testSecondaryLabelDescription_booleanInactive_default()
249 state.state = Tile.STATE_INACTIVE in testUseStateStringsForKnownSpec_Boolean()
285 stateDisabledByPolicy.state = Tile.STATE_INACTIVE in testDisabledByPolicyInactive_usesUnavailableColors()
347 stateDisabledByPolicy.state = Tile.STATE_INACTIVE in testDisabledByPolicy_secondaryLabelText()
368 state.state = Tile.STATE_INACTIVE in testDisabledByPolicy_unavailableInStateDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileState.kt82 INACTIVE(Tile.STATE_INACTIVE); in build()
88 Tile.STATE_INACTIVE -> INACTIVE in build()
/frameworks/base/core/java/android/service/quicksettings/
DTile.java56 public static final int STATE_INACTIVE = 1; field in Tile
73 private int mState = STATE_INACTIVE;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHearingDevicesTile.java118 state.state = Tile.STATE_INACTIVE; in handleUpdateState()
122 state.state = Tile.STATE_INACTIVE; in handleUpdateState()
DDeviceControlsTile.kt140 Tile.STATE_INACTIVE in handleUpdateState()
147 state.state = Tile.STATE_INACTIVE in handleUpdateState()
DScreenRecordTile.java138 state.state = (isRecording || isStarting) ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
144 state.forceExpandIcon = state.state == Tile.STATE_INACTIVE; in handleUpdateState()
DQuickAccessWalletTile.java163 state.state = isDeviceLocked ? Tile.STATE_INACTIVE : Tile.STATE_ACTIVE; in handleUpdateState()
167 state.state = Tile.STATE_INACTIVE; in handleUpdateState()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java54 private static final int STATE_INACTIVE = 0; field in AnyMotionDetector
144 mState = STATE_INACTIVE; in AnyMotionDetector()
188 mState = STATE_INACTIVE; in stop()
261 mState = STATE_INACTIVE; in stopOrientationMeasurementLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DInternetTileNewImplTest.kt142 assertThat(underTest.state.state).isEqualTo(Tile.STATE_INACTIVE) in noDefaultConnection_noNetworkAvailable()
173 assertThat(underTest.state.state).isEqualTo(Tile.STATE_INACTIVE) in airplaneMode_enabled_wifiDisabled()
188 assertThat(underTest.state.state).isEqualTo(Tile.STATE_INACTIVE) in airplaneMode_enabled_wifiEnabledButNotConnected()
DAlarmTileTest.kt115 assertThat(tile.state.state).isEqualTo(Tile.STATE_INACTIVE) in testInactiveByDefault()
123 assertThat(tile.state.state).isEqualTo(Tile.STATE_INACTIVE) in testInactiveAfterNullNextAlarm()
DReduceBrightColorsTileTest.java117 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testNotActive()
139 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testActive_clicked_featureIsActivated()
DRecordIssueTileTest.kt122 assertThat(testState.state).isEqualTo(Tile.STATE_INACTIVE) in qsTileUi_shouldLookCorrect_whenInactive()
145 assertThat(testState.state).isEqualTo(Tile.STATE_INACTIVE) in inActiveQsTile_switchesToActive_whenClicked()
DHearingDevicesTileTest.java178 assertThat(disconnectedState.state).isEqualTo(Tile.STATE_INACTIVE); in handleUpdateState_bondedInactiveHearingDevice_stateInactiveDisconnectedLabel()
191 assertThat(inactiveState.state).isEqualTo(Tile.STATE_INACTIVE); in handleUpdateState_noHearingDevice_stateInactive()
DCastTileTest.java189 assertEquals(Tile.STATE_INACTIVE, mCastTile.getState().state); in testStateInactive_wifiEnabledNotCasting()
220 assertEquals(Tile.STATE_INACTIVE, mCastTile.getState().state); in stateInactive_wifiConnected_newPipeline()
229 assertEquals(Tile.STATE_INACTIVE, mCastTile.getState().state); in stateInactive_ethernetConnected_newPipeline()
305 assertEquals(Tile.STATE_INACTIVE, mCastTile.getState().state); in testStateInactive_hotspotEnabledAndConnectedAndNotCasting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileColorPicker.java53 case Tile.STATE_INACTIVE: in getColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileStateToProto.kt42 Tile.STATE_INACTIVE -> QsTileState.INACTIVE in QSTile()
/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()
DCustomTileTest.kt204 customTile.qsTile.state = Tile.STATE_INACTIVE in testValueUpdatedInBooleanTile()
237 state = Tile.STATE_INACTIVE in testNoPersistedStateTileNotActive()
247 val state = Tile.STATE_INACTIVE in testPersistedStateRetrieved()
293 state = Tile.STATE_INACTIVE in testStoreStateOnChange()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoTile.java78 tile.setState(foodState != 0 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); in updateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapper.kt51 .getStringArray(R.array.tile_states_reduce_brightness)[Tile.STATE_INACTIVE] in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/model/
DInternetTileModel.kt60 Tile.STATE_INACTIVE in applyTo()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapperTest.kt98 else Tile.STATE_INACTIVE], in createReduceBrightColorsTileState()

123