1//######################################################################## 2// Build FrameworksServicesTests package 3//######################################################################## 4 5java_defaults { 6 name: "FrameworksServicesTests-jni-defaults", 7 jni_libs: [ 8 "libservicestestjni", 9 ], 10} 11 12package { 13 // See: http://go/android-license-faq 14 // A large-scale-change added 'default_applicable_licenses' to import 15 // all of the 'license_kinds' from "frameworks_base_license" 16 // to get the below license kinds: 17 // SPDX-license-identifier-Apache-2.0 18 default_applicable_licenses: ["frameworks_base_license"], 19} 20 21android_test { 22 name: "FrameworksServicesTests", 23 defaults: [ 24 "FrameworksServicesTests-jni-defaults", 25 ], 26 27 // Include all test java files. 28 srcs: [ 29 "src/**/*.java", 30 "src/**/*.kt", 31 32 "test-apps/SuspendTestApp/src/**/*.java", 33 "test-apps/DisplayManagerTestApp/src/**/*.java", 34 "test-apps/TopologyTestApp/src/**/*.java", 35 ], 36 37 static_libs: [ 38 "a11ychecker", 39 "aatf", 40 "accessibility_protos_lite", 41 "cts-input-lib", 42 "frameworks-base-testutils", 43 "services.accessibility", 44 "services.appwidget", 45 "services.autofill", 46 "services.contentcapture", 47 "services.backup", 48 "services.companion", 49 "services.core", 50 "services.credentials", 51 "services.devicepolicy", 52 "services.flags", 53 "com.android.server.flags.services-aconfig-java", 54 "services.net", 55 "services.people", 56 "services.supervision", 57 "services.usage", 58 "service-permission.stubs.system_server", 59 "guava", 60 "guava-android-testlib", 61 "androidx.test.core", 62 "androidx.test.ext.truth", 63 "androidx.test.runner", 64 "androidx.test.rules", 65 "androidx.test.ext.junit", 66 "CtsAccessibilityCommon", 67 "cts-wm-util", 68 "platform-compat-test-rules", 69 "platform-parametric-runner-lib", 70 "mockito-target-minus-junit4", 71 "mockito-kotlin2", 72 "platform-test-annotations", 73 "ShortcutManagerTestUtils", 74 "truth", 75 "testables", 76 "androidx.test.uiautomator_uiautomator", 77 "platformprotosnano", 78 "framework-protos", 79 "hamcrest-library", 80 "servicestests-utils", 81 "service-jobscheduler", 82 // TODO: remove once Android migrates to JUnit 4.12, 83 // which provides assertThrows 84 "testng", 85 "flag-junit", 86 "junit", 87 "junit-params", 88 "ActivityContext", 89 "coretests-aidl", 90 "securebox", 91 "flag-junit", 92 "ravenwood-junit", 93 "net-tests-utils", 94 "net_flags_lib", 95 "CtsVirtualDeviceCommonLib", 96 "com_android_server_accessibility_flags_lib", 97 ] + select(soong_config_variable("ANDROID", "release_crashrecovery_module"), { 98 "true": ["service-crashrecovery-pre-jarjar"], 99 default: [], 100 }), 101 102 libs: [ 103 "android.hardware.power-V1-java", 104 "android.hardware.tv.cec-V1.0-java", 105 "android.hardware.vibrator-V3-java", 106 "android.hidl.manager-V1.0-java", 107 "android.test.mock.stubs.system", 108 "android.test.base.stubs.system", 109 "android.test.runner.stubs.system", 110 ], 111 112 platform_apis: true, 113 114 test_suites: [ 115 "device-tests", 116 "automotive-tests", 117 ], 118 119 certificate: "platform", 120 121 // These are not normally accessible from apps so they must be explicitly included. 122 jni_libs: [ 123 "libbase", 124 "libbinder", 125 "libc++", 126 "libcutils", 127 "liblog", 128 "liblzma", 129 "libnativehelper", 130 "libpsi", 131 "libui", 132 "libunwindstack", 133 "libutils", 134 "netd_aidl_interface-V5-cpp", 135 ], 136 137 dxflags: ["--multi-dex"], 138 139 optimize: { 140 enabled: false, 141 }, 142 143 data: [ 144 ":DisplayManagerTestApp", 145 ":TopologyTestApp", 146 ":SimpleServiceTestApp1", 147 ":SimpleServiceTestApp2", 148 ":SimpleServiceTestApp3", 149 ":SuspendTestApp", 150 ":MediaButtonReceiverHolderTestHelperApp", 151 "data/broken_shortcut.xml", 152 ], 153 154 java_resources: [ 155 ":com.android.apex.cts.shim.v1_prebuilt", 156 ":com.android.apex.cts.shim.v2_different_certificate_prebuilt", 157 ":com.android.apex.cts.shim.v2_unsigned_apk_container_prebuilt", 158 ], 159 resource_zips: [":FrameworksServicesTests_apks_as_resources"], 160} 161 162java_defaults { 163 name: "FrameworksServicesTestsRavenwood-defaults", 164 libs: [ 165 "android.test.mock.stubs.system", 166 ], 167 static_libs: [ 168 "androidx.annotation_annotation", 169 "androidx.test.rules", 170 "flag-junit", 171 ], 172 auto_gen_config: true, 173} 174 175// Unit tests for UriGrantManager, running on ravenwood. 176// Note UriGrantManager does not support Ravenwood (yet). We're just running the original 177// unit tests as is on Ravenwood. So here, we use the original "services.core", because 178// "services.core.ravenwood" doesn't have the target code. 179// (Compare to FrameworksServicesTestsRavenwood_Compat, which does support Ravenwood.) 180android_ravenwood_test { 181 name: "FrameworksServicesTestsRavenwood_Uri", 182 defaults: ["FrameworksServicesTestsRavenwood-defaults"], 183 team: "trendy_team_ravenwood", 184 static_libs: [ 185 "services.core", 186 ], 187 srcs: [ 188 "src/com/android/server/uri/**/*.java", 189 ], 190} 191 192// Unit tests for compat-framework. 193// Compat-framework does support Ravenwood, and it uses the ravenwood anottations, 194// so we link "services.core.ravenwood". 195android_ravenwood_test { 196 name: "FrameworksServicesTestsRavenwood_Compat", 197 defaults: ["FrameworksServicesTestsRavenwood-defaults"], 198 team: "trendy_team_ravenwood", 199 static_libs: [ 200 "services.core.ravenwood", 201 ], 202 srcs: [ 203 "src/com/android/server/compat/**/*.java", 204 ], 205} 206 207java_library { 208 name: "servicestests-core-utils", 209 srcs: [ 210 "src/com/android/server/am/DeviceConfigSession.java", 211 "src/com/android/server/pm/PackageSettingBuilder.java", 212 "src/com/android/server/pm/parsing/TestPackageParser2.kt", 213 ], 214 static_libs: [ 215 "services.core", 216 "compatibility-device-util-axt", 217 ], 218} 219 220java_library { 221 name: "servicestests-dpm-utils", 222 srcs: [ 223 "src/com/android/server/devicepolicy/DevicePolicyManagerServiceTestable.java", 224 "src/com/android/server/devicepolicy/DevicePolicyManagerTestable.java", 225 "src/com/android/server/devicepolicy/DpmMockContext.java", 226 "src/com/android/server/devicepolicy/DpmTestBase.java", 227 "src/com/android/server/devicepolicy/DpmTestUtils.java", 228 "src/com/android/server/devicepolicy/DummyDeviceAdmins.java", 229 "src/com/android/server/devicepolicy/MockSystemServices.java", 230 "src/com/android/server/devicepolicy/MockUtils.java", 231 ], 232 libs: [ 233 "android.test.mock.stubs.system", 234 "android.test.base.stubs.system", 235 "mockito-target-minus-junit4", 236 ], 237 static_libs: [ 238 "frameworks-base-testutils", 239 "androidx.test.core", 240 "androidx.test.ext.truth", 241 "androidx.test.rules", 242 "services.core", 243 "services.devicepolicy", 244 ], 245} 246 247java_library { 248 name: "servicestests-utils", 249 srcs: [ 250 "utils/**/*.java", 251 "utils/**/*.kt", 252 "utils-mockito/**/*.kt", 253 ], 254 static_libs: [ 255 "junit", 256 "mockito-target-minus-junit4", 257 ], 258 libs: [ 259 "android.test.runner.stubs.system", 260 ], 261} 262 263java_library { 264 name: "servicestests-utils-ravenwood", 265 srcs: [ 266 "utils/**/*.java", 267 "utils/**/*.kt", 268 "utils-mockito/**/*.kt", 269 ], 270 libs: [ 271 "android.test.runner.stubs.system", 272 "junit", 273 "mockito-ravenwood-prebuilt", 274 ], 275} 276 277java_library { 278 name: "mockito-test-utils", 279 srcs: [ 280 "utils-mockito/**/*.kt", 281 ], 282 static_libs: [ 283 "mockito-target-minus-junit4", 284 ], 285} 286 287java_library { 288 name: "servicestests-utils-mockito-extended", 289 srcs: [ 290 "utils/**/*.java", 291 "utils/**/*.kt", 292 "utils-mockito/**/*.kt", 293 ], 294 static_libs: [ 295 "junit", 296 "mockito-target-extended-minus-junit4", 297 ], 298 libs: [ 299 "android.test.runner.stubs.system", 300 ], 301} 302 303filegroup { 304 name: "servicestests-SuspendTestApp-files", 305 srcs: [ 306 "src/com/android/server/pm/SuspendPackagesTest.java", 307 ], 308} 309 310// Rules to copy all the test apks to the intermediate raw resource directory 311java_genrule { 312 name: "FrameworksServicesTests_apks_as_resources", 313 srcs: [ 314 ":FrameworksServicesTests_install_split_base", 315 ":FrameworksServicesTests_install_split_feature_a", 316 ], 317 out: ["FrameworkServicesTests_apks_as_resources.res.zip"], 318 tools: ["soong_zip"], 319 320 cmd: "mkdir -p $(genDir)/res/raw && " + 321 "for i in $(in); do " + 322 " x=$${i##*FrameworksCoreTests_}; cp $$i $(genDir)/res/raw/$${x%.apk};" + 323 " x=$${i##*FrameworksServicesTests_}; cp $$i $(genDir)/res/raw/$${x%.apk};" + 324 "done && " + 325 "$(location soong_zip) -o $(out) -C $(genDir)/res -D $(genDir)/res", 326} 327 328// Used by content protection TEST_MAPPING 329test_module_config { 330 name: "FrameworksServicesTests_contentprotection", 331 base: "FrameworksServicesTests", 332 test_suites: [ 333 "device-tests", 334 "automotive-tests", 335 ], 336 337 include_filters: ["com.android.server.contentprotection"], 338} 339 340test_module_config { 341 name: "FrameworksServicesTests_om", 342 base: "FrameworksServicesTests", 343 test_suites: [ 344 "device-tests", 345 "automotive-tests", 346 ], 347 348 include_filters: ["com.android.server.om."], 349} 350 351test_module_config { 352 name: "FrameworksServicesTests_theme", 353 base: "FrameworksServicesTests", 354 test_suites: [ 355 "device-tests", 356 "automotive-tests", 357 ], 358 359 include_filters: ["com.android.server.theming."], 360} 361 362// Used by contexthub TEST_MAPPING 363test_module_config { 364 name: "FrameworksServicesTests_contexthub_presubmit", 365 base: "FrameworksServicesTests", 366 test_suites: [ 367 "device-tests", 368 "automotive-tests", 369 ], 370 371 include_filters: ["com.android.server.location.contexthub."], 372 // TODO(ron): are these right, does it run anything? 373 include_annotations: ["android.platform.test.annotations.Presubmit"], 374} 375 376test_module_config { 377 name: "FrameworksServicesTests_contexthub_postsubmit", 378 base: "FrameworksServicesTests", 379 test_suites: [ 380 "device-tests", 381 "automotive-tests", 382 ], 383 384 include_filters: ["com.android.server.location.contexthub."], 385 // TODO(ron): are these right, does it run anything? 386 include_annotations: ["android.platform.test.annotations.Postsubmit"], 387} 388 389// Used by contentcapture 390test_module_config { 391 name: "FrameworksServicesTests_contentcapture", 392 base: "FrameworksServicesTests", 393 test_suites: [ 394 "device-tests", 395 "automotive-tests", 396 ], 397 398 include_filters: ["com.android.server.contentcapture"], 399} 400 401test_module_config { 402 name: "FrameworksServicesTests_recoverysystem", 403 base: "FrameworksServicesTests", 404 test_suites: [ 405 "device-tests", 406 "automotive-tests", 407 ], 408 409 include_filters: ["com.android.server.recoverysystem."], 410} 411 412// server pm TEST_MAPPING 413test_module_config { 414 name: "FrameworksServicesTests_pm_presubmit", 415 base: "FrameworksServicesTests", 416 test_suites: [ 417 "device-tests", 418 "automotive-tests", 419 ], 420 421 include_annotations: ["android.platform.test.annotations.Presubmit"], 422 include_filters: ["com.android.server.pm."], 423} 424 425test_module_config { 426 name: "FrameworksServicesTests_pm_postsubmit", 427 base: "FrameworksServicesTests", 428 test_suites: [ 429 "device-tests", 430 "automotive-tests", 431 ], 432 433 include_annotations: ["android.platform.test.annotations.Postsubmit"], 434 include_filters: ["com.android.server.pm."], 435} 436 437// server os TEST_MAPPING 438test_module_config { 439 name: "FrameworksServicesTests_os", 440 base: "FrameworksServicesTests", 441 test_suites: [ 442 "device-tests", 443 "automotive-tests", 444 ], 445 446 include_filters: ["com.android.server.os."], 447} 448 449test_module_config { 450 name: "FrameworksServicesTests_presubmit", 451 base: "FrameworksServicesTests", 452 test_suites: [ 453 "device-tests", 454 "automotive-tests", 455 ], 456 457 include_annotations: ["android.platform.test.annotations.Presubmit"], 458} 459 460test_module_config { 461 name: "FrameworksServicesTests_com_android_server_job_Presubmit", 462 base: "FrameworksServicesTests", 463 test_suites: [ 464 "device-tests", 465 "automotive-tests", 466 ], 467 468 include_filters: ["com.android.server.job"], 469 exclude_annotations: [ 470 "androidx.test.filters.LargeTest", 471 "androidx.test.filters.FlakyTest", 472 ], 473} 474 475test_module_config { 476 name: "FrameworksServicesTests_com_android_server_job", 477 base: "FrameworksServicesTests", 478 test_suites: [ 479 "device-tests", 480 "automotive-tests", 481 ], 482 483 include_filters: ["com.android.server.job"], 484} 485 486test_module_config { 487 name: "FrameworksServicesTests_com_android_server_tare", 488 base: "FrameworksServicesTests", 489 test_suites: [ 490 "device-tests", 491 "automotive-tests", 492 ], 493 494 include_filters: ["com.android.server.tare"], 495} 496 497test_module_config { 498 name: "FrameworksServicesTests_com_android_server_usage", 499 base: "FrameworksServicesTests", 500 test_suites: [ 501 "device-tests", 502 "automotive-tests", 503 ], 504 505 include_filters: ["com.android.server.usage"], 506} 507 508test_module_config { 509 name: "FrameworksServicesTests_battery_stats", 510 base: "FrameworksServicesTests", 511 test_suites: [ 512 "device-tests", 513 "automotive-tests", 514 ], 515 516 include_filters: ["com.android.server.am.BatteryStatsServiceTest"], 517} 518 519test_module_config { 520 name: "FrameworksServicesTests_accessibility", 521 base: "FrameworksServicesTests", 522 test_suites: [ 523 "device-tests", 524 "automotive-tests", 525 ], 526 527 include_filters: ["com.android.server.accessibility"], 528} 529 530test_module_config { 531 name: "FrameworksServicesTests_binary_transparency", 532 base: "FrameworksServicesTests", 533 test_suites: [ 534 "device-tests", 535 "automotive-tests", 536 ], 537 538 include_filters: ["com.android.server.BinaryTransparencyServiceTest"], 539} 540 541test_module_config { 542 name: "FrameworksServicesTests_pinner_service", 543 base: "FrameworksServicesTests", 544 test_suites: [ 545 "device-tests", 546 "automotive-tests", 547 ], 548 549 include_filters: ["com.android.server.PinnerServiceTest"], 550 exclude_annotations: ["org.junit.Ignore"], 551} 552 553test_module_config { 554 name: "FrameworksServicesTests_android_server_am_Presubmit", 555 base: "FrameworksServicesTests", 556 test_suites: [ 557 "device-tests", 558 "automotive-tests", 559 ], 560 561 include_filters: ["com.android.server.am."], 562 include_annotations: ["android.platform.test.annotations.Presubmit"], 563} 564 565test_module_config { 566 name: "FrameworksServicesTests_android_server_am", 567 base: "FrameworksServicesTests", 568 test_suites: [ 569 "device-tests", 570 "automotive-tests", 571 ], 572 573 include_filters: ["com.android.server.am."], 574} 575 576test_module_config { 577 name: "FrameworksServicesTests_android_server_appop", 578 base: "FrameworksServicesTests", 579 test_suites: [ 580 "device-tests", 581 "automotive-tests", 582 ], 583 584 include_filters: ["com.android.server.appop"], 585} 586 587test_module_config { 588 name: "FrameworksServicesTests_android_server_audio", 589 base: "FrameworksServicesTests", 590 test_suites: [ 591 "device-tests", 592 "automotive-tests", 593 ], 594 595 include_filters: ["com.android.server.audio"], 596 include_annotations: ["android.platform.test.annotations.Presubmit"], 597} 598 599test_module_config { 600 name: "FrameworksServicesTests_android_server_compat", 601 base: "FrameworksServicesTests", 602 test_suites: [ 603 "device-tests", 604 "automotive-tests", 605 ], 606 607 include_filters: ["com.android.server.compat"], 608} 609 610test_module_config { 611 name: "FrameworksServicesTests_android_server_hdmi_Presubmit", 612 base: "FrameworksServicesTests", 613 test_suites: [ 614 "device-tests", 615 "automotive-tests", 616 ], 617 618 include_filters: ["com.android.server.hdmi"], 619 include_annotations: ["android.platform.test.annotations.Presubmit"], 620} 621 622test_module_config { 623 name: "FrameworksServicesTests_android_server_hdmi", 624 base: "FrameworksServicesTests", 625 test_suites: [ 626 "device-tests", 627 "automotive-tests", 628 ], 629 630 include_filters: ["com.android.server.hdmi"], 631} 632 633test_module_config { 634 name: "FrameworksServicesTests_android_server_integrity", 635 base: "FrameworksServicesTests", 636 test_suites: [ 637 "device-tests", 638 "automotive-tests", 639 ], 640 641 include_filters: ["com.android.server.integrity."], 642} 643 644test_module_config { 645 name: "FrameworksServicesTests_android_server_lights", 646 base: "FrameworksServicesTests", 647 test_suites: [ 648 "device-tests", 649 "automotive-tests", 650 ], 651 652 include_filters: ["com.android.server.lights"], 653} 654 655test_module_config { 656 name: "FrameworksServicesTests_android_server_locales", 657 base: "FrameworksServicesTests", 658 test_suites: [ 659 "device-tests", 660 "automotive-tests", 661 ], 662 663 include_filters: ["com.android.server.locales."], 664} 665 666test_module_config { 667 name: "FrameworksServicesTests_android_server_location_contexthub_Presubmit", 668 base: "FrameworksServicesTests", 669 test_suites: [ 670 "device-tests", 671 "automotive-tests", 672 ], 673 674 include_filters: ["com.android.server.location.contexthub."], 675 include_annotations: ["android.platform.test.annotations.Presubmit"], 676} 677 678test_module_config { 679 name: "FrameworksServicesTests_android_server_locksettings", 680 base: "FrameworksServicesTests", 681 test_suites: [ 682 "device-tests", 683 "automotive-tests", 684 ], 685 686 include_filters: ["com.android.server.locksettings."], 687} 688 689test_module_config { 690 name: "FrameworksServicesTests_android_server_logcat", 691 base: "FrameworksServicesTests", 692 test_suites: [ 693 "device-tests", 694 "automotive-tests", 695 ], 696 697 include_filters: ["com.android.server.logcat"], 698} 699 700test_module_config { 701 name: "FrameworksServicesTests_android_server_net_Presubmit", 702 base: "FrameworksServicesTests", 703 test_suites: [ 704 "device-tests", 705 "automotive-tests", 706 ], 707 708 include_filters: ["com.android.server.net."], 709 include_annotations: ["android.platform.test.annotations.Presubmit"], 710} 711 712test_module_config { 713 name: "FrameworksServicesTests_android_server_om", 714 base: "FrameworksServicesTests", 715 test_suites: [ 716 "device-tests", 717 "automotive-tests", 718 ], 719 720 include_filters: ["com.android.server.om."], 721} 722 723test_module_config { 724 name: "FrameworksServicesTests_android_server_pdb", 725 base: "FrameworksServicesTests", 726 test_suites: [ 727 "device-tests", 728 "automotive-tests", 729 ], 730 731 include_filters: ["com.android.server.pdb.PersistentDataBlockServiceTest"], 732} 733 734test_module_config { 735 name: "FrameworksServicesTests_android_server_pm_dex", 736 base: "FrameworksServicesTests", 737 test_suites: [ 738 "device-tests", 739 "automotive-tests", 740 ], 741 742 include_filters: ["com.android.server.pm.dex"], 743} 744 745test_module_config { 746 name: "FrameworksServicesTests_android_server_policy_Presubmit", 747 base: "FrameworksServicesTests", 748 test_suites: [ 749 "device-tests", 750 "automotive-tests", 751 ], 752 753 include_filters: ["com.android.server.policy."], 754 include_annotations: ["android.platform.test.annotations.Presubmit"], 755} 756 757test_module_config { 758 name: "FrameworksServicesTests_android_server_policy", 759 base: "FrameworksServicesTests", 760 test_suites: [ 761 "device-tests", 762 "automotive-tests", 763 ], 764 765 include_filters: ["com.android.server.policy."], 766} 767 768test_module_config { 769 name: "FrameworksServicesTests_android_server_power", 770 base: "FrameworksServicesTests", 771 test_suites: [ 772 "device-tests", 773 "automotive-tests", 774 ], 775 776 include_filters: ["com.android.server.power"], 777} 778 779test_module_config { 780 name: "FrameworksServicesTests_android_server_power_hint", 781 base: "FrameworksServicesTests", 782 test_suites: [ 783 "device-tests", 784 "automotive-tests", 785 ], 786 787 include_filters: ["com.android.server.power.hint"], 788} 789 790test_module_config { 791 name: "FrameworksServicesTests_android_server_powerstats", 792 base: "FrameworksServicesTests", 793 test_suites: [ 794 "device-tests", 795 "automotive-tests", 796 ], 797 798 include_filters: ["com.android.server.powerstats"], 799} 800 801test_module_config { 802 name: "FrameworksServicesTests_android_server_rollback", 803 base: "FrameworksServicesTests", 804 test_suites: [ 805 "device-tests", 806 "automotive-tests", 807 ], 808 809 include_filters: ["com.android.server.rollback"], 810} 811 812test_module_config { 813 name: "FrameworksServicesTests_android_server_uri", 814 base: "FrameworksServicesTests", 815 test_suites: [ 816 "device-tests", 817 "automotive-tests", 818 ], 819 820 include_filters: ["com.android.server.uri."], 821} 822 823test_module_config { 824 name: "FrameworksServicesTests_com_android_server_location_contexthub", 825 base: "FrameworksServicesTests", 826 test_suites: [ 827 "device-tests", 828 "automotive-tests", 829 ], 830 831 include_filters: ["com.android.server.location.contexthub."], 832 include_annotations: ["android.platform.test.annotations.Postsubmit"], 833} 834 835test_module_config { 836 name: "FrameworksServicesTests_android_server_usage", 837 base: "FrameworksServicesTests", 838 test_suites: [ 839 "device-tests", 840 "automotive-tests", 841 ], 842 843 include_filters: ["com.android.server.usage"], 844 exclude_filters: ["com.android.server.usage.StorageStatsServiceTest"], 845} 846 847test_module_config { 848 name: "FrameworksServicesTests_android_server_soundtrigger_middleware", 849 base: "FrameworksServicesTests", 850 test_suites: [ 851 "device-tests", 852 "automotive-tests", 853 ], 854 855 include_filters: ["com.android.server.soundtrigger_middleware"], 856} 857 858test_module_config { 859 name: "FrameworksServicesTests_android_server_input", 860 base: "FrameworksServicesTests", 861 test_suites: [ 862 "device-tests", 863 "automotive-tests", 864 ], 865 866 include_filters: ["com.android.server.input"], 867} 868 869test_module_config { 870 name: "FrameworksServicesTests_server_job", 871 base: "FrameworksServicesTests", 872 test_suites: [ 873 "automotive-tests", 874 "device-tests", 875 ], 876 include_filters: ["com.android.server.job"], 877} 878 879test_module_config { 880 name: "FrameworksServicesTests_server_tare", 881 base: "FrameworksServicesTests", 882 test_suites: [ 883 "automotive-tests", 884 "device-tests", 885 ], 886 include_filters: ["com.android.server.tare"], 887} 888 889test_module_config { 890 name: "FrameworksServicesTests_server_usage", 891 base: "FrameworksServicesTests", 892 test_suites: [ 893 "automotive-tests", 894 "device-tests", 895 ], 896 include_filters: ["com.android.server.usage"], 897} 898 899test_module_config { 900 name: "FrameworksServicesTests_server_om", 901 base: "FrameworksServicesTests", 902 test_suites: [ 903 "automotive-tests", 904 "device-tests", 905 ], 906 include_filters: ["com.android.server.om"], 907} 908 909test_module_config { 910 name: "FrameworksServicesTests_server_binarytransparencyservicetest", 911 base: "FrameworksServicesTests", 912 test_suites: [ 913 "automotive-tests", 914 "device-tests", 915 ], 916 include_filters: ["com.android.server.BinaryTransparencyServiceTest"], 917} 918 919test_module_config { 920 name: "FrameworksServicesTests_server_pinnerservicetest", 921 base: "FrameworksServicesTests", 922 test_suites: [ 923 "automotive-tests", 924 "device-tests", 925 ], 926 include_filters: ["com.android.server.PinnerServiceTest"], 927} 928 929test_module_config { 930 name: "FrameworksServicesTests_server_am", 931 base: "FrameworksServicesTests", 932 test_suites: [ 933 "automotive-tests", 934 "device-tests", 935 ], 936 include_filters: ["com.android.server.am."], 937} 938 939test_module_config { 940 name: "FrameworksServicesTests_server_hdmi", 941 base: "FrameworksServicesTests", 942 test_suites: [ 943 "automotive-tests", 944 "device-tests", 945 ], 946 include_filters: ["com.android.server.hdmi"], 947} 948 949test_module_config { 950 name: "FrameworksServicesTests_server_logcat", 951 base: "FrameworksServicesTests", 952 test_suites: [ 953 "automotive-tests", 954 "device-tests", 955 ], 956 include_filters: ["com.android.server.logcat"], 957} 958 959test_module_config { 960 name: "FrameworksServicesTests_server_net_Presubmit", 961 base: "FrameworksServicesTests", 962 test_suites: [ 963 "automotive-tests", 964 "device-tests", 965 ], 966 include_filters: ["com.android.server.net."], 967 include_annotations: ["android.platform.test.annotations.Presubmit"], 968} 969 970test_module_config { 971 name: "FrameworksServicesTests_server_policy_Presubmit", 972 base: "FrameworksServicesTests", 973 test_suites: [ 974 "automotive-tests", 975 "device-tests", 976 ], 977 include_filters: ["com.android.server.policy."], 978 include_annotations: ["android.platform.test.annotations.Presubmit"], 979} 980 981test_module_config { 982 name: "FrameworksServicesTests_server_policy", 983 base: "FrameworksServicesTests", 984 test_suites: [ 985 "automotive-tests", 986 "device-tests", 987 ], 988 include_filters: ["com.android.server.policy."], 989} 990 991test_module_config { 992 name: "FrameworksServicesTests_server_power", 993 base: "FrameworksServicesTests", 994 test_suites: [ 995 "automotive-tests", 996 "device-tests", 997 ], 998 include_filters: ["com.android.server.power"], 999} 1000 1001test_module_config { 1002 name: "FrameworksServicesTests_power_hint", 1003 base: "FrameworksServicesTests", 1004 test_suites: [ 1005 "automotive-tests", 1006 "device-tests", 1007 ], 1008 include_filters: ["com.android.server.power.hint"], 1009} 1010 1011test_module_config { 1012 name: "FrameworksServicesTests_location_contexthub_Postsubmit", 1013 base: "FrameworksServicesTests", 1014 test_suites: [ 1015 "automotive-tests", 1016 "device-tests", 1017 ], 1018 include_filters: ["com.android.server.location.contexthub."], 1019 include_annotations: ["android.platform.test.annotations.Postsubmit"], 1020} 1021 1022test_module_config { 1023 name: "FrameworksServicesTests_server_input", 1024 base: "FrameworksServicesTests", 1025 test_suites: [ 1026 "automotive-tests", 1027 "device-tests", 1028 ], 1029 include_filters: ["com.android.server.input"], 1030} 1031 1032test_module_config { 1033 name: "FrameworksServicesTests_people_data", 1034 base: "FrameworksServicesTests", 1035 test_suites: [ 1036 "automotive-tests", 1037 "device-tests", 1038 ], 1039 include_filters: ["com.android.server.people.data"], 1040} 1041 1042test_module_config { 1043 name: "FrameworksServicesTests_Presubmit", 1044 base: "FrameworksServicesTests", 1045 test_suites: [ 1046 "automotive-tests", 1047 "device-tests", 1048 ], 1049 include_annotations: ["android.platform.test.annotations.Presubmit"], 1050} 1051