HomeSort by relevance Sort by last modified time
    Searched refs:notification (Results 1 - 25 of 350) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/junit/src/org/junit/runner/notification/
package-info.java 6 package org.junit.runner.notification
StoppedByUserException.java 1 package org.junit.runner.notification;
7 * @see org.junit.runner.notification.RunNotifier
  /external/chromium_org/content/shell/renderer/test_runner/
notification_presenter.cc 30 WebNotification* notification = static_cast<WebNotification*>(context); local
31 notification->dispatchDisplayEvent();
33 delete notification;
47 const WebNotification& notification = iter->second; local
49 WebNotification event_target(notification);
57 const WebNotification& notification = active_notifications_.begin()->second; local
58 cancel(notification);
64 bool NotificationPresenter::show(const WebNotification& notification) {
65 if (!notification.replaceId().isEmpty()) {
66 std::string replaceId(notification.replaceId().utf8())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
NotificationPresenterImpl.cpp 35 #include "modules/notifications/Notification.h"
56 bool NotificationPresenterImpl::show(Notification* notification)
58 return m_presenter->show(notification);
61 void NotificationPresenterImpl::close(Notification* notification)
63 m_presenter->close(notification);
66 m_presenter->cancel(notification);
69 void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification)
    [all...]
  /external/chromium_org/ash/system/chromeos/session/
tray_session_length_limit_unittest.cc 14 #include "ui/message_center/notification.h"
44 message_center::Notification* GetNotification() {
76 TEST_F(TraySessionLengthLimitTest, Notification) {
82 message_center::Notification* notification = GetNotification(); local
83 EXPECT_TRUE(notification);
84 EXPECT_EQ(message_center::SYSTEM_PRIORITY, notification->priority());
85 base::string16 first_content = notification->message();
87 EXPECT_TRUE(notification->rich_notification_data().
92 notification = GetNotification()
125 message_center::Notification* notification; local
    [all...]
  /external/chromium_org/chrome/browser/notifications/
notification.cc 5 #include "chrome/browser/notifications/notification.h"
7 Notification::Notification(const GURL& origin_url,
15 : message_center::Notification(message_center::NOTIFICATION_TYPE_SIMPLE,
29 Notification::Notification(
41 : message_center::Notification(type,
57 Notification::Notification(const Notification& notification
    [all...]
  /external/chromium_org/content/renderer/
notification_provider.cc 33 bool NotificationProvider::show(const WebNotification& notification) {
35 int notification_id = manager_.RegisterNotification(notification);
39 params.icon_url = notification.iconURL();
40 params.title = notification.title();
41 params.body = notification.body();
42 params.direction = notification.direction();
43 params.replace_id = notification.replaceId();
48 void NotificationProvider::cancel(const WebNotification& notification) {
50 bool id_found = manager_.GetId(notification, id);
51 // Won't be found if the notification has already been closed by the user
92 WebNotification notification; local
101 WebNotification notification; local
110 WebNotification notification; local
121 WebNotification notification; local
    [all...]
active_notification_tracker.cc 20 const WebNotification& notification, int& id) {
21 ReverseTable::iterator iter = reverse_notification_table_.find(notification);
29 int id, WebNotification* notification) {
34 *notification = *lookup;
44 WebNotification* notification = new WebNotification(proxy); local
45 int id = notification_table_.Add(notification);
52 // We want to free the notification after removing it from the table.
53 scoped_ptr<WebNotification> notification(notification_table_.Lookup(id));
55 DCHECK(notification.get());
56 if (notification)
    [all...]
active_notification_tracker.h 18 // This class manages the set of active Notification objects in either
26 // Methods for tracking active notification objects.
27 int RegisterNotification(const blink::WebNotification& notification);
29 bool GetId(const blink::WebNotification& notification, int& id);
30 bool GetNotification(int id, blink::WebNotification* notification);
  /external/chromium_org/jingle/notifier/listener/
notification_defines_unittest.cc 16 // Create a notification with binary data in the data field.
21 Notification notification; local
22 notification.data = kNonUtf8Data;
23 EXPECT_EQ("{ channel: \"\", data: \"\\u00FF\" }", notification.ToString());
push_notifications_send_update_task_unittest.cc 34 Notification notification; local
35 notification.channel = "test_channel";
36 notification.data = "test_data";
39 base::Base64Encode(notification.data, &base64_data);
43 notification, to_jid_bare_));
53 to_jid_bare_.Str().c_str(), notification.channel.c_str(),
fake_push_client_observer.cc 24 const Notification& notification) {
25 last_incoming_notification_ = notification;
33 const Notification&
non_blocking_push_client_unittest.cc 93 Notification MakeTestNotification() {
94 Notification notification; local
95 notification.channel = "channel";
96 notification.recipients.resize(10);
97 notification.recipients[0].to = "to";
98 notification.recipients[9].user_specific_data = "user_specific_data";
99 notification.data = "data";
100 return notification;
105 const Notification notification = MakeTestNotification() local
141 const Notification notification = MakeTestNotification(); local
    [all...]
push_client_observer.h 25 // disabled, and when a notification is received.
39 // Called when a notification is received. The details of the
40 // notification are in |notification|.
41 virtual void OnIncomingNotification(const Notification& notification) = 0;
  /external/chromium_org/chrome/browser/ui/autofill/
autofill_dialog_types_unittest.cc 23 base::string16 text(base::ASCIIToUTF16("Notification without anchor text"));
24 DialogNotification notification(DialogNotification::WALLET_ERROR, text);
25 EXPECT_TRUE(notification.link_range().is_empty());
27 text = base::ASCIIToUTF16("Notification with |anchor text|");
28 notification = DialogNotification(DialogNotification::WALLET_ERROR, text);
30 EXPECT_EQ(base::string16::npos, notification.display_text().find(bar));
31 EXPECT_FALSE(notification.link_range().is_empty());
  /external/chromium_org/third_party/libjingle/source/talk/examples/objc/AppRTCDemo/mac/
APPRTCViewController.h 32 - (void)windowWillClose:(NSNotification*)notification;
  /external/chromium_org/chrome/browser/ui/cocoa/apps/
quit_with_apps_controller_mac_interactive_uitest.cc 49 // Test that quitting while apps are open shows a notification instead.
53 const Notification* notification; local
59 notification = g_browser_process->notification_ui_manager()->FindById(
61 EXPECT_EQ(NULL, notification);
72 // On the first quit, show notification.
75 notification = g_browser_process->notification_ui_manager()->FindById(
77 ASSERT_TRUE(notification);
79 // If notification was dismissed by click, show again on next quit.
80 notification->delegate()->Click()
    [all...]
  /external/chromium_org/ui/message_center/views/
notification_view.h 27 // View that displays all current types of notification (web, basic, image, and
28 // list). Future notification types may be handled by other classes, in which
39 // notification type. A notification is top level if it needs to be rendered
44 const Notification& notification,
58 const Notification& notification) OVERRIDE;
73 const Notification& notification);
    [all...]
  /developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/
VisibilityMetadataFragmentTest.java 3 import android.app.Notification;
43 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local
46 assertEquals(Notification.VISIBILITY_PUBLIC, notification.visibility);
47 assertEquals(R.drawable.ic_public_notification, notification.icon);
51 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local
54 assertEquals(Notification.VISIBILITY_PRIVATE, notification.visibility)
59 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local
    [all...]
HeadsUpNotificationFragmentTest.java 3 import android.app.Notification;
40 Notification notification = mFragment.createNotification(true); local
41 assertNotNull(notification.fullScreenIntent);
45 Notification notification = mFragment.createNotification(false); local
46 assertNull(notification.fullScreenIntent);
  /developers/samples/android/notification/LNotifications/Application/tests/src/com/example/android/lnotifications/
VisibilityMetadataFragmentTest.java 3 import android.app.Notification;
43 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local
46 assertEquals(Notification.VISIBILITY_PUBLIC, notification.visibility);
47 assertEquals(R.drawable.ic_public_notification, notification.icon);
51 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local
54 assertEquals(Notification.VISIBILITY_PRIVATE, notification.visibility)
59 Notification notification = mFragment.createNotification(VisibilityMetadataFragment local
    [all...]
HeadsUpNotificationFragmentTest.java 3 import android.app.Notification;
40 Notification notification = mFragment.createNotification(true); local
41 assertNotNull(notification.fullScreenIntent);
45 Notification notification = mFragment.createNotification(false); local
46 assertNull(notification.fullScreenIntent);
  /external/mockito/src/org/mockito/internal/runners/util/
FrameworkUsageValidator.java 8 import org.junit.runner.notification.Failure;
9 import org.junit.runner.notification.RunListener;
10 import org.junit.runner.notification.RunNotifier;
  /external/chromium_org/third_party/ocmock/OCMock/
OCMNotificationPoster.h 10 NSNotification *notification; variable
  /external/guava/guava/src/com/google/common/cache/
RemovalListener.java 22 * An object that can receive a notification when an entry is removed from a cache. The removal
23 * resulting in notification could have occured to an entry being manually removed or replaced, or
45 void onRemoval(RemovalNotification<K, V> notification);

Completed in 756 milliseconds

1 2 3 4 5 6 7 8 91011>>