Commit Graph

8507 Commits

Author SHA1 Message Date
JW Wang
c61a392817 Merge "Fix an NPE in WatchdogEventLogger#stop" into rvc-dev am: 1ad1f9938f am: c644584570 am: 380c73f752 am: d6688e71e8 am: 708996bd7f
Change-Id: Ibe28ab0cf598d6ef2601b65780e99ad178d5135c
2020-03-30 23:05:26 +00:00
TreeHugger Robot
037d8eda66 Merge "Disable PIP tests" 2020-03-30 18:19:10 +00:00
JW Wang
708996bd7f Merge "Fix an NPE in WatchdogEventLogger#stop" into rvc-dev am: 1ad1f9938f am: c644584570 am: 380c73f752 am: d6688e71e8
Change-Id: Id180ed4e2bc2aa9a3be048778c4514db47d438ba
2020-03-30 18:13:56 +00:00
Nataniel Borges
5a288c9a68 Disable PIP tests
Pip is currently flaky. Disable them on the flicker tests until the
stabilize.

Test: atest FlickerTests
Change-Id: I762a998e99acf21e30140a8bb8950420f22df77e
2020-03-30 16:26:42 +02:00
TreeHugger Robot
24875c8b57 Merge "Enable test harness flag before the test" 2020-03-30 12:27:02 +00:00
Nataniel Borges
7ac1793496 Enable test harness flag before the test
The test harness must be enabled to alllow the test to interact with
TAPL (launcher), otherwise the test crashes with an "Error granting
runtime permission" exception.

Test: atest FlickerTests
Change-Id: I5fffa4e756fab7ab4abca8a4d301f3c01e1297ce
2020-03-30 13:13:23 +02:00
JW Wang
eab998a9af Add logs for debugging
See b/151890602#comment4.

If the assumption is true, we will see logs that the rollback for
testappA is exipred happens slightly after the call to #getAvailableRollbacks.

Also move assertions below so the test runs to the end and we have a
better picture for what happened during the test.

Bug: 151890602
Test: m
Change-Id: I85adb8c3c5598ef4ce11550b51f22d1ce3c282a6
2020-03-30 17:04:32 +08:00
JW Wang
1ad1f9938f Merge "Fix an NPE in WatchdogEventLogger#stop" into rvc-dev 2020-03-30 09:03:27 +00:00
Xiao Ma
7410a9c352 Merge "Add CTS tests for ApfCapabilities static APIs." into rvc-dev 2020-03-30 07:46:30 +00:00
Xiao Ma
2b6773f6e6 Add CTS tests for ApfCapabilities static APIs.
Add tests for getApfEtherTypeBlackList and getApfDrop8023Frames APIs.

Bug: 150640397
Test: atest CtsNetTestCasesLatestSdk:android.net.apf.ApfCapabilitiesTest
      on both of Q and R devices.

Change-Id: I11555934df4b27cbb6b7ddbb81022d8fb7c25e15
Merged-In: I11555934df4b27cbb6b7ddbb81022d8fb7c25e15
(cherry picked from commit 7d51a72487)
2020-03-30 05:41:02 +00:00
JW Wang
28310268d9 Fix an NPE in WatchdogEventLogger#stop
See b/152550404#comment15.

https://cs.corp.google.com/android/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/StagedRollbackTest.java?rcl=0b9230489ead3a2ad328d46a47194cfa9dffd25c&l=86
My theory is that somehow #setUp throws before calling mLogger.start()
and then mLogger.stop() runs into an NPE.

Let's add a null-check in the hope that the actual root cause will stand
out.

Bug: 152550404
Test: atest StagedRollbackTest
Change-Id: Ifd323e6a8707a2de19d03ecbe536feacdbb4e9c6
2020-03-30 10:19:36 +08:00
Hall Liu
cebb88aac4 Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev am: 952697b886 am: db8281ff75 am: dbfecb3dda am: e713f9beca
Change-Id: I642956615a06d6918aad1c4f729a22b4185086e5
2020-03-28 07:43:10 +00:00
Hall Liu
dbfecb3dda Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev am: 952697b886 am: db8281ff75
Change-Id: Idc2c2537f2fd175f1d3fbba62935b463917dc420
2020-03-28 07:10:24 +00:00
Hall Liu
952697b886 Merge changes from topic "phonestatelistener-limit-rvc-dev" into rvc-dev
* changes:
  Add gating, logging for PhoneStateListener's limit
  Institute limit on PhoneStateListener
2020-03-28 06:48:56 +00:00
TreeHugger Robot
8853671d58 Merge changes from topic "iorap-perfmaster-fix" into rvc-dev am: 5c0b30caab am: 5f08fe7d36 am: 9342766da2 am: 9d2ad1cf31
Change-Id: I26a294168333a22a4ab6f7428c070c34b2cc07cf
2020-03-28 03:08:32 +00:00
TreeHugger Robot
9342766da2 Merge changes from topic "iorap-perfmaster-fix" into rvc-dev am: 5c0b30caab am: 5f08fe7d36
Change-Id: I8c57a84cd36cef11b2db587b49b4bc60e067ebac
2020-03-28 02:35:52 +00:00
Hall Liu
ed6d6e69a8 Add gating, logging for PhoneStateListener's limit
Add gating via PlatformCompat and DeviceConfig and logging via
PlatformCompat to the limit instituted on per-process listeners

Fixes: 152074216
Test: atest CtsTelephonyHostCases
Change-Id: I4d6681d90705b68c3349f4124e434a29b50fd3a2
2020-03-27 19:21:51 -07:00
TreeHugger Robot
5c0b30caab Merge changes from topic "iorap-perfmaster-fix" into rvc-dev
* changes:
  iorap: Change AppLaunch to parse logcat waiting for the service to reset.
  iorap: Log a message when we reconnect to iorapd after binder death.
2020-03-28 02:05:38 +00:00
Automerger Merge Worker
39cff398a9 Merge changes from topic "am-bf6e2799d1e74eec9933cc934f005929" into rvc-qpr-dev-plus-aosp am: 0e1a2f47e4
Change-Id: I35dc84048c963f08ee164f84aa56061434632115
2020-03-27 23:39:24 +00:00
Chalard Jean
dba77adf61 Merge changes from topics "api-fix-networkagent", "networkprovider_api", "satisfiedby" into rvc-dev am: 996492f866 am: 638533bdd4
Change-Id: I55073e2f5f5bb9293fe2871d8cf82f70ff11ef02
2020-03-27 23:02:38 +00:00
Chalard Jean
996492f866 Merge changes from topics "api-fix-networkagent", "networkprovider_api", "satisfiedby" into rvc-dev
* changes:
  Rename satisfiedBy into canBeSatisfiedBy
  Address further API council comments.
  Update the NetworkProvider API for council comments
2020-03-27 22:50:42 +00:00
Nicholas Ambur
18e789c83a remove SoundTrigger public member variables am: 1e43767f10 am: f5bd2f0b5c am: 71a34a2072 am: cf40afdfa0
Change-Id: If14954ed779a4874b7abada226cdd0bd94d4aa84
2020-03-27 22:38:25 +00:00
Igor Murashkin
938c63035c iorap: Change AppLaunch to parse logcat waiting for the service to
reset.

No longer race with sleep against iorapd resetting, this time wait
definitively until system_server reconnects to iorapd.

Bug: 152322429
Test: manual
Change-Id: Ia9c1094bb32a59dd94412e8dd693e672290e1504
2020-03-27 14:33:36 -07:00
Nicholas Ambur
f5bd2f0b5c remove SoundTrigger public member variables am: 1e43767f10
Change-Id: I7c8e9ae9196b66447aaa8fed019aaf5261d409da
2020-03-27 21:19:14 +00:00
Nicholas Ambur
95ee3d7ad5 Merge "remove SoundTrigger public member variables" into rvc-dev 2020-03-27 20:54:22 +00:00
Cody Kesting
91af7c65f0 Merge "Clean up unit testing for ConnectivityDiagnostics." into rvc-dev 2020-03-27 19:09:00 +00:00
Cody Kesting
bb2144e4c9 Merge "Restrict VPN Diagnostics callbacks to underlying networks." into rvc-dev 2020-03-27 18:22:20 +00:00
Automerger Merge Worker
76db03757c Merge "Merge "Preserve failure history when calling startObservingHealth" into rvc-dev am: da41b0a238 am: 71a5cf163f" into rvc-d1-dev-plus-aosp am: ea7b14091a am: 78048609a9
Change-Id: I0c9e31ba60abd85557d23a79232fe39ef1d00f79
2020-03-27 16:52:35 +00:00
Gavin Corkery
71a5cf163f Merge "Preserve failure history when calling startObservingHealth" into rvc-dev am: da41b0a238
Change-Id: I5b894ddafcaaef5a14e7402a2f41cd48cdf26c70
2020-03-27 15:56:09 +00:00
Gavin Corkery
da41b0a238 Merge "Preserve failure history when calling startObservingHealth" into rvc-dev 2020-03-27 15:46:12 +00:00
Chalard Jean
2da4f9f9ae Rename satisfiedBy into canBeSatisfiedBy
Test: FrameworksNetTests NetworkStackTests
Bug: 152238712
Change-Id: I076876a6662bde143ef7d315ce3767acafff93c1
2020-03-27 23:46:30 +09:00
Andrii Kulian
6a62eaac3f Merge "Report bounds instead of size in WindowMetrics" into rvc-dev am: 363edf449a am: f8bb4fef74 am: 7e9a4c2f34 am: f68ab26611
Change-Id: I37268426928fa1da47ddb3ba68f080e1824dfedd
2020-03-27 01:46:40 +00:00
Andrii Kulian
5c13904c68 Merge "Report bounds instead of size in WindowMetrics" into rvc-dev am: 363edf449a
Change-Id: I80833bd0256a350662a90c2c4f73b9d1fee9273e
2020-03-27 01:16:24 +00:00
Andrii Kulian
7e9a4c2f34 Merge "Report bounds instead of size in WindowMetrics" into rvc-dev am: 363edf449a am: f8bb4fef74
Change-Id: I03b8e519c34c4c9318239540a20d6923672b2272
2020-03-27 01:15:53 +00:00
Andrii Kulian
363edf449a Merge "Report bounds instead of size in WindowMetrics" into rvc-dev 2020-03-27 01:08:37 +00:00
Automerger Merge Worker
f2033b73cc Merge "Merge "tests: AppLaunch - Add iorap compilation filters whitelist" into rvc-dev am: 459baa256d am: 2db7879a3c" into rvc-d1-dev-plus-aosp am: 2440e720d8 am: b2c8796fe9
Change-Id: Id26c5bf54a0b0485f6792ae081d4f2a207b0a535
2020-03-26 22:47:28 +00:00
Igor Murashkin
5cf8aab298 Merge "tests: AppLaunch - Add iorap compilation filters whitelist" into rvc-dev am: 459baa256d am: 2db7879a3c
Change-Id: Iadff5d894bcb4570128f0c85c734ad2a52f3af56
2020-03-26 22:11:00 +00:00
Igor Murashkin
333a1f4f26 Merge "tests: AppLaunch - Add iorap compilation filters whitelist" into rvc-dev am: 459baa256d
Change-Id: I80c90179ec24c6fb9433246cd4ca8cdae087d26d
2020-03-26 22:02:41 +00:00
Igor Murashkin
459baa256d Merge "tests: AppLaunch - Add iorap compilation filters whitelist" into rvc-dev 2020-03-26 21:48:35 +00:00
Nicholas Ambur
1e43767f10 remove SoundTrigger public member variables
Bug: 150127026
Test: boot and verify soundtrigger hotword is functional

Change-Id: I04061cdb3eba02aac0f08de96f957e2b74c70a12
2020-03-26 19:44:31 +00:00
Xiao Ma
3e35c13448 Merge "Add CTS tests for ApfCapabilities static APIs." am: 4b0840b693 am: d676ae7d44 am: 7d51a72487 am: d9ac933e91 am: c40befe046
Change-Id: Ic5c46af3fb73c93f0a6ffa048707cfafd28c36be
2020-03-26 02:23:04 +00:00
Xiao Ma
7d51a72487 Merge "Add CTS tests for ApfCapabilities static APIs." am: 4b0840b693 am: d676ae7d44
Change-Id: I11555934df4b27cbb6b7ddbb81022d8fb7c25e15
2020-03-26 01:36:53 +00:00
TreeHugger Robot
186f231242 Merge "Add CTS for BlobStoreManager.Session.openRead()." into rvc-dev am: 2089dc67c7 am: 3102f7102a am: 2f87660e1e am: 3d32715f1d
Change-Id: Ib45689a8373d72731058440d23c98f91ec5e041a
2020-03-26 01:36:37 +00:00
Xiao Ma
4b0840b693 Merge "Add CTS tests for ApfCapabilities static APIs." 2020-03-26 01:22:05 +00:00
TreeHugger Robot
3102f7102a Merge "Add CTS for BlobStoreManager.Session.openRead()." into rvc-dev am: 2089dc67c7
Change-Id: I2db4e524451a80ee0fc69c18baf5c7b94c0a3910
2020-03-26 00:40:05 +00:00
TreeHugger Robot
2089dc67c7 Merge "Add CTS for BlobStoreManager.Session.openRead()." into rvc-dev 2020-03-26 00:24:51 +00:00
TreeHugger Robot
c3d5bbdf67 Merge "tests: AppLaunch - increase sleep duration after resetting iorapd" into rvc-dev am: 8cb538c94c am: c07c1cd9de am: 72105ae901 am: 470d4920ae
Change-Id: Ib4fbc1aaf8821a0784b24cd8a706769bb6cdd343
2020-03-25 23:44:28 +00:00
TreeHugger Robot
72105ae901 Merge "tests: AppLaunch - increase sleep duration after resetting iorapd" into rvc-dev am: 8cb538c94c am: c07c1cd9de
Change-Id: I5048f4d748403dacb49a33407e10323bf5a9328c
2020-03-25 23:27:06 +00:00
TreeHugger Robot
f11185d6fa Merge "tests: AppLaunch - increase sleep duration after resetting iorapd" into rvc-dev am: 8cb538c94c
Change-Id: I88777acb0ff20eeb092ce18a6d363960b765d038
2020-03-25 23:20:39 +00:00
TreeHugger Robot
8cb538c94c Merge "tests: AppLaunch - increase sleep duration after resetting iorapd" into rvc-dev 2020-03-25 22:59:04 +00:00