/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 | 26 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() 188 when(mTethering.untether(TEST_IFACE_NAME)).thenReturn(TETHER_ERROR_NO_ERROR); in runUnTether() 192 result.assertResult(TETHER_ERROR_NO_ERROR); in runUnTether() 217 when(mTethering.setUsbTethering(true /* enable */)).thenReturn(TETHER_ERROR_NO_ERROR); in runSetUsbTethering() 221 result.assertResult(TETHER_ERROR_NO_ERROR); in runSetUsbTethering() 310 result.assertResult(TETHER_ERROR_NO_ERROR); in runStopTethering() 423 result.assertResult(TETHER_ERROR_NO_ERROR); in runStopAllTethering() 450 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/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 185 TETHER_ERROR_NO_ERROR, 195 TETHER_ERROR_NO_ERROR, 219 public static final int TETHER_ERROR_NO_ERROR = 0; field in TetheringManager 428 private volatile int mError = TETHER_ERROR_NO_ERROR; 738 if (resultCode == TETHER_ERROR_NO_ERROR) { 1054 if (newError != TETHER_ERROR_NO_ERROR 1172 if (mTetherStatesParcel == null) return TETHER_ERROR_NO_ERROR; 1180 return TETHER_ERROR_NO_ERROR; 1329 return ret == TETHER_ERROR_NO_ERROR;
|
/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; 149 listener.onResult(TETHER_ERROR_NO_ERROR); in stopTethering() 191 listener.onResult(TETHER_ERROR_NO_ERROR); in stopAllTethering() 200 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/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 27 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 273 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 304 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in handlesImmediateInterfaceDown() 321 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTethered() 339 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering() 359 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb() 380 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in canBeTetheredAsWifiP2p() 459 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream() 480 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in interfaceDownLeadsToUnavailable() 592 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in testOnNewPrefixRequest()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 300 mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; in IpServer() 1050 mLastError = TetheringManager.TETHER_ERROR_NO_ERROR; in processMessage() 1167 if (mLastError != TetheringManager.TETHER_ERROR_NO_ERROR) { in enter() 1203 if (mLastError != TetheringManager.TETHER_ERROR_NO_ERROR) { in enter() 1328 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
|
D | module-lib-current.txt | 72 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
/frameworks/base/api/ |
D | module-lib-current.txt | 72 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
D | test-current.txt | 2242 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
D | system-current.txt | 6032 field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0 6491 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 2698 public static final int TETHER_ERROR_NO_ERROR = TetheringManager.TETHER_ERROR_NO_ERROR; field in ConnectivityManager 2820 TETHER_ERROR_NO_ERROR,
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 5980 field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|