Searched defs:notifications (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/ash/display/
H A Ddisplay_error_observer_chromeos.cc61 message_center::NotificationList::Notifications notifications = local
64 notifications.begin(); iter != notifications.end(); ++iter) {
H A Dresolution_notification_controller_unittest.cc99 const message_center::NotificationList::Notifications& notifications = local
102 notifications.begin(); iter != notifications.end(); ++iter) {
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowNotificationManager.java17 private Map<Integer, Notification> notifications = new HashMap<Integer, Notification>(); field in class:ShadowNotificationManager
31 notifications.put(id, notification);
44 if (notifications.containsKey(id)) {
45 notifications.remove(id);
47 notifications.remove(tagId);
53 notifications.clear();
58 return notifications.size();
62 return notifications.get(id);
67 return notifications.get(id);
71 return new ArrayList<Notification>(notifications
[all...]
/external/chromium_org/ash/system/chromeos/session/
H A Dtray_session_length_limit_unittest.cc45 const message_center::NotificationList::Notifications& notifications = local
48 notifications.begin(); iter != notifications.end(); ++iter) {
77 // No notifications when no session limit.
/external/chromium_org/chrome/browser/extensions/api/notifications/
H A Dnotifications_apitest.cc10 #include "chrome/browser/extensions/api/notifications/notifications_api.h"
13 #include "chrome/browser/notifications/notification.h"
14 #include "chrome/browser/notifications/notification_ui_manager.h"
72 // A sequential list of user gesture notifications from the test extension(s).
99 ASSERT_TRUE(RunExtensionTest("notifications/api/basic_usage")) << message_;
103 ASSERT_TRUE(RunExtensionTest("notifications/api/events")) << message_;
107 ASSERT_TRUE(RunExtensionTest("notifications/api/csp")) << message_;
112 LoadExtensionAndWait("notifications/api/by_user");
144 ASSERT_TRUE(RunExtensionTest("notifications/api/partial_update")) << message_;
152 const message_center::NotificationList::Notifications& notifications local
256 const message_center::NotificationList::Notifications& notifications = local
[all...]
/external/chromium_org/ui/message_center/
H A Dmessage_center_tray_unittest.cc290 // The first item is to disable notifications from the notifier id. It also
291 // removes all notifications from the same notifier, i.e. id1 and id3.
293 NotificationList::Notifications notifications = local
295 EXPECT_EQ(1u, notifications.size());
296 EXPECT_EQ(id2, (*notifications.begin())->id());
302 // disabling notifications.
H A Dmessage_center_impl_unittest.cc182 const NotificationList::Notifications& notifications,
185 notifications.begin(); iter != notifications.end(); ++iter) {
378 // Block all notifications. All popups are gone and message center should be
439 // Unblock notifications, the id1 should appear as a popup.
519 // TotalNotificationBlocker suppresses showing notifications even from the list.
551 NotificationList::Notifications notifications = local
553 EXPECT_FALSE(NotificationsContain(notifications, "id1"));
554 EXPECT_TRUE(NotificationsContain(notifications, "id2"));
577 notifications
181 NotificationsContain( const NotificationList::Notifications& notifications, const std::string& id) argument
769 const NotificationList::Notifications& notifications = local
[all...]
H A Dnotification_list.cc126 Notifications notifications; local
130 notifications.insert(*iter);
132 return notifications;
192 // Collect notifications that should be shown as popups. Start from oldest.
303 Notifications notifications = GetVisibleNotifications(blockers); local
305 for (Notifications::const_iterator iter = notifications.begin();
306 iter != notifications.end(); ++iter) {
H A Dnotification_list_unittest.cc112 bool IsInNotifications(const NotificationList::Notifications& notifications, argument
115 notifications.begin(); iter != notifications.end(); ++iter) {
200 const NotificationList::Notifications notifications = local
202 EXPECT_EQ(replaced, (*notifications.begin())->id());
203 EXPECT_EQ(UTF8ToUTF16("newtitle"), (*notifications.begin())->title());
204 EXPECT_EQ(UTF8ToUTF16("newbody"), (*notifications.begin())->message());
362 NotificationList::Notifications notifications = local
365 notifications.begin(); iter != notifications
434 const NotificationList::Notifications notifications = local
561 const NotificationList::Notifications notifications = local
594 NotificationList::Notifications notifications = local
[all...]
/external/chromium_org/chrome/browser/ui/views/message_center/
H A Dmessage_center_widget_delegate.cc161 const NotificationList::Notifications& notifications = local
163 SetNotifications(notifications);
/external/chromium_org/components/storage_monitor/
H A Dstorage_monitor.cc25 explicit ReceiverImpl(StorageMonitor* notifications) argument
26 : notifications_(notifications) {}
H A Dportable_device_watcher_win.cc454 // returns the device notifications handle else returns NULL.
552 StorageMonitor::Receiver* notifications) {
553 storage_notifications_ = notifications;
551 SetNotifications( StorageMonitor::Receiver* notifications) argument
H A Dvolume_mount_watcher_win.cc500 StorageMonitor::Receiver* notifications) {
501 notifications_ = notifications;
499 SetNotifications( StorageMonitor::Receiver* notifications) argument
/external/chromium_org/ui/message_center/views/
H A Dmessage_center_bubble.cc120 const NotificationList::Notifications& notifications = local
122 message_center_view_->SetNotifications(notifications);
H A Dmessage_center_view_unittest.cc143 NotificationList::Notifications notifications; local
144 notifications.insert(&notification);
150 message_center_view_->SetNotifications(notifications);
/external/chromium_org/ash/system/chromeos/
H A Dtray_display_unittest.cc163 const message_center::NotificationList::Notifications notifications = local
166 notifications.begin(); iter != notifications.end(); ++iter) {
/external/chromium_org/chrome/browser/background/
H A Dbackground_contents_service_unittest.cc34 #include "chrome/browser/notifications/message_center_notification_manager.h"
35 #include "chrome/browser/notifications/notification.h"
384 message_center::NotificationList::Notifications notifications = local
386 ASSERT_EQ(1u, notifications.size());
/external/chromium_org/chrome/browser/notifications/
H A Dnotification_browsertest.cc19 #include "chrome/browser/notifications/desktop_notification_service.h"
20 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
21 #include "chrome/browser/notifications/notification.h"
50 const char kExpectedIconUrl[] = "/notifications/no_such_file.png";
154 "/notifications/notification_tester.html");
369 "/notifications/notifications_request_function.html"));
397 message_center::NotificationList::Notifications notifications = local
400 (*notifications.rbegin())->title());
402 (*notifications.rbegin())->message());
416 message_center::NotificationList::Notifications notifications local
595 message_center::NotificationList::Notifications notifications = local
775 message_center::NotificationList::Notifications notifications = local
[all...]
/external/chromium_org/testing/gtest/test/
H A Dgtest_output_test_.cc483 static void ThreadRoutine(SpawnThreadNotifications* notifications) { argument
485 notifications->spawn_thread_started.Notify();
488 notifications->spawn_thread_ok_to_terminate.WaitForNotification();
/external/gtest/test/
H A Dgtest_output_test_.cc483 static void ThreadRoutine(SpawnThreadNotifications* notifications) { argument
485 notifications->spawn_thread_started.Notify();
488 notifications->spawn_thread_ok_to_terminate.WaitForNotification();
/external/chromium_org/chrome/browser/chromeos/settings/
H A Ddevice_settings_provider.cc799 // Collect all notifications but send them only after we have swapped the
801 std::vector<std::string> notifications; local
808 notifications.push_back(iter->first);
815 notifications.push_back(iter->first);
820 for (size_t i = 0; i < notifications.size(); ++i)
821 NotifyObservers(notifications[i]);
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_provider_backend.cc257 HistoryNotifications notifications; local
262 &notifications))
266 BroadcastNotifications(&notifications);
272 HistoryNotifications notifications; local
276 AndroidURLID id = InsertHistoryAndBookmark(values, true, &notifications);
281 BroadcastNotifications(&notifications);
289 HistoryNotifications notifications; local
294 &notifications))
298 BroadcastNotifications(&notifications);
306 HistoryNotifications notifications; local
318 UpdateHistoryAndBookmarks( const HistoryAndBookmarkRow& row, const std::string& selection, const std::vector<base::string16>& selection_args, int* updated_count, HistoryNotifications* notifications) argument
396 InsertHistoryAndBookmark( const HistoryAndBookmarkRow& values, bool ensure_initialized_and_updated, HistoryNotifications* notifications) argument
444 DeleteHistoryAndBookmarks( const std::string& selection, const std::vector<base::string16>& selection_args, int * deleted_count, HistoryNotifications* notifications) argument
469 DeleteHistory( const std::string& selection, const std::vector<base::string16>& selection_args, int* deleted_count, HistoryNotifications* notifications) argument
976 SimulateUpdateURL( const HistoryAndBookmarkRow& row, const TableIDRows& ids, HistoryNotifications* notifications) argument
1136 DeleteHistoryInternal( const TableIDRows& urls, bool delete_bookmarks, HistoryNotifications* notifications) argument
1170 BroadcastNotifications( HistoryNotifications* notifications) argument
[all...]
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_galleries_preferences_unittest.cc53 int notifications() const { return notifications_;} function in class:__anon4199::MockGalleryChangeObserver
1047 EXPECT_EQ(1, observer1.notifications());
1063 EXPECT_EQ(2, observer1.notifications());
1064 EXPECT_EQ(1, observer2.notifications());
1074 EXPECT_EQ(2, observer1.notifications());
1075 EXPECT_EQ(2, observer2.notifications());
1082 EXPECT_EQ(2, observer1.notifications());
1083 EXPECT_EQ(3, observer2.notifications());
1116 EXPECT_EQ(1, observer.notifications());
/external/chromium_org/chrome/browser/
H A Dpepper_flash_settings_manager.cc167 const std::vector<std::pair<uint32, RequestType> >& notifications);
664 std::vector<std::pair<uint32, RequestType> > notifications; local
667 notifications.push_back(std::make_pair(iter->id, iter->type));
670 notifications.insert(notifications.end(), pending_responses_.begin(),
676 base::Bind(&Core::NotifyError, this, notifications));
747 const std::vector<std::pair<uint32, RequestType> >& notifications) {
752 notifications.begin(); iter != notifications.end(); ++iter) {
746 NotifyError( const std::vector<std::pair<uint32, RequestType> >& notifications) argument
/external/chromium_org/content/browser/frame_host/
H A Dnavigation_controller_impl_unittest.cc284 TestNotificationTracker notifications; local
285 RegisterForAllNavNotifications(&notifications, &controller);
351 TestNotificationTracker notifications; local
352 RegisterForAllNavNotifications(&notifications, &controller);
359 // notifications we're listening for.
360 EXPECT_EQ(0U, notifications.size());
377 // We should have gotten no notifications from the preceeding checks.
378 EXPECT_EQ(0U, notifications.size());
449 TestNotificationTracker notifications; local
450 RegisterForAllNavNotifications(&notifications,
587 TestNotificationTracker notifications; local
629 TestNotificationTracker notifications; local
664 TestNotificationTracker notifications; local
702 TestNotificationTracker notifications; local
732 TestNotificationTracker notifications; local
769 TestNotificationTracker notifications; local
813 TestNotificationTracker notifications; local
868 TestNotificationTracker notifications; local
911 TestNotificationTracker notifications; local
951 TestNotificationTracker notifications; local
1002 TestNotificationTracker notifications; local
1074 TestNotificationTracker notifications; local
1138 TestNotificationTracker notifications; local
1190 TestNotificationTracker notifications; local
1252 TestNotificationTracker notifications; local
1386 TestNotificationTracker notifications; local
1444 TestNotificationTracker notifications; local
1492 TestNotificationTracker notifications; local
1573 TestNotificationTracker notifications; local
1637 TestNotificationTracker notifications; local
1686 TestNotificationTracker notifications; local
1743 TestNotificationTracker notifications; local
1800 TestNotificationTracker notifications; local
1848 TestNotificationTracker notifications; local
1889 TestNotificationTracker notifications; local
1913 TestNotificationTracker notifications; local
1944 TestNotificationTracker notifications; local
2012 TestNotificationTracker notifications; local
2038 TestNotificationTracker notifications; local
2147 TestNotificationTracker notifications; local
2187 TestNotificationTracker notifications; local
2611 TestNotificationTracker notifications; local
2857 TestNotificationTracker notifications; local
2899 TestNotificationTracker notifications; local
2938 TestNotificationTracker notifications; local
2990 TestNotificationTracker notifications; local
3036 TestNotificationTracker notifications; local
4025 TestNotificationTracker notifications; local
4053 TestNotificationTracker notifications; local
4093 TestNotificationTracker notifications; local
[all...]

Completed in 505 milliseconds

12