/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WspTypeDecoder.java | 225 public boolean decodeTextString(int startIndex) { in decodeTextString() argument 226 int index = startIndex; in decodeTextString() 230 mDataLength = index - startIndex + 1; in decodeTextString() 231 if (mWspData[startIndex] == 127) { in decodeTextString() 232 mStringValue = new String(mWspData, startIndex + 1, mDataLength - 2); in decodeTextString() 234 mStringValue = new String(mWspData, startIndex, mDataLength - 1); in decodeTextString() 248 public boolean decodeTokenText(int startIndex) { in decodeTokenText() argument 249 int index = startIndex; in decodeTokenText() 253 mDataLength = index - startIndex + 1; in decodeTokenText() 254 mStringValue = new String(mWspData, startIndex, mDataLength - 1); in decodeTokenText() [all …]
|
D | IntRangeManager.java | 222 for (int startIndex = 0; startIndex < len; startIndex++) { in enableRange() 223 IntRange range = mRanges.get(startIndex); in enableRange() 236 if ((startIndex + 1) < len) { in enableRange() 237 nextRange = mRanges.get(startIndex + 1); in enableRange() 274 mRanges.add(startIndex, new IntRange(startId, endId, client)); in enableRange() 291 for (int endIndex = startIndex+1; endIndex < len; endIndex++) { in enableRange() 306 int joinIndex = startIndex + 1; in enableRange() 331 int joinIndex = startIndex + 1; in enableRange() 356 int joinIndex = startIndex + 1; in enableRange() 378 int endIndex = startIndex; in enableRange() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 94 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) in decodeMany() argument 98 while (startIndex < endIndex) { in decodeMany() 99 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex); in decodeMany() 102 startIndex = ctlv.mValueIndex + ctlv.mLength; in decodeMany() 120 public static ComprehensionTlv decode(byte[] data, int startIndex) in decode() argument 122 int curIndex = startIndex; in decode() 135 ", startIndex=" + startIndex + " curIndex=" + curIndex + in decode() 167 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode() 178 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode() 190 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode() [all …]
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 105 size_t startIndex = 0; in interpolate() local 108 while (endIndex > startIndex + 1) { in interpolate() 109 int midIndex = (startIndex + endIndex) / 2; in interpolate() 113 startIndex = midIndex; in interpolate() 117 float xRange = mX[endIndex] - mX[startIndex]; in interpolate() 119 return mY[startIndex]; in interpolate() 122 float tInRange = t - mX[startIndex]; in interpolate() 125 float startY = mY[startIndex]; in interpolate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PathInterpolatorBuilder.java | 127 int startIndex = 0; in getInterpolation() local 130 while (endIndex - startIndex > 1) { in getInterpolation() 131 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() 135 startIndex = midIndex; in getInterpolation() 139 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() 141 return mY[startIndex]; in getInterpolation() 144 float tInRange = t - mX[startIndex]; in getInterpolation() 147 float startY = mY[startIndex]; in getInterpolation()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | SparseLongArrayTest.java | 60 private void assertRemoved(int startIndex, int endIndex) { in assertRemoved() argument 62 if (i >= startIndex && i <= endIndex) { in assertRemoved() 147 final int startIndex = 101; in testRemoveAtRange_compareRemoveAt() local 149 mSparseLongArray.removeAtRange(startIndex, endIndex - startIndex + 1); in testRemoveAtRange_compareRemoveAt() 150 for (int i = endIndex; i >= startIndex; i--) { in testRemoveAtRange_compareRemoveAt() 153 assertEquals(TEST_SIZE - (endIndex - startIndex + 1), mSparseLongArray.size()); in testRemoveAtRange_compareRemoveAt() 154 assertRemoved(startIndex, endIndex); in testRemoveAtRange_compareRemoveAt()
|
/frameworks/base/core/java/com/android/internal/alsa/ |
D | LineTokenizer.java | 32 int nextToken(String line, int startIndex) { in nextToken() argument 34 int offset = startIndex; in nextToken() 45 int nextDelimiter(String line, int startIndex) { in nextDelimiter() argument 47 int offset = startIndex; in nextDelimiter()
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleIndexingController.java | 111 List<String> sortedKeyList, String key, int startIndex, int endIndex) { in searchKeysRangeContainingKey() argument 112 if (endIndex <= startIndex) { in searchKeysRangeContainingKey() 115 if (endIndex - startIndex == 1) { in searchKeysRangeContainingKey() 116 return Arrays.asList(sortedKeyList.get(startIndex), sortedKeyList.get(endIndex)); in searchKeysRangeContainingKey() 119 int midKeyIndex = startIndex + ((endIndex - startIndex) / 2); in searchKeysRangeContainingKey() 125 return searchKeysRangeContainingKey(sortedKeyList, key, startIndex, midKeyIndex); in searchKeysRangeContainingKey()
|
D | RuleIndexRange.java | 30 public RuleIndexRange(int startIndex, int endIndex) { in RuleIndexRange() argument 31 this.mStartIndex = startIndex; in RuleIndexRange()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextSelection.java | 53 int startIndex, int endIndex, Map<String, Float> entityConfidence, String id, in TextSelection() argument 56 mStartIndex = startIndex; in TextSelection() 177 public Builder(@IntRange(from = 0) int startIndex, @IntRange(from = 0) int endIndex) { in Builder() 178 Preconditions.checkArgument(startIndex >= 0); in Builder() 179 Preconditions.checkArgument(endIndex > startIndex); in Builder() 180 mStartIndex = startIndex; in Builder() 268 int startIndex, in Request() argument 275 mStartIndex = startIndex; in Request() 396 @IntRange(from = 0) int startIndex, in Builder() 398 Utils.checkArgument(text, startIndex, endIndex); in Builder() [all …]
|
D | TextClassification.java | 523 int startIndex, 529 mStartIndex = startIndex; 640 @IntRange(from = 0) int startIndex, 642 Utils.checkArgument(text, startIndex, endIndex); 644 mStartIndex = startIndex; 714 final int startIndex = in.readInt(); 723 final Request request = new Request(text, startIndex, endIndex,
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 73 int32_t startIndex) { in fillWrappingBuffer() argument 79 uint8_t *source = &storage[convertFramesToBytes(startIndex)]; in fillWrappingBuffer() 81 if ((startIndex + framesAvailable) > capacity) { in fillWrappingBuffer() 83 fifo_frames_t firstFrames = capacity - startIndex; in fillWrappingBuffer() 101 fifo_frames_t startIndex = mFifo->getReadIndex(); in getFullDataAvailable() local 102 fillWrappingBuffer(wrappingBuffer, framesAvailable, startIndex); in getFullDataAvailable() 110 fifo_frames_t startIndex = mFifo->getWriteIndex(); in getEmptyRoomAvailable() local 111 fillWrappingBuffer(wrappingBuffer, framesAvailable, startIndex); in getEmptyRoomAvailable()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | TextViewActions.java | 191 public static ViewAction longPressAndDragOnText(int startIndex, int endIndex) { in longPressAndDragOnText() argument 195 new TextCoordinates(startIndex), in longPressAndDragOnText() 293 public static ViewAction doubleTapAndDragOnText(int startIndex, int endIndex) { in doubleTapAndDragOnText() argument 297 new TextCoordinates(startIndex), in doubleTapAndDragOnText() 315 public static ViewAction mouseDragOnText(int startIndex, int endIndex) { in mouseDragOnText() argument 319 new TextCoordinates(startIndex), in mouseDragOnText() 337 public static ViewAction mouseDoubleClickAndDragOnText(int startIndex, int endIndex) { in mouseDoubleClickAndDragOnText() argument 341 new TextCoordinates(startIndex), in mouseDoubleClickAndDragOnText() 359 public static ViewAction mouseLongClickAndDragOnText(int startIndex, int endIndex) { in mouseLongClickAndDragOnText() argument 363 new TextCoordinates(startIndex), in mouseLongClickAndDragOnText() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 212 int startIndex = 0; in getInterpolation() local 215 while (endIndex - startIndex > 1) { in getInterpolation() 216 int midIndex = (startIndex + endIndex) / 2; in getInterpolation() 220 startIndex = midIndex; in getInterpolation() 224 float xRange = mX[endIndex] - mX[startIndex]; in getInterpolation() 226 return mY[startIndex]; in getInterpolation() 229 float tInRange = t - mX[startIndex]; in getInterpolation() 232 float startY = mY[startIndex]; in getInterpolation()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 175 final int startIndex = (remainderIndex + 1) * Long.SIZE; in notifyRemainderLocked() local 176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); in notifyRemainderLocked() 178 notifyCallbacksLocked(sender, arg, arg2, startIndex, endIndex, bits); in notifyRemainderLocked() 199 private void notifyCallbacksLocked(T sender, int arg, A arg2, final int startIndex, in notifyCallbacksLocked() argument 202 for (int i = startIndex; i < endIndex; i++) { in notifyCallbacksLocked() 257 private void removeRemovedCallbacks(int startIndex, long removed) { in removeRemovedCallbacks() argument 259 final int endIndex = startIndex + Long.SIZE; in removeRemovedCallbacks() 262 for (int i = endIndex - 1; i >= startIndex; i--) { in removeRemovedCallbacks()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 538 int startIndex, int endIndex) throws ParseException; in setArray() argument 543 int startIndex = Math.max(className.lastIndexOf('.'), className.lastIndexOf('$')); in toString() local 544 if (startIndex < 0) { in toString() 545 startIndex = 0; in toString() 547 startIndex++; in toString() 549 return className.substring(startIndex) + "(index=" + mIndex + " added=" + mAdded in toString() 576 int startIndex, int endIndex) throws ParseException { in setArray() argument 578 final int[] array = new int[endIndex-startIndex]; in setArray() 579 for (int i=startIndex; i<endIndex; i++) { in setArray() 580 final String value = values.get(startIndex+i); in setArray() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelWakelockReader.java | 235 int startIndex; in parseProcWakelocks() local 241 startIndex = endIndex = i + 1; in parseProcWakelocks() 245 for (endIndex=startIndex; in parseProcWakelocks() 259 for (int j = startIndex; j < endIndex; j++) { in parseProcWakelocks() 262 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex, in parseProcWakelocks() 296 new String(wlBuffer, startIndex, endIndex - startIndex)); in parseProcWakelocks() 301 startIndex = endIndex + 1; in parseProcWakelocks()
|
/frameworks/av/media/libmedia/ |
D | IMediaCodecList.cpp | 82 const char *type, bool encoder, size_t startIndex = 0) const in findCodecByType() argument 84 if (startIndex > INT32_MAX) { in findCodecByType() 92 data.writeInt32(startIndex); in findCodecByType() 165 size_t startIndex = static_cast<size_t>(data.readInt32()); in onTransact() local 166 ssize_t index = findCodecByType(type, isEncoder, startIndex); in onTransact()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | Reparenting.java | 48 private void setupButtons(int startIndex, ViewGroup parent) { in setupButtons() argument 49 for (int i = startIndex; i < (startIndex + 3); ++i) { in setupButtons()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextSelectionTest.java | 59 final int startIndex = 13; in testParcel() local 62 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel() 76 assertEquals(startIndex, result.getSelectionStartIndex()); in testParcel() 126 final int startIndex = 13; in testToBuilder() local 137 final TextSelection textSelection = new TextSelection.Builder(startIndex, endIndex) in testToBuilder()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 173 int startIndex = line.indexOf(substr); in getCompilerFilter() local 174 if (startIndex < 0) { in getCompilerFilter() 177 startIndex += substr.length(); in getCompilerFilter() 178 int endIndex = line.indexOf(']', startIndex); in getCompilerFilter() 179 return line.substring(startIndex, endIndex); in getCompilerFilter()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AnswerToReset.java | 90 byte[] originalData, int startIndex, int length) { in parseHistoricalBytes() argument 91 if (length <= 0 || startIndex + length > originalData.length) { in parseHistoricalBytes() 97 int index = startIndex + 1; in parseHistoricalBytes() 98 while (index < startIndex + length && index > 0) { in parseHistoricalBytes() 99 index = parseLtvNode(index, nodes, originalData, startIndex + length - 1); in parseHistoricalBytes() 105 System.arraycopy(originalData, startIndex, rawData, 0, length); in parseHistoricalBytes()
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocalEventLog.java | 179 mStartRealtimeMs += mLog[startIndex()].getTimeDeltaMs(); in addLogEventInternal() 225 private int startIndex() { in startIndex() method in LocalEventLog 232 return startIndex(); in incrementIndex()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 257 const char *type, bool encoder, size_t startIndex) const { in findCodecByType() 264 for (; startIndex < numCodecInfos; ++startIndex) { in findCodecByType() 265 const MediaCodecInfo &info = *mCodecInfos[startIndex]; in findCodecByType() 287 return startIndex; in findCodecByType()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 161 private void layoutChildrenOnRow(int startIndex, int endIndex, int fullRowWidth, int xPos, in layoutChildrenOnRow() argument 167 for (int j = startIndex; j < endIndex; ++j) { in layoutChildrenOnRow() 171 if (isRTL() && j == startIndex) { in layoutChildrenOnRow()
|