a6b3b70278fbb9eb76a154d77088e1e51fea1fc6
Test legacy tether/untether API behavior. tether() rely on downstream setup ready for tethering. Currently the only user is bluetooth tethering. For other tetherings, there is no guaranteed that calling tether() can always switch given interface to tethered. Tethering may callback with onError depend on the interface status. Caller should use startTethering/stopTethering API instead of these legacy APIs. This change also change the precondition verification of startTethering. If tethering interface got error last time, such interface would not be reported as tetherable. Bug: 150632712 Test: atest CtsTetheringTest Change-Id: Ifb3a0618208ffd0ff224c60f377036bc22ba0565 Merged-In: Ifb3a0618208ffd0ff224c60f377036bc22ba0565
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%