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

  /external/chromium_org/net/base/
network_change_notifier.cc 39 NetworkChangeNotifier* g_network_change_notifier = NULL;
44 class MockNetworkChangeNotifier : public NetworkChangeNotifier {
55 : public NetworkChangeNotifier::ConnectionTypeObserver,
56 public NetworkChangeNotifier::IPAddressObserver,
57 public NetworkChangeNotifier::DNSObserver,
58 public NetworkChangeNotifier::NetworkChangeObserver {
65 last_connection_type_(NetworkChangeNotifier::CONNECTION_UNKNOWN),
78 NetworkChangeNotifier::AddConnectionTypeObserver(this);
79 NetworkChangeNotifier::AddIPAddressObserver(this);
80 NetworkChangeNotifier::AddDNSObserver(this)
    [all...]
network_change_notifier.h 28 // NetworkChangeNotifier monitors the system for network changes, and notifies
33 class NET_EXPORT NetworkChangeNotifier {
67 // See NetworkChangeNotifier::GetConnectionType() for important caveats
131 virtual ~NetworkChangeNotifier();
133 // See the description of NetworkChangeNotifier::GetConnectionType().
138 // Replaces the default class factory instance of NetworkChangeNotifier class.
142 // Creates the process-wide, platform-specific NetworkChangeNotifier. The
148 static NetworkChangeNotifier* Create();
190 static NetworkChangeNotifier* CreateMock();
222 // Let the NetworkChangeNotifier know we received some data
    [all...]
  /external/chromium_org/net/android/java/src/org/chromium/net/
NetworkChangeNotifier.java 27 public class NetworkChangeNotifier {
52 private static NetworkChangeNotifier sInstance;
54 private NetworkChangeNotifier(Context context) {
64 public static NetworkChangeNotifier init(Context context) {
66 sInstance = new NetworkChangeNotifier(context);
76 sInstance = new NetworkChangeNotifier(context);
103 public static NetworkChangeNotifier getInstance() {
113 * @param shouldAutoDetect true if the NetworkChangeNotifier should listen for system changes in
148 * @param networkAvailable True if the NetworkChangeNotifier should perceive a "connected"
  /external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
AccountManagerHelper.java 24 import org.chromium.net.NetworkChangeNotifier;
186 private class ConnectionRetry implements NetworkChangeNotifier.ConnectionTypeObserver {
206 NetworkChangeNotifier.removeConnectionTypeObserver(this);
209 if (NetworkChangeNotifier.isOnline()) {
210 NetworkChangeNotifier.removeConnectionTypeObserver(this);
289 !NetworkChangeNotifier.isInitialized()) {
296 NetworkChangeNotifier.addConnectionTypeObserver(newRetry);
298 NetworkChangeNotifier.addConnectionTypeObserver(retry);

Completed in 279 milliseconds