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
30
) sorted by null
1
2
/frameworks/base/core/java/android/net/
NetworkStateTracker.java
89
public NetworkInfo
getNetworkInfo
();
IConnectivityManager.aidl
43
NetworkInfo
getNetworkInfo
(int networkType);
DummyDataStateTracker.java
78
public NetworkInfo
getNetworkInfo
() {
ConnectivityManager.java
380
public NetworkInfo
getNetworkInfo
(int networkType) {
382
return mService.
getNetworkInfo
(networkType);
EthernetDataTracker.java
323
public synchronized NetworkInfo
getNetworkInfo
() {
MobileDataStateTracker.java
160
public NetworkInfo
getNetworkInfo
() {
/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
74
* Verify that ConnectivityManager#
getNetworkInfo
() requires permissions.
81
mConnectivityManager.
getNetworkInfo
(TEST_NETWORK_TYPE);
82
fail("ConnectivityManager.
getNetworkInfo
didn't throw SecurityException as"
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
ConnectivityManagerMobileTest.java
137
NetworkInfo networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
140
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
171
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
175
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
243
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
248
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
292
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
298
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
333
NetworkInfo networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
338
networkInfo = cmActivity.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI)
[
all
...]
/cts/tests/tests/net/src/android/net/cts/
ConnectivityManagerTest.java
71
method = "
getNetworkInfo
",
76
NetworkInfo ni = mCm.
getNetworkInfo
(TYPE_WIFI);
85
ni = mCm.
getNetworkInfo
(TYPE_MOBILE);
94
ni = mCm.
getNetworkInfo
(-1);
151
NetworkInfo ni = mCm.
getNetworkInfo
(TYPE_MOBILE);
/frameworks/base/services/java/com/android/server/
ConnectivityService.java
689
if (mNetTrackers[mNetworkPreference].
getNetworkInfo
().isConnected())
697
mNetTrackers[t].
getNetworkInfo
().isConnected()) {
699
log("tearing down " + mNetTrackers[t].
getNetworkInfo
() +
744
NetworkInfo info = tracker.
getNetworkInfo
();
764
return
getNetworkInfo
(mActiveDefaultNetwork, uid);
770
return
getNetworkInfo
(mActiveDefaultNetwork, uid);
774
public NetworkInfo
getNetworkInfo
(int networkType) {
777
return
getNetworkInfo
(networkType, uid);
780
private NetworkInfo
getNetworkInfo
(int networkType, int uid) {
[
all
...]
/frameworks/ex/common/java/com/android/common/
NetworkConnectivityListener.java
189
public NetworkInfo
getNetworkInfo
() {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
ConnectionUtil.java
432
" is: " + mCM.
getNetworkInfo
(networkType).getState());
433
if (mCM.
getNetworkInfo
(networkType).getState() != expectedState) {
438
mCM.
getNetworkInfo
(networkType));
500
NetworkInfo networkInfo = mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE);
509
NetworkInfo networkInfo = mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
/frameworks/base/core/java/android/bluetooth/
BluetoothTetheringDataTracker.java
212
public synchronized NetworkInfo
getNetworkInfo
() {
/frameworks/base/wifi/java/android/net/wifi/
WifiStateTracker.java
164
public NetworkInfo
getNetworkInfo
() {
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
WifiStressTest.java
283
mAct.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI).getState());
287
mAct.mCM.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE).getState());
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestActivity.java
370
" is: " + mCM.
getNetworkInfo
(networkType).getState());
371
if (mCM.
getNetworkInfo
(networkType).getState() != expectedState) {
376
mCM.
getNetworkInfo
(networkType));
/cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java
207
return mExpectedState == mConnectivityManager.
getNetworkInfo
(mNetworkType).getState();
/packages/apps/Mms/src/com/android/mms/transaction/
RetryScheduler.java
69
NetworkInfo ni = mConnMgr.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE_MMS);
TransactionService.java
299
NetworkInfo ni = mConnMgr.
getNetworkInfo
(ConnectivityManager.TYPE_MOBILE_MMS);
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java
418
NetworkInfo ni = cm.
getNetworkInfo
(ConnectivityManager.TYPE_WIMAX);
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java
226
NetworkInfo info = connManager.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
[
all
...]
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
DownloadManagerBaseTest.java
231
NetworkInfo info = connManager.
getNetworkInfo
(ConnectivityManager.TYPE_WIFI);
/packages/apps/Settings/src/com/android/settings/wifi/
WifiSettings.java
193
NetworkInfo info = connectivity.
getNetworkInfo
(
[
all
...]
/frameworks/base/services/java/com/android/server/connectivity/
Tethering.java
[
all
...]
Completed in 796 milliseconds
1
2