Home
last modified time | relevance | path

Searched refs:maxLen (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/opengl/tools/glgen/
Dconvert_to_java.py24 maxLen = 0 variable
28 maxLen = max(maxLen, len(defineValuePair[0])) variable
31 print(' public static final int {0[0]:<{1}} = {0[1]};'.format(define, maxLen))
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DInput.java32 public int maxLen; field in Input
47 maxLen = 1; in Input()
63 maxLen = in.readInt(); in Input()
85 dest.writeInt(maxLen); in writeToParcel()
DCommandParamsFactory.java482 input.maxLen = 1; in processGetInkey()
534 input.maxLen = rawValue[valueIndex + 1] & 0xff; in processGetInput()
566 if (input.ucs2 && input.maxLen > MAX_UCS2_CHARS) { in processGetInput()
567 CatLog.d(this, "UCS2: received maxLen = " + input.maxLen + in processGetInput()
569 input.maxLen = MAX_UCS2_CHARS; in processGetInput()
570 } else if (!input.packed && input.maxLen > MAX_GSM7_DEFAULT_CHARS) { in processGetInput()
571 CatLog.d(this, "GSM 7Bit Default: received maxLen = " + input.maxLen + in processGetInput()
573 input.maxLen = MAX_GSM7_DEFAULT_CHARS; in processGetInput()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemRestartStats.java52 private static String truncateString(String string, int maxLen) { in truncateString() argument
54 if (string.length() > maxLen) { in truncateString()
55 string = string.substring(0, maxLen); in truncateString()
/frameworks/base/libs/androidfw/
DAsset.cpp474 size_t maxLen; in read() local
491 maxLen = mLength - mOffset; in read()
492 if (count > maxLen) in read()
493 count = maxLen; in read()
824 size_t maxLen; in read() local
840 maxLen = mUncompressedLen - mOffset; in read()
841 if (count > maxLen) in read()
842 count = maxLen; in read()
/frameworks/av/media/libeffects/factory/
DEffectsFactoryState.c95 int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen) in uuidToString() argument
98 snprintf(str, maxLen, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x", in uuidToString()
DEffectsFactoryState.h51 int uuidToString(const effect_uuid_t *uuid, char *str, size_t maxLen);
/frameworks/native/cmds/flatland/
DMain.cpp709 size_t maxLen = 0; in maxBenchmarkNameLen() local
713 if (len > maxLen) { in maxBenchmarkNameLen()
714 maxLen = len; in maxBenchmarkNameLen()
717 return maxLen; in maxBenchmarkNameLen()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DAssertHelpers.java217 private static <T> String formatCollection(Collection<T> collection, int maxLen) { in formatCollection() argument
225 if ((builder.length() + val.length()) > maxLen - "...]".length()) { in formatCollection()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h592 static status_t guidToString(const effect_uuid_t *guid, char *str, size_t maxLen);
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp790 status_t AudioEffect::guidToString(const effect_uuid_t *guid, char *str, size_t maxLen) in guidToString() argument
796 snprintf(str, maxLen, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x", in guidToString()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java1085 int maxLen = Math.max(strLux.length(), in dumpConfigDiff() local
1091 String format = separator + "%" + maxLen + "s"; in dumpConfigDiff()