Home
last modified time | relevance | path

Searched refs:notification (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/third_party/glib/gio/
Dgnotification.c107 GNotification *notification = G_NOTIFICATION (object); in g_notification_dispose() local
109 g_clear_object (&notification->icon); in g_notification_dispose()
117 GNotification *notification = G_NOTIFICATION (object); in g_notification_finalize() local
119 g_free (notification->title); in g_notification_finalize()
120 g_free (notification->body); in g_notification_finalize()
121 g_free (notification->default_action); in g_notification_finalize()
122 if (notification->default_action_target) in g_notification_finalize()
123 g_variant_unref (notification->default_action_target); in g_notification_finalize()
124 g_ptr_array_free (notification->buttons, TRUE); in g_notification_finalize()
139 g_notification_init (GNotification *notification) in g_notification_init() argument
[all …]
Dgnotification-private.h25 …st gchar * g_notification_get_id (GNotification *notification);
27 …st gchar * g_notification_get_title (GNotification *notification);
29 …st gchar * g_notification_get_body (GNotification *notification);
31 …on * g_notification_get_icon (GNotification *notification);
33 …tificationPriority g_notification_get_priority (GNotification *notification);
35 …nt g_notification_get_n_buttons (GNotification *notification);
37 …d g_notification_get_button (GNotification *notification,
43 …nt g_notification_get_button_with_action (GNotification *notification,
46 …olean g_notification_get_default_action (GNotification *notification,
50 …riant * g_notification_serialize (GNotification *notification);
Dgnotification.h43 …id g_notification_set_title (GNotification *notification,
47 …id g_notification_set_body (GNotification *notification,
51 …id g_notification_set_icon (GNotification *notification,
55 …id g_notification_set_urgent (GNotification *notification,
59 … g_notification_set_priority (GNotification *notification,
63 …id g_notification_add_button (GNotification *notification,
68 …id g_notification_add_button_with_target (GNotification *notification,
75 …id g_notification_add_button_with_target_value (GNotification *notification,
81 …id g_notification_set_default_action (GNotification *notification,
85 …id g_notification_set_default_action_and_target (GNotification *notification,
[all …]
Dgcocoanotificationbackend.m111 didActivateNotification:(NSUserNotification*) notification
113 if ([notification activationType] == NSUserNotificationActivationTypeContentsClicked)
115 const char *action = [[notification userInfo][@"default"] UTF8String];
120 else if ([notification activationType] == NSUserNotificationActivationTypeActionButtonClicked)
122 const char *action = [[notification userInfo][@"button0"] UTF8String];
127 [center removeDeliveredNotification:notification];
148 GNotification *notification)
150 guint n_buttons = g_notification_get_n_buttons (notification);
155 if (g_notification_get_default_action (notification, &action, &target))
171 g_notification_get_button (notification, 0, &label, &action, &target);
[all …]
Dgfdonotificationbackend.c85 GNotification *notification) in freedesktop_notification_new() argument
93 g_notification_get_default_action (notification, in freedesktop_notification_new()
250 GNotification *notification, in call_notify() argument
264 if (g_notification_get_default_action (notification, NULL, NULL)) in call_notify()
270 n_buttons = g_notification_get_n_buttons (notification); in call_notify()
278 g_notification_get_button (notification, i, &label, &action, &target); in call_notify()
303 urgency = urgency_from_priority (g_notification_get_priority (notification)); in call_notify()
305 icon = g_notification_get_icon (notification); in call_notify()
325 body = g_notification_get_body (notification); in call_notify()
331 g_notification_get_title (notification), in call_notify()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dnotification_test.cc56 Notification* notification, in RunWorker() argument
59 notification->WaitForNotification(); in RunWorker()
69 static void BasicTests(bool notify_before_waiting, Notification* notification) { in BasicTests() argument
70 EXPECT_FALSE(notification->HasBeenNotified()); in BasicTests()
72 notification->WaitForNotificationWithTimeout(absl::Milliseconds(0))); in BasicTests()
73 EXPECT_FALSE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests()
77 EXPECT_FALSE(notification->WaitForNotificationWithTimeout(delay)); in BasicTests()
91 notification->Notify(); in BasicTests()
99 workers.push_back(std::thread(&RunWorker, i, &ready_counter, notification, in BasicTests()
110 notification->Notify(); in BasicTests()
[all …]
Dlifetime_test.cc42 absl::Notification* notification, bool* state) { in ThreadOne() argument
44 ABSL_RAW_CHECK(!notification->HasBeenNotified(), "invalid Notification"); in ThreadOne()
50 notification->Notify(); in ThreadOne()
51 ABSL_RAW_CHECK(notification->HasBeenNotified(), "invalid Notification"); in ThreadOne()
60 absl::Notification* notification, bool* state) { in ThreadTwo() argument
64 notification->WaitForNotification(); in ThreadTwo()
65 ABSL_RAW_CHECK(notification->HasBeenNotified(), "invalid Notification"); in ThreadTwo()
79 absl::Notification notification; in RunTests() local
87 std::thread thread_one(ThreadOne, mutex, condvar, &notification, &state); in RunTests()
88 std::thread thread_two(ThreadTwo, mutex, condvar, &notification, &state); in RunTests()
/third_party/abseil-cpp/absl/synchronization/
Dnotification_test.cc56 Notification* notification, in RunWorker() argument
59 notification->WaitForNotification(); in RunWorker()
69 static void BasicTests(bool notify_before_waiting, Notification* notification) { in BasicTests() argument
70 EXPECT_FALSE(notification->HasBeenNotified()); in BasicTests()
72 notification->WaitForNotificationWithTimeout(absl::Milliseconds(0))); in BasicTests()
73 EXPECT_FALSE(notification->WaitForNotificationWithDeadline(absl::Now())); in BasicTests()
77 EXPECT_FALSE(notification->WaitForNotificationWithTimeout(delay)); in BasicTests()
91 notification->Notify(); in BasicTests()
99 workers.push_back(std::thread(&RunWorker, i, &ready_counter, notification, in BasicTests()
110 notification->Notify(); in BasicTests()
[all …]
Dlifetime_test.cc42 absl::Notification* notification, bool* state) { in ThreadOne() argument
44 ABSL_RAW_CHECK(!notification->HasBeenNotified(), "invalid Notification"); in ThreadOne()
50 notification->Notify(); in ThreadOne()
51 ABSL_RAW_CHECK(notification->HasBeenNotified(), "invalid Notification"); in ThreadOne()
60 absl::Notification* notification, bool* state) { in ThreadTwo() argument
64 notification->WaitForNotification(); in ThreadTwo()
65 ABSL_RAW_CHECK(notification->HasBeenNotified(), "invalid Notification"); in ThreadTwo()
79 absl::Notification notification; in RunTests() local
87 std::thread thread_one(ThreadOne, mutex, condvar, &notification, &state); in RunTests()
88 std::thread thread_two(ThreadTwo, mutex, condvar, &notification, &state); in RunTests()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dnotification_listener.dart9 /// Return true to cancel the notification bubbling. Return false to allow the
10 /// notification to continue to be dispatched to further ancestors.
13 typedef NotificationListenerCallback<T extends Notification> = bool Function(T notification);
15 /// A notification that can bubble up the widget tree.
17 /// You can determine the type of a notification using the `is` operator to
18 /// check the [runtimeType] of the notification.
22 /// To send a notification, call [dispatch] on the notification you wish to
23 /// send. The notification will be delivered to any [NotificationListener]
37 /// the notification as it is bubbled (for example, increasing a `depth` field
52 /// Start bubbling this notification at the given build context.
[all …]
Dscroll_notification.dart17 /// The number of viewports that this notification has bubbled through.
22 /// [RenderAbstractViewport] render objects through which this notification
65 /// [Scrollable] descendant, check that the [depth] property of the notification
68 /// When a scroll notification is received by a [NotificationListener], the
71 /// build or layout based on a scroll notification would result in a layout that
90 /// The build context of the widget that fired this notification.
103 /// A notification that a [Scrollable] widget has started scrolling.
108 /// * [ScrollNotification], which describes the notification lifecycle.
110 /// Creates a notification that a [Scrollable] widget has started scrolling.
131 /// A notification that a [Scrollable] widget has changed its scroll position.
[all …]
/third_party/glib/gio/tests/
Dgnotification.c29 GNotification *notification; in activate_app() local
32 notification = g_notification_new ("Test"); in activate_app()
34 g_application_send_notification (application, "test1", notification); in activate_app()
35 g_application_send_notification (application, "test2", notification); in activate_app()
37 g_application_send_notification (application, "test3", notification); in activate_app()
40 g_notification_set_icon (notification, icon); in activate_app()
43 g_notification_set_body (notification, "body"); in activate_app()
44 g_notification_set_priority (notification, G_NOTIFICATION_PRIORITY_URGENT); in activate_app()
45 g_notification_set_default_action_and_target (notification, "app.action", "i", 42); in activate_app()
46 g_notification_add_button_with_target (notification, "label", "app.action2", "s", "bla"); in activate_app()
[all …]
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dscroll_notification_test.dart11 testWidgets('Scroll notification basics', (WidgetTester tester) async {
12 ScrollNotification notification;
17 notification = value;
27 expect(notification, isInstanceOf<ScrollStartNotification>());
28 expect(notification.depth, equals(0));
29 final ScrollStartNotification start = notification;
35 expect(notification, isInstanceOf<ScrollUpdateNotification>());
36 expect(notification.depth, equals(0));
37 final ScrollUpdateNotification update = notification;
44 expect(notification, isInstanceOf<ScrollEndNotification>());
[all …]
Dnotification_test.dart34 final Notification notification = MyNotification();
35 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException));
36 expect(log, <dynamic>['b', notification, 'a', notification]);
58 final Notification notification = MyNotification();
59 expect(() { notification.dispatch(key.currentContext); }, isNot(throwsException));
60 expect(log, <dynamic>['b', notification]);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D10-1.c24 static volatile int notification; variable
32 notification = info->si_code; in handler()
34 switch (notification) { in handler()
50 while (notification != val) { in wait_for_notification()
89 notification = 0; in main()
100 notification = 0; in main()
/third_party/node/test/common/
Dinspector-helper.js237 function matchMethod(notification) { argument
238 return notification.method === methodOrPredicate;
242 let notification = null;
245 notification = this._unprocessedNotifications.shift();
247 notification = await new Promise(
250 } while (!predicate(notification));
251 return notification;
270 (notification) =>
271 this._isBreakOnLineNotification(notification, line, url),
279 _matchesConsoleOutputNotification(notification, type, values) { argument
[all …]
/third_party/node/test/parallel/
Dtest-inspector-waiting-for-disconnect.js9 function mainContextDestroyed(notification) { argument
10 return notification.method === 'Runtime.executionContextDestroyed' &&
11 notification.params.executionContextId === 1;
25 await session.waitForNotification((notification) => {
26 return notification.method === 'NodeRuntime.waitingForDisconnect';
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_notify/
D2-1.c46 struct sigevent notification; in main() local
58 notification.sigev_notify = SIGEV_SIGNAL; in main()
59 notification.sigev_signo = SIGUSR1; in main()
60 if (mq_notify(mqdes, &notification) != 0) { in main()
73 if (mq_notify(mqdes, &notification) != -1) { in main()
D9-1.c45 struct sigevent notification; in main() local
57 notification.sigev_notify = SIGEV_SIGNAL; in main()
58 notification.sigev_signo = SIGUSR1; in main()
59 if (mq_notify(mqdes, &notification) != 0) { in main()
72 if (mq_notify(mqdes, &notification) == -1) { in main()
D4-1.c54 struct sigevent notification; in main() local
66 notification.sigev_notify = SIGEV_SIGNAL; in main()
67 notification.sigev_signo = SIGUSR1; in main()
71 if (mq_notify(mqdes, &notification) != 0) { in main()
86 if (mq_notify(mqdes, &notification) != 0) { in main()
D8-1.c37 struct sigevent notification; in main() local
41 notification.sigev_notify = SIGEV_SIGNAL; in main()
42 notification.sigev_signo = SIGUSR1; in main()
44 if (mq_notify(mqdes, &notification) == -1) { in main()
/third_party/node/test/sequential/
Dtest-inspector-contexts.js54 (notification) => contextDestroyed = notification);
83 (notification) => contextDestroyed = notification);
112 (notification) => contextDestroyed = notification);
138 (notification) => contextDestroyed = notification);
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DWGL_ARB_create_context_robustness.txt42 buffer access behavior and a specified graphics reset notification
97 specifies the <reset notification behavior> of the rendering
98 context. Reset notification behavior is defined in the
104 notification behavior of GL_NO_RESET_NOTIFICATION_ARB and
109 Add "robust buffer access flag" and "reset notification behavior" to
120 "* If the reset notification behavior of <hShareContext> and the
126 "If the reset notification behavior of <hglrc1> and <hglrc2> are
148 notification behavior (the value of attribute
152 wglCreateContextAttribsARB if the reset notification behavior of
153 <hShareContext> does not match the reset notification behavior of
[all …]
DGLX_ARB_create_context_robustness.txt42 buffer access behavior and a specified graphics reset notification
97 specifies the <reset notification behavior> of the rendering
98 context. Reset notification behavior is defined in the
104 notification behavior of GL_NO_RESET_NOTIFICATION_ARB and
109 Add "robust buffer access flag" and "reset notification behavior" to
119 "* If the reset notification behavior of <share_context> and the
138 GL_ARB_robustness extension with the specified reset notification
142 BadMatch is generated if the reset notification behavior of
143 <share_context> does not match the reset notification behavior of
173 Version 2, 2010/07/21 - Move reset notification behavior from a GL
[all …]
/third_party/node/tools/inspector_protocol/lib/
DDispatcherBase_h.template129 …static std::unique_ptr<InternalResponse> createNotification(const String& notification, std::uniqu…
137 InternalResponse(int callId, const String& notification, std::unique_ptr<Serializable> params);
146 static std::unique_ptr<InternalRawNotification> fromJSON(String notification)
148 …urn std::unique_ptr<InternalRawNotification>(new InternalRawNotification(std::move(notification)));
151 static std::unique_ptr<InternalRawNotification> fromBinary(std::vector<uint8_t> notification)
153 …urn std::unique_ptr<InternalRawNotification>(new InternalRawNotification(std::move(notification)));
169 explicit InternalRawNotification(String notification)
170 : m_jsonNotification(std::move(notification)) { }
171 explicit InternalRawNotification(std::vector<uint8_t> notification)
172 : m_binaryNotification(std::move(notification)) { }

12345678910>>...15