Home
last modified time | relevance | path

Searched refs:setValueAt (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/util/
DHeavyHitterSketch.java197 mFrequencies.setValueAt(index, mFrequencies.valueAt(index) + 1); in addToMGSummary()
208 mFrequencies.setValueAt(i, val); in addToMGSummary()
215 mFrequencies.setValueAt(i, 0); in addToMGSummary()
228 mFrequencies.setValueAt(index, mFrequencies.valueAt(index) + 1); in validate()
/frameworks/base/services/core/java/com/android/server/wm/
DMirrorActiveUids.java49 mUidStates.setValueAt(index, procState); in onUidProcStateChanged()
63 mNumNonAppVisibleWindowMap.setValueAt(index, num); in onNonAppSurfaceVisibilityChanged()
/frameworks/base/core/java/android/util/
DSparseDoubleArray.java168 public void setValueAt(int index, double value) { in setValueAt() method in SparseDoubleArray
169 mValues.setValueAt(index, Double.doubleToRawLongBits(value)); in setValueAt()
DSparseIntArray.java220 public void setValueAt(int index, int value) { in setValueAt() method in SparseIntArray
DSparseLongArray.java258 public void setValueAt(int index, long value) { in setValueAt() method in SparseLongArray
DSparseBooleanArray.java217 public void setValueAt(int index, boolean value) { in setValueAt() method in SparseBooleanArray
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DIndexedReferenceMap.kt62 setValueAt(i, valueAt(i).toImmutable()) in isEmpty()
79 fun putAt(index: Int, value: M): I = map.setValueAt(index, MutableReference(value)).get() in isEmpty()
DIntMap.kt64 setValueAt(index, value) in putReturnOld()
87 setValueAt(index, value) in setValueAtReturnOld()
DIndexedMap.kt56 fun putAt(index: Int, value: V): V = map.setValueAt(index, value) in isEmpty()
DIntReferenceMap.kt62 setValueAt(i, valueAt(i).toImmutable()) in isEmpty()
/frameworks/base/services/core/java/com/android/server/utils/
DWatchedSparseIntArray.java204 public void setValueAt(int index, int value) { in setValueAt() method in WatchedSparseIntArray
206 mStorage.setValueAt(index, value); in setValueAt()
DWatchedSparseBooleanArray.java201 public void setValueAt(int index, boolean value) { in setValueAt() method in WatchedSparseBooleanArray
203 mStorage.setValueAt(index, value); in setValueAt()
DWatchedLongSparseArray.java298 public void setValueAt(int index, E value) { in setValueAt() method in WatchedLongSparseArray
300 mStorage.setValueAt(index, value); in setValueAt()
DWatchedSparseArray.java356 public void setValueAt(int index, E value) { in setValueAt() method in WatchedSparseArray
358 mStorage.setValueAt(index, value); in setValueAt()
DWatchedArrayMap.java403 public V setValueAt(int index, V value) { in setValueAt() method in WatchedArrayMap
404 final V result = mStorage.setValueAt(index, value); in setValueAt()
DWatchedSparseBooleanMatrix.java237 setValueAt(r, c, value); in put()
374 public void setValueAt(int rowIndex, int colIndex, boolean value) { in setValueAt() method in WatchedSparseBooleanMatrix
/frameworks/base/services/core/java/com/android/server/vibrator/
DHalVibration.java123 mFallbacks.setValueAt(i, mFallbacks.valueAt(i).resolve(defaultAmplitude)); in resolveEffects()
146 mFallbacks.setValueAt(i, scaler.scale(mFallbacks.valueAt(i), vibrationUsage)); in scaleEffects()
/frameworks/base/core/java/android/os/
DPersistableBundle.java151 mMap.setValueAt(i, in PersistableBundle()
154 mMap.setValueAt(i, new PersistableBundle((Bundle) value, throwException)); in PersistableBundle()
/frameworks/base/media/java/android/media/
DMediaRoute2ProviderInfo.java192 mRoutes.setValueAt(i, new MediaRoute2Info.Builder(route) in setSystemRouteProvider()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java222 public void setValueAt(int index, E value) { in setValueAt() method in SparseWeakArray
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseTypeImpl.java183 mDeferredErrors.setValueAt(index, null);
/frameworks/base/services/core/java/com/android/server/am/
DPlatformCompatCache.java185 mCache.setValueAt(index, p); in fetchLocked()
DAppBatteryExemptionTracker.java145 pkgsStates.setValueAt(indexOfPkg, states | stateType); in onStateChange()
152 pkgsStates.setValueAt(indexOfPkg, states); in onStateChange()
DPendingIntentController.java526 mIntentsPerUid.setValueAt(idx, newCount); in incrementUidStatLocked()
572 mIntentsPerUid.setValueAt(idx, newCount); in decrementUidStatLocked()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
DWatcherTest.java236 array.setValueAt(array.indexOfKey(INDEX_C), leafD); in testWatchedArrayMap()
555 array.setValueAt(array.indexOfKey(INDEX_C), leafD); in testWatchedSparseArray()
679 array.setValueAt(array.indexOfKey(INDEX_C), leafD); in testWatchedLongSparseArray()
767 array.setValueAt(array.indexOfKey(INDEX_C), false); in testWatchedSparseBooleanArray()
825 array.setValueAt(array.indexOfKey(INDEX_C), 7); in testWatchedSparseIntArray()

123