/frameworks/av/media/libmedia/ |
D | MediaUtils.cpp | 62 struct rlimit limit; in limitProcessMemory() local 63 getrlimit(RLIMIT_AS, &limit); in limitProcessMemory() 64 ALOGV("original limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max); in limitProcessMemory() 65 limit.rlim_cur = maxMem; in limitProcessMemory() 66 setrlimit(RLIMIT_AS, &limit); in limitProcessMemory() 67 limit.rlim_cur = -1; in limitProcessMemory() 68 limit.rlim_max = -1; in limitProcessMemory() 69 getrlimit(RLIMIT_AS, &limit); in limitProcessMemory() 70 ALOGV("new limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max); in limitProcessMemory()
|
D | MemoryLeakTrackUtil.cpp | 55 std::string dumpMemoryAddresses(size_t limit) in dumpMemoryAddresses() argument 74 if (count > limit) count = limit; in dumpMemoryAddresses()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 47 int limit; field in BidiRenderer.ScriptRun 52 public ScriptRun(int start, int limit, boolean isRtl) { in ScriptRun() argument 54 this.limit = limit; in ScriptRun() 110 public RectF renderText(int start, int limit, int bidiFlags, float[] advances, in renderText() argument 112 Bidi bidi = new Bidi(mText, start, null, 0, limit - start, getIcuFlags(bidiFlags)); in renderText() 137 public RectF renderText(int start, int limit, boolean isRtl, float[] advances, in renderText() argument 141 for (ScriptRun run : getScriptRuns(mText, start, limit, isRtl, mFonts)) { in renderText() 144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText() 145 advancesIndex += run.limit - run.start; in renderText() 155 private void renderScript(int start, int limit, Font preferredFont, int flag, in renderScript() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | SpanSet.java | 46 public void init(Spanned spanned, int start, int limit) { in init() argument 47 final E[] allSpans = spanned.getSpans(start, limit, classType); in init() 100 int getNextTransition(int start, int limit) { in getNextTransition() argument 104 if (spanStart > start && spanStart < limit) limit = spanStart; in getNextTransition() 105 if (spanEnd > start && spanEnd < limit) limit = spanEnd; in getNextTransition() 107 return limit; in getNextTransition()
|
D | TextLine.java | 134 void set(TextPaint paint, CharSequence text, int start, int limit, int dir, in set() argument 139 mLen = limit - start; in set() 151 mReplacementSpanSpanSet.init(mSpanned, start, limit); in set() 161 TextUtils.getChars(text, start, limit, mChars, 0); in set() 169 for (int i = start, inext; i < limit; i = inext) { in set() 170 inext = mReplacementSpanSpanSet.getNextTransition(i, limit); in set() 358 int limit, boolean runIsRtl, float x, int top, int y, int bottom, 362 float w = -measureRun(start, limit, limit, runIsRtl, null); 363 handleRun(start, limit, limit, runIsRtl, c, x + w, top, 368 return handleRun(start, limit, limit, runIsRtl, c, x, top, [all …]
|
D | MeasuredText.java | 264 int breakText(int limit, boolean forwards, float width) { in breakText() argument 268 while (i < limit) { in breakText() 276 int i = limit - 1; in breakText() 282 while (i < limit - 1 && mChars[i + 1] == ' ') i++; in breakText() 283 return limit - i - 1; in breakText() 287 float measure(int start, int limit) { in measure() argument 290 for (int i = start; i < limit; ++i) { in measure()
|
D | SpannableStringInternal.java | 90 int limit = src.mSpanCount; in copySpans() local 91 for (int i = 0; i < limit; i++) { in copySpans() 104 for (int i = 0, j = 0; i < limit; i++) { in copySpans() 364 public int nextSpanTransition(int start, int limit, Class kind) { in nextSpanTransition() argument 377 if (st > start && st < limit && kind.isInstance(spans[i])) in nextSpanTransition() 378 limit = st; in nextSpanTransition() 379 if (en > start && en < limit && kind.isInstance(spans[i])) in nextSpanTransition() 380 limit = en; in nextSpanTransition() 383 return limit; in nextSpanTransition()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 203 String groupBy, String having, String orderBy, String limit) { in buildQueryString() argument 208 if (!TextUtils.isEmpty(limit) && !sLimitPattern.matcher(limit).matches()) { in buildQueryString() 209 throw new IllegalArgumentException("invalid LIMIT clauses:" + limit); in buildQueryString() 229 appendClause(query, " LIMIT ", limit); in buildQueryString() 332 String having, String sortOrder, String limit) { in query() argument 334 groupBy, having, sortOrder, limit, null); in query() 374 String having, String sortOrder, String limit, CancellationSignal cancellationSignal) { in query() argument 388 having, sortOrder, limit); in query() 394 sortOrder, limit); in query() 435 String having, String sortOrder, String limit) { in buildQuery() argument [all …]
|
D | SQLiteDatabase.java | 1035 String having, String orderBy, String limit) { in query() argument 1037 groupBy, having, orderBy, limit, null); in query() 1076 String having, String orderBy, String limit, CancellationSignal cancellationSignal) { in query() argument 1078 groupBy, having, orderBy, limit, cancellationSignal); in query() 1116 String having, String orderBy, String limit) { in queryWithFactory() argument 1118 selectionArgs, groupBy, having, orderBy, limit, null); in queryWithFactory() 1159 String having, String orderBy, String limit, CancellationSignal cancellationSignal) { in queryWithFactory() argument 1163 distinct, table, columns, selection, groupBy, having, orderBy, limit); in queryWithFactory() 1240 String orderBy, String limit) { in query() argument 1243 having, orderBy, limit); in query()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 197 private int limit = 0; field in JsonReader 682 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') { in objectValue() 733 if (limit != pos) { in fillBuffer() 734 limit -= pos; in fillBuffer() 735 System.arraycopy(buffer, pos, buffer, 0, limit); in fillBuffer() 737 limit = 0; in fillBuffer() 742 while ((total = in.read(buffer, limit, buffer.length - limit)) != -1) { in fillBuffer() 743 limit += total; in fillBuffer() 747 && limit > 0 && buffer[0] == '\ufeff') { in fillBuffer() 752 if (limit >= minimum) { in fillBuffer() [all …]
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | Transport.java | 127 final int contentLimit = content.limit(); in sendMessage() 141 content.limit(contentPosition + outputAvailable); in sendMessage() 143 content.limit(contentLimit); in sendMessage() 255 final int limit = buffer.limit(); in handleMessage() local 256 while (buffer.position() < limit) { in handleMessage() 264 buffer.limit(end); in handleMessage() 266 buffer.limit(limit); in handleMessage() 356 buffer.limit(next); in loop()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerDataHelper.java | 108 public Cursor query(String tag, int limit) { in query() argument 117 int pos = (cursor.getCount() < limit ? 0 : cursor.getCount() - limit); in query() 128 public Cursor query(int limit) { in query() argument 129 return query(null, limit); in query()
|
/frameworks/multidex/library/ |
D | README.txt | 6 Note that multidexing will allow to go over the dex index limit. 7 It can also help with the linearalloc limit during installation but it 10 limit won't execute on API below 14 because of linearalloc limit.
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | DisplaySinkService.java | 208 final int limit = content.limit(); in provideCodecInputLocked() local 209 content.limit(content.position() + capacity); in provideCodecInputLocked() 211 content.limit(limit); in provideCodecInputLocked() 214 mCodec.queueInputBuffer(index, 0, buffer.limit(), 0, 0); in provideCodecInputLocked()
|
/frameworks/ex/common/java/com/android/common/ |
D | Search.java | 78 String query, int limit) { in getSuggestions() argument 113 if (limit > 0) { in getSuggestions() 115 String.valueOf(limit)); in getSuggestions()
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
D | RRuleTest.java | 65 private void runRecurrenceIteratorTest(String rruleText, String dtStart, int limit, in runRecurrenceIteratorTest() argument 67 runRecurrenceIteratorTest(rruleText, dtStart, limit, golden, null, null, UTC); in runRecurrenceIteratorTest() 70 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit, in runRecurrenceIteratorTest() argument 72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz); in runRecurrenceIteratorTest() 88 private void runRecurrenceIteratorTest(String rrule, String dtstartStr, int limit, in runRecurrenceIteratorTest() argument 130 while (k < actual.length && --limit >= 0) { in runRecurrenceIteratorTest() 137 if (limit < 0) { in runRecurrenceIteratorTest()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsMessage.java | 349 int limit; in fragmentText() local 368 limit = SmsConstants.MAX_USER_DATA_SEPTETS - udhLength; in fragmentText() 371 limit = SmsConstants.MAX_USER_DATA_BYTES_WITH_HEADER; in fragmentText() 379 limit -= 2; in fragmentText() 382 limit = SmsConstants.MAX_USER_DATA_BYTES; in fragmentText() 402 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText() 405 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText() 409 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText()
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 769 int originalLimit = source.limit(); in sliceFromTo() 773 source.limit(end); in sliceFromTo() 780 source.limit(originalLimit); in sliceFromTo() 799 int originalLimit = source.limit(); in getByteBuffer() 801 int limit = position + size; in getByteBuffer() local 802 if ((limit < position) || (limit > originalLimit)) { in getByteBuffer() 805 source.limit(limit); in getByteBuffer() 809 source.position(limit); in getByteBuffer() 812 source.limit(originalLimit); in getByteBuffer() 1111 mBuf.limit((int) offset + size); in feedIntoMessageDigests()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | BaseRecipientAdapter.java | 329 final int limit = mPreferredMaxResultCount - in publishResults() local 331 startSearchOtherDirectories(constraint, defaultFilterResult.paramsList, limit); in publishResults() 367 final int limit = mPreferredMaxResultCount - existingDestinations.size(); in searchOtherDirectories() local 368 if (limit > 0) { in searchOtherDirectories() 372 + ", remaining limit: " + limit + ") "); in searchOtherDirectories() 402 public synchronized void setLimit(int limit) { in setLimit() argument 403 this.mLimit = limit; in setLimit() 770 CharSequence constraint, List<DirectorySearchParams> paramsList, int limit) { in startSearchOtherDirectories() argument 779 params.filter.setLimit(limit); in startSearchOtherDirectories() 932 private Cursor doQuery(CharSequence constraint, int limit, Long directoryId) { in doQuery() argument [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 128 uint64_t limit, uint64_t plus, uint64_t timeDivisor) { in getExperimentFlag() argument 140 UNUSED(limit); in getExperimentFlag() 183 bool enable = allow && (counter % modulo < limit); in getExperimentFlag()
|
/frameworks/base/packages/Osu/src/com/android/anqp/ |
D | OSUProvider.java | 42 namesBuffer.limit(namesBuffer.position() + namesLength); in OSUProvider() 64 iconsBuffer.limit(iconsBuffer.position() + iconsLength); in OSUProvider() 77 descriptionsBuffer.limit(descriptionsBuffer.position() + descriptionsLength); in OSUProvider()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | OSUProvider.java | 39 namesBuffer.limit(namesBuffer.position() + namesLength); in OSUProvider() 61 iconsBuffer.limit(iconsBuffer.position() + iconsLength); in OSUProvider() 74 descriptionsBuffer.limit(descriptionsBuffer.position() + descriptionsLength); in OSUProvider()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
D | Asn1Object.java | 60 mPayload.limit(position); in setEndOfData() 64 return mPayload.limit(); in getEndOfData()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | SelectionBuilder.java | 107 String having, String orderBy, String limit) { in query() argument 109 orderBy, limit); in query()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | CursorObjectAdapter.java | 183 for (int limit = count + index; index < limit; index++) { in invalidateCache()
|