Lines Matching refs:javaVersion
1154 func getJavaVersion(ctx android.ModuleContext, javaVersion string, sdkContext sdkContext) javaVersion {
1155 if javaVersion != "" {
1156 return normalizeJavaVersion(ctx, javaVersion)
1164 type javaVersion int
1174 func (v javaVersion) String() string {
1190 func (v javaVersion) usesJavaModules() bool {
1194 func normalizeJavaVersion(ctx android.BaseModuleContext, javaVersion string) javaVersion {
1195 switch javaVersion {
1217 // javaVersion flag.
1218 flags.javaVersion = getJavaVersion(ctx, String(j.properties.Java_version), sdkContext(j))
1222 if flags.javaVersion.usesJavaModules() {
1257 if len(flags.bootClasspath) == 0 && ctx.Host() && !flags.javaVersion.usesJavaModules() &&
1282 if j.properties.Patch_module != nil && flags.javaVersion.usesJavaModules() {
1315 if flags.javaVersion.usesJavaModules() {
1722 j.linter.javaLanguageLevel = flags.javaVersion.String()