Home
last modified time | relevance | path

Searched refs:RegisterSingletonType (Results 1 – 25 of 36) sorted by relevance

12

/build/soong/android/
Dregister.go74 func RegisterSingletonType(name string, factory SingletonFactory) { func
102 ctx.RegisterSingletonType(t.name, t.factory)
108 ctx.RegisterSingletonType("phony", SingletonFactoryAdaptor(phonySingletonFactory))
111 ctx.RegisterSingletonType("makevars", SingletonFactoryAdaptor(makeVarsSingletonFunc))
114 ctx.RegisterSingletonType("env", SingletonFactoryAdaptor(EnvSingleton))
131 RegisterSingletonType(name string, factory SingletonFactory) methodSpec
181 func (ctx *initRegistrationContext) RegisterSingletonType(name string, factory SingletonFactory) { func
186 RegisterSingletonType(name, factory)
Dandroidmk_test.go84 ctx.RegisterSingletonType("androidmk", AndroidMkSingleton)
256 ctx.RegisterSingletonType("androidmk", AndroidMkSingleton)
Dwritedocs.go27 RegisterSingletonType("writedocs", DocsSingleton)
Dapi_levels.go24 RegisterSingletonType("api_levels", ApiLevelsSingleton)
Dtest_suites.go18 RegisterSingletonType("testsuites", testSuiteFilesFactory)
Dmetrics.go38 RegisterSingletonType("soong_metrics", soongMetricsSingletonFactory)
Dtesting.go87 ctx.RegisterSingletonType("env", EnvSingleton)
108 func (ctx *TestContext) RegisterSingletonType(name string, factory SingletonFactory) { func
109 ctx.Context.RegisterSingletonType(name, SingletonFactoryAdaptor(factory))
/build/soong/apex/
Dapex_singleton.go26 android.RegisterSingletonType("apex_depsinfo_singleton", apexDepsInfoSingletonFactory)
Dkey.go31 android.RegisterSingletonType("apex_keys_text", apexKeysTextFactory)
/build/blueprint/bootstrap/
Dcommand.go144 ctx.RegisterSingletonType("bootstrap", newSingletonFactory(bootstrapConfig))
146 ctx.RegisterSingletonType("glob", globSingletonFactory(ctx))
Dglob.go155 ctx.RegisterSingletonType("glob", func() blueprint.Singleton {
/build/soong/rust/
Dtesting.go109 ctx.RegisterSingletonType("rust_project_generator", rustProjectGeneratorSingleton)
Dproject_json.go34 android.RegisterSingletonType("rust_project_generator", rustProjectGeneratorSingleton)
/build/soong/cc/
Dtesting.go573 ctx.RegisterSingletonType("vndk-snapshot", VndkSnapshotSingleton)
574 ctx.RegisterSingletonType("vendor-snapshot", VendorSnapshotSingleton)
Dndk_sysroot.go64 android.RegisterSingletonType("ndk", NdkSingleton)
Dcflag_artifacts.go14 android.RegisterSingletonType("cflag_artifacts_text", cflagArtifactsTextFactory)
Dcompdb.go35 android.RegisterSingletonType("compdb_generator", compDBGeneratorSingleton)
Dccdeps.go33 android.RegisterSingletonType("ccdeps_generator", ccDepsGeneratorSingleton)
Dcmakelists.go32 android.RegisterSingletonType("cmakelists_generator", cMakeListsGeneratorSingleton)
Dfuzz.go67 android.RegisterSingletonType("cc_fuzz_packaging", fuzzPackagingFactory)
/build/soong/java/
Djdeps.go29 android.RegisterSingletonType("jdeps_generator", jDepsGeneratorSingleton)
Dhiddenapi_singleton.go24 android.RegisterSingletonType("hiddenapi", hiddenAPISingletonFactory)
25 android.RegisterSingletonType("hiddenapi_index", hiddenAPIIndexSingletonFactory)
Dplatform_compat_config.go23 …android.RegisterSingletonType("platform_compat_config_singleton", platformCompatConfigSingletonFac…
Dsdk.go32 android.RegisterSingletonType("sdk", sdkSingletonFactory)
/build/soong/dexpreopt/
Dconfig.go153 android.RegisterSingletonType("dexpreopt-soong-config", func() android.Singleton {

12