/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 98 size_t lastIndex = 0; in getColumnIndices() local 102 lastIndex = line.find(s, lastIndex); in getColumnIndices() 103 if (lastIndex == std::string::npos) { in getColumnIndices() 107 lastIndex += s.length(); in getColumnIndices() 108 indices.push_back(lastIndex); in getColumnIndices() 117 int lastIndex = 0; in parseRecordByColumns() local 122 if (idx <= lastIndex) { in parseRecordByColumns() 125 idx = lastIndex + 1; in parseRecordByColumns() 128 if (lastIndex < idx && lastIndex < lineSize) { in parseRecordByColumns() 134 … fprintf(stderr, "index wrong: lastIndex: %d, idx: %d, lineSize: %d\n", lastIndex, idx, lineSize); in parseRecordByColumns() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastHistory.java | 132 int lastIndex = mHistoryNext; in dumpDebug() local 133 int ringIndex = lastIndex; in dumpDebug() 142 } while (ringIndex != lastIndex); in dumpDebug() 144 lastIndex = ringIndex = mSummaryHistoryNext; in dumpDebug() 161 } while (ringIndex != lastIndex); in dumpDebug() 175 int lastIndex = mHistoryNext; in dumpLocked() local 176 int ringIndex = lastIndex; in dumpLocked() 214 } while (ringIndex != lastIndex); in dumpLocked() 217 lastIndex = ringIndex = mSummaryHistoryNext; in dumpLocked() 224 j > 0 && ringIndex != lastIndex;) { in dumpLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidBpfMapReader.java | 103 int lastIndex = mData.indexOfKey(endUid); in removeUidsInRange() local 104 if (lastIndex < 0) { in removeUidsInRange() 106 lastIndex = mData.indexOfKey(endUid); in removeUidsInRange() 108 mData.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VNodeBuilder.java | 93 int lastIndex = mVNodeList.size() - 1; in onEntryEnded() local 94 mVNodeList.remove(lastIndex--); in onEntryEnded() 95 mCurrentVNode = lastIndex >= 0 ? mVNodeList.get(lastIndex) : null; in onEntryEnded()
|
/frameworks/base/libs/hwui/jni/ |
D | GIFMovie.cpp | 389 int lastIndex = fCurrIndex; in onGetBitmap() local 390 if (lastIndex < 0) { in onGetBitmap() 392 lastIndex = 0; in onGetBitmap() 393 } else if (lastIndex > fGIF->ImageCount - 1) { in onGetBitmap() 395 lastIndex = fGIF->ImageCount - 1; in onGetBitmap() 405 for (int i = startIndex; i <= lastIndex; i++) { in onGetBitmap() 428 if (i == lastIndex || !checkIfWillBeCleared(cur)) { in onGetBitmap() 434 fLastDrawIndex = lastIndex; in onGetBitmap()
|
/frameworks/base/core/java/android/app/admin/ |
D | FreezePeriod.java | 242 final int lastIndex = result.size() - 1; in canonicalizePeriods() local 243 if (lastIndex > 0 && result.get(lastIndex).mEndDay == DAYS_IN_YEAR in canonicalizePeriods() 245 FreezePeriod wrappedInterval = new FreezePeriod(result.get(lastIndex).mStartDay, in canonicalizePeriods() 247 result.set(lastIndex, wrappedInterval); in canonicalizePeriods()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/ |
D | IntSetExtensions.kt | 44 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 49 inline val IntSet.lastIndex: Int constant
|
D | IndexedListExtensions.kt | 44 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 49 inline val <T> IndexedList<T>.lastIndex: Int constant
|
D | IndexedListSetExtensions.kt | 44 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 49 inline val <T> IndexedListSet<T>.lastIndex: Int constant
|
D | IndexedSetExtensions.kt | 50 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 55 inline val <T> IndexedSet<T>.lastIndex: Int constant
|
D | IntReferenceMapExtensions.kt | 52 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 57 inline val <I : Immutable<M>, M : I> IntReferenceMap<I, M>.lastIndex: Int constant
|
D | IndexedReferenceMapExtensions.kt | 52 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 57 inline val <K, I : Immutable<M>, M : I> IndexedReferenceMap<K, I, M>.lastIndex: Int constant
|
D | IntMapExtensions.kt | 53 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 64 inline val <T> IntMap<T>.lastIndex: Int constant
|
D | IndexedMapExtensions.kt | 53 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 64 inline val <K, V> IndexedMap<K, V>.lastIndex: Int constant
|
/frameworks/base/test-junit/src/junit/textui/ |
D | TestRunner.java | 164 int lastIndex= arg.lastIndexOf('.'); in start() local 165 testCase= arg.substring(0, lastIndex); in start() 166 method= arg.substring(lastIndex + 1); in start()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/collection/ |
D | ArraySetExtensions.kt | 48 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 53 inline val <T> ArraySet<T>.lastIndex: Int constant
|
D | SparseLongArrayExtensions.kt | 46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 60 inline val SparseLongArray.lastIndex: Int constant
|
D | SparseIntArrayExtensions.kt | 46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 60 inline val SparseIntArray.lastIndex: Int constant
|
D | LongSparseArrayExtensions.kt | 46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 60 inline val <T> LongSparseArray<T>.lastIndex: Int constant
|
D | SparseBooleanArrayExtensions.kt | 46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 60 inline val SparseBooleanArray.lastIndex: Int constant
|
D | SparseArrayExtensions.kt | 46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 60 inline val <T> SparseArray<T>.lastIndex: Int constant
|
D | ArrayMapExtensions.kt | 46 for (index in lastIndex downTo 0) { in forEachReversedIndexed() 58 inline val <K, V> ArrayMap<K, V>.lastIndex: Int constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherListView.java | 148 int lastIndex = getChildCount() - 1; in removeLastView() local 149 removeViewAt(lastIndex); in removeLastView()
|
/frameworks/base/core/tests/coretests/src/android/tracing/perfetto/ |
D | TestDataSource.java | 76 public int stateIndex = lastIndex++; 78 public static int lastIndex = 0; field in TestDataSource.TestTlsState
|
/frameworks/base/core/java/android/view/ |
D | CutoutSpecification.java | 433 int lastIndex = 0; 434 while ((currentIndex = specWithoutDp.indexOf(MARKER_START_CHAR, lastIndex)) != -1) { 438 sb.append(specWithoutDp, lastIndex, currentIndex); 487 lastIndex = currentIndex; 493 sb.append(specWithoutDp, lastIndex, specWithoutDp.length());
|