Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_ddm_DdmHandleNativeHeap.cpp71 uint8_t* mapsFile = NULL; in getLeakInfo() local
73 mapsFile = (uint8_t*)malloc(MAPS_FILE_SIZE); in getLeakInfo()
76 if (mapsFile != NULL && fd != -1) { in getLeakInfo()
79 uint8_t* ptr = mapsFile + header.mapSize; in getLeakInfo()
114 if (header.mapSize > 0 && mapsFile != NULL) { in getLeakInfo()
115 memcpy(ptr, mapsFile, header.mapSize); in getLeakInfo()
123 if (mapsFile != NULL) { in getLeakInfo()
124 free(mapsFile); in getLeakInfo()