Lines Matching refs:std

33   std::string GetHiddenApiCmd() {  in GetHiddenApiCmd()
34 std::string file_path = GetTestAndroidRoot(); in GetHiddenApiCmd()
46 std::unique_ptr<const DexFile> RunHiddenapiEncode(const ScratchFile& flags_csv, in RunHiddenapiEncode()
47 const std::vector<std::string>& extra_args, in RunHiddenapiEncode()
49 std::string error; in RunHiddenapiEncode()
51 std::unique_ptr<ZipArchive> jar( in RunHiddenapiEncode()
57 std::unique_ptr<ZipEntry> jar_classes_dex(jar->Find("classes.dex", &error)); in RunHiddenapiEncode()
68 std::vector<std::string> argv_str; in RunHiddenapiEncode()
86 std::string error; in RunHiddenapiList()
87 std::string boot_jar = GetTestDexFileName("HiddenApi"); in RunHiddenapiList()
88 std::string stub_jar = GetTestDexFileName("HiddenApiStubs"); in RunHiddenapiList()
89 std::string boot_cp = android::base::Join(GetLibCoreDexFileNames(), ":"); in RunHiddenapiList()
91 std::vector<std::string> argv_str; in RunHiddenapiList()
94 for (const std::string& core_jar : GetLibCoreDexFileNames()) { in RunHiddenapiList()
109 std::unique_ptr<const DexFile> OpenDex(const ScratchFile& file) { in OpenDex()
111 std::string error_msg; in OpenDex()
119 std::unique_ptr<const DexFile> dex_file(dex_loader.OpenDex( in OpenDex()
133 std::ofstream OpenStream(const ScratchFile& file) { in OpenStream()
134 std::ofstream ofs(file.GetFilename(), std::ofstream::out); in OpenStream()
142 std::map<std::string, std::string> ReadFlagsCsvFile(const ScratchFile& file) { in ReadFlagsCsvFile()
143 std::ifstream ifs(file.GetFilename()); in ReadFlagsCsvFile()
144 std::map<std::string, std::string> flags; in ReadFlagsCsvFile()
146 for (std::string line; std::getline(ifs, line);) { in ReadFlagsCsvFile()
147 std::size_t comma = line.find(","); in ReadFlagsCsvFile()
148 if (comma == std::string::npos) { in ReadFlagsCsvFile()
158 std::string SafeMapGet(const std::string& key, const std::map<std::string, std::string>& map) { in SafeMapGet()
271 << "LMain;->ifield:LBadType1;,greylist" << std::endl in TEST_F()
272 << "LMain;->ifield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
273 << "LMain;->ifield:LBadType3;,blacklist" << std::endl; in TEST_F()
282 << "LMain;->ifield:I,greylist" << std::endl in TEST_F()
283 << "LMain;->ifield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
284 << "LMain;->ifield:LBadType3;,blacklist" << std::endl; in TEST_F()
293 << "LMain;->ifield:LBadType1;,greylist" << std::endl in TEST_F()
294 << "LMain;->ifield:I,greylist-max-o" << std::endl in TEST_F()
295 << "LMain;->ifield:LBadType3;,blacklist" << std::endl; in TEST_F()
304 << "LMain;->ifield:LBadType1;,greylist" << std::endl in TEST_F()
305 << "LMain;->ifield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
306 << "LMain;->ifield:I,blacklist" << std::endl; in TEST_F()
315 << "LMain;->ifield:LBadType1;,greylist" << std::endl in TEST_F()
316 << "LMain;->ifield:I,blacklist,greylist-max-o" << std::endl; in TEST_F()
324 << "LMain;->ifield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
325 << "LMain;->ifield:I,blacklist,greylist" << std::endl; in TEST_F()
333 << "LMain;->ifield:I,greylist,greylist-max-o" << std::endl in TEST_F()
334 << "LMain;->ifield:LBadType3;,blacklist" << std::endl; in TEST_F()
342 << "LMain;->sfield:LBadType1;,greylist" << std::endl in TEST_F()
343 << "LMain;->sfield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
344 << "LMain;->sfield:LBadType3;,blacklist" << std::endl; in TEST_F()
353 << "LMain;->sfield:Ljava/lang/Object;,greylist" << std::endl in TEST_F()
354 << "LMain;->sfield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
355 << "LMain;->sfield:LBadType3;,blacklist" << std::endl; in TEST_F()
364 << "LMain;->sfield:LBadType1;,greylist" << std::endl in TEST_F()
365 << "LMain;->sfield:Ljava/lang/Object;,greylist-max-o" << std::endl in TEST_F()
366 << "LMain;->sfield:LBadType3;,blacklist" << std::endl; in TEST_F()
375 << "LMain;->sfield:LBadType1;,greylist" << std::endl in TEST_F()
376 << "LMain;->sfield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
377 << "LMain;->sfield:Ljava/lang/Object;,blacklist" << std::endl; in TEST_F()
386 << "LMain;->sfield:LBadType1;,greylist" << std::endl in TEST_F()
387 << "LMain;->sfield:Ljava/lang/Object;,blacklist,greylist-max-o" << std::endl; in TEST_F()
395 << "LMain;->sfield:LBadType2;,greylist-max-o" << std::endl in TEST_F()
396 << "LMain;->sfield:Ljava/lang/Object;,blacklist,greylist" << std::endl; in TEST_F()
404 << "LMain;->sfield:Ljava/lang/Object;,greylist,greylist-max-o" << std::endl in TEST_F()
405 << "LMain;->sfield:LBadType3;,blacklist" << std::endl; in TEST_F()
413 << "LMain;->imethod(LBadType1;)V,greylist" << std::endl in TEST_F()
414 << "LMain;->imethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
415 << "LMain;->imethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
424 << "LMain;->imethod(J)V,greylist" << std::endl in TEST_F()
425 << "LMain;->imethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
426 << "LMain;->imethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
435 << "LMain;->imethod(LBadType1;)V,greylist" << std::endl in TEST_F()
436 << "LMain;->imethod(J)V,greylist-max-o" << std::endl in TEST_F()
437 << "LMain;->imethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
446 << "LMain;->imethod(LBadType1;)V,greylist" << std::endl in TEST_F()
447 << "LMain;->imethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
448 << "LMain;->imethod(J)V,blacklist" << std::endl; in TEST_F()
457 << "LMain;->imethod(LBadType1;)V,greylist" << std::endl in TEST_F()
458 << "LMain;->imethod(J)V,blacklist,greylist-max-o" << std::endl; in TEST_F()
466 << "LMain;->imethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
467 << "LMain;->imethod(J)V,blacklist,greylist" << std::endl; in TEST_F()
475 << "LMain;->imethod(J)V,greylist,greylist-max-o" << std::endl in TEST_F()
476 << "LMain;->imethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
484 << "LMain;->smethod(LBadType1;)V,greylist" << std::endl in TEST_F()
485 << "LMain;->smethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
486 << "LMain;->smethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
495 << "LMain;->smethod(Ljava/lang/Object;)V,greylist" << std::endl in TEST_F()
496 << "LMain;->smethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
497 << "LMain;->smethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
506 << "LMain;->smethod(LBadType1;)V,greylist" << std::endl in TEST_F()
507 << "LMain;->smethod(Ljava/lang/Object;)V,greylist-max-o" << std::endl in TEST_F()
508 << "LMain;->smethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
517 << "LMain;->smethod(LBadType1;)V,greylist" << std::endl in TEST_F()
518 << "LMain;->smethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
519 << "LMain;->smethod(Ljava/lang/Object;)V,blacklist" << std::endl; in TEST_F()
528 << "LMain;->smethod(LBadType1;)V,greylist" << std::endl in TEST_F()
529 << "LMain;->smethod(Ljava/lang/Object;)V,blacklist,greylist-max-o" << std::endl; in TEST_F()
537 << "LMain;->smethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
538 << "LMain;->smethod(Ljava/lang/Object;)V,blacklist,greylist" << std::endl; in TEST_F()
546 << "LMain;->smethod(Ljava/lang/Object;)V,greylist,greylist-max-o" << std::endl in TEST_F()
547 << "LMain;->smethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
555 << "LMain;->inmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
556 << "LMain;->inmethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
557 << "LMain;->inmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
566 << "LMain;->inmethod(C)V,greylist" << std::endl in TEST_F()
567 << "LMain;->inmethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
568 << "LMain;->inmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
577 << "LMain;->inmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
578 << "LMain;->inmethod(C)V,greylist-max-o" << std::endl in TEST_F()
579 << "LMain;->inmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
588 << "LMain;->inmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
589 << "LMain;->inmethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
590 << "LMain;->inmethod(C)V,blacklist" << std::endl; in TEST_F()
599 << "LMain;->inmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
600 << "LMain;->inmethod(C)V,blacklist,greylist-max-o" << std::endl; in TEST_F()
608 << "LMain;->inmethod(C)V,blacklist,greylist" << std::endl in TEST_F()
609 << "LMain;->inmethod(LBadType2;)V,greylist-max-o" << std::endl; in TEST_F()
617 << "LMain;->inmethod(C)V,greylist,greylist-max-o" << std::endl in TEST_F()
618 << "LMain;->inmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
626 << "LMain;->snmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
627 << "LMain;->snmethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
628 << "LMain;->snmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
637 << "LMain;->snmethod(Ljava/lang/Integer;)V,greylist" << std::endl in TEST_F()
638 << "LMain;->snmethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
639 << "LMain;->snmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
648 << "LMain;->snmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
649 << "LMain;->snmethod(Ljava/lang/Integer;)V,greylist-max-o" << std::endl in TEST_F()
650 << "LMain;->snmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()
659 << "LMain;->snmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
660 << "LMain;->snmethod(LBadType2;)V,greylist-max-o" << std::endl in TEST_F()
661 << "LMain;->snmethod(Ljava/lang/Integer;)V,blacklist" << std::endl; in TEST_F()
670 << "LMain;->snmethod(LBadType1;)V,greylist" << std::endl in TEST_F()
671 << "LMain;->snmethod(Ljava/lang/Integer;)V,blacklist,greylist-max-o" << std::endl; in TEST_F()
679 << "LMain;->snmethod(Ljava/lang/Integer;)V,blacklist,greylist" << std::endl in TEST_F()
680 << "LMain;->snmethod(LBadType2;)V,greylist-max-o" << std::endl; in TEST_F()
688 << "LMain;->snmethod(Ljava/lang/Integer;)V,greylist,greylist-max-o" << std::endl in TEST_F()
689 << "LMain;->snmethod(LBadType3;)V,blacklist" << std::endl; in TEST_F()