OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:netInfo
(Results
1 - 3
of
3
) sorted by null
/cts/tests/tests/net/src/android/net/cts/
NetworkInfoTest.java
40
for (NetworkInfo
netInfo
: ni) {
41
switch (
netInfo
.getType()) {
43
assertNetworkInfo(
netInfo
, MOBILE_TYPE_NAME);
46
assertNetworkInfo(
netInfo
, WIFI_TYPE_NAME);
55
private void assertNetworkInfo(NetworkInfo
netInfo
, String expectedTypeName) {
56
assertEquals(expectedTypeName.compareToIgnoreCase(
netInfo
.getTypeName()), 0);
57
if(
netInfo
.isConnectedOrConnecting()) {
58
assertTrue(
netInfo
.isAvailable());
59
if (State.CONNECTED ==
netInfo
.getState()) {
60
assertTrue(
netInfo
.isConnected())
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
ConnectToWifiFragment.java
239
NetworkInfo
netInfo
= connMan.getActiveNetworkInfo();
240
if (
netInfo
== null) {
245
if (DEBUG) Log.d(TAG, "NetworkInfo: " +
netInfo
.toString());
246
if (
netInfo
.isConnected() &&
netInfo
.getType() == ConnectivityManager.TYPE_WIFI) {
/external/chromium_org/third_party/android_platform/webview/
frameworks.jar
Completed in 164 milliseconds