Add 5 seconds wait time in first setup() method run.

The first test, testCreateMddManagerSuccessfully, is flaky because it's the first test run in this test suite and it needs to have WIFI connection in order to download files via MDD. The WIFI connection has a few seconds delay when device boot up, which caused this test can't download files. Using WifiManager isn't working on low-performance devices. So I move WifiManager.isWifiEnabled() check and add a sleep 5 seconds only in when setup() runs at the first time.
MUST_SLEEP: Add latency to fix the boot-up WIFI connection delay on low-performance devices.

ABTD test: https://android-build.corp.google.com/test_investigate/?invocationId=I52700010142058766&testResultId=TR35428556326352392&redirect=http://fusion2/7a51c63f-bc94-48b3-975c-f270f66c6cea
Test: atest

Bug: 272399359
Change-Id: Id742924237f8ac6244aeae69dafa1fcf2cc9ab2a
3 files changed
tree: a296e6595ccfd88dba630a24996d80ade3f57e42
  1. adservices/
  2. apex/
  3. sdksandbox/
  4. groups
  5. OWNERS
  6. PREUPLOAD.cfg
  7. project.config