Lines Matching refs:VerifierDeps
53 verifier::VerifierDeps* GetVerifierDeps() const override { return deps_; } in GetVerifierDeps()
54 void SetVerifierDeps(verifier::VerifierDeps* deps) override { deps_ = deps; } in SetVerifierDeps()
57 verifier::VerifierDeps* deps_;
86 void VerifyWithCompilerDriver(verifier::VerifierDeps* verifier_deps) { in VerifyWithCompilerDriver()
92 verifier_deps = new verifier::VerifierDeps(dex_files_); in VerifyWithCompilerDriver()
109 verifier_deps_.reset(new verifier::VerifierDeps(dex_files)); in SetVerifierDeps()
223 void VerifyClassStatus(const verifier::VerifierDeps& deps) { in VerifyClassStatus()
386 for (const VerifierDeps::MethodResolution& entry : dex_dep.second->methods_) { in HasMethod()
481 VerifierDeps decoded_deps(second_dex_files, /*output_only=*/ false); in RunValidation()
484 VerifierDeps::DexFileDeps* decoded_dex_deps = in RunValidation()
500 std::unique_ptr<verifier::VerifierDeps> verifier_deps_;
1149 VerifierDeps decoded_deps(dex_files_, /*output_only=*/ false); in TEST_F()
1177 VerifierDeps decoded_deps(dex_files, /*output_only=*/ false); in TEST_F()
1218 VerifierDeps deps1(dex_files); in TEST_F()
1228 VerifierDeps deps2(dex_files); in TEST_F()
1261 ASSERT_TRUE(RunValidation([](VerifierDeps::DexFileDeps&) {}, buffer, &error_msg)) in TEST_F()
1265 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1270 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1275 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1278 deps.classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1279 entry.GetDexTypeIndex(), VerifierDeps::kUnresolvedMarker)); in TEST_F()
1286 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1289 deps.classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1290 entry.GetDexTypeIndex(), VerifierDeps::kUnresolvedMarker - 1)); in TEST_F()
1297 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1300 deps.classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1310 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1313 deps.fields_.insert(VerifierDeps::FieldResolution(entry.GetDexFieldIndex(), in TEST_F()
1314 VerifierDeps::kUnresolvedMarker, in TEST_F()
1322 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1326 … deps.fields_.insert(VerifierDeps::FieldResolution(0 /* we know there is a field there */, in TEST_F()
1327 VerifierDeps::kUnresolvedMarker - 1, in TEST_F()
1335 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1338 deps.fields_.insert(VerifierDeps::FieldResolution(entry.GetDexFieldIndex(), in TEST_F()
1347 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1351 deps.fields_.insert(VerifierDeps::FieldResolution(entry.GetDexFieldIndex(), in TEST_F()
1362 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1363 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1366 methods->insert(VerifierDeps::MethodResolution(entry.GetDexMethodIndex(), in TEST_F()
1367 VerifierDeps::kUnresolvedMarker, in TEST_F()
1375 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1376 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1380 methods->insert(VerifierDeps::MethodResolution(0 /* we know there is a method there */, in TEST_F()
1381 VerifierDeps::kUnresolvedMarker - 1, in TEST_F()
1389 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1390 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1393 methods->insert(VerifierDeps::MethodResolution(entry.GetDexMethodIndex(), in TEST_F()
1402 ASSERT_FALSE(RunValidation([](VerifierDeps::DexFileDeps& deps) { in TEST_F()
1403 std::set<VerifierDeps::MethodResolution>* methods = &deps.methods_; in TEST_F()
1407 methods->insert(VerifierDeps::MethodResolution(entry.GetDexMethodIndex(), in TEST_F()
1439 VerifierDeps decoded_deps(dex_files_, /*output_only=*/ false); in TEST_F()
1444 VerifierDeps::DexFileDeps* deps = decoded_deps.GetDexFileDeps(*primary_dex_file_); in TEST_F()
1448 deps->classes_.insert(VerifierDeps::ClassResolution( in TEST_F()
1449 entry.GetDexTypeIndex(), VerifierDeps::kUnresolvedMarker)); in TEST_F()