OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getNetworkInfo
(Results
1 - 25
of
73
) sorted by null
1
2
3
/cts/tests/tests/net/src/android/net/cts/
MultinetworkApiTest.java
77
"getaddrinfo on " + mCM.
getNetworkInfo
(network), -errno);
94
"setprocnetwork on " + mCM.
getNetworkInfo
(network), -errno);
113
"setprocnetwork on " + mCM.
getNetworkInfo
(network), -errno);
129
"setsocknetwork on " + mCM.
getNetworkInfo
(network), -errno);
139
"DatagramCheck on " + mCM.
getNetworkInfo
(network), -errno);
146
assertNull(mCM.
getNetworkInfo
(eNoNet));
ConnectivityManagerTest.java
165
NetworkInfo ni = mCm.
getNetworkInfo
(network);
176
NetworkInfo ni = mCm.
getNetworkInfo
(type);
186
assertNull("Info should be null for " + type, mCm.
getNetworkInfo
(type));
596
networkInfo = mCm.
getNetworkInfo
(network);
599
// Network; that is, by the time we call ConnectivityManager.
getNetworkInfo
(),
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
WifiHelper.java
32
return true; // ConnectivityManager.
getNetworkInfo
() added in LOLLIPOP, skip this check
36
NetworkInfo wifiNetworkInfo = cm.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
/cts/tests/tests/permission/src/android/permission/cts/
ConnectivityManagerPermissionTest.java
42
* Verify that calling {@link ConnectivityManager#
getNetworkInfo
(int))}
50
mConnectivityManager.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
51
fail("Was able to call
getNetworkInfo
");
NoNetworkStatePermissionTest.java
58
* Verify that ConnectivityManager#
getNetworkInfo
() requires permissions.
65
mConnectivityManager.
getNetworkInfo
(TEST_NETWORK_TYPE);
66
fail("ConnectivityManager.
getNetworkInfo
didn't throw SecurityException as"
/cts/tests/tests/telephony/src/android/telephony/cts/
SubscriptionManagerTest.java
56
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
65
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
PhoneStateListenerTest.java
69
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
84
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
121
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
158
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
206
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
244
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
283
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
320
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
357
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
395
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null)
[
all
...]
CellLocationTest.java
58
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
TelephonyManagerTest.java
68
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
241
} else if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_BLUETOOTH) != null) {
245
assertTrue(mCm.
getNetworkInfo
(ConnectivityManager.TYPE_ETHERNET) != null);
CellInfoTest.java
64
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
SystemFacade.java
36
public NetworkInfo
getNetworkInfo
(Network network, int uid, boolean ignoreBlocked);
RealSystemFacade.java
58
public NetworkInfo
getNetworkInfo
(Network network, int uid, boolean ignoreBlocked) {
/packages/apps/Settings/src/com/android/settings/wifi/
WifiDialogActivity.java
75
if (accessPoint.
getNetworkInfo
() != null &&
76
accessPoint.
getNetworkInfo
().getState() != NetworkInfo.State.DISCONNECTED) {
113
NetworkInfo networkInfo = accessPoint.
getNetworkInfo
();
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
ConnectivityManagerLegacyTest.java
95
NetworkInfo ni = mCm.
getNetworkInfo
(networks[i]);
195
NetworkInfo ni = mCm.
getNetworkInfo
(TYPE_MOBILE);
207
ni = mCm.
getNetworkInfo
(TYPE_WIFI);
249
NetworkInfo ni = mCm.
getNetworkInfo
(TYPE_WIFI);
275
return mCm.
getNetworkInfo
(networkType) != null;
280
NetworkInfo ni = mCm.
getNetworkInfo
(type);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowConnectivityManager.java
39
public NetworkInfo
getNetworkInfo
(int networkType) {
/external/autotest/client/cros/networking/chrome_testing/network_test_ext/
background.js
111
Networking.prototype.
getNetworkInfo
= function(networkId) {
112
if (!this._setupFunctionCall("
getNetworkInfo
"))
116
self._setResult("
getNetworkInfo
", networkInfo);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DataConnectionTest.java
260
private NetworkInfo
getNetworkInfo
() throws Exception {
284
assertTrue(
getNetworkInfo
().isMetered());
300
assertFalse(
getNetworkInfo
().isMetered());
/frameworks/ex/common/java/com/android/common/
NetworkConnectivityListener.java
190
public NetworkInfo
getNetworkInfo
() {
/frameworks/support/compat/java/android/support/v4/net/
ConnectivityManagerCompat.java
183
return cm.
getNetworkInfo
(info.getType());
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
ConnectivityConstraintTest.java
203
if (mCm.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE) == null) {
317
return mExpectedState == mCm.
getNetworkInfo
(mNetworkType).getState();
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
NetworkMonitorAutoDetect.java
136
return getNetworkState(connectivityManager.
getNetworkInfo
(network));
185
final NetworkInfo networkInfo = connectivityManager.
getNetworkInfo
(network);
/packages/apps/Messaging/src/android/support/v7/mms/
MmsNetworkManager.java
197
final NetworkInfo mmsNetworkInfo = mConnectivityManager.
getNetworkInfo
(
217
mConnectivityManager.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE_MMS);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
ConnectionUtil.java
439
" is: " + mCM.
getNetworkInfo
(networkType).getState());
440
if (mCM.
getNetworkInfo
(networkType).getState() != expectedState) {
445
mCM.
getNetworkInfo
(networkType));
518
NetworkInfo networkInfo = mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
527
NetworkInfo networkInfo = mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ConnectivityManagerTest.java
50
NetworkInfo actual = connectivityManager.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeSystemFacade.java
87
public NetworkInfo
getNetworkInfo
(Network network, int uid, boolean ignoreBlocked) {
Completed in 1764 milliseconds
1
2
3