Searched refs:startIndex (Results 1 - 18 of 18) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlv.java84 * @param startIndex Index in data at which to start parsing
88 public static List<ComprehensionTlv> decodeMany(byte[] data, int startIndex) argument
92 while (startIndex < endIndex) {
93 ComprehensionTlv ctlv = ComprehensionTlv.decode(data, startIndex);
96 startIndex = ctlv.mValueIndex + ctlv.mLength;
110 * @param startIndex Index in data at which to start parsing
114 public static ComprehensionTlv decode(byte[] data, int startIndex) argument
116 int curIndex = startIndex;
129 ", startIndex=" + startIndex
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWspTypeDecoder.java213 * @param startIndex The starting position of the "Text-string" in this pdu
219 public boolean decodeTextString(int startIndex) { argument
220 int index = startIndex;
224 dataLength = index - startIndex + 1;
225 if (wspData[startIndex] == 127) {
226 stringValue = new String(wspData, startIndex + 1, dataLength - 2);
228 stringValue = new String(wspData, startIndex, dataLength - 1);
236 * @param startIndex The starting position of the "Token-text" in this pdu
242 public boolean decodeTokenText(int startIndex) { argument
243 int index = startIndex;
262 decodeShortInteger(int startIndex) argument
280 decodeLongInteger(int startIndex) argument
303 decodeIntegerValue(int startIndex) argument
319 decodeUintvarInteger(int startIndex) argument
344 decodeValueLength(int startIndex) argument
368 decodeExtensionMedia(int startIndex) argument
394 decodeConstrainedEncoding(int startIndex) argument
415 decodeContentType(int startIndex) argument
466 readContentParameters(int startIndex, int leftToRead, int accumulator) argument
536 decodeNoValue(int startIndex) argument
568 decodeContentLength(int startIndex) argument
581 decodeContentLocation(int startIndex) argument
595 decodeXWapApplicationId(int startIndex) argument
612 seekXWapApplicationId(int startIndex, int endIndex) argument
676 decodeXWapContentURI(int startIndex) argument
689 decodeXWapInitiatorURI(int startIndex) argument
[all...]
H A DIntRangeManager.java190 for (int startIndex = 0; startIndex < len; startIndex++) {
191 IntRange range = mRanges.get(startIndex);
198 mRanges.add(startIndex, new IntRange(startId, endId, client));
214 for (int endIndex = startIndex+1; endIndex < len; endIndex++) {
225 // of the next range to join is always startIndex+1.
228 int joinIndex = startIndex + 1;
248 // of the next range to join is always startIndex+1.
251 int joinIndex = startIndex
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.h55 bool renderText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex,
58 bool renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex,
61 bool renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex,
82 DropShadow renderDropShadow(SkPaint* paint, const char *text, uint32_t startIndex,
H A DFontRenderer.cpp488 uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) {
506 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions);
519 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
571 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, Rect* bounds) {
578 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y);
585 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y,
593 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions);
600 uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path,
608 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset);
487 renderDropShadow(SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) argument
570 renderText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, Rect* bounds) argument
584 renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds) argument
599 renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path, float hOffset, float vOffset, Rect* bounds) argument
/frameworks/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java86 int startIndex = mNextServerIndex;
102 if (mNextServerIndex == startIndex) break;
/frameworks/av/include/media/stagefright/
H A DMediaCodecList.h35 const char *type, bool encoder, size_t startIndex = 0) const;
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp414 const char *type, bool encoder, size_t startIndex) const {
423 while (startIndex < mCodecInfos.size()) {
424 const CodecInfo &info = mCodecInfos.itemAt(startIndex);
427 return startIndex;
430 ++startIndex;
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java546 int startIndex = -1;
571 startIndex = state.index;
575 if ((parameter == null) || (startIndex == -1)) {
579 parameter.name = text.substring(startIndex + 1, equalIndex);
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java313 final int startIndex = getIndexAfter(end);
314 for (int i = startIndex; i >= 0; i--) {
490 final int startIndex = getIndexAfter(end);
491 for (int i = startIndex; i >= 0; i--) {
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp673 char* buffer, jint startIndex, jint endIndex, jintArray format,
702 jsize i = startIndex;
777 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format,
783 (char*) bufferArray, startIndex, endIndex, format, outStrings,
672 android_os_Process_parseProcLineArray(JNIEnv* env, jobject clazz, char* buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
776 android_os_Process_parseProcLine(JNIEnv* env, jobject clazz, jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, jobjectArray outStrings, jlongArray outLongs, jfloatArray outFloats) argument
/frameworks/rs/
H A DrsFont.h150 uint32_t startIndex = 0, int numGlyphs = -1,
H A DrsFont.cpp746 uint32_t startIndex, int32_t numGlyphs,
773 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs,
745 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
/frameworks/base/core/java/android/os/
H A DProcess.java981 public static final native boolean parseProcLine(byte[] buffer, int startIndex, argument
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1084 int startIndex;
1091 startIndex = endIndex = i + 1;
1098 for (endIndex=startIndex;
1113 for (int j = startIndex; j < endIndex; j++) {
1116 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex,
1150 startIndex = endIndex;
/frameworks/base/services/input/
H A DEventHub.cpp943 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) {
945 array += startIndex;
H A DInputReader.cpp5634 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) {
5635 startIndex -= 1;
5636 for (uint32_t parentIndex = startIndex; ;) {
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java5948 private final int findAffinityTaskTopLocked(int startIndex, String affinity) { argument
5950 TaskRecord startTask = ((ActivityRecord)mMainStack.mHistory.get(startIndex)).task;
5954 for (j=startIndex-1; j>=0; j--) {
5967 for (j=startIndex+1; j<N; j++) {

Completed in 284 milliseconds