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 | 52 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()
|
D | TmaPlayer.java | 47 import com.android.car.media.testmediaapp.TmaMediaEvent.EventState; 238 if (event.mState == EventState.PLAYING) { in onProcessMediaEvent()
|
D | TmaBrowser.java | 104 new TmaMediaEvent(TmaMediaEvent.EventState.ERROR, in onAccountChanged()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaMediaEventReader.java | 27 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()
|