Home
last modified time | relevance | path

Searched defs:SingletonFactory (Results 1 – 2 of 2) sorted by relevance

/build/soong/android/
Dregister.go72 func newSingleton(name string, factory SingletonFactory) singleton {
76 func newPreSingleton(name string, factory SingletonFactory) singleton {
118 type SingletonFactory func() Singleton type
122 func SingletonFactoryAdaptor(ctx *Context, factory SingletonFactory) blueprint.SingletonFactory {
147 func RegisterSingletonType(name string, factory SingletonFactory) {
151 func RegisterPreSingletonType(name string, factory SingletonFactory) {
245 RegisterPreSingletonType(name string, factory SingletonFactory)
246 RegisterSingletonType(name string, factory SingletonFactory)
/build/blueprint/
Dcontext.go516 type SingletonFactory func() Singleton type