HomeSort by relevance Sort by last modified time
    Searched defs:getActiveNetworkInfo (Results 1 - 24 of 24) sorted by null

  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
SystemFacade.java 33 public NetworkInfo getActiveNetworkInfo(int uid);
RealSystemFacade.java 41 public NetworkInfo getActiveNetworkInfo(int uid) {
71 NetworkInfo info = connectivity.getActiveNetworkInfo();
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowConnectivityManager.java 29 public NetworkInfo getActiveNetworkInfo() {
  /cts/tests/tests/permission/src/android/permission/cts/
NoNetworkStatePermissionTest.java 59 * Verify that ConnectivityManager#getActiveNetworkInfo() requires permissions.
66 mConnectivityManager.getActiveNetworkInfo();
67 fail("ConnectivityManager.getActiveNetworkInfo didn't throw SecurityException as"
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ConnectivityManagerTest.java 29 shadowOfActiveNetworkInfo = shadowOf(connectivityManager.getActiveNetworkInfo());
35 assertNotNull(connectivityManager.getActiveNetworkInfo());
42 assertTrue(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting());
43 assertTrue(connectivityManager.getActiveNetworkInfo().isConnected());
59 assertFalse(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting());
60 assertFalse(connectivityManager.getActiveNetworkInfo().isConnected());
82 assertNull(connectivityManager.getActiveNetworkInfo());
87 NetworkInfo info = connectivityManager.getActiveNetworkInfo();
100 assertSame(connectivityManager.getActiveNetworkInfo(), infos[0]);
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeSystemFacade.java 45 public NetworkInfo getActiveNetworkInfo(int uid) {
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestClient.java 148 NetworkInfo networkInfo = getActiveNetworkInfo();
152 private NetworkInfo getActiveNetworkInfo() {
158 return connectivity.getActiveNetworkInfo();
  /packages/apps/Browser/src/com/android/browser/search/
OpenSearchSearchEngine.java 199 NetworkInfo networkInfo = getActiveNetworkInfo(context);
203 private NetworkInfo getActiveNetworkInfo(Context context) {
209 return connectivity.getActiveNetworkInfo();
  /frameworks/base/core/java/android/net/
ConnectivityManager.java 94 * {@link #getActiveNetworkInfo()} or
187 * data is unavailable, {@link #getActiveNetworkInfo()} will now
560 public NetworkInfo getActiveNetworkInfo() {
562 return mService.getActiveNetworkInfo();
825 * {@link #getActiveNetworkInfo()} will now appear disconnected.
    [all...]
  /frameworks/base/services/java/com/android/server/
ConnectivityService.java     [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 722 milliseconds