• Home
  • Raw
  • Download

Lines Matching refs:loaded_info

174     ProfileCompilationInfo loaded_info;  in TestProfileLoadFromZip()  local
176 ASSERT_EQ(should_succeed, loaded_info.Load(zip.GetFile()->GetPath(), false)); in TestProfileLoadFromZip()
179 ASSERT_TRUE(loaded_info.IsEmpty()); in TestProfileLoadFromZip()
181 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TestProfileLoadFromZip()
217 ProfileCompilationInfo loaded_info; in TEST_F() local
219 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
220 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
296 ProfileCompilationInfo loaded_info; in TEST_F() local
298 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
299 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
310 ProfileCompilationInfo loaded_info; in TEST_F() local
312 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
313 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
321 ProfileCompilationInfo loaded_info; in TEST_F() local
323 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
324 ASSERT_TRUE(loaded_info.Equals(empty_info)); in TEST_F()
331 ProfileCompilationInfo loaded_info; in TEST_F() local
333 ASSERT_FALSE(loaded_info.Load(GetFd(profile))); in TEST_F()
345 ProfileCompilationInfo loaded_info; in TEST_F() local
347 ASSERT_FALSE(loaded_info.Load(GetFd(profile))); in TEST_F()
361 ProfileCompilationInfo loaded_info; in TEST_F() local
363 ASSERT_FALSE(loaded_info.Load(GetFd(profile))); in TEST_F()
382 ProfileCompilationInfo loaded_info; in TEST_F() local
384 ASSERT_FALSE(loaded_info.Load(GetFd(profile))); in TEST_F()
403 ProfileCompilationInfo loaded_info; in TEST_F() local
405 ASSERT_FALSE(loaded_info.Load(GetFd(profile))); in TEST_F()
427 ProfileCompilationInfo loaded_info; in TEST_F() local
429 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
431 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
434 loaded_info.GetMethod("dex_location1", /* dex_checksum= */ 1, /* dex_method_index= */ 3); in TEST_F()
438 loaded_info.GetMethod("dex_location4", /* dex_checksum= */ 4, /* dex_method_index= */ 3); in TEST_F()
473 ProfileCompilationInfo loaded_info; in TEST_F() local
475 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
477 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
480 loaded_info.GetMethod("dex_location1", /* dex_checksum= */ 1, /* dex_method_index= */ 3); in TEST_F()
524 ProfileCompilationInfo loaded_info; in TEST_F() local
526 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
528 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
531 loaded_info.GetMethod("dex_location1", /* dex_checksum= */ 1, /* dex_method_index= */ 3); in TEST_F()
712 ProfileCompilationInfo loaded_info; in TEST_F() local
713 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
714 run_test(loaded_info); in TEST_F()
820 ProfileCompilationInfo loaded_info; in TEST_F() local
822 ASSERT_FALSE(loaded_info.Load(GetFd(zip))); in TEST_F()
929 ProfileCompilationInfo loaded_info; in TEST_F() local
938 ASSERT_TRUE(loaded_info.Load(GetFd(profile), true, filter_fn)); in TEST_F()
944 ASSERT_TRUE(nullptr == loaded_info.GetMethod("dex_location2", in TEST_F()
947 ASSERT_TRUE(nullptr == loaded_info.GetMethod("dex_location4", in TEST_F()
957 loaded_info.GetMethod("dex_location1", /* dex_checksum= */ 1, method_idx); in TEST_F()
1023 ProfileCompilationInfo loaded_info; in TEST_F() local
1029 ASSERT_TRUE(loaded_info.Load(GetFd(profile), true, filter_fn)); in TEST_F()
1032 ASSERT_TRUE(IsEmpty(loaded_info)); in TEST_F()
1054 ProfileCompilationInfo loaded_info; in TEST_F() local
1060 ASSERT_TRUE(loaded_info.Load(GetFd(profile), true, filter_fn)); in TEST_F()
1063 ASSERT_TRUE(loaded_info.Equals(saved_info)); in TEST_F()
1067 loaded_info.GetMethod("dex_location1", /* dex_checksum= */ 1, method_idx); in TEST_F()
1073 loaded_info.GetMethod("dex_location4", /* dex_checksum= */ 4, method_idx); in TEST_F()
1097 ProfileCompilationInfo loaded_info; in TEST_F() local
1103 ASSERT_TRUE(loaded_info.Load(GetFd(profile), true, filter_fn)); in TEST_F()
1112 ASSERT_TRUE(loaded_info.Equals(expected_info)); in TEST_F()
1138 ProfileCompilationInfo loaded_info; in TEST_F() local
1140 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
1141 ASSERT_TRUE(loaded_info.Equals(info)); in TEST_F()
1256 ProfileCompilationInfo loaded_info; in TEST_F() local
1257 loaded_info.PrepareForAggregationCounters(); in TEST_F()
1259 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()
1260 ASSERT_TRUE(loaded_info.Equals(info1)); in TEST_F()
1262 ASSERT_EQ(2, loaded_info.GetAggregationCounter()); in TEST_F()
1264 ASSERT_EQ(0, loaded_info.GetMethodAggregationCounter(MethodReference(dex.get(), 1))); in TEST_F()
1265 ASSERT_EQ(1, loaded_info.GetMethodAggregationCounter(MethodReference(dex.get(), 2))); in TEST_F()
1266 ASSERT_EQ(2, loaded_info.GetMethodAggregationCounter(MethodReference(dex.get(), 3))); in TEST_F()
1267 ASSERT_EQ(1, loaded_info.GetMethodAggregationCounter(MethodReference(dex.get(), 6))); in TEST_F()
1269 …ASSERT_EQ(0, loaded_info.GetClassAggregationCounter(TypeReference(dex.get(), dex::TypeIndex(10)))); in TEST_F()
1270 …ASSERT_EQ(1, loaded_info.GetClassAggregationCounter(TypeReference(dex.get(), dex::TypeIndex(20)))); in TEST_F()
1271 …ASSERT_EQ(2, loaded_info.GetClassAggregationCounter(TypeReference(dex.get(), dex::TypeIndex(30)))); in TEST_F()
1303 ProfileCompilationInfo loaded_info; in TEST_F() local
1304 loaded_info.PrepareForAggregationCounters(); in TEST_F()
1306 loaded_info.Load(GetFd(profile)); in TEST_F()
1309 info1.MergeWith(loaded_info); in TEST_F()