Home
last modified time | relevance | path

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

/system/core/logd/
DReplayMessages.cpp60 static std::string smaps(40000, '\0'); in GetPrivateDirty() local
61 android::base::ReadFileToString("/proc/self/smaps", &smaps); in GetPrivateDirty()
67 found = smaps.find("Private_Dirty:", base); in GetPrivateDirty()
68 if (found == smaps.npos) break; in GetPrivateDirty()
72 result += atoi(&smaps[found]); in GetPrivateDirty()
/system/memory/libmeminfo/
Dshowmap_test.sh4 SMAPS=$TESTDATA_PATH/smaps
Dlibmeminfo_test.cpp256 std::string smaps = in TEST() local
282 ASSERT_TRUE(::android::base::WriteStringToFd(smaps, tf.fd)); in TEST()
297 std::string smaps = in TEST() local
323 ASSERT_TRUE(::android::base::WriteStringToFd(smaps, tf.fd)); in TEST()
/system/extras/memtrack/
Dmemtrack.cpp140 FileData smaps(proc_file_, buffer_, sizeof(buffer_)); in getInformation() local
145 while (smaps.getPss(&pss_kb)) { in getInformation()