/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MultinetworkApiTest.java | 106 "getaddrinfo on " + mCM.getNetworkInfo(network), -errno); in testGetaddrinfo() 125 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); in testSetprocnetwork() 144 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); in testSetprocnetwork() 162 "setsocknetwork on " + mCM.getNetworkInfo(network), -errno); in testSetsocknetwork() 173 "DatagramCheck on " + mCM.getNetworkInfo(network), -errno); in testNativeDatagramTransmission() 181 assertNull(mCM.getNetworkInfo(eNoNet)); in testNoSuchNetwork()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProvider.java | 209 public NetworkInfo getNetworkInfo() { in getNetworkInfo() method in WifiInfoProvider 263 mNetworkInfo = mConnectivityManager.getNetworkInfo(mNetwork); in updateInfo()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 197 final NetworkInfo mmsNetworkInfo = mConnectivityManager.getNetworkInfo( in getApnName() 217 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); in onMmsConnectivityChange()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 262 if (accessPoint.getNetworkInfo() != null && in onForget() 263 accessPoint.getNetworkInfo().getState() != NetworkInfo.State.DISCONNECTED) { in onForget() 320 NetworkInfo networkInfo = accessPoint.getNetworkInfo(); in onSubmit()
|
D | WifiNoInternetDialog.java | 113 final NetworkInfo ni = mCM.getNetworkInfo(mNetwork); in onCreate()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderTest.java | 108 when(mMockConnectivityManager.getNetworkInfo(any(Network.class))) in setUp() 131 assertThat(mWifiInfoProvider.getNetworkInfo()).isNotNull(); in onStart_allFieldsInitialized()
|
D | WifiDetailsActionButtonsPreferenceControllerTest.java | 89 when(mMockWifiInfoProvider.getNetworkInfo()).thenReturn(mMockNetworkInfo); in setUp()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoNetworkStatePermissionTest.java | 67 mConnectivityManager.getNetworkInfo(TEST_NETWORK_TYPE); in testGetNetworkInfo()
|
D | ConnectivityManagerPermissionTest.java | 64 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testGetNetworkInfo()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | JobPreconditions.java | 31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in isWifiConnected()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | WifiMonitor.java | 60 NetworkInfo info = connectivityManager.getNetworkInfo( in WifiMonitor()
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | MmsNetworkManagerTest.java | 89 doReturn(mNetworkInfo).when(mCm).getNetworkInfo(eq(mTestNetwork)); in setup() 91 doReturn(mNetworkInfo2).when(mCm).getNetworkInfo(eq(mTestNetwork2)); in setup()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
D | JobPreconditionsTest.java | 113 when(mConnectivityManager.getNetworkInfo(any(Network.class))).thenAnswer( in hookUpMocks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiNoInternetDialogTest.java | 267 when(mConnectivityManager.getNetworkInfo(any())) in setupNetworkComponents()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 65 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() method
|
D | ConnectivityManager.java | 1748 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() method in ConnectivityManager 1750 return mService.getNetworkInfo(networkType); in getNetworkInfo() 1769 public NetworkInfo getNetworkInfo(@Nullable Network network) { in getNetworkInfo() method in ConnectivityManager
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 529 final NetworkInfo mmsNetworkInfo = connectivityManager.getNetworkInfo(network); in getApnName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 290 when(mMockConnectivityManager.getNetworkInfo(any(Network.class))) in setUp() 464 verify(mMockConnectivityManager, never()).getNetworkInfo(any(Network.class)); in latestNetworkInfo_shouldNotBeFetchedInDisplayPreferenceForDisconnectedNetwork() 473 verify(mMockConnectivityManager, never()).getNetworkInfo(any(Network.class)); in latestNetworkInfo_shouldNotBeFetchedInDisplayPreferenceForNotInRangeNetwork() 1297 when(mMockConnectivityManager.getNetworkInfo(any(Network.class))).thenReturn(null); in networkDisconnectedState_shouldNotFinishActivityForConnectedNetwork()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 295 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | ConnectivityListener.java | 326 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/ |
D | PreviewActionsViewModel.kt | 383 val wifi = connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI) in <lambda>()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 636 networkInfo = this.mCm.getNetworkInfo(network); in onReceive()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | NetworkStatsIntegrationTest.kt | 154 fun shouldRunTests() = cm.getNetworkInfo(packetBridge.internalNetwork)!!.type == TYPE_TEST in <lambda>()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 367 NetworkInfo nInfo = mConnectivityManager.getNetworkInfo(n); in getNetworkItem()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
D | ImapHelper.java | 145 NetworkInfo info = connectivityManager.getNetworkInfo(network); in isRoaming()
|