Lines Matching refs:apiver

63 func parseJarPath(path string) (module string, apiver string, scope string) {
66 apiver = elements[0]
73 func parseApiFilePath(ctx android.LoadHookContext, path string) (module string, apiver string, scop…
75 apiver = elements[0]
88 func prebuiltApiModuleName(mctx android.LoadHookContext, module string, scope string, apiver string…
89 return mctx.ModuleName() + "_" + scope + "_" + apiver + "_" + module
92 func createImport(mctx android.LoadHookContext, module, scope, apiver, path, sdkVersion string, com… argument
100 props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, module, scope, apiver))
137 for _, apiver := range p.properties.Api_dirs {
138 files = append(files, getPrebuiltFilesInSubdir(mctx, apiver, name)...)
168 module, apiver, scope := parseJarPath(localPath)
169 createImport(mctx, module, scope, apiver, localPath, sdkVersion, compileDex)
173 func createSystemModules(mctx android.LoadHookContext, apiver string) {
178 props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, "system_modules", "public", apiver))
179 …Libs = append(props.Libs, prebuiltApiModuleName(mctx, "core-for-system-modules", "public", apiver))
185 for _, apiver := range p.properties.Api_dirs {
187 mctx.ModuleDir(), apiver, "public", "core-for-system-modules.jar")
189 createSystemModules(mctx, apiver)
220 module, apiver, scope := parseApiFilePath(mctx, localPath)
221 createApiModule(mctx, apiModuleName(module, scope, apiver), localPath)
223 version, err := strconv.Atoi(apiver)
225 mctx.ModuleErrorf("Found finalized API files in non-numeric dir %v", apiver)