Remove non-generic provider APIs
There are no more callers to the non-generic provider APIs, remove them. Bug: 316410648 Test: builds Change-Id: I4d336340e630643f98531787a81e0f1f18ec108d
This commit is contained in:
@@ -203,16 +203,6 @@ func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) {
|
||||
ctx.PreArchMutators(f)
|
||||
}
|
||||
|
||||
func (ctx *TestContext) ModuleProvider(m blueprint.Module, p blueprint.AnyProviderKey) any {
|
||||
value, _ := ctx.Context.ModuleProvider(m, p)
|
||||
return value
|
||||
}
|
||||
|
||||
func (ctx *TestContext) ModuleHasProvider(m blueprint.Module, p blueprint.AnyProviderKey) bool {
|
||||
_, ok := ctx.Context.ModuleProvider(m, p)
|
||||
return ok
|
||||
}
|
||||
|
||||
func (ctx *TestContext) moduleProvider(m blueprint.Module, p blueprint.AnyProviderKey) (any, bool) {
|
||||
return ctx.Context.ModuleProvider(m, p)
|
||||
}
|
||||
|
Reference in New Issue
Block a user