Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_boot_info_test.cc40 ProfileBootInfo loaded_info; in TEST_F() local
41 ASSERT_TRUE(loaded_info.IsEmpty()); in TEST_F()
42 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F()
43 ASSERT_TRUE(loaded_info.IsEmpty()); in TEST_F()
56 ProfileBootInfo loaded_info; in TEST_F() local
57 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F()
58 ASSERT_EQ(loaded_info.GetDexFiles().size(), 1u); in TEST_F()
59 ASSERT_STREQ(loaded_info.GetDexFiles()[0]->GetLocation().c_str(), dex->GetLocation().c_str()); in TEST_F()
60 ASSERT_EQ(loaded_info.GetMethods().size(), 1u); in TEST_F()
61 ASSERT_EQ(loaded_info.GetMethods()[0].first, 0u); in TEST_F()
[all …]
Dprofile_compilation_info_test.cc206 ProfileCompilationInfo loaded_info; in TestProfileLoadFromZip() local
208 ASSERT_EQ(should_succeed, loaded_info.Load(zip.GetFile()->GetPath(), false)); in TestProfileLoadFromZip()
211 ASSERT_TRUE(loaded_info.IsEmpty()); in TestProfileLoadFromZip()
213 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TestProfileLoadFromZip()
312 ProfileCompilationInfo loaded_info; in TEST_F() local
314 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
315 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
391 ProfileCompilationInfo loaded_info; in TEST_F() local
393 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
394 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
[all …]