1package { 2 default_team: "trendy_team_powermanager_framework", 3 // See: http://go/android-license-faq 4 default_applicable_licenses: ["frameworks_base_license"], 5} 6 7android_test { 8 name: "PowerServiceTests", 9 10 srcs: [ 11 "src/**/*.java", 12 ], 13 14 static_libs: [ 15 "flag-junit", 16 "frameworks-base-testutils", 17 "platform-compat-test-rules", 18 "platform-test-annotations", 19 "services.core", 20 "servicestests-utils", 21 "testables", 22 "TestParameterInjector", 23 ], 24 25 libs: [ 26 "android.test.mock", 27 ], 28 29 defaults: [ 30 "modules-utils-testable-device-config-defaults", 31 ], 32 33 platform_apis: true, 34 test_suites: [ 35 "device-tests", 36 "automotive-tests", 37 ], 38 39 certificate: "platform", 40 41 dxflags: ["--multi-dex"], 42 43 optimize: { 44 enabled: false, 45 }, 46} 47