/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 33 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 323 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 327 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 361 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 373 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 377 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 385 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 389 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 408 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in testRequestLastEntitlementCacheValue() 446 mEnMgr.fakeEntitlementResult = TETHER_ERROR_NO_ERROR; in verifyPermissionResult() [all …]
|
D | TetheringServiceTest.java | 26 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 266 listener.onResult(TETHER_ERROR_NO_ERROR); in runSetUsbTethering() 274 result.assertResult(TETHER_ERROR_NO_ERROR); in runSetUsbTethering() 387 result.assertResult(TETHER_ERROR_NO_ERROR); in runStopTethering() 535 result.assertResult(TETHER_ERROR_NO_ERROR); in runStopAllTethering() 571 result.assertResult(TETHER_ERROR_NO_ERROR); in runIsTetheringSupported()
|
D | TetheringTest.java | 50 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 2467 assertEquals(TETHER_ERROR_NO_ERROR, mTethering.getLastErrorForTest(TEST_P2P_IFNAME)); in workingWifiP2pGroupOwner() 2642 final ResultListener firstResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testMultipleStartTethering() 2643 final ResultListener secondResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testMultipleStartTethering() 2644 final ResultListener thirdResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testMultipleStartTethering() 3236 final ResultListener result = new ResultListener(TETHER_ERROR_NO_ERROR); in testBluetoothTethering() 3273 final ResultListener result = new ResultListener(TETHER_ERROR_NO_ERROR); in testBluetoothTetheringBeforeT() 3286 final ResultListener tetherResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testBluetoothTetheringBeforeT() 3296 final ResultListener secondResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testBluetoothTetheringBeforeT() 3306 final ResultListener untetherResult = new ResultListener(TETHER_ERROR_NO_ERROR); in testBluetoothTetheringBeforeT() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetricsTest.java | 39 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 171 updateErrorAndSendReport(type, TETHER_ERROR_NO_ERROR); in runDownstreamTypesTest() 209 runErrorCodesTest(TETHER_ERROR_NO_ERROR, ErrorCode.EC_NO_ERROR); in testErrorCodes() 237 updateErrorAndSendReport(TETHERING_WIFI, TETHER_ERROR_NO_ERROR); in runUserTypesTest() 263 updateErrorAndSendReport(TETHERING_WIFI, TETHER_ERROR_NO_ERROR); in runUpstreamTypesTest() 338 updateErrorAndSendReport(TETHERING_USB, TETHER_ERROR_NO_ERROR); in testUpstreamsWithMultipleDownstreams() 347 updateErrorAndSendReport(TETHERING_WIFI, TETHER_ERROR_NO_ERROR); in testUpstreamsWithMultipleDownstreams() 371 updateErrorAndSendReport(TETHERING_WIFI, TETHER_ERROR_NO_ERROR); in testSwitchingMultiUpstreams()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | EntitlementManager.java | 33 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 184 return mCurrentEntitlementResults.indexOfValue(TETHER_ERROR_NO_ERROR) > -1; in isCellularUpstreamPermitted() 612 case TETHER_ERROR_NO_ERROR: return "TETHER_ERROR_NO_ERROR"; in errorString() 666 if (resultCode == TETHER_ERROR_NO_ERROR) { in updateEntitlementCacheValue() 687 receiver.send(TETHER_ERROR_NO_ERROR, null); in requestLatestTetheringEntitlementResult() 696 if (cacheValue == TETHER_ERROR_NO_ERROR || !showEntitlementUi) { in requestLatestTetheringEntitlementResult()
|
D | TetheringService.java | 27 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 151 listener.onResult(TETHER_ERROR_NO_ERROR); in stopTethering() 194 listener.onResult(TETHER_ERROR_NO_ERROR); in stopAllTethering() 204 listener.onResult(TETHER_ERROR_NO_ERROR); in isTetheringSupported()
|
D | Tethering.java | 45 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 202 lastError = TETHER_ERROR_NO_ERROR; in TetherState() 705 int result = TETHER_ERROR_NO_ERROR; in enableTetheringInternal() 743 if (result != TETHER_ERROR_NO_ERROR) { in sendTetherResult() 760 return TETHER_ERROR_NO_ERROR; in setWifiTethering() 859 ? TETHER_ERROR_NO_ERROR : TETHER_ERROR_INTERNAL_ERROR; in setBluetoothTetheringSettings() 931 return TETHER_ERROR_NO_ERROR; in setEthernetTethering() 939 return TETHER_ERROR_NO_ERROR; in setEthernetTethering() 1006 return TETHER_ERROR_NO_ERROR; in tether() 1030 return TETHER_ERROR_NO_ERROR; in untether() [all …]
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 206 TETHER_ERROR_NO_ERROR, 216 TETHER_ERROR_NO_ERROR, 240 public static final int TETHER_ERROR_NO_ERROR = 0; field in TetheringManager 504 private volatile int mError = TETHER_ERROR_NO_ERROR; 939 if (resultCode == TETHER_ERROR_NO_ERROR) { 1372 if (newError != TETHER_ERROR_NO_ERROR 1525 if (mTetherStatesParcel == null) return TETHER_ERROR_NO_ERROR; 1533 return TETHER_ERROR_NO_ERROR; 1682 return ret == TETHER_ERROR_NO_ERROR;
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | TetherProvisioningActivity.java | 22 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 105 ? TETHER_ERROR_NO_ERROR : TETHER_ERROR_PROVISIONING_FAILED; in onActivityResult()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 30 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 323 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 354 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in handlesImmediateInterfaceDown() 377 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsBluetooth() 401 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTethering() 405 eq(TETHER_ERROR_NO_ERROR)); in canUnrequestTethering() 425 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTetheredAsUsb() 447 mIpServer, STATE_LOCAL_ONLY, TETHER_ERROR_NO_ERROR); in canBeTetheredAsWifiP2p() 575 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in canUnrequestTetheringWithUpstream() 596 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in interfaceDownLeadsToUnavailable() [all …]
|
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 30 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 281 if (ret == TETHER_ERROR_NO_ERROR) { in testRegisterTetheringEventCallback() 413 TETHERING_WIFI, false, c -> c.run(), listener), TETHER_ERROR_NO_ERROR); in testRequestLatestEntitlementResult()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/metrics/ |
D | TetheringMetrics.java | 39 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 308 case TETHER_ERROR_NO_ERROR: in errorCodeToEnum()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 28 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 314 int errorCode = result == RESULT_OK ? TETHER_ERROR_NO_ERROR : in fireCallbacksForType()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 26 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 346 mLastError = TETHER_ERROR_NO_ERROR; in IpServer() 1120 mLastError = TETHER_ERROR_NO_ERROR; in processMessage() 1165 if (mLastError != TETHER_ERROR_NO_ERROR) { in enter() 1521 mLastError = TETHER_ERROR_NO_ERROR; in enter()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsTetheringUtils.java | 24 import static android.net.TetheringManager.TETHER_ERROR_NO_ERROR; 87 OnTetheringStarted() { super(TETHER_ERROR_NO_ERROR); } in OnTetheringStarted()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 60 field public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 3416 public static final int TETHER_ERROR_NO_ERROR = 0; field in ConnectivityManager 3536 TETHER_ERROR_NO_ERROR,
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 74 field @Deprecated public static final int TETHER_ERROR_NO_ERROR = 0; // 0x0
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 144 Landroid/net/ConnectivityManager;->TETHER_ERROR_NO_ERROR:I
|