Avoid having to pass ModuleFactoryAdaptor to every call to RegisterModuleType in a test by wrapping RegisterModuleType. Test: all soong tests Change-Id: If8847d16487de0479cc3020b728256922b3cadba
Test: defaults_test.go Change-Id: Ic71892c379f8850996ea4dd94f606f4e937591df