/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | NetworkUtilsTest.java | 44 when(connectivityManager.getNetworkCapabilities(network)).thenReturn(capabilities); in hasMobileNetwork_hasCellularCapabilities_returnsTrue() 57 when(connectivityManager.getNetworkCapabilities(network)).thenReturn(capabilities); in hasMobileNetwork_hasNoCellularCapabilities_returnsFalse()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | RealSystemFacade.java | 66 public NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities() method in RealSystemFacade 68 .getNetworkCapabilities(network); in getNetworkCapabilities()
|
D | SystemFacade.java | 41 public NetworkCapabilities getNetworkCapabilities(Network network); in getNetworkCapabilities() method
|
D | DownloadThread.java | 721 final NetworkCapabilities caps = mSystemFacade.getNetworkCapabilities(mNetwork); in checkConnectivity()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImpl.java | 162 mNetworkCapabilities = mConnectivityManager.getNetworkCapabilities(mNetwork); in WifiInfoProviderImpl() 227 public NetworkCapabilities getNetworkCapabilities() { in getNetworkCapabilities() method in WifiInfoProviderImpl
|
D | WifiInfoProvider.java | 96 NetworkCapabilities getNetworkCapabilities(); in getNetworkCapabilities() method
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderImplTest.java | 114 when(mMockConnectivityManager.getNetworkCapabilities(any(Network.class))) in setUp() 136 assertThat(mWifiInfoProviderImpl.getNetworkCapabilities()).isNotNull(); in onStart_allFieldsInitialized()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 256 doReturn(nonVpnCapabilities).when(sConnectivityManager).getNetworkCapabilities( in configNonVpnNetwork() 269 doReturn(underlyingCapabilities).when(sConnectivityManager).getNetworkCapabilities( in configVpnNetwork() 271 doReturn(vpnCapabilities).when(sConnectivityManager).getNetworkCapabilities(network2); in configVpnNetwork()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | RandomnessFactory.java | 41 NetworkCapabilities networkCapabilities = connectManager.getNetworkCapabilities(network); in RandomnessFactory()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkUtils.java | 39 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in hasMobileNetwork()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowConnectivityManager.java | 67 protected NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities() method in ShadowConnectivityManager
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 194 final NetworkCapabilities networkCapabilities = mCm.getNetworkCapabilities(mNetwork); in onCreate() 525 final NetworkCapabilities nc = mCm.getNetworkCapabilities(network); in hasVpnNetwork() 895 NetworkCapabilities nc = mCm.getNetworkCapabilities(mNetwork); in getHeaderTitle()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | ContextualWifiSlice.java | 86 final NetworkCapabilities nc = mConnectivityManager.getNetworkCapabilities( in hasInternetAccess()
|
D | WifiSlice.java | 297 final NetworkCapabilities nc = mConnectivityManager.getNetworkCapabilities( in isCaptivePortal()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 153 NetworkCapabilities nc = mConnectivityManager.getNetworkCapabilities(n); in getRequestForNetwork() 372 NetworkCapabilities nCaps = mConnectivityManager.getNetworkCapabilities(n); in getNetworkItem()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeSystemFacade.java | 107 public NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities() method in FakeSystemFacade
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionTestBase.java | 126 .getNetworkCapabilities(any(Network.class)); in setUp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 615 return Objects.nonNull(connectivityManager.getNetworkCapabilities(network)); in isMobileNetworkConnectedToInternet() 617 .map(connectivityManager::getNetworkCapabilities) in isMobileNetworkConnectedToInternet()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiNoInternetDialog.java | 113 final NetworkCapabilities nc = mCM.getNetworkCapabilities(mNetwork); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiNoInternetDialog.java | 114 final NetworkCapabilities nc = mCM.getNetworkCapabilities(mNetwork); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SubscriptionsPreferenceController.java | 230 final NetworkCapabilities networkCapabilities = mConnectivityManager.getNetworkCapabilities( in activeNetworkIsCellular()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 240 .getNetworkCapabilities(any()); in getWifiSlice_isCaptivePortal_shouldHaveCaptivePortalItems()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/ |
D | WifiSlice.java | 290 final NetworkCapabilities nc = mConnectivityManager.getNetworkCapabilities( in isCaptivePortal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SubscriptionsPreferenceControllerTest.java | 119 when(mConnectivityManager.getNetworkCapabilities(mActiveNetwork)).thenReturn(mCapabilities); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 959 when(mockConnectivityManager.getNetworkCapabilities(mockNetwork)) in onCapabilitiesChanged_callsRefreshIfNecessary() 1321 when(mockConnectivityManager.getNetworkCapabilities(mockNetwork)) in testSignInButton_shouldHideSignInButtonForDisconnectedNetwork()
|