Lines Matching refs:mm

29 import mainline_modules_sdks as mm  namespace
32 (m.apex, m) for m in (mm.MAINLINE_MODULES + mm.BUNDLED_MAINLINE_MODULES +
33 mm.PLATFORM_SDKS_FOR_MAINLINE))
37 class FakeSnapshotBuilder(mm.SnapshotBuilder):
55 zip_file = Path(mm.sdk_snapshot_zip_file(out_dir, name))
124 sdk_info_file = mm.sdk_snapshot_info_file(
163 subprocess_runner = mm.SubprocessRunner()
169 producer = mm.SdkDistProducer(
196 mm.aosp_to_google(MAINLINE_MODULES_BY_APEX["com.android.wifi"]),
199 mm.Q,
200 mm.R,
201 mm.S,
202 mm.LATEST,
291 build_releases = [mm.S]
307 build_releases = [mm.LATEST]
376 subprocess_runner = unittest.mock.Mock(mm.SubprocessRunner)
382 producer = mm.SdkDistProducer(
392 mm.aosp_to_google(MAINLINE_MODULES_BY_APEX["com.android.wifi"]),
395 mm.Q,
396 mm.R,
397 mm.S,
398 mm.LATEST,
431 subprocess_runner = mm.SubprocessRunner()
437 producer = mm.SdkDistProducer(
460 mm.MainlineModule(
465 mm.MainlineModule(
482 mm.MainlineModule(
487 mm.MainlineModule(
504 subprocess_runner = mm.SubprocessRunner()
510 producer = mm.SdkDistProducer(
519 mm.MainlineModule(
580 producer = mm.SdkDistProducer(
581 subprocess_runner=mock.Mock(mm.SubprocessRunner),
582 snapshot_builder=mock.Mock(mm.SnapshotBuilder),
591 mm.apply_transformations(
611 transformations = module.transformations(mm.S, mm.Sdk)
613 self.apply_transformations(src, transformations, mm.S, expected)
626 transformations = module.transformations(mm.Tiramisu, mm.Sdk)
628 self.apply_transformations(src, transformations, mm.Tiramisu, expected)
642 transformations = module.transformations(mm.S, mm.Sdk)
644 self.apply_transformations(src, transformations, mm.S, expected)
657 transformations = module.transformations(mm.Tiramisu, mm.Sdk)
659 self.apply_transformations(src, transformations, mm.Tiramisu, expected)
672 transformations = module.transformations(mm.LATEST, mm.Sdk)
674 self.apply_transformations(src, transformations, mm.LATEST, expected)
688 transformations = module.transformations(mm.S, mm.Sdk)
690 self.apply_transformations(src, transformations, mm.S, expected)
704 transformations = module.transformations(mm.S, mm.HostExports)
706 self.apply_transformations(src, transformations, mm.S, expected)
722 transformations = module.transformations(mm.R, mm.Sdk)
724 self.apply_transformations(src, transformations, mm.R, expected)
735 class TestTransformation(mm.FileTransformation):
745 if build_release >= mm.Tiramisu:
759 transformations = module.transformations(mm.Tiramisu, mm.Sdk)
760 self.apply_transformations(src, transformations, mm.Tiramisu, expected)
766 all_modules = mm.MAINLINE_MODULES + mm.BUNDLED_MAINLINE_MODULES
767 modules = mm.filter_modules(all_modules, None)
771 modules = mm.filter_modules(mm.MAINLINE_MODULES, "com.android.art")
779 for module in mm.MAINLINE_MODULES:
784 for module in (mm.BUNDLED_MAINLINE_MODULES +
785 mm.PLATFORM_SDKS_FOR_MAINLINE):
788 self.assertEqual(module.first_release, mm.LATEST)