Files
frameworks_base/core/tests/utiltests/Android.bp
Lucas Silva 7856a35e20 Update DreamService -> DreamOverlayService connection to handle crashes
This change implements PersistentServiceConnection and
ObservableServiceConnection helper classes in framework for better
handling of crashes.

Fixes: 247103878
Test: manually by crashing systemui using adb while dreaming and
verifying that the overlay is visible
Test: atest com.android.internal.util.PersistentServiceConnectionTest
Test: atest com.android.internal.util.ObservableServiceConnectionTest

Change-Id: Ib9a7e8675e408c1724567335a3c186fe5c9f5f59
2022-10-12 03:25:28 +00:00

53 lines
1.3 KiB
Plaintext

//########################################################################
// Build FrameworksUtilTests package
//########################################################################
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
android_test {
name: "FrameworksUtilTests",
// We only want this apk build for tests.
// Include all test java files.
srcs: [
"src/**/*.java",
"src/android/util/IRemoteMemoryIntArray.aidl",
],
jni_libs: [
"libmemoryintarraytest",
"libcutils",
"libc++",
],
static_libs: [
"androidx.test.rules",
"frameworks-base-testutils",
"mockito-target-minus-junit4",
"androidx.test.ext.junit",
"truth-prebuilt",
"servicestests-utils",
],
libs: [
"android.test.runner",
"android.test.base",
"android.test.mock",
],
platform_apis: true,
certificate: "platform",
test_suites: ["device-tests"],
}