Home
last modified time | relevance | path

Searched refs:ApplicationStatusListener (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/android/
Dapplication_status_listener.cc20 ObserverListThreadSafe<ApplicationStatusListener> > {
21 static ObserverListThreadSafe<ApplicationStatusListener>*
23 ObserverListThreadSafe<ApplicationStatusListener>* ret = in New()
25 ApplicationStatusListener>>::New(instance); in New()
32 LazyInstance<ObserverListThreadSafe<ApplicationStatusListener>,
38 ApplicationStatusListener::ApplicationStatusListener( in ApplicationStatusListener() function in base::android::ApplicationStatusListener
39 const ApplicationStatusListener::ApplicationStateChangeCallback& callback) in ApplicationStatusListener()
48 ApplicationStatusListener::~ApplicationStatusListener() { in ~ApplicationStatusListener()
52 void ApplicationStatusListener::Notify(ApplicationState state) { in Notify()
57 void ApplicationStatusListener::NotifyApplicationStateChange( in NotifyApplicationStateChange()
[all …]
Dapplication_status_listener_unittest.cc62 ApplicationStatusListener::NotifyApplicationStateChange( in Run()
68 ApplicationStatusListener::NotifyApplicationStateChange( in Run()
81 listener_.reset(new ApplicationStatusListener(base::Bind( in RegisterThreadForEvents()
97 std::unique_ptr<ApplicationStatusListener> listener_;
109 ApplicationStatusListener listener( in TEST()
114 ApplicationStatusListener::NotifyApplicationStateChange( in TEST()
119 ApplicationStatusListener::NotifyApplicationStateChange( in TEST()
Dapplication_status_listener.h63 class BASE_EXPORT ApplicationStatusListener {
67 explicit ApplicationStatusListener(
69 ~ApplicationStatusListener();
82 DISALLOW_COPY_AND_ASSIGN(ApplicationStatusListener);
/external/cronet/base/android/
Dapplication_status_listener.cc45 class ApplicationStatusListenerImpl : public ApplicationStatusListener {
77 ApplicationStatusListener::ApplicationStatusListener() = default;
78 ApplicationStatusListener::~ApplicationStatusListener() = default;
81 std::unique_ptr<ApplicationStatusListener> ApplicationStatusListener::New( in New()
87 void ApplicationStatusListener::NotifyApplicationStateChange( in NotifyApplicationStateChange()
109 ApplicationState ApplicationStatusListener::GetState() { in GetState()
118 ApplicationStatusListener::NotifyApplicationStateChange(application_state); in JNI_ApplicationStatus_OnApplicationStateChange()
122 bool ApplicationStatusListener::HasVisibleActivities() { in HasVisibleActivities()
Dapplication_status_listener.h60 class BASE_EXPORT ApplicationStatusListener {
65 ApplicationStatusListener(const ApplicationStatusListener&) = delete;
66 ApplicationStatusListener& operator=(const ApplicationStatusListener&) =
69 virtual ~ApplicationStatusListener();
78 static std::unique_ptr<ApplicationStatusListener> New(
91 ApplicationStatusListener();
Dapplication_status_listener_unittest.cc59 ApplicationStatusListener::NotifyApplicationStateChange( in Run()
65 ApplicationStatusListener::NotifyApplicationStateChange( in Run()
78 listener_ = ApplicationStatusListener::New(base::BindRepeating( in RegisterThreadForEvents()
94 std::unique_ptr<ApplicationStatusListener> listener_;
106 auto listener = ApplicationStatusListener::New( in TEST()
111 ApplicationStatusListener::NotifyApplicationStateChange( in TEST()
116 ApplicationStatusListener::NotifyApplicationStateChange( in TEST()
/external/cronet/net/disk_cache/simple/
Dsimple_index.h226 base::android::ApplicationStatusListener* app_status_listener) { in set_app_status_listener()
261 std::unique_ptr<base::android::ApplicationStatusListener>
263 raw_ptr<base::android::ApplicationStatusListener> app_status_listener_ =
Dsimple_backend_impl.h145 base::android::ApplicationStatusListener* app_status_listener) { in set_app_status_listener()
289 raw_ptr<base::android::ApplicationStatusListener> app_status_listener_ =
Dsimple_index.cc211 base::android::ApplicationStatusListener::New(base::BindRepeating( in Initialize()
/external/cronet/net/http/
Dhttp_cache.h45 class ApplicationStatusListener; variable
83 base::android::ApplicationStatusListener* app_status_listener) {} in SetAppStatusListener()
113 base::android::ApplicationStatusListener* app_status_listener) override;
125 raw_ptr<base::android::ApplicationStatusListener, DanglingUntriaged>
Dhttp_cache.cc123 base::android::ApplicationStatusListener* app_status_listener) { in SetAppStatusListener()
/external/cronet/net/disk_cache/
Ddisk_cache.cc47 base::android::ApplicationStatusListener* app_status_listener,
84 raw_ptr<base::android::ApplicationStatusListener> app_status_listener_;
101 base::android::ApplicationStatusListener* app_status_listener, in CacheCreator()
318 base::android::ApplicationStatusListener* app_status_listener, in CreateCacheBackendImpl()
384 base::android::ApplicationStatusListener* app_status_listener) { in CreateCacheBackend()
Ddisk_cache.h34 class ApplicationStatusListener; variable
124 base::android::ApplicationStatusListener* app_status_listener);
/external/cronet/net/url_request/
Durl_request_context_builder.h49 class ApplicationStatusListener; variable
132 raw_ptr<base::android::ApplicationStatusListener> app_status_listener =