Lines Matching refs:Kind
80 Kind SdkKind member
86 return fmt.Sprintf("%s_%s", s.Kind, s.ApiLevel)
92 return s.Kind != SdkInvalid
97 return s.Valid() && s.Kind != SdkPrivate
106 switch s.Kind {
115 panic(fmt.Errorf("unknown SdkKind=%v", s.Kind))
125 return s.Kind != SdkPrivate && s.Kind != SdkNone && s.Kind != SdkCorePlatform
136 if s.Kind == SdkPublic || s.Kind == SdkSystem {
140 return SdkSpec{s.Kind, apiLevel, s.Raw}
160 if s.Kind != SdkPublic && s.Kind != SdkSystem && s.Kind != SdkTest && s.Kind != SdkModule {
161 panic(fmt.Errorf("prebuilt SDK is not not available for SdkKind=%q", s.Kind))
267 if s.Kind != SdkSystem || s.ApiLevel.IsPreview() {