/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 33 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 298 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 302 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 336 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 348 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 352 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 360 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 364 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 383 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 421 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in verifyPermissionResult() [all …]
|
D | TetheringServiceTest.java | 25 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 159 when(mTethering.tether(TEST_IFACE_NAME)).thenReturn(TETHER_ERROR_NO_ERROR); in runTether() 163 result.assertResult(TETHER_ERROR_NO_ERROR); in runTether() 189 when(mTethering.untether(TEST_IFACE_NAME)).thenReturn(TETHER_ERROR_NO_ERROR); in runUnTether() 194 result.assertResult(TETHER_ERROR_NO_ERROR); in runUnTether() 220 when(mTethering.setUsbTethering(true /* enable */)).thenReturn(TETHER_ERROR_NO_ERROR); in runSetUsbTethering() 225 result.assertResult(TETHER_ERROR_NO_ERROR); in runSetUsbTethering() 319 result.assertResult(TETHER_ERROR_NO_ERROR); in runStopTethering() 433 result.assertResult(TETHER_ERROR_NO_ERROR); in runStopAllTethering() 460 result.assertResult(TETHER_ERROR_NO_ERROR); in runIsTetheringSupported()
|
D | TetheringTest.java | 37 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 1517 assertEquals(TETHER_ERROR_NO_ERROR, mTethering.getLastTetherError(TEST_P2P_IFNAME)); in workingWifiP2pGroupOwner() 1692 final ResultListener firstResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testMultipleStartTethering() 1693 final ResultListener secondResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testMultipleStartTethering() 1694 final ResultListener thirdResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testMultipleStartTethering()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | EntitlementManager.java | 32 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 163 return mCurrentEntitlementResults.indexOfValue(TETHER_ERROR_NO_ERROR) > -1; in isCellularUpstreamPermitted() 561 case TETHER_ERROR_NO_ERROR: return "TETHER_ERROR_NO_ERROR"; in errorString() 614 if (resultCode == TETHER_ERROR_NO_ERROR) { in updateEntitlementCacheValue() 633 receiver.send(TETHER_ERROR_NO_ERROR, null); in requestLatestTetheringEntitlementResult() 639 if (cacheValue == TETHER_ERROR_NO_ERROR || !showEntitlementUi) { in requestLatestTetheringEntitlementResult()
|
D | TetheringService.java | 26 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 154 listener.onResult(TETHER_ERROR_NO_ERROR); in stopTethering() 197 listener.onResult(TETHER_ERROR_NO_ERROR); in stopAllTethering() 207 listener.onResult(TETHER_ERROR_NO_ERROR); in isTetheringSupported()
|
D | Tethering.java | 45 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 178 lastError = TETHER_ERROR_NO_ERROR; in TetherState() 588 int result = TETHER_ERROR_NO_ERROR; in enableTetheringInternal() 626 if (result != TETHER_ERROR_NO_ERROR) mActiveTetheringRequests.remove(type); in sendTetherResult() 641 return TETHER_ERROR_NO_ERROR; in setWifiTethering() 683 ? TETHER_ERROR_NO_ERROR in setBluetoothTethering() 698 return TETHER_ERROR_NO_ERROR; in setEthernetTethering() 707 return TETHER_ERROR_NO_ERROR; in setEthernetTethering() 778 return TETHER_ERROR_NO_ERROR; in tether() 795 return TETHER_ERROR_NO_ERROR; in untether() [all …]
|
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 184 TETHER_ERROR_NO_ERROR, 194 TETHER_ERROR_NO_ERROR, 218 public static final int TETHER_ERROR_NO_ERROR = 0; field in TetheringManager 427 private volatile int mError = TETHER_ERROR_NO_ERROR; 745 if (resultCode == TETHER_ERROR_NO_ERROR) { 1063 if (newError != TETHER_ERROR_NO_ERROR 1181 if (mTetherStatesParcel == null) return TETHER_ERROR_NO_ERROR; 1189 return TETHER_ERROR_NO_ERROR; 1338 return ret == TETHER_ERROR_NO_ERROR;
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 27 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 279 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 310 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in handlesImmediateInterfaceDown() 327 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTethered() 345 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering() 365 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb() 386 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in canBeTetheredAsWifiP2p() 465 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream() 486 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in interfaceDownLeadsToUnavailable() 598 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in testOnNewPrefixRequest()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 303 mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; in IpServer() 1057 mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; in processMessage() 1174 if (mLastError != TetheringManager.TETHER_ERROR_NO_ERROR) { in enter() 1210 if (mLastError != TetheringManager.TETHER_ERROR_NO_ERROR) { in enter() 1335 mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; in enter()
|
/frameworks/base/packages/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 49 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 2737 public static final int TETHER_ERROR_NO_ERROR = TetheringManager.TETHER_ERROR_NO_ERROR; field in ConnectivityManager 2859 TETHER_ERROR_NO_ERROR,
|
/frameworks/base/api/ |
D | test-current.txt | 1649 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
D | system-current.txt | 4356 field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0 4814 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4356 field @Deprecated public static final int TETHER_ERROR_NO_ERROR;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 42730 Landroid/net/ConnectivityManager;->TETHER_ERROR_NO_ERROR:I
|