Home
last modified time | relevance | path

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

/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/
Dpbreader_mem_parser_test.cpp276 AshmemInfo *ashmemInfo = tracePacket.add_ashmeminfo(); variable
277 EXPECT_TRUE(ashmemInfo != nullptr);
289 ashmemInfo->set_id(id);
290 ashmemInfo->set_time(time);
291 ashmemInfo->set_pid(pid);
292 ashmemInfo->set_adj(adj);
293 ashmemInfo->set_fd(fd);
294 ashmemInfo->set_purged(purged);
295 ashmemInfo->set_size(setSize);
296 ashmemInfo->set_ref_count(refCount);
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp779 template <typename T> void MemoryDataPlugin::SetAshmemInfo(T& ashmemInfo, int key, const char* word) in SetAshmemInfo() argument
785 ashmemInfo.set_name(word); in SetAshmemInfo()
790 ashmemInfo.set_pid(value); in SetAshmemInfo()
795 ashmemInfo.set_fd(value); in SetAshmemInfo()
800 ashmemInfo.set_adj(value); in SetAshmemInfo()
803 ashmemInfo.set_ashmem_name(word); in SetAshmemInfo()
808 ashmemInfo.set_size(size); in SetAshmemInfo()
813 ashmemInfo.set_id(value); in SetAshmemInfo()
818 ashmemInfo.set_time(size); in SetAshmemInfo()
823 ashmemInfo.set_ref_count(size); in SetAshmemInfo()
[all …]
/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dmemory_data_plugin_unittest.cpp1028 auto ashmemInfo = memoryData.ashmeminfo(i); variable
1029 EXPECT_STREQ(ashmemInfo.name().c_str(), g_ashMemInfo[i].name.c_str());
1030 EXPECT_EQ(ashmemInfo.pid(), g_ashMemInfo[i].pid);
1031 EXPECT_EQ(ashmemInfo.adj(), g_ashMemInfo[i].adj);
1032 EXPECT_EQ(ashmemInfo.fd(), g_ashMemInfo[i].fd);
1033 EXPECT_STREQ(ashmemInfo.ashmem_name().c_str(), g_ashMemInfo[i].ashmem_name.c_str());
1034 EXPECT_EQ(ashmemInfo.size(), g_ashMemInfo[i].size);
1035 EXPECT_EQ(ashmemInfo.id(), g_ashMemInfo[i].id);
1036 EXPECT_EQ(ashmemInfo.time(), g_ashMemInfo[i].time);
1037 EXPECT_EQ(ashmemInfo.ref_count(), g_ashMemInfo[i].ref_count);
[all …]
/developtools/profiler/device/plugins/memory_plugin/include/
Dmemory_data_plugin.h476 template <typename T> void SetAshmemInfo(T& ashmemInfo, int key, const char* word);