Home
last modified time | relevance | path

Searched refs:STATE_ACTIVE (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java34 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/
DQSIconViewImplTest.java80 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/
DCastTileTest.java148 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/
DContentCaptureServerSession.java22 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/
DAnyMotionDetector.java54 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()
DPackageWatchdog.java966 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/
DAudioTrack.cpp632 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/
DImsConferenceState.java172 return Connection.STATE_ACTIVE; in getConnectionStateForStatus()
176 return Call.STATE_ACTIVE; in getConnectionStateForStatus()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp535 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/
DTileColorPicker.java55 case Tile.STATE_ACTIVE: in getColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java68 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE); in testGetColor_StateActive_ReturnActiveColor()
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h919 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/
DAudioTrack.h919 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/
DTile.java61 public static final int STATE_ACTIVE = 2; field in Tile
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java101 : mPowerSave ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DRotationLockTile.java83 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
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()
DUiModeNightTile.java103 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DNfcTile.java107 : state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
DFlashlightTile.java125 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()
DDataSaverTile.java95 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java19 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()

12