Lines Matching refs:options
96 static void ParseArgs(VeridexOptions* options, int argc, char** argv) { in ParseArgs() argument
103 options->dex_file = Substr(argv[i], strlen(kDexFileOption)); in ParseArgs()
105 options->core_stubs = Substr(argv[i], strlen(kStubsOption)); in ParseArgs()
107 options->flags_file = Substr(argv[i], strlen(kFlagsOption)); in ParseArgs()
109 options->precise = false; in ParseArgs()
111 options->target_sdk_version = atoi(Substr(argv[i], strlen(kTargetSdkVersion))); in ParseArgs()
113 options->app_class_name_filter = android::base::Split( in ParseArgs()
116 options->exclude_api_lists = android::base::Split( in ParseArgs()
137 VeridexOptions options; in Run() local
138 ParseArgs(&options, argc, argv); in Run()
141 if (!options.dex_file) { in Run()
146 gTargetSdkVersion = options.target_sdk_version; in Run()
155 std::vector<std::string> boot_classpath = Split(options.core_stubs, ':'); in Run()
166 std::vector<std::string> app_files = Split(options.dex_file, ':'); in Run()
178 ApiListFilter api_list_filter(options.exclude_api_lists); in Run()
179 HiddenApi hidden_api(options.flags_file, api_list_filter); in Run()
203 if (options.precise) { in Run()
243 ClassFilter app_class_filter(options.app_class_name_filter); in Run()
250 api_finder.Dump(std::cout, &stats, !options.precise); in Run()
252 if (options.precise) { in Run()
260 if (options.precise) { in Run()