android_packages_modules_Co.../tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 3556c3d7b1 Ensure requestTetheredInterface() is processed before proceeding
requestTetheredInterface() only returns a callback if an interface for
tethering is available. The previous code timed out after 500ms which
was not enough for some devices. Instead of increasing the timeout, this
change calls setEthernetEnabled() which triggers a callback as soon as
it was processed on the handler thread. Since this event is guaranteed
to be processed after requestTetheredInterface(), the subsequent
expectOnAvailable() does not have to wait at all.

Test: TH
Flag: EXEMPT test
Bug: 418151132
Change-Id: Iff119a8e425d4071bf63fe92815061c7eb36848a
2025-05-21 14:12:31 -07:00
..
benchmark [DON'T BLOCK] Test ownership migration rules 2024-01-31 14:10:00 +00:00
common Remove RecorderCallback. 2025-05-19 16:35:53 +09:00
cts Ensure requestTetheredInterface() is processed before proceeding 2025-05-21 14:12:31 -07:00
deflake Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
integration Remove RecorderCallback. 2025-05-19 16:35:53 +09:00
native Remove unused libprocessgroup dependency 2025-01-17 11:20:39 -08:00
smoketest [DON'T BLOCK] Test ownership migration rules 2024-01-31 14:10:00 +00:00
unit Revert^2 "Check whether CarrierConfigManager is null" 2025-05-21 07:24:00 +00:00