Home
last modified time | relevance | path

Searched refs:startIdx (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/mime/java/android/content/type/
H A DDefaultMimeMapFactory.java86 int startIdx = 0; in parseTypes() local
88 int endIdx = line.indexOf(' ', startIdx); in parseTypes()
92 String spec = line.substring(startIdx, endIdx); in parseTypes()
97 startIdx = endIdx + 1; // skip over the space in parseTypes()
98 } while (startIdx < line.length()); in parseTypes()
/aosp12/system/libfmq/include/fmq/
H A DMessageQueueBase.h326 bool copyTo(const T* data, size_t startIdx, size_t nMessages = 1);
342 bool copyFrom(T* data, size_t startIdx, size_t nMessages = 1);
478 size_t startIdx, size_t nMessages, size_t& firstCount, size_t& secondCount, in getMemRegionInfo() argument
483 if (startIdx + nMessages > firstRegionLength + secondRegionLength) { in getMemRegionInfo()
493 startIdx < firstRegionLength ? std::min(nMessages, firstRegionLength - startIdx) : 0; in getMemRegionInfo()
499 *firstBaseAddress = first.getAddress() + startIdx; in getMemRegionInfo()
503 size_t secondStartIdx = startIdx > firstRegionLength ? startIdx - firstRegionLength : 0; in getMemRegionInfo()
512 size_t startIdx, in copyFrom() argument
521 if (getMemRegionInfo(startIdx, nMessages, firstReadCount, secondReadCount, &firstBaseAddress, in copyFrom()
543 size_t startIdx, in copyTo() argument
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DKernelSingleUidTimeReader.java238 final int startIdx = mLastUidCpuTimeMs.indexOfKey(startUid); in removeUidsInRange() local
240 mLastUidCpuTimeMs.removeAtRange(startIdx, endIdx - startIdx + 1); in removeUidsInRange()
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL3/
H A DQCamera3Mem.h134 QCamera3GrallocMemory(uint32_t startIdx);
H A DQCamera3Mem.cpp745 QCamera3GrallocMemory::QCamera3GrallocMemory(uint32_t startIdx) in QCamera3GrallocMemory() argument
746 : QCamera3Memory(), mStartIdx(startIdx) in QCamera3GrallocMemory()
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
H A DUtils.java751 final int startIdx = content.indexOf(clickableString); in handlePartialClickableTextView() local
752 final int endIdx = startIdx + clickableString.length(); in handlePartialClickableTextView()
754 spannableString.setSpan(span, startIdx, endIdx, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in handlePartialClickableTextView()
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorDragTest.java223 int startIdx = text.indexOf("5"); in testCursorDrag_diagonal_thresholdConfig() local
225 onView(withId(R.id.textview)).perform(dragOnText(startIdx, endIdx)); in testCursorDrag_diagonal_thresholdConfig()
231 onView(withId(R.id.textview)).perform(dragOnText(startIdx, endIdx)); in testCursorDrag_diagonal_thresholdConfig()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/
H A DWifiManagerTest.java253 int numberOfClients, int startIdx) { in initWifiClientAndAddToTestMap() argument
256 for (int i = startIdx; i < startIdx + numberOfClients; i++) { in initWifiClientAndAddToTestMap()
/aosp12/frameworks/base/tools/aapt/
H A DResourceTable.cpp1034 ssize_t startIdx = block.indexOfAttribute(NULL, "start"); in compileResourceFile() local
1035 if (startIdx >= 0) { in compileResourceFile()
1036 const char16_t* startStr = block.getAttributeStringValue(startIdx, &len); in compileResourceFile()
1040 String8(block.getAttributeStringValue(startIdx, &len)).string()); in compileResourceFile()