Home
last modified time | relevance | path

Searched refs:infoSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/textservice/
DSentenceSuggestionsInfo.java53 final int infoSize = suggestionsInfos.length; in SentenceSuggestionsInfo() local
54 mSuggestionsInfos = Arrays.copyOf(suggestionsInfos, infoSize); in SentenceSuggestionsInfo()
55 mOffsets = Arrays.copyOf(offsets, infoSize); in SentenceSuggestionsInfo()
56 mLengths = Arrays.copyOf(lengths, infoSize); in SentenceSuggestionsInfo()
60 final int infoSize = source.readInt(); in SentenceSuggestionsInfo() local
61 mSuggestionsInfos = new SuggestionsInfo[infoSize]; in SentenceSuggestionsInfo()
77 final int infoSize = mSuggestionsInfos.length; in writeToParcel() local
78 dest.writeInt(infoSize); in writeToParcel()
/frameworks/base/cmds/statsd/src/guardrail/
DMemoryLeakTrackUtil.cpp50 extern "C" void get_malloc_leak_info(uint8_t** info, size_t* overallSize, size_t* infoSize,
58 size_t infoSize; in dumpMemInfo() local
61 get_malloc_leak_info(&info, &overallSize, &infoSize, &totalMemory, &backtraceSize); in dumpMemInfo()
64 if (info == nullptr || overallSize == 0 || infoSize == 0 || in dumpMemInfo()
65 (count = overallSize / infoSize) == 0) { in dumpMemInfo()
86 const AllocEntry* const e = (AllocEntry*)(info + i * infoSize); in dumpMemInfo()
/frameworks/av/media/utils/
DMemoryLeakTrackUtil.cpp51 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
59 size_t infoSize; in dumpMemoryAddresses() local
62 get_malloc_leak_info(&info, &overallSize, &infoSize, &totalMemory, &backtraceSize); in dumpMemoryAddresses()
65 if (info == nullptr || overallSize == 0 || infoSize == 0 in dumpMemoryAddresses()
66 || (count = overallSize / infoSize) == 0) { in dumpMemoryAddresses()
86 const AllocEntry * const e = (AllocEntry *)(info + i * infoSize); in dumpMemoryAddresses()
/frameworks/base/core/jni/
Dandroid_os_Debug.cpp940 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);
1005 size_t overallSize, infoSize, totalMemory, backtraceSize; in dumpNativeHeap() local
1007 get_malloc_leak_info(&info, &overallSize, &infoSize, &totalMemory, in dumpNativeHeap()
1018 assert(infoSize != 0); in dumpNativeHeap()
1019 assert(overallSize % infoSize == 0); in dumpNativeHeap()
1023 size_t recordCount = overallSize / infoSize; in dumpNativeHeap()
1031 qsort(info, recordCount, infoSize, compareHeapRecords); in dumpNativeHeap()
1057 ptr += infoSize; in dumpNativeHeap()
Dandroid_ddm_DdmHandleNativeHeap.cpp34 size_t* infoSize, size_t* totalMemory, size_t* backtraceSize);