/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 38 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/ |
D | TileStateToProtoTest.kt | 33 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/ |
D | QSIconViewImplTest_311121830.kt | 56 state = Tile.STATE_INACTIVE in alwaysLastIcon() 101 state = Tile.STATE_INACTIVE in alwaysLastIcon_twoStateChanges() 111 state = Tile.STATE_INACTIVE in alwaysLastIcon_twoStateChanges()
|
D | QSTileViewImplTest.kt | 83 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/ |
D | QSTileState.kt | 82 INACTIVE(Tile.STATE_INACTIVE); in build() 88 Tile.STATE_INACTIVE -> INACTIVE in build()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 56 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/ |
D | HearingDevicesTile.java | 118 state.state = Tile.STATE_INACTIVE; in handleUpdateState() 122 state.state = Tile.STATE_INACTIVE; in handleUpdateState()
|
D | DeviceControlsTile.kt | 140 Tile.STATE_INACTIVE in handleUpdateState() 147 state.state = Tile.STATE_INACTIVE in handleUpdateState()
|
D | ScreenRecordTile.java | 138 state.state = (isRecording || isStarting) ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState() 144 state.forceExpandIcon = state.state == Tile.STATE_INACTIVE; in handleUpdateState()
|
D | QuickAccessWalletTile.java | 163 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/ |
D | AnyMotionDetector.java | 54 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/ |
D | InternetTileNewImplTest.kt | 142 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()
|
D | AlarmTileTest.kt | 115 assertThat(tile.state.state).isEqualTo(Tile.STATE_INACTIVE) in testInactiveByDefault() 123 assertThat(tile.state.state).isEqualTo(Tile.STATE_INACTIVE) in testInactiveAfterNullNextAlarm()
|
D | ReduceBrightColorsTileTest.java | 117 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testNotActive() 139 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testActive_clicked_featureIsActivated()
|
D | RecordIssueTileTest.kt | 122 assertThat(testState.state).isEqualTo(Tile.STATE_INACTIVE) in qsTileUi_shouldLookCorrect_whenInactive() 145 assertThat(testState.state).isEqualTo(Tile.STATE_INACTIVE) in inActiveQsTile_switchesToActive_whenClicked()
|
D | HearingDevicesTileTest.java | 178 assertThat(disconnectedState.state).isEqualTo(Tile.STATE_INACTIVE); in handleUpdateState_bondedInactiveHearingDevice_stateInactiveDisconnectedLabel() 191 assertThat(inactiveState.state).isEqualTo(Tile.STATE_INACTIVE); in handleUpdateState_noHearingDevice_stateInactive()
|
D | CastTileTest.java | 189 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/ |
D | TileColorPicker.java | 53 case Tile.STATE_INACTIVE: in getColor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TileStateToProto.kt | 42 Tile.STATE_INACTIVE -> QsTileState.INACTIVE in QSTile()
|
/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()
|
D | CustomTileTest.kt | 204 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/ |
D | NekoTile.java | 78 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/ |
D | ReduceBrightColorsTileMapper.kt | 51 .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/ |
D | InternetTileModel.kt | 60 Tile.STATE_INACTIVE in applyTo()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/ |
D | ReduceBrightColorsTileMapperTest.kt | 98 else Tile.STATE_INACTIVE], in createReduceBrightColorsTileState()
|