Home
last modified time | relevance | path

Searched refs:apiLevel (Results 1 – 4 of 4) sorted by relevance

/build/soong/android/
Dapi_levels.go90 func ApiStrToNum(ctx BaseModuleContext, apiLevel string) (int, error) {
91 if apiLevel == "current" {
94 if num, ok := getApiLevelsMap(ctx.Config())[apiLevel]; ok {
97 if num, err := strconv.Atoi(apiLevel); err == nil {
100 …urn 0, fmt.Errorf("SDK version should be one of \"current\", <number> or <codename>: %q", apiLevel)
/build/soong/cc/
Dndk_library.go110 func normalizeNdkApiLevel(ctx android.BaseModuleContext, apiLevel string,
113 if apiLevel == "current" {
114 return apiLevel, nil
130 if apiLevel == "minimum" {
137 version, err := strconv.Atoi(apiLevel)
139 return "", fmt.Errorf("API level must be an integer (is %q)", apiLevel)
268 func compileStubLibrary(ctx ModuleContext, flags Flags, symbolFile, apiLevel, genstubFlags string) … argument
283 "apiLevel": apiLevel,
363 apiLevel := stub.properties.ApiLevel
373 "platforms/android-%s/arch-%s/usr/%s", apiLevel, arch, libDir))
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-reference.js95 var apiLevel = className.substring(apiLevelIndex, apiLevelEndIndex);
96 if (apiLevel.length == 0) { // for odd cases when the since data is actually missing, just bail
99 apiLevel = parseInt(apiLevel);
103 var apiLevelNum = parseInt(apiLevel);
110 + apiLevel + "\" or higher");
/build/make/tools/droiddoc/templates-ndk/assets/js/
Ddocs.js2914 var apiLevel = className.substring(apiLevelIndex, apiLevelEndIndex);
2915 if (apiLevel.length == 0) { // for odd cases when the since data is actually missing, just bail
2918 apiLevel = parseInt(apiLevel);
2922 var apiLevelNum = parseInt(apiLevel);
2930 + apiLevel + "\" or higher. To reveal, change the target API level "