Home
last modified time | relevance | path

Searched refs:indexOfValue (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java160 final int indexOfValue = mOpenFiles.indexOfValue(destination); in closeWrite() local
161 if (indexOfValue < 0) { in closeWrite()
164 mOpenFiles.removeAt(indexOfValue); in closeWrite()
170 final int indexOfValue = mOpenFiles.indexOfValue(destination); in failWrite() local
171 if (indexOfValue < 0) { in failWrite()
174 mOpenFiles.removeAt(indexOfValue); in failWrite()
/frameworks/base/services/core/java/com/android/server/hdmi/
DUnmodifiableSparseIntArray.java53 public int indexOfValue(int value) { in indexOfValue() method in UnmodifiableSparseIntArray
54 return mArray.indexOfValue(value); in indexOfValue()
DUnmodifiableSparseArray.java53 public int indexOfValue(E value) { in indexOfValue() method in UnmodifiableSparseArray
54 return mArray.indexOfValue(value); in indexOfValue()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationStateMap.java81 int index = mDomainSetIdMap.indexOfValue(valueRemoved); in remove()
93 int index = mPackageNameMap.indexOfValue(valueRemoved); in remove()
/frameworks/base/services/core/java/com/android/server/utils/
DWatchedLongSparseArray.java85 if (mStorage.indexOfValue((E) o) == -1) { in unregisterChildIf()
323 public int indexOfValue(E value) { in indexOfValue() method in WatchedLongSparseArray
324 return mStorage.indexOfValue(value); in indexOfValue()
DWatchedSparseIntArray.java228 public int indexOfValue(int value) { in indexOfValue() method in WatchedSparseIntArray
229 return mStorage.indexOfValue(value); in indexOfValue()
DWatchedSparseBooleanArray.java233 public int indexOfValue(boolean value) { in indexOfValue() method in WatchedSparseBooleanArray
234 return mStorage.indexOfValue(value); in indexOfValue()
DWatchedSparseArray.java87 if (mStorage.indexOfValue((E) o) == -1) { in unregisterChildIf()
385 public int indexOfValue(E value) { in indexOfValue() method in WatchedSparseArray
386 return mStorage.indexOfValue(value); in indexOfValue()
DWatchedArrayMap.java389 public int indexOfValue(V value) { in indexOfValue() method in WatchedArrayMap
390 return mStorage.indexOfValue(value); in indexOfValue()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java94 int idx = sDelegates.indexOfValue(reference); in dump()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java105 int ind = jobParamsMap.indexOfValue(params); in onStopJob()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DIrqDeviceMap.java123 final int idx = instanceMap.indexOfValue(this); in dump()
/frameworks/base/core/java/android/util/
DSparseIntArray.java246 public int indexOfValue(int value) { in indexOfValue() method in SparseIntArray
DSparseLongArray.java285 public int indexOfValue(long value) { in indexOfValue() method in SparseLongArray
DLongSparseLongArray.java231 public int indexOfValue(long value) { in indexOfValue() method in LongSparseLongArray
DSparseBooleanArray.java252 public int indexOfValue(boolean value) { in indexOfValue() method in SparseBooleanArray
DArrayMap.java452 public int indexOfValue(Object value) { in indexOfValue() method in ArrayMap
480 return indexOfValue(value) >= 0; in containsValue()
946 return indexOfValue(value); in getCollection()
DSparseArray.java401 public int indexOfValue(E value) { in indexOfValue() method in SparseArray
DLongSparseArray.java389 public int indexOfValue(E value) { in indexOfValue() method in LongSparseArray
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DSparseArrayUtils.kt147 override fun containsValue(value: T): Boolean = sparseArray.indexOfValue(value) >= 0 in asMap()
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatableImpl.java119 int i = mDefaultDisplayForProfileUser.indexOfValue(displayId); in updateProfileUserConfigForDisplayRemovalLocked()
220 int i = mDefaultDisplayForProfileUser.indexOfValue(displayId); in setDisplayAllowListForUser()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java251 public int indexOfValue(E value) { in indexOfValue() method in SparseWeakArray
/frameworks/base/core/java/com/android/internal/jank/
DInteractionMonitorDebugOverlay.java164 if (mRunningCujs.indexOfValue(REASON_STILL_RUNNING) < 0) { in onTrackerRemoved()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryUsageStatsProvider.java247 if (mPowerStatsExporterEnabled.indexOfValue(true) >= 0) { in getCurrentBatteryUsageStats()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java766 int index = mIndicesToLoad.indexOfValue(true); in getNextIndexToLoad()
769 index = mIndicesToLoad.indexOfValue(false); in getNextIndexToLoad()

12