Searched refs:EventState (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaEvent.java | 55 new TmaMediaEvent(EventState.PLAYING, StateErrorCode.UNKNOWN_ERROR, null, null, 59 public enum EventState { enum in TmaMediaEvent 75 EventState(@State int value) { in EventState() method in TmaMediaEvent.EventState 114 final EventState mState; 124 public TmaMediaEvent(EventState state, StateErrorCode errorCode, String errorMessage, in TmaMediaEvent() 138 return mState == EventState.ERROR && mErrorCode == StateErrorCode.PREMIUM_ACCOUNT_REQUIRED; in premiumAccountRequired()
|
D | TmaPlayer.java | 46 import com.android.car.media.testmediaapp.TmaMediaEvent.EventState; 280 if (event.mState == EventState.PLAYING) { in onProcessMediaEvent()
|
D | TmaBrowser.java | 135 new TmaMediaEvent(TmaMediaEvent.EventState.ERROR, in updatePlaybackState()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaMediaEventReader.java | 30 import com.android.car.media.testmediaapp.TmaMediaEvent.EventState; 72 private final Map<String, EventState> mEventStates; 78 mEventStates = enumNamesToValues(EventState.values()); in TmaMediaEventReader() 88 getEnum(json, Keys.STATE, mEventStates, EventState.NONE), in fromJson()
|