Home
last modified time | relevance | path

Searched refs:notifier (Results 1 – 25 of 247) sorted by relevance

12345678910

/external/chromium_org/jingle/
DBUILD.gn27 # GYP version: jingle/jingle.gyp:notifier
28 static_library("notifier") {
30 "notifier/base/const_communicator.h",
31 "notifier/base/gaia_constants.cc",
32 "notifier/base/gaia_constants.h",
33 "notifier/base/gaia_token_pre_xmpp_auth.cc",
34 "notifier/base/gaia_token_pre_xmpp_auth.h",
35 "notifier/base/notification_method.h",
36 "notifier/base/notification_method.cc",
37 "notifier/base/notifier_options.cc",
[all …]
Djingle.gyp38 # GN version: //jingle:notifier
40 'target_name': 'notifier',
43 'notifier/base/const_communicator.h',
44 'notifier/base/gaia_constants.cc',
45 'notifier/base/gaia_constants.h',
46 'notifier/base/gaia_token_pre_xmpp_auth.cc',
47 'notifier/base/gaia_token_pre_xmpp_auth.h',
48 'notifier/base/notification_method.h',
49 'notifier/base/notification_method.cc',
50 'notifier/base/notifier_options.cc',
[all …]
/external/chromium_org/base/prefs/
Dpref_notifier_impl_unittest.cc100 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
101 EXPECT_CALL(notifier, FireObservers(kChangedPref)).Times(1); in TEST_F()
102 notifier.OnPreferenceChanged(kChangedPref); in TEST_F()
106 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
108 notifier.AddInitObserver( in TEST_F()
112 notifier.OnInitializationCompleted(true); in TEST_F()
119 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
120 notifier.AddPrefObserver(pref_name, &obs1_); in TEST_F()
121 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); in TEST_F()
122 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); in TEST_F()
[all …]
/external/chromium_org/cc/base/
Ddelayed_unique_notifier_unittest.cc60 TestNotifier notifier( in TEST_F() local
71 notifier.SetNow(schedule_time); in TEST_F()
72 notifier.Schedule(); in TEST_F()
83 notifier.Schedule(); in TEST_F()
95 TestNotifier notifier( in TEST_F() local
106 notifier.SetNow(schedule_time); in TEST_F()
107 notifier.Schedule(); in TEST_F()
123 base::TimeTicks scheduled_run_time = notifier.Now() + delay; in TEST_F()
125 base::TimeTicks() + (scheduled_run_time - notifier.Now()); in TEST_F()
129 notifier.SetNow(notifier.Now() + base::TimeDelta::FromInternalValue(19)); in TEST_F()
[all …]
Dunique_notifier_unittest.cc34 UniqueNotifier notifier( in TEST_F() local
41 notifier.Schedule(); in TEST_F()
48 notifier.Schedule(); in TEST_F()
53 notifier.Schedule(); in TEST_F()
/external/qemu/util/
Dnotify.c24 void notifier_list_add(NotifierList *list, Notifier *notifier) in notifier_list_add() argument
26 QLIST_INSERT_HEAD(&list->notifiers, notifier, node); in notifier_list_add()
29 void notifier_remove(Notifier *notifier) in notifier_remove() argument
31 QLIST_REMOVE(notifier, node); in notifier_remove()
36 Notifier *notifier, *next; in notifier_list_notify() local
38 QLIST_FOREACH_SAFE(notifier, &list->notifiers, node, next) { in notifier_list_notify()
39 notifier->notify(notifier, data); in notifier_list_notify()
49 NotifierWithReturn *notifier) in notifier_with_return_list_add() argument
51 QLIST_INSERT_HEAD(&list->notifiers, notifier, node); in notifier_with_return_list_add()
54 void notifier_with_return_remove(NotifierWithReturn *notifier) in notifier_with_return_remove() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
DGeolocation.cpp145 …GeoNotifier* notifier = GeoNotifier::create(this, successCallback, errorCallback, PositionOptions:… in getCurrentPosition() local
146 startRequest(notifier); in getCurrentPosition()
148 m_oneShots.add(notifier); in getCurrentPosition()
156 …GeoNotifier* notifier = GeoNotifier::create(this, successCallback, errorCallback, PositionOptions:… in watchPosition() local
157 startRequest(notifier); in watchPosition()
163 } while (!m_watchers.add(watchID, notifier)); in watchPosition()
167 void Geolocation::startRequest(GeoNotifier *notifier) in startRequest() argument
172notifier->setFatalError(PositionError::create(PositionError::PERMISSION_DENIED, permissionDeniedEr… in startRequest()
173 else if (haveSuitableCachedPosition(notifier->options())) in startRequest()
174 notifier->setUseCachedPosition(); in startRequest()
[all …]
DGeolocationWatchers.cpp18 bool GeolocationWatchers::add(int id, GeoNotifier* notifier) in add() argument
21 if (!m_idToNotifierMap.add(id, notifier).isNewEntry) in add()
23 m_notifierToIdMap.set(notifier, id); in add()
46 void GeolocationWatchers::remove(GeoNotifier* notifier) in remove() argument
48 NotifierToIdMap::iterator iter = m_notifierToIdMap.find(notifier); in remove()
55 bool GeolocationWatchers::contains(GeoNotifier* notifier) const in contains()
57 return m_notifierToIdMap.contains(notifier); in contains()
/external/chromium_org/chrome/common/extensions/api/
Dnotification_provider.idl14 // whether notifications from this notifier is permitted or blocked.
16 // User has elected to show notifications from the notifier.
20 // User has elected not to show notifications from the notifier.
33 // Id of the notifier.
36 // Type of the notifier.
39 // Name of the notifier.
42 // Icon of the notifier.
45 // Permission level of the notifier.
48 // If a notifier has advanced settings.
62 callback GetNotifierCallback = void (Notifier notifier);
[all …]
/external/chromium_org/components/invalidation/
Dnotifier_reason_util.cc12 notifier::NotificationsDisabledReason reason) { in FromNotifierReason()
14 case notifier::NO_NOTIFICATION_ERROR: in FromNotifierReason()
16 case notifier::TRANSIENT_NOTIFICATION_ERROR: in FromNotifierReason()
18 case notifier::NOTIFICATION_CREDENTIALS_REJECTED: in FromNotifierReason()
26 notifier::NotificationsDisabledReason ToNotifierReasonForTest( in ToNotifierReasonForTest()
30 return notifier::TRANSIENT_NOTIFICATION_ERROR; in ToNotifierReasonForTest()
32 return notifier::NOTIFICATION_CREDENTIALS_REJECTED; in ToNotifierReasonForTest()
37 return notifier::TRANSIENT_NOTIFICATION_ERROR; in ToNotifierReasonForTest()
Dpush_client_channel_unittest.cc21 : fake_push_client_(new notifier::FakePushClient()), in PushClientChannelTest()
23 scoped_ptr<notifier::PushClient>(fake_push_client_)), in PushClientChannelTest()
45 notifier::FakePushClient* fake_push_client_;
58 notifier::Subscription expected_subscription; in TEST_F()
60 EXPECT_TRUE(notifier::SubscriptionListsEqual( in TEST_F()
62 notifier::SubscriptionList(1, expected_subscription))); in TEST_F()
84 notifier::TRANSIENT_NOTIFICATION_ERROR); in TEST_F()
87 notifier::NOTIFICATION_CREDENTIALS_REJECTED); in TEST_F()
167 notifier::Notification notification; in TEST_F()
185 notifier::Notification notification; in TEST_F()
[all …]
Dpush_client_channel.h17 namespace notifier {
27 public NON_EXPORTED_BASE(notifier::PushClientObserver) {
31 explicit PushClientChannel(scoped_ptr<notifier::PushClient> push_client);
51 notifier::NotificationsDisabledReason reason) OVERRIDE;
53 const notifier::Notification& notification) OVERRIDE;
79 scoped_ptr<notifier::PushClient> push_client_;
Dp2p_invalidator.h28 namespace notifier {
90 public NON_EXPORTED_BASE(notifier::PushClientObserver) {
97 P2PInvalidator(scoped_ptr<notifier::PushClient> push_client,
118 notifier::NotificationsDisabledReason reason) OVERRIDE;
120 const notifier::Notification& notification) OVERRIDE;
135 scoped_ptr<notifier::PushClient> push_client_;
Dp2p_invalidator_unittest.cc35 fake_push_client_ = new notifier::FakePushClient(); in CreateInvalidator()
38 scoped_ptr<notifier::PushClient>(fake_push_client_), in CreateInvalidator()
47 notifier::FakePushClient* GetPushClient() { in GetPushClient()
72 notifier::Notification notification; in TriggerOnIncomingInvalidation()
80 notifier::FakePushClient* fake_push_client_;
107 const std::vector<notifier::Notification>& sent_notifications = in ReflectSentNotifications()
214 notifier::FakePushClient* const push_client = delegate_.GetPushClient(); in TEST_F()
222 notifier::Subscription expected_subscription; in TEST_F()
225 EXPECT_TRUE(notifier::SubscriptionListsEqual( in TEST_F()
227 notifier::SubscriptionList(1, expected_subscription))); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/web_resource/
Deula_accepted_notifier_unittest.cc36 EulaAcceptedNotifier* notifier() { in notifier() function in EulaAcceptedNotifierTest
54 EXPECT_TRUE(notifier()->IsEulaAccepted()); in TEST_F()
57 EXPECT_TRUE(notifier()->IsEulaAccepted()); in TEST_F()
62 EXPECT_FALSE(notifier()->IsEulaAccepted()); in TEST_F()
65 EXPECT_FALSE(notifier()->IsEulaAccepted()); in TEST_F()
70 EXPECT_FALSE(notifier()->IsEulaAccepted()); in TEST_F()
72 EXPECT_TRUE(notifier()->IsEulaAccepted()); in TEST_F()
75 EXPECT_TRUE(notifier()->IsEulaAccepted()); in TEST_F()
/external/junit/src/org/junit/internal/runners/
DJUnit4ClassRunner.java51 public void run(final RunNotifier notifier) { in run() argument
52 new ClassRoadie(notifier, fTestClass, getDescription(), new Runnable() { in run()
54 runMethods(notifier); in run()
59 protected void runMethods(final RunNotifier notifier) { in runMethods() argument
61 invokeTestMethod(method, notifier); in runMethods()
85 protected void invokeTestMethod(Method method, RunNotifier notifier) { in invokeTestMethod() argument
91 testAborted(notifier, description, e.getCause()); in invokeTestMethod()
94 testAborted(notifier, description, e); in invokeTestMethod()
98 new MethodRoadie(test, testMethod, notifier, description).run(); in invokeTestMethod()
101 private void testAborted(RunNotifier notifier, Description description, in testAborted() argument
[all …]
DErrorReportingRunner.java32 public void run(RunNotifier notifier) { in run() argument
34 runCause(each, notifier); in run()
54 private void runCause(Throwable child, RunNotifier notifier) { in runCause() argument
56 notifier.fireTestStarted(description); in runCause()
57 notifier.fireTestFailure(new Failure(description, child)); in runCause()
58 notifier.fireTestFinished(description); in runCause()
/external/chromium_org/chrome/browser/browsing_data/
Dcookies_tree_model.cc1020 ScopedBatchUpdateNotifier notifier(this, root); in UpdateSearchResults() local
1022 notifier.StartBatchUpdate(); in UpdateSearchResults()
1026 PopulateCookieInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1027 PopulateDatabaseInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1028 PopulateLocalStorageInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1029 PopulateSessionStorageInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1030 PopulateAppCacheInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1031 PopulateIndexedDBInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1032 PopulateFileSystemInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
1033 PopulateQuotaInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
[all …]
/external/qemu/include/qemu/
Dnotify.h23 void (*notify)(Notifier *notifier, void *data);
37 void notifier_list_add(NotifierList *list, Notifier *notifier);
39 void notifier_remove(Notifier *notifier);
51 int (*notify)(NotifierWithReturn *notifier, void *data);
65 NotifierWithReturn *notifier);
67 void notifier_with_return_remove(NotifierWithReturn *notifier);
/external/mockito/src/org/mockito/internal/runners/util/
DFrameworkUsageValidator.java15 private final RunNotifier notifier; field in FrameworkUsageValidator
17 public FrameworkUsageValidator(RunNotifier notifier) { in FrameworkUsageValidator() argument
18 this.notifier = notifier; in FrameworkUsageValidator()
27 notifier.fireTestFailure(new Failure(description, t)); in testFinished()
/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_xmpp_listener.cc66 notifier::NotifierOptions options; in Connect()
70 push_client_ = notifier::PushClient::CreateDefault(options); in Connect()
72 notifier::Subscription subscription; in Connect()
76 notifier::SubscriptionList list; in Connect()
94 notifier::NotificationsDisabledReason reason) { in OnNotificationsDisabled()
96 case notifier::NOTIFICATION_CREDENTIALS_REJECTED: in OnNotificationsDisabled()
99 case notifier::TRANSIENT_NOTIFICATION_ERROR: in OnNotificationsDisabled()
108 const notifier::Notification& notification) { in OnIncomingNotification()
Dcloud_print_xmpp_listener.h29 namespace notifier {
37 public notifier::PushClientObserver {
80 notifier::NotificationsDisabledReason reason) OVERRIDE;
82 const notifier::Notification& notification) OVERRIDE;
102 scoped_ptr<notifier::PushClient> push_client_;
/external/chromium_org/net/quic/
Dquic_ack_notifier_manager.cc89 if (it->type == STREAM_FRAME && it->stream_frame->notifier != NULL) { in OnSerializedPacket()
90 QuicAckNotifier* notifier = it->stream_frame->notifier; in OnSerializedPacket() local
94 notifier->AddSequenceNumber(serialized_packet.sequence_number, in OnSerializedPacket()
99 ack_notifier_map_[serialized_packet.sequence_number].insert(notifier); in OnSerializedPacket()
102 ack_notifiers_.insert(notifier); in OnSerializedPacket()
/external/junit/src/org/junit/runners/
DParentRunner.java98 protected abstract void runChild(T child, RunNotifier notifier); in runChild() argument
155 protected Statement classBlock(final RunNotifier notifier) { in classBlock() argument
156 Statement statement= childrenInvoker(notifier); in classBlock()
218 protected Statement childrenInvoker(final RunNotifier notifier) { in childrenInvoker() argument
222 runChildren(notifier); in childrenInvoker()
227 private void runChildren(final RunNotifier notifier) {
231 ParentRunner.this.runChild(each, notifier);
259 RunNotifier notifier) {
260 EachTestNotifier eachNotifier= new EachTestNotifier(notifier, description);
295 public void run(final RunNotifier notifier) {
[all …]
/external/chromium_org/chrome/browser/extensions/api/synced_notifications_private/
Dsynced_notifications_private_api.cc35 notifier::ChromeNotifierService* notifier_service = in Run()
36 notifier::ChromeNotifierServiceFactory::GetForProfile( in Run()
71 notifier::ChromeNotifierService* notifier_service = in Run()
72 notifier::ChromeNotifierServiceFactory::GetForProfile( in Run()
104 notifier::ChromeNotifierService* notifier_service = in Run()
105 notifier::ChromeNotifierServiceFactory::GetForProfile( in Run()

12345678910