/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoNetworkStatePermissionTest.java | 29 private ConnectivityManager mConnectivityManager; field in NoNetworkStatePermissionTest 36 mConnectivityManager = (ConnectivityManager) mContext.getSystemService( in setUp() 38 assertNotNull(mConnectivityManager); in setUp() 49 mConnectivityManager.getActiveNetworkInfo(); in testGetActiveNetworkInfo() 65 mConnectivityManager.getNetworkInfo(TEST_NETWORK_TYPE); in testGetNetworkInfo() 81 mConnectivityManager.getAllNetworkInfo(); in testGetAllNetworkInfo()
|
D | ConnectivityManagerPermissionTest.java | 30 private ConnectivityManager mConnectivityManager = null; field in ConnectivityManagerPermissionTest 35 …mConnectivityManager = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVIC… in setUp() 36 assertNotNull(mConnectivityManager); in setUp() 50 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testGetNetworkInfo()
|
/cts/tests/netlegacy22.permission/src/android/net/cts/legacy/api22/permission/ |
D | NoNetworkStatePermissionTest.java | 29 private ConnectivityManager mConnectivityManager; field in NoNetworkStatePermissionTest 36 mConnectivityManager = (ConnectivityManager) mContext.getSystemService( in setUp() 38 assertNotNull(mConnectivityManager); in setUp() 49 mConnectivityManager.startUsingNetworkFeature(TEST_NETWORK_TYPE, TEST_FEATURE); in testStartUsingNetworkFeature() 65 mConnectivityManager.requestRouteToHost(TEST_NETWORK_TYPE, 0xffffffff); in testRequestRouteToHost()
|
D | ConnectivityManagerPermissionTest.java | 30 private ConnectivityManager mConnectivityManager = null; field in ConnectivityManagerPermissionTest 35 …mConnectivityManager = (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVIC… in setUp() 36 assertNotNull(mConnectivityManager); in setUp() 48 mConnectivityManager.requestRouteToHost(ConnectivityManager.TYPE_MOBILE, 1); in testRequestRouteToHost()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ConnectionStatus.java | 39 private ConnectivityManager mConnectivityManager; field in ConnectionStatus 42 mConnectivityManager = in ConnectionStatus() 47 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in getNotConnectedReason() 56 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in isAvailable() 61 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in isConnected()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkWatchlistTest.java | 61 private ConnectivityManager mConnectivityManager; field in NetworkWatchlistTest 67 mConnectivityManager = in setUp() 74 byte[] result = mConnectivityManager.getNetworkWatchlistConfigHash(); in setUp() 106 byte[] result = mConnectivityManager.getNetworkWatchlistConfigHash(); in testGetWatchlistConfigHash()
|
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/ |
D | ReflectorVpnService.java | 54 private ConnectivityManager mConnectivityManager = null; field in ReflectorVpnService 83 mConnectivityManager = getSystemService(ConnectivityManager.class); in onCreate() 96 if (null == mConnectivityManager || null == mNetworkCallback) return; in ensureNetworkCallbackUnregistered() 97 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in ensureNetworkCallbackUnregistered() 133 mConnectivityManager.registerNetworkCallback(request, mNetworkCallback); in start()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | MultiNetworkConnectivityTestActivity.java | 193 private ConnectivityManager mConnectivityManager; field in MultiNetworkConnectivityTestActivity 201 mConnectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); in onCreate() 328 Network[] allNetworks = mConnectivityManager.getAllNetworks(); in isMobileDataEnabled() 330 if (isNetworkCellularAndHasInternet(mConnectivityManager, network)) { in isMobileDataEnabled() 529 mConnectivityManager.unregisterNetworkCallback(mWifiNetworkCallback); in reset() 533 mConnectivityManager.unregisterNetworkCallback(mCellularNetworkCallback); in reset() 555 mConnectivityManager.requestNetwork(networkRequest, mWifiNetworkCallback, in legacyConnectToWifiNetwork() 573 mConnectivityManager.requestNetwork(networkRequest, mWifiNetworkCallback, in connectToWifiNetworkWithNoInternet() 584 mConnectivityManager.requestNetwork(networkRequest, mCellularNetworkCallback, in connectToCellularNetwork() 686 Network activeNetwork = mConnectivityManager.getActiveNetwork(); in isExpectedTransportForActiveNetwork() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/ |
D | NetworkRequestTestCase.java | 72 private ConnectivityManager mConnectivityManager; field in NetworkRequestTestCase 148 mConnectivityManager.requestNetwork(mNetworkRequest, mNetworkCallback, in executeTest() 203 mConnectivityManager = ConnectivityManager.from(mContext); in setUp() 209 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in tearDown()
|
D | NetworkSuggestionTestCase.java | 63 private ConnectivityManager mConnectivityManager; field in NetworkSuggestionTestCase 136 mConnectivityManager.registerNetworkCallback(mNetworkRequest, mNetworkCallback); in executeTest() 235 mConnectivityManager = ConnectivityManager.from(mContext); in setUp()
|
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 78 private ConnectivityManager mConnectivityManager; field in SingleDeviceTest 374 mConnectivityManager = (ConnectivityManager) getContext().getSystemService( in setUp() 376 assertNotNull("Connectivity Manager", mConnectivityManager); in setUp() 735 mConnectivityManager.requestNetwork(nr, networkCb); in testDataPathOpenOutOfBandFail() 768 mConnectivityManager.requestNetwork(nr, networkCb); in testDataPathPassphraseOutOfBandFail()
|