Home
last modified time | relevance | path

Searched refs:mStateNames (Results 1 – 6 of 6) sorted by relevance

/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java48 private final String[] mStateNames; field in StateWaiter
67 mStateNames = new String[mStateCount]; in StateWaiter()
68 System.arraycopy(stateNames, /*srcPos*/0, mStateNames, /*dstPos*/0, mStateCount); in StateWaiter()
174 return mStateNames[checkStateInRange(state)]; in getStateName()
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java95 private final String[] mStateNames; field in EnergyConsumerStats.Config
110 mStateNames = stateNames != null ? stateNames : new String[] {""}; in Config()
122 && Arrays.equals(mStateNames, other.mStateNames); in isCompatible()
153 out.writeStringArray(config.mStateNames); in writeToParcel()
203 return mStateNames; in getStateNames()
424 counter = new LongMultiStateCounter(mConfig.mStateNames.length); in updateEntry()
455 counter = new LongMultiStateCounter(mConfig.mStateNames.length); in setState()
654 for (int i = 0; i < mConfig.mStateNames.length; i++) { in dump()
658 pw.print(mConfig.mStateNames[i]); in dump()
/frameworks/base/services/core/java/com/android/server/powerstats/
DStatsPullAtomCallbackImpl.java49 private Map<Integer, Map<Integer, String>> mStateNames = new HashMap(); field in StatsPullAtomCallbackImpl
124 mStateNames.put(entity.id, states); in initSubsystemSleepState()
149 mStateNames.get(result.id).get(stateResidency.id), in pullSubsystemSleepState()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java64 private static final String[] mStateNames = { field in BlockingStateCallback
223 return mStateNames[state + 1]; in stateToString()
DBlockingOfflineSessionCallback.java66 private static final String[] mStateNames = { field in BlockingOfflineSessionCallback
240 return mStateNames[state + 1]; in stateToString()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java227 private Map<Integer, Map<Integer, String>> mStateNames = new HashMap(); field in BatteryStatsService
280 mStateNames.put(entity.id, states); in populatePowerEntityMaps()
290 if (mPowerStatsInternal == null || mEntityNames.isEmpty() || mStateNames.isEmpty()) { in fillLowPowerStats()
313 subsystem.putState(mStateNames.get(result.id).get(stateResidency.id), in fillLowPowerStats()
333 if (mPowerStatsInternal == null || mEntityNames.isEmpty() || mStateNames.isEmpty()) { in getSubsystemLowPowerStats()
360 subsystemBuilder.append(" name=" + mStateNames.get(result.id).get( in getSubsystemLowPowerStats()