Searched refs:smaps (Results 1 – 4 of 4) sorted by relevance
60 static std::string smaps(40000, '\0'); in GetPrivateDirty() local61 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()
4 SMAPS=$TESTDATA_PATH/smaps
256 std::string smaps = in TEST() local282 ASSERT_TRUE(::android::base::WriteStringToFd(smaps, tf.fd)); in TEST()297 std::string smaps = in TEST() local323 ASSERT_TRUE(::android::base::WriteStringToFd(smaps, tf.fd)); in TEST()
140 FileData smaps(proc_file_, buffer_, sizeof(buffer_)); in getInformation() local145 while (smaps.getPss(&pss_kb)) { in getInformation()