diff options
author | 2023-12-13 16:16:47 -0800 | |
---|---|---|
committer | 2023-12-14 16:12:22 -0800 | |
commit | ad50aca6aba29c866baf6eae65e3280eee0acc98 (patch) | |
tree | 3aabb6544d369d8bc43493e3c6d835c6fa762a0c /android/testing.go | |
parent | 5a37718c956b1bfbda5e236c0fe50f08661a81de (diff) |
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
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/android/testing.go b/android/testing.go index 39a268b23..3d0300a01 100644 --- a/android/testing.go +++ b/android/testing.go @@ -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) } |