Home
last modified time | relevance | path

Searched refs:isTetheringSupported (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java149 when(mTethering.isTetheringSupported()).thenReturn(true); in runTetheringCall()
164 verify(mTethering).isTetheringSupported(); in runTether()
193 verify(mTethering).isTetheringSupported(); in runUnTether()
227 verify(mTethering).isTetheringSupported(); in runSetUsbTethering()
259 verify(mTethering).isTetheringSupported(); in runStartTethering()
321 verify(mTethering).isTetheringSupported(); in runStopTethering()
352 verify(mTethering).isTetheringSupported(); in runRequestLatestTetheringEntitlementResult()
435 verify(mTethering).isTetheringSupported(); in runStopAllTethering()
462 mTetheringConnector.isTetheringSupported(TEST_CALLER_PKG, TEST_ATTRIBUTION_TAG, result); in runIsTetheringSupported()
463 verify(mTethering).isTetheringSupported(); in runIsTetheringSupported()
[all …]
DTetheringTest.java444 public boolean isTetheringSupported() { in isTetheringSupported() method in TetheringTest.MockTetheringDependencies
2436 assertTrue(mTethering.isTetheringSupported()); in testProvisioningNeededButUnavailable()
2440 assertTrue(mTethering.isTetheringSupported()); in testProvisioningNeededButUnavailable()
2447 assertFalse(mTethering.isTetheringSupported()); in testProvisioningNeededButUnavailable()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java197 public void isTetheringSupported(String callerPkg, String callingAttributionTag, in isTetheringSupported() method in TetheringService.TetheringConnector
227 if (!mTethering.isTetheringSupported()) { in checkAndNotifyCommonError()
245 if (!mTethering.isTetheringSupported()) { in checkAndNotifyCommonError()
DTetheringDependencies.java96 public boolean isTetheringSupported() { in isTetheringSupported() method in TetheringDependencies
DTethering.java912 if (!isTetheringSupported()) return; in sendTetherStateChangedBroadcast()
2200 parcel.tetheringSupported = isTetheringSupported(); in registerTetheringEventCallback()
2326 boolean isTetheringSupported() { in isTetheringSupported() method in Tethering
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dmodule-lib-current.txt21 method public boolean isTetheringSupported();
22 method public boolean isTetheringSupported(@NonNull String);
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java1482 public boolean isTetheringSupported() {
1485 return isTetheringSupported(callerPkg);
1502 public boolean isTetheringSupported(@NonNull final String callerPkg) {
1507 connector.isTetheringSupported(callerPkg, getAttributionTag(), listener);
DITetheringConnector.aidl47 void isTetheringSupported(String callerPkg, String callingAttributionTag, in isTetheringSupported() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowConnectivityManager.java47 protected boolean isTetheringSupported() { in isTetheringSupported() method in ShadowConnectivityManager
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java78 mTetheringSupported = tm.isTetheringSupported(); in UsbBackend()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java163 when(mConnectivityManager.isTetheringSupported()).thenReturn(true); in setupIsTetherAvailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DAllInOneTetherSettingsTest.java217 when(mConnectivityManager.isTetheringSupported()).thenReturn(true); in setupIsTetherAvailable()
DTetherSettingsTest.java363 when(mConnectivityManager.isTetheringSupported()).thenReturn(true); in setupIsTetherAvailable()
/packages/apps/Settings/src/com/android/settings/shortcut/
DCreateShortcutPreferenceController.java182 if (!mConnectivityManager.isTetheringSupported()) { in queryShortcuts()
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
DTetheringManagerTest.java363 assumeTrue(mTM.isTetheringSupported()); in testRequestLatestEntitlementResult()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java127 mRunTests = mTm.isTetheringSupported() && mEm != null; in setUp()
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java2607 public boolean isTetheringSupported() { in isTetheringSupported() method in ConnectivityManager
2608 return getTetheringManager().isTetheringSupported(); in isTetheringSupported()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt53 …HER_PRIVILEGED, android.Manifest.permission.WRITE_SETTINGS}) public boolean isTetheringSupported();
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt208 Landroid/net/IConnectivityManager$Stub$Proxy;->isTetheringSupported(Ljava/lang/String;)Z
350 Landroid/net/IConnectivityManager;->isTetheringSupported(Ljava/lang/String;)Z