8 Commits

Author SHA1 Message Date
Sasha Smundak
89414e1ed5 Convert tests/**/Android.mk files to Android.bp, part II
See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865
2019-03-12 09:37:32 -07:00
Brett Chabot
502ec7ae4b Migrate remainder of frameworks/base to androidx.test
See go/jetpack-test-android-migration

Exempt-From-Owner-Approval: automated package name refactoring

Test: m  m -j BroadcastRadioTests KeystoreTests mediaframeworktest ActivityManagerPerfTests AppLaunch AppLaunchWear BackgroundDexOptServiceIntegrationTests AppCompatibilityTest DynamicCodeLoggerIntegrationTests FlickerLibTest InternalTests PackageWatchdogTest RcsTests RollbackTestAppAv1 RollbackTestAppAv2 RollbackTestAppACrashingV2 RollbackTestAppBv1 RollbackTestAppBv2 RollbackTestAppASplitV1 RollbackTestAppASplitV2 RollbackTest ServiceCrashTest UsageStatsPerfTests UsbTests WindowAnimationJank
Change-Id: I32fe3297656eec6060da6c7e24582bcd5315fb16
2019-03-02 00:35:17 +00:00
Kevin Neas
cb45b97a53 Protecting against trying to launch apps that don't exist
BUG: 74083361

Change-Id: Ia0750bcca2534e794a81f094d5c214af4011c0ce
Test: Locally
2018-03-13 16:41:41 +00:00
Anton Hansson
d137c872cd frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
2018-03-07 11:42:04 +00:00
Kevin Neas
2f72369ee9 Updating AppLaunchWear to correctly parse the launch message.
When we don't kill Home, we get an Warning message:
"Warning: Activity not started, its current task has ben brought to
the front"

This causes the current parser to think the app didn't launch, because
it's looking in the wrong line. Adding +1 to each line, in the cases
where we launch Home

Test: locally
Change-Id: Ie232a57921ed7cf82a6f17b607fbb47591bcdbed
2018-02-21 15:38:50 -08:00
Kevin Neas
e8520b4fc9 Updating AppLaunchWear with more logging and logic.
Agenda keeps failing. Need to more logging to know why
Contacts keeps getting killed. Again, need more logging

Test: local

Change-Id: I6930892d8a2eaa7ad410284fba9ed1c4980820f7
2018-02-21 12:34:43 -08:00
Kevin Neas
514fc73122 Updating AppLaunchWear to add more logging.
Test: local
Change-Id: Ib29afa44819c053789dd956d655395f205b89f64
2018-02-21 04:37:05 +00:00
Kevin Neas
aff528421f AppLaunch tests for Wear
Wear needs specific changes that the platform team is unable to support.
Most of this code is an exact copy of the AppLaunch file, with a specific
check to not kill the app is Wear Home.

Change-Id: I2332416d61676b52518d6988849271e0b0777009
2018-02-16 04:46:49 +00:00