/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | LongArrayMultiStateCounterPerfTest.java | 55 private final State[] mStates; field in LongArrayMultiStateCounterPerfTest.TestLongArrayMultiStateCounter 62 mStates = new State[stateCount]; in TestLongArrayMultiStateCounter() 64 mStates[i] = new State(); in TestLongArrayMultiStateCounter() 65 mStates[i].mCounter = new long[mArrayLength]; in TestLongArrayMultiStateCounter() 74 mStates[mCurrentState].mTimeInStateSinceUpdate += in setState() 78 mStates[i].mTimeInStateSinceUpdate = 0; in setState() 94 long timeInState = mStates[i].mTimeInStateSinceUpdate; in updateValue() 96 add(mStates[i].mCounter, mDelta, timeInState, timeSinceUpdate); in updateValue() 97 mStates[i].mTimeInStateSinceUpdate = 0; in updateValue()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | StatusTracker.cpp | 51 err = mStates.add(id, IDLE); in addComponent() 74 idx = mStates.removeItem(id); in removeComponent() 94 for (size_t i = 0; i < mStates.size(); i++) { in dumpActiveComponents() 95 if (mStates.valueAt(i) == ACTIVE) { in dumpActiveComponents() 96 ALOGI("%s: component %d (%s) is active", __FUNCTION__, mStates.keyAt(i), in dumpActiveComponents() 134 for (size_t i = 0; i < mStates.size(); i++) { in getDeviceStateLocked() 135 if (mStates.valueAt(i) == ACTIVE) { in getDeviceStateLocked() 137 mStates.keyAt(i)); in getDeviceStateLocked() 196 ssize_t idx = mStates.indexOfKey(newState.id); in threadLoop() 200 mStates.replaceValueAt(idx, newState.state); in threadLoop()
|
D | StatusTracker.h | 109 KeyedVector<int, ComponentState> mStates; variable
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationLegacySettings.java | 60 private final ArrayMap<String, LegacyState> mStates = new ArrayMap<>(); field in DomainVerificationLegacySettings 76 LegacyState state = mStates.get(packageName); in getUserState() 87 LegacyState state = mStates.get(packageName); in getUserStates() 100 LegacyState state = mStates.get(packageName); in remove() 112 LegacyState state = mStates.get(packageName); in getOrCreateStateLocked() 115 mStates.put(packageName, state); in getOrCreateStateLocked() 126 final int statesSize = mStates.size(); in writeSettings() 128 final LegacyState state = mStates.valueAt(stateIndex); in writeSettings() 134 final String packageName = mStates.keyAt(stateIndex); in writeSettings()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | PersistedState.java | 76 private ArrayMap<TypeUserSensor, SensorState> mStates = new ArrayMap<>(); field in PersistedState 170 mStates = upgradedState.mStates; in readState() 173 mStates = new ArrayMap<>(); in readState() 235 return mStates.get(new TypeUserSensor(toggleType, userId, sensor)); in getState() 239 return mStates.put(new TypeUserSensor(toggleType, userId, sensor), sensorState); in setState() 273 int numStates = mStates.size(); in schedulePersist() 277 statesCopy.put(new TypeUserSensor(mStates.keyAt(i)), in schedulePersist() 278 new SensorState(mStates.valueAt(i))); in schedulePersist() 329 int numStates = mStates.size(); in dump() 331 int toggleType = mStates.keyAt(i).mType; in dump() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RpmStats.java | 95 …public Map<String, PowerStateElement> mStates = new ArrayMap<>(); // sleep states supported by thi… field in RpmStats.PowerStateSubsystem 103 PowerStateElement e = mStates.get(name); in putState() 105 mStates.put(name, new PowerStateElement(timeMs, count)); in putState()
|
D | BatteryStatsImpl.java | 14410 : subsys.getValue().mStates.entrySet()) { in updateRpmStatsLocked()
|
/frameworks/av/services/audioflinger/ |
D | StateQueue.cpp | 45 mMutating(&mStates[0]), mExpecting(NULL), in StateQueue() 149 if (++mMutating >= &mStates[kN]) { in push() 150 mMutating = &mStates[0]; in push()
|
D | StateQueue.h | 188 T mStates[kN]; // written by mutator, read by observer variable
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneProviderTest.java | 370 private LinkedList<Integer> mStates = new LinkedList<>(); field in LocationTimeZoneProviderTest.RecordingProviderMetricsLogger 374 mStates.add(stateEnum); in onProviderStateChanged() 379 + " but states logged were=" + mStates, in assertChangeLoggedAndRemove() 380 (Integer) expectedLoggedState, mStates.peekFirst()); in assertChangeLoggedAndRemove() 381 mStates.removeFirst(); in assertChangeLoggedAndRemove() 385 assertTrue(mStates.isEmpty()); in assertNoMoreLogEntries()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DeviceStorageMonitorService.java | 100 private final ArrayMap<UUID, State> mStates = new ArrayMap<>(); field in DeviceStorageMonitorService 163 State state = mStates.get(uuid); in findOrCreateState() 166 mStates.put(uuid, state); in findOrCreateState() 465 for (int i = 0; i < mStates.size(); i++) { in dumpImpl() 466 final UUID uuid = mStates.keyAt(i); in dumpImpl() 467 final State state = mStates.valueAt(i); in dumpImpl()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 75064 Lcom/android/internal/os/RpmStats$PowerStateSubsystem;->mStates:Ljava/util/Map;
|