Lines Matching refs:kind
146 kind sdkKind member
152 return fmt.Sprintf("%s_%s", s.kind, s.version)
158 return s.kind != sdkInvalid
163 return s.valid() && s.kind != sdkPrivate
172 switch s.kind {
181 panic(fmt.Errorf("unknown sdkKind=%v", s.kind))
191 return s.kind != sdkPrivate && s.kind != sdkNone && s.kind != sdkCorePlatform
197 if s.kind == sdkPrivate || s.kind == sdkPublic {
198 kind := s.kind
199 if kind == sdkPrivate {
203 kind = sdkPublic
206 return sdkSpec{kind, version, s.raw}
218 if s.kind != sdkPublic && s.kind != sdkSystem && s.kind != sdkTest {
219 panic(fmt.Errorf("prebuilt SDK is not not available for sdkKind=%q", s.kind))
293 var kind sdkKind
296 kind = sdkPublic
298 kind = sdkCore
300 kind = sdkSystem
302 kind = sdkTest
304 kind = sdkModule
306 kind = sdkSystemServer
320 return sdkSpec{kind, version, str}
328 if s.kind != sdkSystem || !s.version.isNumbered() {
361 dir := filepath.Join("prebuilts", "sdk", sdkVersion.version.String(), sdkVersion.kind.String())
374 …bootclasspath: []string{fmt.Sprintf("sdk_%s_%s_android", sdkVersion.kind, sdkVersion.version.Stri…
412 switch sdkVersion.kind {