Lines Matching refs:paths

516 func (paths *scopePaths) extractStubsLibraryInfoFromDependency(dep android.Module) error {
518 paths.stubsHeaderPath = lib.HeaderJars()
519 paths.stubsImplPath = lib.ImplementationJars()
526 func (paths *scopePaths) treatDepAsApiStubsProvider(dep android.Module, action func(provider ApiStu…
535 func (paths *scopePaths) treatDepAsApiStubsSrcProvider(dep android.Module, action func(provider Api…
544 func (paths *scopePaths) extractApiInfoFromApiStubsProvider(provider ApiStubsProvider) {
545 paths.currentApiFilePath = android.OptionalPathForPath(provider.ApiFilePath())
546 paths.removedApiFilePath = android.OptionalPathForPath(provider.RemovedApiFilePath())
549 func (paths *scopePaths) extractApiInfoFromDep(dep android.Module) error {
550 return paths.treatDepAsApiStubsProvider(dep, func(provider ApiStubsProvider) {
551 paths.extractApiInfoFromApiStubsProvider(provider)
555 func (paths *scopePaths) extractStubsSourceInfoFromApiStubsProviders(provider ApiStubsSrcProvider) {
556 paths.stubsSrcJar = android.OptionalPathForPath(provider.StubsSrcJar())
559 func (paths *scopePaths) extractStubsSourceInfoFromDep(dep android.Module) error {
560 return paths.treatDepAsApiStubsSrcProvider(dep, func(provider ApiStubsSrcProvider) {
561 paths.extractStubsSourceInfoFromApiStubsProviders(provider)
565 func (paths *scopePaths) extractStubsSourceAndApiInfoFromApiStubsProvider(dep android.Module) error…
566 return paths.treatDepAsApiStubsProvider(dep, func(provider ApiStubsProvider) {
567 paths.extractApiInfoFromApiStubsProvider(provider)
568 paths.extractStubsSourceInfoFromApiStubsProviders(provider)
708 paths := c.findScopePaths(scope)
709 if paths == nil {
715 if paths.stubsSrcJar.Valid() {
716 return android.Paths{paths.stubsSrcJar.Path()}, nil
720 if paths.currentApiFilePath.Valid() {
721 return android.Paths{paths.currentApiFilePath.Path()}, nil
725 if paths.removedApiFilePath.Valid() {
726 return android.Paths{paths.removedApiFilePath.Path()}, nil
744 paths := c.scopePaths[scope]
745 if paths == nil {
746 paths = &scopePaths{}
747 c.scopePaths[scope] = paths
750 return paths
765 if paths := c.findScopePaths(s); paths != nil {
766 return paths
796 paths := c.findClosestScopePath(apiScope)
797 if paths == nil {
808 return paths.stubsHeaderPath
1011 paths, err := module.commonOutputFiles(tag)
1012 if paths == nil && err == nil {
1015 return paths, err
1312 paths, err := mctx.GlobWithDeps(baselinePathRelativeToRoot, nil)
1316 if len(paths) == 1 {
1318 } else if len(paths) != 0 {
1319 …rror checking for presence of %s: expected one path, found: %v", baselinePathRelativeToRoot, paths)
1946 paths := module.getScopePathsCreateIfNeeded(apiScope)
1947 paths.currentApiFilePath = android.OptionalPathForModuleSrc(ctx, scopeProperties.Current_api)
1948 paths.removedApiFilePath = android.OptionalPathForModuleSrc(ctx, scopeProperties.Removed_api)
2199 paths := sdk.findScopePaths(apiScope)
2200 if paths == nil {
2204 jars := paths.stubsImplPath
2209 properties.StubsSrcJar = paths.stubsSrcJar.Path()
2210 if paths.currentApiFilePath.Valid() {
2211 properties.CurrentApiFile = paths.currentApiFilePath.Path()
2213 if paths.removedApiFilePath.Valid() {
2214 properties.RemovedApiFile = paths.removedApiFilePath.Path()