Home
last modified time | relevance | path

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

/build/soong/android/
Dregister.go68 factory SingletonFactory
71 func newSingleton(name string, factory SingletonFactory) singleton { argument
75 func newPreSingleton(name string, factory SingletonFactory) singleton { argument
117 type SingletonFactory func() Singleton type
121 func SingletonFactoryAdaptor(ctx *Context, factory SingletonFactory) blueprint.SingletonFactory { argument
145 func RegisterSingletonType(name string, factory SingletonFactory) { argument
149 func RegisterPreSingletonType(name string, factory SingletonFactory) { argument
249 RegisterPreSingletonType(name string, factory SingletonFactory) argument
250 RegisterSingletonType(name string, factory SingletonFactory) argument
281 singletonTypes: make(map[string]SingletonFactory),
[all …]
Dsingleton_module.go93 func SingletonModuleFactoryAdaptor(name string, factory SingletonModuleFactory) (SingletonFactory, …
Dtesting.go487 func (ctx *TestContext) RegisterSingletonType(name string, factory SingletonFactory) {
491 func (ctx *TestContext) RegisterPreSingletonType(name string, factory SingletonFactory) {
/build/blueprint/
Dcontext.go366 factory SingletonFactory
486 type SingletonFactory func() Singleton type
496 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) {
518 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) {