Home
last modified time | relevance | path

Searched refs:EventState (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java52 new TmaMediaEvent(EventState.PLAYING, StateErrorCode.UNKNOWN_ERROR, null, null,
56 public enum EventState { enum in TmaMediaEvent
72 EventState(@State int value) { in EventState() method in TmaMediaEvent.EventState
105 final EventState mState;
113 public TmaMediaEvent(EventState state, StateErrorCode errorCode, String errorMessage, in TmaMediaEvent()
124 return mState == EventState.ERROR && mErrorCode == StateErrorCode.PREMIUM_ACCOUNT_REQUIRED; in premiumAccountRequired()
DTmaPlayer.java47 import com.android.car.media.testmediaapp.TmaMediaEvent.EventState;
238 if (event.mState == EventState.PLAYING) { in onProcessMediaEvent()
DTmaBrowser.java104 new TmaMediaEvent(TmaMediaEvent.EventState.ERROR, in onAccountChanged()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaEventReader.java27 import com.android.car.media.testmediaapp.TmaMediaEvent.EventState;
67 private final Map<String, EventState> mEventStates;
72 mEventStates = enumNamesToValues(EventState.values()); in TmaMediaEventReader()
81 getEnum(json, Keys.STATE, mEventStates, EventState.NONE), in fromJson()