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

/frameworks/base/telephony/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/base/telephony/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
540 decodeNoValue(int startIndex) argument
572 decodeContentLength(int startIndex) argument
585 decodeContentLocation(int startIndex) argument
599 decodeXWapApplicationId(int startIndex) argument
616 seekXWapApplicationId(int startIndex, int endIndex) argument
680 decodeXWapContentURI(int startIndex) argument
693 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/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/av/media/libaah_rtp/
H A Daah_tx_sender.cpp450 int startIndex; local
452 startIndex = static_cast<uint16_t>(startSeq - retryFirstSeq);
454 startIndex = -1;
464 if (startIndex == -1 && endIndex == -1) {
476 if (startIndex == -1) {
487 startIndex = 0;
503 for (int i = startIndex; i <= endIndex; i++) {
/frameworks/base/libs/hwui/
H A DFontRenderer.h249 bool renderText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex,
252 bool renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex,
255 bool renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex,
276 DropShadow renderDropShadow(SkPaint* paint, const char *text, uint32_t startIndex,
H A DFontRenderer.cpp1002 uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius) {
1020 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds);
1033 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY,
1066 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, Rect* bounds) {
1073 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y);
1080 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y,
1088 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions);
1095 uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path,
1103 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset);
1001 renderDropShadow(SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius) argument
1065 renderText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, Rect* bounds) argument
1079 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
1094 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/opt/calendar/src/com/android/calendarcommon/
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.java307 final int startIndex = getIndexAfter(end);
308 for (int i = startIndex; i >= 0; i--) {
484 final int startIndex = getIndexAfter(end);
485 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.cpp738 uint32_t startIndex, int32_t numGlyphs,
765 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs,
737 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.java933 public static final native boolean parseProcLine(byte[] buffer, int startIndex, argument
/frameworks/base/services/input/
H A DEventHub.cpp909 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) {
911 array += startIndex;
H A DInputReader.cpp5546 for (uint32_t startIndex = heapSize / 2; startIndex != 0; ) {
5547 startIndex -= 1;
5548 for (uint32_t parentIndex = startIndex; ;) {
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1062 int startIndex;
1069 startIndex = endIndex = i + 1;
1076 for (endIndex=startIndex;
1091 for (int j = startIndex; j < endIndex; j++) {
1094 boolean parsed = Process.parseProcLine(wlBuffer, startIndex, endIndex,
1120 startIndex = endIndex;
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java5784 private final int findAffinityTaskTopLocked(int startIndex, String affinity) { argument
5786 TaskRecord startTask = ((ActivityRecord)mMainStack.mHistory.get(startIndex)).task;
5790 for (j=startIndex-1; j>=0; j--) {
5803 for (j=startIndex+1; j<N; j++) {

Completed in 1519 milliseconds