Home
last modified time | relevance | path

Searched refs:TETHER_ERROR_NO_ERROR (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java23 import static android.net.ConnectivityManager.TETHER_ERROR_NO_ERROR;
250 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testGetLastEntitlementCacheValue()
254 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testGetLastEntitlementCacheValue()
293 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testGetLastEntitlementCacheValue()
307 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testGetLastEntitlementCacheValue()
311 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testGetLastEntitlementCacheValue()
321 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testGetLastEntitlementCacheValue()
325 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testGetLastEntitlementCacheValue()
365 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in verifyPermissionResult()
393 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in verifyPermissionIfAnyApproved()
[all …]
/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java23 import static android.net.ConnectivityManager.TETHER_ERROR_NO_ERROR;
176 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable()
207 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in handlesImmediateInterfaceDown()
220 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTethered()
235 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering()
251 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb()
333 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream()
353 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in interfaceDownLeadsToUnavailable()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DEntitlementManager.java27 import static android.net.ConnectivityManager.TETHER_ERROR_NO_ERROR;
444 || mCellularPermitted.indexOfValue(TETHER_ERROR_NO_ERROR) > -1); in evaluateCellularPermission()
587 case TETHER_ERROR_NO_ERROR: return "TETHER_ERROR_NO_ERROR"; in errorString()
640 if (resultCode == TETHER_ERROR_NO_ERROR) { in updateEntitlementCacheValue()
662 receiver.send(TETHER_ERROR_NO_ERROR, null); in handleGetLatestTetheringEntitlementValue()
668 if (cacheValue == TETHER_ERROR_NO_ERROR || !showEntitlementUi) { in handleGetLatestTetheringEntitlementValue()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java34 import static android.net.ConnectivityManager.TETHER_ERROR_NO_ERROR;
153 lastError = TETHER_ERROR_NO_ERROR; in TetherState()
436 return TETHER_ERROR_NO_ERROR; in setWifiTethering()
465 ? TETHER_ERROR_NO_ERROR in setBluetoothTethering()
497 return TETHER_ERROR_NO_ERROR; in tether()
514 return TETHER_ERROR_NO_ERROR; in untether()
555 if (tetherState.lastError != TETHER_ERROR_NO_ERROR) { in sendTetherStateChangedBroadcast()
923 if (result != TETHER_ERROR_NO_ERROR) { in changeInterfaceState()
971 return TETHER_ERROR_NO_ERROR; in setUsbTethering()
1012 if (tetherState.lastError != TETHER_ERROR_NO_ERROR) { in getErroredIfaces()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java230 mLastError = ConnectivityManager.TETHER_ERROR_NO_ERROR; in IpServer()
699 mLastError = ConnectivityManager.TETHER_ERROR_NO_ERROR; in processMessage()
806 if (mLastError != ConnectivityManager.TETHER_ERROR_NO_ERROR) { in enter()
842 if (mLastError != ConnectivityManager.TETHER_ERROR_NO_ERROR) { in enter()
968 mLastError = ConnectivityManager.TETHER_ERROR_NO_ERROR; in enter()
/frameworks/base/core/java/android/net/
DConnectivityManager.java2555 if (resultCode == TETHER_ERROR_NO_ERROR) { in startTethering()
2773 public static final int TETHER_ERROR_NO_ERROR = 0; field in ConnectivityManager
2826 TETHER_ERROR_NO_ERROR,
/frameworks/base/api/
Dsystem-current.txt4025 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0