Home
last modified time | relevance | path

Searched refs:mStates (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DSystemUiController.java45 private final int[] mStates = new int[5]; field in SystemUiController
57 if (mStates[uiState] == flags) { in updateUiState()
60 mStates[uiState] = flags; in updateUiState()
65 for (int stateFlag : mStates) { in updateUiState()
87 return "mStates=" + Arrays.toString(mStates); in toString()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java49 mStates.add(state); in onActionStateChanged()
108 assertEquals("Expect three states ", mStates.size(), 3); in testChatServiceCreatesIntentAndExecutesAction()
109 assertEquals("State-0 should be STATE_QUEUED", (int)mStates.get(0), in testChatServiceCreatesIntentAndExecutesAction()
111 assertEquals("State-1 should be STATE_EXECUTING", (int)mStates.get(1), in testChatServiceCreatesIntentAndExecutesAction()
113 assertEquals("State-2 should be STATE_COMPLETE", (int)mStates.get(2), in testChatServiceCreatesIntentAndExecutesAction()
122 ArrayList<Integer> mStates; field in ActionServiceTest
149 mStates = new ArrayList<Integer>(); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsData.java70 private int[] mStates; field in ProcStatsData
82 mStates = ProcessStats.BACKGROUND_PROC_STATES; in ProcStatsData()
102 this.mStates = stats; in setStats()
159 ProcessStats.ALL_SCREEN_ADJ, mMemStates, mStates); in refreshStats()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java70 private int[] mStates; field in ProcStatsData
82 mStates = ProcessStats.BACKGROUND_PROC_STATES; in ProcStatsData()
102 this.mStates = stats; in setStats()
159 ProcessStats.ALL_SCREEN_ADJ, mMemStates, mStates); in refreshStats()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java796 private final Map<ComponentName, MediaServiceState> mStates = new HashMap<>(); field in MediaActivity.ViewModel
824 MediaServiceState state = mStates.get(mMediaSource); in getSavedState()
827 mStates.put(mMediaSource, state); in getSavedState()