Home
last modified time | relevance | path

Searched refs:ApiLevel (Results 1 – 22 of 22) sorted by relevance

/build/soong/android/
Dapi_levels.go37 type ApiLevel struct { struct
54 func (this ApiLevel) FinalOrFutureInt() int { argument
67 func (this ApiLevel) FinalOrPreviewInt() int { argument
80 func (this ApiLevel) String() string { argument
85 func (this ApiLevel) IsPreview() bool { argument
97 func (this ApiLevel) IsCurrent() bool { argument
101 func (this ApiLevel) IsNone() bool { argument
107 func (this ApiLevel) CompareTo(other ApiLevel) int { argument
123 func (this ApiLevel) EqualTo(other ApiLevel) bool { argument
127 func (this ApiLevel) GreaterThan(other ApiLevel) bool { argument
[all …]
Dsdk_version.go81 ApiLevel ApiLevel member
86 return fmt.Sprintf("%s_%s", s.Kind, s.ApiLevel)
137 if s.ApiLevel.IsCurrent() {
155 if s.ApiLevel.IsCurrent() {
158 } else if !s.ApiLevel.IsPreview() {
173 func (s SdkSpec) EffectiveVersion(ctx EarlyModuleContext) (ApiLevel, error) {
175 return s.ApiLevel, fmt.Errorf("invalid sdk version %q", s.Raw)
181 if !s.ApiLevel.IsPreview() {
182 return s.ApiLevel, nil
196 return s.ApiLevel.String(), fmt.Errorf("invalid sdk version %q", s.Raw)
[all …]
Dapex.go52 MinSdkVersion ApiLevel
241 ShouldSupportSdkVersion(ctx BaseModuleContext, sdkVersion ApiLevel) error argument
827 var minSdkVersionAllowlist = func(apiMap map[string]int) map[string]ApiLevel {
828 list := make(map[string]ApiLevel, len(apiMap))
915 func CheckMinSdkVersion(m UpdatableModule, ctx ModuleContext, minSdkVersion ApiLevel) { argument
Dconfig.go54 var FutureApiLevel = ApiLevel{
653 func (c *config) PlatformSdkVersion() ApiLevel {
677 func (c *config) MinSupportedSdkVersion() ApiLevel {
681 func (c *config) FinalApiLevels() []ApiLevel {
682 var levels []ApiLevel
689 func (c *config) PreviewApiLevels() []ApiLevel {
690 var levels []ApiLevel
692 levels = append(levels, ApiLevel{
701 func (c *config) AllSupportedApiLevels() []ApiLevel {
702 var levels []ApiLevel
[all …]
/build/soong/cc/
Dapi_level.go24 arch android.ArchType) android.ApiLevel {
37 raw string) (android.ApiLevel, error) {
57 raw string) android.ApiLevel {
Dndk_library.go93 apiLevel android.ApiLevel
94 firstVersion android.ApiLevel
95 unversionedUntil android.ApiLevel
108 func ndkLibraryVersions(ctx android.BaseMutatorContext, from android.ApiLevel) []string { argument
109 var versions []android.ApiLevel
Dcc.go496 apexSdkVersion() android.ApiLevel
825 apexSdkVersion android.ApiLevel
851 func (c *Module) ApiLevel() string { func
1494 func (ctx *moduleContextImpl) apexSdkVersion() android.ApiLevel {
3258 sdkVersion android.ApiLevel) error {
Dlinker.go392 func CheckSdkVersionAtLeast(ctx ModuleContext, SdkVersion android.ApiLevel) bool { argument
Dlibrary.go2041 var previous android.ApiLevel
/build/soong/java/
Dsdk.go79 dir := filepath.Join("prebuilts", "sdk", sdkVersion.ApiLevel.String(), sdkVersion.Kind.String())
83 publicDir := filepath.Join("prebuilts", "sdk", sdkVersion.ApiLevel.String(), "public")
92 …bootclasspath: []string{fmt.Sprintf("sdk_%s_%s_android", sdkVersion.Kind, sdkVersion.ApiLevel.Str…
108 systemModules = "sdk_public_" + sdkVersion.ApiLevel.String() + "_system_modules"
Dsystemserver_classpath_fragment.go69 …Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion android.ApiLevel) error {
Dsdk_library.go852 if !sdkVersion.ApiLevel.IsPreview() {
1587 var ver android.ApiLevel
1590 ver = s.ApiLevel
2126 sdkVersion android.ApiLevel) error {
2406 sdkVersion android.ApiLevel) error {
Dapp.go307 …(a *AndroidApp) checkJniLibsSdkVersion(ctx android.ModuleContext, minSdkVersion android.ApiLevel) {
835 if v := m.MinSdkVersion(ctx); !v.ApiLevel.IsNone() {
836 toMinSdkVersion = v.ApiLevel.String()
Dapp_import.go413 sdkVersion android.ApiLevel) error {
Djava.go1435 sdkVersion android.ApiLevel) error {
1675 sdkVersion android.ApiLevel) error {
Dbootclasspath_fragment.go361 …Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion android.ApiLevel) error {
Dbase.go1263 if v := sdkSpec.ApiLevel; !v.IsPreview() {
1477 sdkVersion android.ApiLevel) error {
/build/soong/sysprop/
Dsysprop_library.go356 sdkVersion android.ApiLevel) error {
/build/soong/apex/
Dbuilder.go949 if v := m.MinSdkVersion(ctx); !v.ApiLevel.IsNone() {
950 toMinSdkVersion = v.ApiLevel.String()
Dapex.go2251 func (a *apexBundle) minSdkVersion(ctx android.BaseModuleContext) android.ApiLevel {
/build/soong/genrule/
Dgenrule.go604 sdkVersion android.ApiLevel) error {
/build/soong/rust/
Drust.go1286 …Module) ShouldSupportSdkVersion(ctx android.BaseModuleContext, sdkVersion android.ApiLevel) error {