commit | dcde1b009268b74f83c2a3bd4221149f1d9c6eb2 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Tue Apr 05 17:28:29 2022 -0700 |
committer | Sudheer Shanka <sudheersai@google.com> | Fri Apr 22 11:37:59 2022 -0700 |
tree | 0e46ac22f3ecef76f7af46bf8f2b80640808328c | |
parent | 7d30b56f06aef737f89cf3cde974699f77ea1976 [diff] |
Add tests to verify app has network access in onResume. We already have tests that verify this but these new tests launch the activity repeatedly a few times and verify the network access as there are multiple race conditions involving AMS, NPMS and the app that could result in an inconsistent network rules state. Bug: 226299593 Test: atest atest tests/cts/hostside/src/com/android/cts/net/HostsideConnOnActivityStartTest Change-Id: I6372820fd2b21ebd759a3c44c7280c6699726bde