Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 25 of 49) sorted by relevance

12

/build/blueprint/
Dprovider.go45 type provider struct { struct
52 type ProviderKey *provider
85 provider := &provider{
92 providerRegistry = append(providerRegistry, provider)
94 return provider
101 for _, provider := range providerRegistry {
103 if mutator.name == provider.mutator {
104 c.providerMutators[provider.id] = mutator
116 func (c *Context) setProvider(m *moduleInfo, provider ProviderKey, value interface{}) {
117 if provider.mutator == "" {
[all …]
Dmodule_ctx.go329 OtherModuleProvider(m Module, provider ProviderKey) interface{}
332 OtherModuleHasProvider(m Module, provider ProviderKey) bool
339 Provider(provider ProviderKey) interface{}
342 HasProvider(provider ProviderKey) bool
348 SetProvider(provider ProviderKey, value interface{})
592 func (m *baseModuleContext) OtherModuleProvider(logicModule Module, provider ProviderKey) interface…
594 value, _ := m.context.provider(module, provider)
598 func (m *baseModuleContext) OtherModuleHasProvider(logicModule Module, provider ProviderKey) bool {
600 _, ok := m.context.provider(module, provider)
604 func (m *baseModuleContext) Provider(provider ProviderKey) interface{} {
[all …]
Dsingleton_ctx.go55 ModuleProvider(module Module, provider ProviderKey) interface{}
58 ModuleHasProvider(m Module, provider ProviderKey) bool
201 func (s *singletonContext) ModuleProvider(logicModule Module, provider ProviderKey) interface{} {
202 return s.context.ModuleProvider(logicModule, provider)
206 func (s *singletonContext) ModuleHasProvider(logicModule Module, provider ProviderKey) bool {
207 return s.context.ModuleHasProvider(logicModule, provider)
/build/bazel/rules/cc/
Dstatic_libc.bzl23 LibcConfigInfo = provider(fields = ["include_dirs", "system_libraries"])
28 provider = LibcConfigInfo(
32 return [provider]
Dcc_proto.bzl22 CcProtoGenInfo = provider(fields = ["headers", "sources"])
74 proto_library or any other target exposing ProtoInfo provider with *.proto files
Dstripped_cc_common.bzl164 # A marker provider to distinguish a cc_binary from everything else that exports
166 StrippedCcBinaryInfo = provider()
/build/soong/apex/
Dclasspath_element_test.go36 func (t *testClasspathElementContext) OtherModuleHasProvider(module blueprint.Module, provider blue…
37 return t.testContext.ModuleHasProvider(module, provider)
40 func (t *testClasspathElementContext) OtherModuleProvider(module blueprint.Module, provider bluepri…
41 return t.testContext.ModuleProvider(module, provider)
/build/soong/android/
Dandroidmk.go162 Provider(provider blueprint.ProviderKey) interface{}
170 func (a *androidMkExtraEntriesContext) Provider(provider blueprint.ProviderKey) interface{} {
171 return a.ctx.ModuleProvider(a.mod, provider)
493 ModuleProvider(module blueprint.Module, provider blueprint.ProviderKey) interface{}
494 ModuleHasProvider(module blueprint.Module, provider blueprint.ProviderKey) bool
812 provider AndroidMkDataProvider) error {
819 data := provider.AndroidMk()
845 name := provider.BaseModuleName()
900 provider AndroidMkEntriesProvider) error {
906 for _, entries := range provider.AndroidMkEntries() {
Dmakevars.go133 func RegisterMakeVarsProvider(pctx PackageContext, provider MakeVarsProvider) {
134 makeVarsInitProviders = append(makeVarsInitProviders, makeVarsProvider{pctx, provider})
249 for _, provider := range providers {
252 pctx: provider.pctx,
255 provider.call(mctx)
263 if provider, ok := m.(ModuleMakeVarsProvider); ok && m.Enabled() {
268 provider.MakeVars(mctx)
Dtesting.go765 provider testBuildProvider member
768 func newBaseTestingComponent(config Config, provider testBuildProvider) baseTestingComponent {
769 return baseTestingComponent{config, provider}
822 RuleParams: b.provider.RuleParamsForTests()[bparams.Rule],
828 buildParams := b.provider.BuildParamsForTests()
849 for _, p := range b.provider.BuildParamsForTests() {
868 for _, p := range b.provider.BuildParamsForTests() {
902 for _, p := range b.provider.BuildParamsForTests() {
Dsingleton.go37 ModuleProvider(module blueprint.Module, provider blueprint.ProviderKey) interface{}
40 ModuleHasProvider(module blueprint.Module, provider blueprint.ProviderKey) bool
Dmutator.go389 SetVariationProvider(module blueprint.Module, provider blueprint.ProviderKey, value interface{})
691 func (b *bottomUpMutatorContext) SetVariationProvider(module blueprint.Module, provider blueprint.P…
692 b.bp.SetVariationProvider(module, provider, value)
Dmodule.go197 OtherModuleProvider(m blueprint.Module, provider blueprint.ProviderKey) interface{}
200 OtherModuleHasProvider(m blueprint.Module, provider blueprint.ProviderKey) bool
207 Provider(provider blueprint.ProviderKey) interface{}
210 HasProvider(provider blueprint.ProviderKey) bool
216 SetProvider(provider blueprint.ProviderKey, value interface{})
2475 func (b *baseModuleContext) OtherModuleProvider(m blueprint.Module, provider blueprint.ProviderKey)…
2476 return b.bp.OtherModuleProvider(m, provider)
2478 func (b *baseModuleContext) OtherModuleHasProvider(m blueprint.Module, provider blueprint.ProviderK…
2479 return b.bp.OtherModuleHasProvider(m, provider)
2481 func (b *baseModuleContext) Provider(provider blueprint.ProviderKey) interface{} {
[all …]
/build/soong/java/
Dclasspath_element.go75 OtherModuleHasProvider(m blueprint.Module, provider blueprint.ProviderKey) bool
76 OtherModuleProvider(m blueprint.Module, provider blueprint.ProviderKey) interface{}
Dsdk_library.go558 func (paths *scopePaths) treatDepAsApiStubsProvider(dep android.Module, action func(provider ApiStu…
567 func (paths *scopePaths) treatDepAsApiStubsSrcProvider(dep android.Module, action func(provider Api…
576 func (paths *scopePaths) extractApiInfoFromApiStubsProvider(provider ApiStubsProvider) {
577 paths.annotationsZip = android.OptionalPathForPath(provider.AnnotationsZip())
578 paths.currentApiFilePath = android.OptionalPathForPath(provider.ApiFilePath())
579 paths.removedApiFilePath = android.OptionalPathForPath(provider.RemovedApiFilePath())
583 return paths.treatDepAsApiStubsProvider(dep, func(provider ApiStubsProvider) {
584 paths.extractApiInfoFromApiStubsProvider(provider)
588 func (paths *scopePaths) extractStubsSourceInfoFromApiStubsProviders(provider ApiStubsSrcProvider) {
589 paths.stubsSrcJar = android.OptionalPathForPath(provider.StubsSrcJar())
[all …]
/build/soong/python/
Dbinary.go171 if provider, ok := m.(IntermPathProvider); ok {
176 launcherPath = provider.IntermPathForModuleOut()
/build/bazel_common_rules/docs/
DBUILD19 "templates/provider.vm",
/build/bazel/rules/
Dapex_key.bzl17 ApexKeyInfo = provider(
Dsh_binary.bzl1 ShBinaryInfo = provider(
/build/soong/snapshot/
Dhost_snapshot.go193 if provider, ok := m.(android.HostToolProvider); ok {
194 return provider.HostToolPath()
/build/soong/bp2build/
Dandroidbp_to_build_templates.go42 providersBzl = `SoongModuleInfo = provider(
/build/bazel/rules/android/
Dandroid_app_certificate.bzl17 AndroidAppCertificateInfo = provider(
/build/make/target/product/
Dmedia_system.mk52 com.android.location.provider \
/build/bazel_common_rules/dist/
Ddist.bzl45 In the case of targets, the rule copies the list of `files` from the target's DefaultInfo provider.
52 In the case of targets, the rule copies the list of `files` from the target's DefaultInfo provider.
/build/bazel/rules/apex/
Dcc.bzl20 ApexCcInfo = provider(
36 # (a provider aggregating CcStubInfo and CcSharedLibraryInfo)

12