Home
last modified time | relevance | path

Searched refs:mInputStateMap (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvInputManager.java32 private final Map<String, Integer> mInputStateMap = new HashMap<>(); field in FakeTvInputManager
38 if (mInputStateMap.containsKey(inputId)) { in add()
42 mInputStateMap.put(inputId, state); in add()
56 if (!mInputStateMap.containsKey(inputId)) { in setInputState()
59 mInputStateMap.put(inputId, state); in setInputState()
74 mInputStateMap.remove(inputId); in remove()
94 return mInputStateMap.get(inputId); in getInputState()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java177 private final Map<String, Integer> mInputStateMap = new HashMap<>(); field in TvInputManagerHelper
198 mInputStateMap.put(inputId, state);
220 mInputStateMap.put(inputId, mTvInputManager.getInputState(inputId));
238 mInputStateMap.remove(inputId);
369 mInputStateMap.clear(); in stop()
388 for (Map.Entry<String, Integer> pair : mInputStateMap.entrySet()) { in getTvInputInfos()
569 Integer state = mInputStateMap.get(inputId); in getInputState()
658 mInputStateMap.clear(); in initInputMaps()
670 mInputStateMap.put(inputId, state); in initInputMaps()
674 mInputStateMap.size() == mInputMap.size(), in initInputMaps()