Lines Matching refs:benchmark
641 func (benchmark *benchmarkDecorator) benchmarkBinary() bool {
645 func (benchmark *benchmarkDecorator) linkerProps() []interface{} {
646 props := benchmark.binaryDecorator.linkerProps()
647 props = append(props, &benchmark.Properties)
651 func (benchmark *benchmarkDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
652 deps = benchmark.binaryDecorator.linkerDeps(ctx, deps)
657 func (benchmark *benchmarkDecorator) install(ctx ModuleContext, file android.Path) {
658 for _, d := range android.PathsForModuleSrc(ctx, benchmark.Properties.Data) {
659 benchmark.data = append(benchmark.data, android.DataPath{SrcPath: d})
663 if Bool(benchmark.Properties.Require_root) {
666 benchmark.testConfig = tradefed.AutoGenTestConfig(ctx, tradefed.AutoGenTestConfigOptions{
667 TestConfigProp: benchmark.Properties.Test_config,
668 TestConfigTemplateProp: benchmark.Properties.Test_config_template,
669 TestSuites: benchmark.Properties.Test_suites,
671 AutoGenConfig: benchmark.Properties.Auto_gen_config,
676 benchmark.binaryDecorator.baseInstaller.dir = filepath.Join("benchmarktest", ctx.ModuleName())
677 benchmark.binaryDecorator.baseInstaller.dir64 = filepath.Join("benchmarktest64", ctx.ModuleName())
678 benchmark.binaryDecorator.baseInstaller.installTestData(ctx, benchmark.data)
679 benchmark.binaryDecorator.baseInstaller.install(ctx, file)
682 func (benchmark *benchmarkDecorator) moduleInfoJSON(ctx ModuleContext, moduleInfoJSON *android.Modu…
683 benchmark.binaryDecorator.moduleInfoJSON(ctx, moduleInfoJSON)
686 if len(benchmark.Properties.Test_suites) > 0 {
687 …moduleInfoJSON.CompatibilitySuites = append(moduleInfoJSON.CompatibilitySuites, benchmark.Properti…
697 if benchmark.testConfig != nil {
698 if _, ok := benchmark.testConfig.(android.WritablePath); ok {
701 moduleInfoJSON.TestConfig = []string{benchmark.testConfig.String()}
710 benchmark := &benchmarkDecorator{
713 module.linker = benchmark
714 module.installer = benchmark