Lines Matching refs:UsageError

65 static void UsageError(const char* fmt, ...) {  in UsageError()  function
78 UsageError("Command: %s", CommandLine().c_str()); in Usage()
79 UsageError(" Performs a dexopt analysis on the given dex file and returns whether or not"); in Usage()
80 UsageError(" the dex file needs to be dexopted."); in Usage()
81 UsageError("Usage: dexoptanalyzer [options]..."); in Usage()
82 UsageError(""); in Usage()
83 UsageError(" --dex-file=<filename>: the dex file which should be analyzed."); in Usage()
84 UsageError(""); in Usage()
85 UsageError(" --isa=<string>: the instruction set for which the analysis should be performed."); in Usage()
86 UsageError(""); in Usage()
87 UsageError(" --compiler-filter=<string>: the target compiler filter to be used as reference"); in Usage()
88 UsageError(" when deciding if the dex file needs to be optimized."); in Usage()
89 UsageError(""); in Usage()
90 UsageError(" --profile_analysis_result=<int>: the result of the profile analysis, used in"); in Usage()
91 UsageError(" deciding if the dex file needs to be optimized."); in Usage()
92 UsageError(""); in Usage()
93 UsageError(" --image=<filename>: optional, the image to be used to decide if the associated"); in Usage()
94 UsageError(" oat file is up to date. Defaults to $ANDROID_ROOT/framework/boot.art."); in Usage()
95 UsageError(" Example: --image=/system/framework/boot.art"); in Usage()
96 UsageError(""); in Usage()
97 UsageError(" --runtime-arg <argument>: used to specify various arguments for the runtime,"); in Usage()
98 UsageError(" such as initial heap size, maximum heap size, and verbose output."); in Usage()
99 UsageError(" Use a separate --runtime-arg switch for each argument."); in Usage()
100 UsageError(" Example: --runtime-arg -Xms256m"); in Usage()
101 UsageError(""); in Usage()
102 UsageError(" --android-data=<directory>: optional, the directory which should be used as"); in Usage()
103 UsageError(" android-data. By default ANDROID_DATA env variable is used."); in Usage()
104 UsageError(""); in Usage()
105 UsageError(" --oat-fd=number: file descriptor of the oat file which should be analyzed"); in Usage()
106 UsageError(""); in Usage()
107 UsageError(" --vdex-fd=number: file descriptor of the vdex file corresponding to the oat file"); in Usage()
108 UsageError(""); in Usage()
109 UsageError(" --zip-fd=number: specifies a file descriptor corresponding to the dex file."); in Usage()
110 UsageError(""); in Usage()
111 UsageError(" --downgrade: optional, if the purpose of dexopt is to downgrade the dex file"); in Usage()
112 UsageError(" By default, dexopt considers upgrade case."); in Usage()
113 UsageError(""); in Usage()
114 UsageError(" --class-loader-context=<string spec>: a string specifying the intended"); in Usage()
115 UsageError(" runtime loading context for the compiled dex files."); in Usage()
116 UsageError(""); in Usage()
117 UsageError(" --class-loader-context-fds=<fds>: a colon-separated list of file descriptors"); in Usage()
118 UsageError(" for dex files in --class-loader-context. Their order must be the same as"); in Usage()
119 UsageError(" dex files in flattened class loader context."); in Usage()
120 UsageError(""); in Usage()
121 UsageError(" --flatten-class-loader-context: parse --class-loader-context, flatten it and"); in Usage()
122 UsageError(" print a colon-separated list of its dex files to standard output. Dexopt"); in Usage()
123 UsageError(" needed analysis is not performed when this option is set."); in Usage()
124 UsageError(""); in Usage()
125 UsageError(" --validate-bcp: validates the boot class path files (.art, .oat, .vdex)."); in Usage()
126 UsageError(" Requires --isa and --image options to locate artifacts."); in Usage()
127 UsageError(""); in Usage()
128 UsageError("Return code:"); in Usage()
129 UsageError(" To make it easier to integrate with the internal tools this command will make"); in Usage()
130 UsageError(" available its result (dexoptNeeded) as the exit/return code. i.e. it will not"); in Usage()
131 UsageError(" return 0 for success and a non zero values for errors as the conventional"); in Usage()
132 UsageError(" commands. The following return codes are possible:"); in Usage()
133 UsageError(" kNoDexOptNeeded = 0"); in Usage()
134 UsageError(" kDex2OatFromScratch = 1"); in Usage()
135 UsageError(" kDex2OatForBootImageOat = 2"); in Usage()
136 UsageError(" kDex2OatForFilterOat = 3"); in Usage()
137 UsageError(" kDex2OatForBootImageOdex = 4"); in Usage()
138 UsageError(" kDex2OatForFilterOdex = 5"); in Usage()
140 UsageError(" kErrorInvalidArguments = 101"); in Usage()
141 UsageError(" kErrorCannotCreateRuntime = 102"); in Usage()
142 UsageError(" kErrorUnknownDexOptNeeded = 103"); in Usage()
143 UsageError(""); in Usage()