/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/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()
|
D | KernelCpuUidTimeReader.java | 177 int lastIndex = mLastTimes.indexOfKey(endUid); in removeUidsInRange() local 178 mLastTimes.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in removeUidsInRange()
|
D | BatteryStatsImpl.java | 14396 final int lastIndex = mUidStats.indexOfKey(lastUidForUser); in onUserRemovedLocked() local 14397 for (int i = firstIndex; i <= lastIndex; i++) { in onUserRemovedLocked() 14403 mUidStats.removeAtRange(firstIndex, lastIndex - firstIndex + 1); in onUserRemovedLocked()
|
/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 | 384 int lastIndex = fCurrIndex; in onGetBitmap() local 385 if (lastIndex < 0) { in onGetBitmap() 387 lastIndex = 0; in onGetBitmap() 388 } else if (lastIndex > fGIF->ImageCount - 1) { in onGetBitmap() 390 lastIndex = fGIF->ImageCount - 1; in onGetBitmap() 400 for (int i = startIndex; i <= lastIndex; i++) { in onGetBitmap() 423 if (i == lastIndex || !checkIfWillBeCleared(cur)) { in onGetBitmap() 429 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/test-runner/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherListView.java | 138 int lastIndex = getChildCount() - 1; in removeLastView() local 139 removeViewAt(lastIndex); in removeLastView()
|
/frameworks/base/core/java/android/view/ |
D | CutoutSpecification.java | 391 int lastIndex = 0; 392 while ((currentIndex = specWithoutDp.indexOf(MARKER_START_CHAR, lastIndex)) != -1) { 396 sb.append(specWithoutDp, lastIndex, currentIndex); 445 lastIndex = currentIndex; 451 sb.append(specWithoutDp, lastIndex, specWithoutDp.length());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 186 int lastIndex = viewGroup.getChildCount() - 1; in refresh() local 187 viewGroup.removeViewAt(lastIndex); in refresh()
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | prep_generic.sh | 310 lastIndex=$(($index - 1)) 317 chosenIndex=$(($lastIndex - $chosenIndex))
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | FrameTracker.java | 376 int lastIndex = -1; in getIndexOnOrAfterEnd() local 381 lastIndex = i; in getIndexOnOrAfterEnd() 387 return lastIndex; in getIndexOnOrAfterEnd()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 2023 int lastIndex = mHistoryNext; in dumpDebug() local 2024 int ringIndex = lastIndex; in dumpDebug() 2033 } while (ringIndex != lastIndex); in dumpDebug() 2035 lastIndex = ringIndex = mSummaryHistoryNext; in dumpDebug() 2052 } while (ringIndex != lastIndex); in dumpDebug() 2100 int lastIndex = mHistoryNext; in dumpLocked() local 2101 int ringIndex = lastIndex; in dumpLocked() 2139 } while (ringIndex != lastIndex); in dumpLocked() 2142 lastIndex = ringIndex = mSummaryHistoryNext; in dumpLocked() 2149 j > 0 && ringIndex != lastIndex;) { in dumpLocked() [all …]
|
D | ProcessStatsService.java | 887 int lastIndex = 0; 984 lastIndex = Integer.parseInt(args[i]); 1157 } else if (lastIndex > 0) { 1158 pw.print("LAST STATS AT INDEX "); pw.print(lastIndex); pw.println(":"); 1167 if (lastIndex >= files.size()) { 1171 file = new AtomicFile(new File(files.get(lastIndex))); 1181 pw.print("Failure reading "); pw.print(files.get(lastIndex));
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 1083 size_t lastIndex = mItems.size() - 1; in removeEntryAt() local 1084 if (index < lastIndex) { in removeEntryAt() 1085 mItems[index] = mItems[lastIndex]; in removeEntryAt() 1086 mItems[lastIndex].mName = nullptr; in removeEntryAt() 1087 mItems[lastIndex].mType = kTypeInt32; in removeEntryAt()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 440 int lastIndex = 0; in parseCSV() local 443 while ((lastIndex = value.indexOf(",", lastIndex + 1)) > 0) { in parseCSV()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessController.java | 673 final int lastIndex = mActivities.size() - 1; in getTopActivityDisplayArea() local 674 ActivityRecord topRecord = mActivities.get(lastIndex); in getTopActivityDisplayArea() 677 for (int index = lastIndex - 1; index >= 0; --index) { in getTopActivityDisplayArea()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/ |
D | PublishControllerImpl.java | 317 final int lastIndex = mPublishStateCallbacks.getRegisteredCallbackCount() - 1; in clearPublishStateCallbacks() local 318 for (int index = lastIndex; index >= 0; index--) { in clearPublishStateCallbacks()
|
/frameworks/native/libs/binder/ |
D | Parcel.cpp | 435 int firstIndex = -1, lastIndex = -2; in appendFrom() local 461 lastIndex = i; in appendFrom() 464 int numObjects = lastIndex - firstIndex + 1; in appendFrom() 500 for (int i = firstIndex; i <= lastIndex; i++) { in appendFrom()
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 3317 int lastIndex = getChildCount() - 1; 3318 View last = getChildAt(lastIndex); 3324 recycleBin.addScrapView(last, mFirstPosition+lastIndex); 3327 last = getChildAt(--lastIndex);
|
D | Editor.java | 2096 int lastIndex = numberOfBlocks; in drawHardwareAccelerated() local 2114 lastIndex = Math.max(indexFirstChangedBlock, i + 1); in drawHardwareAccelerated() 2133 dynamicLayout.setIndexFirstChangedBlock(lastIndex); in drawHardwareAccelerated()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 3421 uint32_t lastIndex = mCurrentRawState.rawPointerData.idToIndex[id]; in dispatchPointerMouse() local 3423 mLastRawState.rawPointerData.pointers[lastIndex].x) * in dispatchPointerMouse() 3426 mLastRawState.rawPointerData.pointers[lastIndex].y) * in dispatchPointerMouse()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 57078 field protected int lastIndex;
|