Lines Matching refs:saved_info
137 ProfileCompilationInfo saved_info; in TestProfileLoadFromZip() local
139 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TestProfileLoadFromZip()
140 ASSERT_TRUE(AddMethod(&saved_info, dex2, /*method_idx=*/ i)); in TestProfileLoadFromZip()
142 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TestProfileLoadFromZip()
167 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TestProfileLoadFromZip()
289 ProfileCompilationInfo saved_info; in TEST_F() local
292 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TEST_F()
293 ASSERT_TRUE(AddMethod(&saved_info, dex2, /*method_idx=*/ i)); in TEST_F()
295 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
301 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
305 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TEST_F()
306 ASSERT_TRUE(AddMethod(&saved_info, dex2, /*method_idx=*/ i)); in TEST_F()
307 ASSERT_TRUE(AddMethod(&saved_info, dex3, /*method_idx=*/ i)); in TEST_F()
310 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
316 ASSERT_TRUE(loaded_info2.Equals(saved_info)); in TEST_F()
371 ProfileCompilationInfo saved_info; in TEST_F() local
374 ASSERT_TRUE(AddMethod(&saved_info, dex_max1, /*method_idx=*/ i)); in TEST_F()
375 ASSERT_TRUE(AddMethod(&saved_info, dex_max2, /*method_idx=*/ i)); in TEST_F()
379 ASSERT_TRUE(AddClass(&saved_info, dex_max1, dex::TypeIndex(i))); in TEST_F()
380 ASSERT_TRUE(AddClass(&saved_info, dex_max2, dex::TypeIndex(i))); in TEST_F()
383 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
389 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
395 ProfileCompilationInfo saved_info; in TEST_F() local
396 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
402 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
498 ProfileCompilationInfo saved_info; in TEST_F() local
500 ASSERT_TRUE(AddMethod(&saved_info, dex1, /*method_idx=*/ i)); in TEST_F()
502 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
521 ProfileCompilationInfo saved_info; in TEST_F() local
528 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F()
530 ASSERT_TRUE(AddMethod(&saved_info, dex4, method_idx, inline_caches)); in TEST_F()
533 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
540 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
553 ProfileCompilationInfo saved_info; in TEST_F() local
558 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F()
562 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
578 ASSERT_TRUE(saved_info.MergeWith(saved_info_extra)); in TEST_F()
584 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
594 ProfileCompilationInfo saved_info; in TEST_F() local
599 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F()
603 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
627 ASSERT_TRUE(saved_info.MergeWith(saved_info_extra)); in TEST_F()
633 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
1107 ProfileCompilationInfo saved_info; in TEST_F() local
1113 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F()
1114 ASSERT_TRUE(AddMethod(&saved_info, dex2, method_idx, inline_caches)); in TEST_F()
1116 ASSERT_TRUE(AddMethod(&saved_info, dex4, method_idx, inline_caches)); in TEST_F()
1119 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
1162 ProfileCompilationInfo saved_info; in TEST_F() local
1168 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F()
1169 ASSERT_TRUE(AddMethod(&saved_info, dex2, method_idx, inline_caches)); in TEST_F()
1171 ASSERT_TRUE(AddMethod(&saved_info, dex4, method_idx, inline_caches)); in TEST_F()
1174 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
1192 ProfileCompilationInfo saved_info; in TEST_F() local
1199 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F()
1201 ASSERT_TRUE(AddMethod(&saved_info, dex4, method_idx, inline_caches)); in TEST_F()
1204 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()
1216 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
1249 ProfileCompilationInfo saved_info; in TEST_F() local
1252 ASSERT_TRUE(AddClass(&saved_info, dex1_1000, dex::TypeIndex(i))); in TEST_F()
1253 ASSERT_TRUE(AddClass(&saved_info, dex2_1000, dex::TypeIndex(i))); in TEST_F()
1256 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()