Lines Matching refs:Module
139 if c, ok := ctx.Module().(*Module); ok && c.sanitize.isSanitizerEnabled(Hwasan) {
152 ctx.VisitDirectDeps(func(m android.Module) {
155 if cc, ok := m.(*Module); ok && cc.coverage != nil {
166 ctx.VisitDirectDeps(func(m android.Module) {
167 cc, ok := m.(*Module)
188 coverage := ctx.GetDirectDepWithTag(getGcovProfileLibraryName(ctx), CoverageDepTag).(*Module)
199 coverage := ctx.GetDirectDepWithTag(getClangProfileLibraryName(ctx), CoverageDepTag).(*Module)
261 android.Module
277 if c, ok := ctx.Module().(*Module); ok && c.coverage != nil {
281 } else if cov, ok := ctx.Module().(Coverage); ok && cov.IsNativeCoverageNeeded(ctx) {
288 } else if cov, ok := ctx.Module().(UseCoverage); ok && cov.IsNativeCoverageNeeded(ctx) {
302 if c, ok := ctx.Module().(*Module); ok && c.coverage != nil {
306 } else if cov, ok := ctx.Module().(Coverage); ok {
310 } else if cov, ok := ctx.Module().(UseCoverage); ok && cov.IsNativeCoverageNeeded(ctx) {
321 if c, ok := ctx.Module().(*Module); ok && c.coverage != nil {
335 } else if cov, ok := ctx.Module().(Coverage); ok && cov.IsNativeCoverageNeeded(ctx) {
349 } else if cov, ok := ctx.Module().(UseCoverage); ok && cov.IsNativeCoverageNeeded(ctx) {
358 outputFile := ctx.Module().(LinkableInterface).BaseModuleName() + ".xml"