OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NetworkChangeNotifier
(Results
1 - 6
of
6
) sorted by null
/external/chromium/net/base/
network_change_notifier.cc
23
NetworkChangeNotifier
* g_network_change_notifier = NULL;
25
class MockNetworkChangeNotifier : public
NetworkChangeNotifier
{
32
NetworkChangeNotifier
::~
NetworkChangeNotifier
() {
37
NetworkChangeNotifier
*
NetworkChangeNotifier
::Create() {
51
bool
NetworkChangeNotifier
::IsOffline() {
57
NetworkChangeNotifier
*
NetworkChangeNotifier
::CreateMock() {
61
void
NetworkChangeNotifier
::AddIPAddressObserver(IPAddressObserver* observer)
[
all
...]
network_change_notifier.h
15
//
NetworkChangeNotifier
monitors the system for network changes, and notifies
18
class NET_EXPORT
NetworkChangeNotifier
{
40
// See
NetworkChangeNotifier
::IsOffline() for important caveats about
51
virtual ~
NetworkChangeNotifier
();
53
// See the description of
NetworkChangeNotifier
::IsOffline().
58
// Creates the process-wide, platform-specific
NetworkChangeNotifier
. The
64
static
NetworkChangeNotifier
* Create();
77
static
NetworkChangeNotifier
* CreateMock();
105
NetworkChangeNotifier
();
119
DISALLOW_COPY_AND_ASSIGN(
NetworkChangeNotifier
);
[
all
...]
/external/chromium_org/net/base/
network_change_notifier.h
28
//
NetworkChangeNotifier
monitors the system for network changes, and notifies
33
class NET_EXPORT
NetworkChangeNotifier
{
64
// See
NetworkChangeNotifier
::GetConnectionType() for important caveats
128
virtual ~
NetworkChangeNotifier
();
130
// See the description of
NetworkChangeNotifier
::GetConnectionType().
135
// Replaces the default class factory instance of
NetworkChangeNotifier
class.
139
// Creates the process-wide, platform-specific
NetworkChangeNotifier
. The
145
static
NetworkChangeNotifier
* Create();
187
static
NetworkChangeNotifier
* CreateMock();
219
// Let the
NetworkChangeNotifier
know we received some data
[
all
...]
network_change_notifier.cc
32
NetworkChangeNotifier
* g_network_change_notifier = NULL;
37
class MockNetworkChangeNotifier : public
NetworkChangeNotifier
{
48
: public
NetworkChangeNotifier
::ConnectionTypeObserver,
49
public
NetworkChangeNotifier
::IPAddressObserver,
50
public
NetworkChangeNotifier
::DNSObserver,
51
public
NetworkChangeNotifier
::NetworkChangeObserver {
58
last_connection_type_(
NetworkChangeNotifier
::CONNECTION_UNKNOWN),
69
NetworkChangeNotifier
::AddConnectionTypeObserver(this);
70
NetworkChangeNotifier
::AddIPAddressObserver(this);
71
NetworkChangeNotifier
::AddDNSObserver(this)
[
all
...]
/external/chromium_org/net/android/java/src/org/chromium/net/
NetworkChangeNotifier.java
27
public class
NetworkChangeNotifier
{
51
private static
NetworkChangeNotifier
sInstance;
53
private
NetworkChangeNotifier
(Context context) {
63
public static
NetworkChangeNotifier
init(Context context) {
65
sInstance = new
NetworkChangeNotifier
(context);
75
sInstance = new
NetworkChangeNotifier
(context);
102
public static
NetworkChangeNotifier
getInstance() {
112
* @param shouldAutoDetect true if the
NetworkChangeNotifier
should listen for system changes in
147
* @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 68 milliseconds