Home
last modified time | relevance | path

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

1234567891011

/external/chromium_org/sync/
Dsync_notifier.gypi15 '../jingle/jingle.gyp:notifier',
22 '../jingle/jingle.gyp:notifier',
26 'notifier/ack_handler.cc',
27 'notifier/ack_handler.h',
28 'notifier/dropped_invalidation_tracker.cc',
29 'notifier/dropped_invalidation_tracker.h',
30 'notifier/invalidation_handler.h',
31 'notifier/invalidation_state_tracker.h',
32 'notifier/invalidation_util.cc',
33 'notifier/invalidation_util.h',
[all …]
/external/chromium/chrome/browser/prefs/
Dpref_notifier_impl_unittest.cc75 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
76 EXPECT_CALL(notifier, FireObservers(kChangedPref)).Times(1); in TEST_F()
77 notifier.OnPreferenceChanged(kChangedPref); in TEST_F()
81 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
91 notifier.OnInitializationCompleted(); in TEST_F()
98 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
99 notifier.AddPrefObserver(pref_name, &obs1_); in TEST_F()
100 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); in TEST_F()
101 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); in TEST_F()
102 ASSERT_EQ(0u, notifier.CountObserver(pref_name, &obs2_)); in TEST_F()
[all …]
/external/chromium_org/base/prefs/
Dpref_notifier_impl_unittest.cc107 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
108 EXPECT_CALL(notifier, FireObservers(kChangedPref)).Times(1); in TEST_F()
109 notifier.OnPreferenceChanged(kChangedPref); in TEST_F()
113 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
115 notifier.AddInitObserver( in TEST_F()
119 notifier.OnInitializationCompleted(true); in TEST_F()
126 MockPrefNotifier notifier(&pref_service_); in TEST_F() local
127 notifier.AddPrefObserver(pref_name, &obs1_); in TEST_F()
128 ASSERT_EQ(1u, notifier.CountObserver(pref_name, &obs1_)); in TEST_F()
129 ASSERT_EQ(0u, notifier.CountObserver(pref_name2, &obs1_)); in TEST_F()
[all …]
/external/chromium_org/jingle/
Djingle.gyp52 'target_name': 'notifier',
55 'notifier/base/const_communicator.h',
56 'notifier/base/gaia_constants.cc',
57 'notifier/base/gaia_constants.h',
58 'notifier/base/gaia_token_pre_xmpp_auth.cc',
59 'notifier/base/gaia_token_pre_xmpp_auth.h',
60 'notifier/base/notification_method.h',
61 'notifier/base/notification_method.cc',
62 'notifier/base/notifier_options.cc',
63 'notifier/base/notifier_options.h',
[all …]
/external/chromium_org/chrome/browser/notifications/sync_notifier/
Dchrome_notifier_service_unittest.cc39 using notifier::SyncedNotification;
40 using notifier::ChromeNotifierService;
54 namespace notifier { namespace
294 ChromeNotifierService notifier(profile_.get(), &notification_manager); in TEST_F() local
296 notifier.MergeDataAndStartSyncing( in TEST_F()
302 EXPECT_EQ(0U, notifier.GetAllSyncData(SYNCED_NOTIFICATIONS).size()); in TEST_F()
310 ChromeNotifierService notifier(profile_.get(), &notification_manager); in TEST_F() local
311 notifier.set_avoid_bitmap_fetching_for_test(true); in TEST_F()
313 notifier.MergeDataAndStartSyncing( in TEST_F()
331 notifier.ProcessSyncChanges(FROM_HERE, changes); in TEST_F()
[all …]
Dchrome_notifier_delegate_unittest.cc23 class StubChromeNotifierService : public notifier::ChromeNotifierService {
34 notifier::SyncedNotification* CreateNotification( in CreateNotification()
47 notifier::SyncedNotification* notification = in CreateNotification()
48 new notifier::SyncedNotification(sync_data); in CreateNotification()
56 virtual notifier::SyncedNotification* FindNotificationById( in FindNotificationById()
66 ScopedVector<notifier::SyncedNotification> owned_notifications_;
85 StubChromeNotifierService* notifier() { return notifier_.get(); } in notifier() function in ChromeNotifierDelegateTest
95 scoped_refptr<notifier::ChromeNotifierDelegate> delegate( in TEST_F()
96 new notifier::ChromeNotifierDelegate(id, notifier())); in TEST_F()
117 scoped_refptr<notifier::ChromeNotifierDelegate> delegate( in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
DGeolocation.cpp173 RefPtr<GeoNotifier> notifier = prpNotifier; in add() local
175 if (!m_idToNotifierMap.add(id, notifier.get()).isNewEntry) in add()
177 m_notifierToIdMap.set(notifier.release(), id); in add()
200 void Geolocation::Watchers::remove(GeoNotifier* notifier) in remove() argument
202 NotifierToIdMap::iterator iter = m_notifierToIdMap.find(notifier); in remove()
209 bool Geolocation::Watchers::contains(GeoNotifier* notifier) const in contains()
211 return m_notifierToIdMap.contains(notifier); in contains()
292 … RefPtr<GeoNotifier> notifier = GeoNotifier::create(this, successCallback, errorCallback, options); in getCurrentPosition() local
293 startRequest(notifier.get()); in getCurrentPosition()
295 m_oneShots.add(notifier); in getCurrentPosition()
[all …]
/external/qemu/
Dnotify.c22 void notifier_list_add(NotifierList *list, Notifier *notifier) in notifier_list_add() argument
24 QTAILQ_INSERT_HEAD(&list->notifiers, notifier, node); in notifier_list_add()
27 void notifier_list_remove(NotifierList *list, Notifier *notifier) in notifier_list_remove() argument
29 QTAILQ_REMOVE(&list->notifiers, notifier, node); in notifier_list_remove()
34 Notifier *notifier, *next; in notifier_list_notify() local
36 QTAILQ_FOREACH_SAFE(notifier, &list->notifiers, node, next) { in notifier_list_notify()
37 notifier->notify(notifier); in notifier_list_notify()
/external/chromium_org/sync/notifier/
Dinvalidator_state.cc26 notifier::NotificationsDisabledReason reason) { in FromNotifierReason()
28 case notifier::NO_NOTIFICATION_ERROR: in FromNotifierReason()
30 case notifier::TRANSIENT_NOTIFICATION_ERROR: in FromNotifierReason()
32 case notifier::NOTIFICATION_CREDENTIALS_REJECTED: in FromNotifierReason()
40 notifier::NotificationsDisabledReason ToNotifierReasonForTest( in ToNotifierReasonForTest()
44 return notifier::TRANSIENT_NOTIFICATION_ERROR; in ToNotifierReasonForTest()
46 return notifier::NOTIFICATION_CREDENTIALS_REJECTED; in ToNotifierReasonForTest()
51 return notifier::TRANSIENT_NOTIFICATION_ERROR; in ToNotifierReasonForTest()
Dpush_client_channel_unittest.cc23 : fake_push_client_(new notifier::FakePushClient()), in PushClientChannelTest()
25 scoped_ptr<notifier::PushClient>(fake_push_client_)), in PushClientChannelTest()
47 notifier::FakePushClient* fake_push_client_;
60 notifier::Subscription expected_subscription; in TEST_F()
62 EXPECT_TRUE(notifier::SubscriptionListsEqual( in TEST_F()
64 notifier::SubscriptionList(1, expected_subscription))); in TEST_F()
86 notifier::TRANSIENT_NOTIFICATION_ERROR); in TEST_F()
89 notifier::NOTIFICATION_CREDENTIALS_REJECTED); in TEST_F()
104 notifier::Notification notification; in TEST_F()
Dpush_client_channel.cc21 scoped_ptr<notifier::PushClient> push_client) in PushClientChannel()
24 notifier::Subscription subscription; in PushClientChannel()
27 notifier::SubscriptionList subscriptions; in PushClientChannel()
42 notifier::Recipient recipient; in SendEncodedMessage()
44 notifier::Notification notification; in SendEncodedMessage()
56 notifier::NotificationsDisabledReason reason) { in OnNotificationsDisabled()
61 const notifier::Notification& notification) { in OnIncomingNotification()
Dpush_client_channel.h17 namespace notifier {
27 public NON_EXPORTED_BASE(notifier::PushClientObserver) {
31 explicit PushClientChannel(scoped_ptr<notifier::PushClient> push_client);
46 notifier::NotificationsDisabledReason reason) OVERRIDE;
48 const notifier::Notification& notification) OVERRIDE;
51 scoped_ptr<notifier::PushClient> push_client_;
Dp2p_invalidator.h29 namespace notifier {
91 public NON_EXPORTED_BASE(notifier::PushClientObserver) {
98 P2PInvalidator(scoped_ptr<notifier::PushClient> push_client,
116 notifier::NotificationsDisabledReason reason) OVERRIDE;
118 const notifier::Notification& notification) OVERRIDE;
133 scoped_ptr<notifier::PushClient> push_client_;
/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/sync/glue/
DDEPS10 "+jingle/notifier/base",
14 "+sync/notifier/invalidation_util.h",
15 "+sync/notifier/mock_sync_notifier_observer.h",
16 "+sync/notifier/sync_notifier.h",
17 "+sync/notifier/sync_notifier_helper.h",
18 "+sync/notifier/sync_notifier_factory.h",
19 "+sync/notifier/sync_notifier_observer.h",
/external/chromium_org/chrome/browser/browsing_data/
Dcookies_tree_model.cc942 ScopedBatchUpdateNotifier notifier(this, root); in UpdateSearchResults() local
944 notifier.StartBatchUpdate(); in UpdateSearchResults()
948 PopulateCookieInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
949 PopulateDatabaseInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
950 PopulateLocalStorageInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
951 PopulateSessionStorageInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
952 PopulateAppCacheInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
953 PopulateIndexedDBInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
954 PopulateFileSystemInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
955 PopulateQuotaInfoWithFilter(data_container(), &notifier, filter); in UpdateSearchResults()
[all …]
/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/net/quic/
Dquic_ack_notifier_manager.cc88 if (it->type == STREAM_FRAME && it->stream_frame->notifier != NULL) { in OnSerializedPacket()
89 QuicAckNotifier* notifier = it->stream_frame->notifier; in OnSerializedPacket() local
93 notifier->AddSequenceNumber(serialized_packet.sequence_number); in OnSerializedPacket()
97 ack_notifier_map_[serialized_packet.sequence_number].insert(notifier); in OnSerializedPacket()
100 ack_notifiers_.insert(notifier); in OnSerializedPacket()
/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()
/external/chromium/chrome/browser/sync/notifier/
Dinvalidation_notifier.cc23 const notifier::NotifierOptions& notifier_options, in InvalidationNotifier()
28 DCHECK_EQ(notifier::NOTIFICATION_SERVER, in InvalidationNotifier()
60 notifier::MakeXmppClientSettings(notifier_options_, in UpdateCredentials()
65 notifier::ConnectionOptions options; in UpdateCredentials()
68 new notifier::Login(this, in UpdateCredentials()
70 notifier::ConnectionOptions(), in UpdateCredentials()
72 notifier::GetServerList(notifier_options_), in UpdateCredentials()
Dp2p_notifier.h25 namespace notifier {
33 public notifier::TalkMediator::Delegate {
35 explicit P2PNotifier(const notifier::NotifierOptions& notifier_options);
51 const notifier::Notification& notification);
63 scoped_ptr<notifier::TalkMediator> talk_mediator_;
Dp2p_notifier.cc22 const notifier::NotifierOptions& notifier_options) in P2PNotifier()
24 new notifier::TalkMediatorImpl( in P2PNotifier()
25 new notifier::MediatorThreadImpl(notifier_options), in P2PNotifier()
73 notifier::Subscription subscription; in UpdateCredentials()
94 notifier::Notification notification; in SendNotification()
109 const notifier::Notification& notification) { in OnIncomingNotification()
/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 …]

1234567891011