/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 34 import static com.android.server.DeviceIdleController.STATE_ACTIVE; 415 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 422 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 429 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 437 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 445 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 452 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 460 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsNotMet() 494 verifyStateConditions(STATE_ACTIVE); in testStateActiveToStateInactive_ConditionsMet() 517 enterDeepState(STATE_ACTIVE); in testTransitionFromAnyStateToStateQuickDozeDelay() [all …]
|
/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()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 148 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_wifiEnabledAndCasting() 200 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_projectionOnly() 224 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_castingAndProjection() 248 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_connectedAndConnecting()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureServerSession.java | 22 import static android.view.contentcapture.ContentCaptureSession.STATE_ACTIVE; 115 STATE_ACTIVE); in notifySessionStartedLocked() 202 STATE_ACTIVE | STATE_SERVICE_RESURRECTED); in resurrectLocked()
|
/frameworks/base/services/core/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()
|
D | PackageWatchdog.java | 966 public static final int STATE_ACTIVE = 0; field in PackageWatchdog.MonitoredPackage 1086 if (mHealthCheckState == STATE_ACTIVE) { in handleElapsedTimeLocked() 1154 return mHealthCheckState == STATE_ACTIVE || mHealthCheckState == STATE_INACTIVE; in isPendingHealthChecksLocked() 1175 mHealthCheckState = STATE_ACTIVE; in updateHealthCheckStateLocked() 1185 case STATE_ACTIVE: in toString()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 632 if (mState == STATE_ACTIVE) { in start() 642 mState = STATE_ACTIVE; in start() 755 if (mState != STATE_ACTIVE && mState != STATE_PAUSED) { in stop() 799 return mState != STATE_ACTIVE; in stopped() 810 if (mState == STATE_ACTIVE) { in flush() 818 ALOG_ASSERT(mState != STATE_ACTIVE); in flush_l() 840 if (mState == STATE_ACTIVE) { in pause() 1096 if (mState == STATE_ACTIVE) { in setLoop() 1198 if (mState == STATE_ACTIVE) { in setPosition() 1274 if (mState == STATE_ACTIVE) { in reload() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsConferenceState.java | 172 return Connection.STATE_ACTIVE; in getConnectionStateForStatus() 176 return Call.STATE_ACTIVE; in getConnectionStateForStatus()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 535 if (model->mState == Model::STATE_ACTIVE) { in detach() 634 if (model->mState == Model::STATE_ACTIVE) { in unloadSoundModel() 674 if (model->mState == Model::STATE_ACTIVE) { in startRecognition() 687 model->mState = Model::STATE_ACTIVE; in startRecognition() 706 if (model->mState != Model::STATE_ACTIVE) { in stopRecognition() 726 if (model->mState != Model::STATE_ACTIVE) { in getModelState() 760 if (model->mState != Model::STATE_ACTIVE) { in onCallbackEvent() 846 if (model->mState == Model::STATE_ACTIVE) { in setCaptureState_l()
|
/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/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 919 return mState == STATE_ACTIVE || mState == STATE_STOPPING; in isPlaying() 1071 STATE_ACTIVE, enumerator 1082 case STATE_ACTIVE: return "STATE_ACTIVE"; in stateToString()
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 919 return mState == STATE_ACTIVE || mState == STATE_STOPPING; in isPlaying() 1071 STATE_ACTIVE, enumerator 1082 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/tiles/ |
D | BatterySaverTile.java | 101 : mPowerSave ? 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 | 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 | UiModeNightTile.java | 103 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | NfcTile.java | 107 : 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 | LocationTile.java | 117 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
|
D | DataSaverTile.java | 95 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 19 import static android.service.quicksettings.Tile.STATE_ACTIVE; 281 paint.setColor(QSTileImpl.getColorForState(context, STATE_ACTIVE)); in MemoryIconDrawable() 460 state.state = dumpInProgress ? STATE_UNAVAILABLE : STATE_ACTIVE; in handleUpdateState()
|