/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 38 import static com.android.server.DeviceIdleController.STATE_ACTIVE; 487 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 494 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 501 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 509 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 517 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 524 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 532 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 566 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsMet() 587 enterDeepState(STATE_ACTIVE); in testStateActiveToStateInactive_UpcomingAlarm() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedState.java | 37 public static final int STATE_ACTIVE = 2; field in OneHandedState 44 STATE_ACTIVE, 90 return sCurrentState == STATE_ACTIVE; in isInOneHanded()
|
D | OneHandedTutorialHandler.java | 23 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE; 120 case STATE_ACTIVE: in onStateChanged() 158 mTargetViewContainer.setAlpha(mCurrentState == STATE_ACTIVE ? 1.0f : 0.0f); in createViewAndAttachToWindow() 216 if (mCurrentState == STATE_ENTERING || mCurrentState == STATE_ACTIVE) { in onConfigurationChanged()
|
D | OneHandedController.java | 24 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE; 175 mState.setState(STATE_ACTIVE); 176 notifyShortcutStateChanged(STATE_ACTIVE); 361 mContext.getContentResolver(), state == STATE_ACTIVE ? 1 : 0, mUserId); in notifyShortcutStateChanged() 512 final boolean isActivated = mState.getState() == STATE_ACTIVE; 589 if (mState.getState() == STATE_ENTERING || mState.getState() == STATE_ACTIVE) {
|
D | OneHandedBackgroundPanelOrganizer.java | 19 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE; 234 if (mCurrentState != STATE_ACTIVE) { in onConfigurationChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImplTest.java | 80 s.state = Tile.STATE_ACTIVE; in testNoFirstFade() 92 s.state = Tile.STATE_ACTIVE; in testStateSetCorrectly_toString() 99 assertEquals("QSIconViewImpl[state=" + Tile.STATE_ACTIVE + ", tint=" + desiredColor in testStateSetCorrectly_toString()
|
D | QSTileViewImplTest.kt | 91 state.state = Tile.STATE_ACTIVE in testSecondaryLabelNotModified_booleanActive() 113 state.state = Tile.STATE_ACTIVE in testSecondaryLabelNotModified_availableNotBoolean_active() 150 state.state = Tile.STATE_ACTIVE in testSecondaryLabelDescription_booleanActive_default() 255 state.state = Tile.STATE_ACTIVE in testUseStateStringsForKnownSpec_Boolean()
|
D | QSTileImplTest.java | 144 verify(mQsLogger).logTileClick(SPEC, StatusBarState.SHADE, Tile.STATE_ACTIVE); in testClick_log() 183 verify(mQsLogger).logTileSecondaryClick(SPEC, StatusBarState.SHADE, Tile.STATE_ACTIVE); in testSecondaryClick_log() 210 verify(mQsLogger).logTileLongClick(SPEC, StatusBarState.SHADE, Tile.STATE_ACTIVE); in testLongClick_log() 400 getState().state = Tile.STATE_ACTIVE; in TileImpl()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedStateTest.java | 19 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE; 165 when(mSpiedState.getState()).thenReturn(STATE_ACTIVE); in testInActiveState_shouldSkipDupTrigger() 175 when(mSpiedState.getState()).thenReturn(STATE_ACTIVE); in testInActiveState_canExit() 211 when(mSpiedState.getState()).thenReturn(STATE_ACTIVE); in testInActiveState_disableOHM_shouldStopOHM()
|
D | OneHandedBackgroundPanelOrganizerTest.java | 22 import static com.android.wm.shell.onehanded.OneHandedState.STATE_ACTIVE; 126 mSpiedBackgroundPanelOrganizer.onStateChanged(STATE_ACTIVE); in testStateActivate_onConfigurationChanged()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/ |
D | CommunicatorTest.java | 73 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiate() 91 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailed() 110 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailedNoProtocols()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 187 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_wifiEnabledAndCasting() 225 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_hotspotEnabledAndConnectedAndCasting() 279 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_projectionOnly() 303 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_castingAndProjection() 327 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_connectedAndConnecting()
|
D | ScreenRecordTileTest.java | 127 assertEquals(Tile.STATE_ACTIVE, mTile.getState().state); in testIsStarting() 151 assertEquals(Tile.STATE_ACTIVE, mTile.getState().state); in testIsRecording()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureServerSession.java | 22 import static android.view.contentcapture.ContentCaptureSession.STATE_ACTIVE; 116 STATE_ACTIVE); in notifySessionStartedLocked() 203 STATE_ACTIVE | STATE_SERVICE_RESURRECTED); in resurrectLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AnyMotionDetector.java | 54 private static final int STATE_ACTIVE = 1; field in AnyMotionDetector 155 if (mState != STATE_ACTIVE) { in checkForAnyMotion() 157 mState = STATE_ACTIVE; in checkForAnyMotion() 174 if (mState == STATE_ACTIVE) { in stop()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsConferenceState.java | 175 return Connection.STATE_ACTIVE; in getConnectionStateForStatus() 179 return Call.STATE_ACTIVE; in getConnectionStateForStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DeviceControlsTile.kt | 119 if (state.state == Tile.STATE_ACTIVE) { in handleClick() 139 state.state = Tile.STATE_ACTIVE in handleUpdateState()
|
D | ReduceBrightColorsTile.java | 110 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 709 if (mState == STATE_ACTIVE) { in start() 738 mState = STATE_ACTIVE; in start() 862 if (mState != STATE_ACTIVE && mState != STATE_PAUSED) { in stop() 906 return mState != STATE_ACTIVE; in stopped() 925 if (mState == STATE_ACTIVE) { in flush() 933 ALOG_ASSERT(mState != STATE_ACTIVE); in flush_l() 963 if (mState == STATE_ACTIVE) { in pause() 1352 if (mState == STATE_ACTIVE) { in setLoop() 1454 if (mState == STATE_ACTIVE) { in setPosition() 1530 if (mState == STATE_ACTIVE) { in reload() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileColorPicker.java | 55 case Tile.STATE_ACTIVE: in getColor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileColorPickerTest.java | 68 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE); in testGetColor_StateActive_ReturnActiveColor()
|
/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/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 1007 return mState == STATE_ACTIVE || mState == STATE_STOPPING; in isPlaying() 1187 STATE_ACTIVE, enumerator 1198 case STATE_ACTIVE: return "STATE_ACTIVE"; in stateToString()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 61 public static final int STATE_ACTIVE = 2; field in Tile
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileViewImpl.kt | 524 Tile.STATE_ACTIVE -> colorActive in <lambda>() 536 Tile.STATE_ACTIVE -> colorLabelActive in <lambda>() 548 Tile.STATE_ACTIVE -> colorSecondaryLabelActive in <lambda>()
|