Home
last modified time | relevance | path

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

1234567

/external/libweave/src/notification/
Dnotification_parser.cc14 bool ParseCommandCreated(const base::DictionaryValue& notification, in ParseCommandCreated() argument
18 if (!notification.GetDictionary("command", &command)) { in ParseCommandCreated()
28 bool ParseDeviceDeleted(const base::DictionaryValue& notification, in ParseDeviceDeleted() argument
31 if (!notification.GetString("deviceId", &cloud_id)) { in ParseDeviceDeleted()
42 bool ParseNotificationJson(const base::DictionaryValue& notification, in ParseNotificationJson() argument
48 if (!notification.GetString("kind", &kind) || kind != "weave#notification") { in ParseNotificationJson()
55 if (!notification.GetString("type", &type)) { in ParseNotificationJson()
61 return ParseCommandCreated(notification, delegate, channel_name); in ParseNotificationJson()
64 return ParseDeviceDeleted(notification, delegate); in ParseNotificationJson()
Dnotification_parser_unittest.cc41 "kind": "weave#notification", in TEST_F()
79 "kind":"weave#notification", in TEST_F()
114 "kind": "weave#notification", in TEST_F()
136 "kind": "weave#notification", in TEST_F()
/external/guava/guava-tests/test/com/google/common/cache/
DNullCacheTest.java51 RemovalNotification<Object, Object> notification = listener.remove(); in testGet() local
52 assertSame(key, notification.getKey()); in testGet()
53 assertSame(computed, notification.getValue()); in testGet()
54 assertSame(RemovalCause.SIZE, notification.getCause()); in testGet()
68 RemovalNotification<Object, Object> notification = listener.remove(); in testGet_expireAfterWrite() local
69 assertSame(key, notification.getKey()); in testGet_expireAfterWrite()
70 assertSame(computed, notification.getValue()); in testGet_expireAfterWrite()
71 assertSame(RemovalCause.SIZE, notification.getCause()); in testGet_expireAfterWrite()
85 RemovalNotification<Object, Object> notification = listener.remove(); in testGet_expireAfterAccess() local
86 assertSame(key, notification.getKey()); in testGet_expireAfterAccess()
[all …]
DTestingRemovalListeners.java61 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval() argument
62 add(notification); in onRemoval()
75 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval() argument
77 lastNotification = notification; in onRemoval()
102 public void onRemoval(RemovalNotification<K, V> notification) {} in onRemoval() argument
DCacheBuilderTest.java430 RemovalNotification<String, String> notification = listener.remove(); in testRemovalNotification_clear() local
431 assertEquals("a", notification.getKey()); in testRemovalNotification_clear()
432 assertEquals("a", notification.getValue()); in testRemovalNotification_clear()
502 for (RemovalNotification<String, String> notification : listener) { in testRemovalNotification_clear_basher()
503 removalNotifications.put(notification.getKey(), notification.getValue()); in testRemovalNotification_clear_basher()
505 notification.getKey(), notification.getValue()); in testRemovalNotification_clear_basher()
586 for (RemovalNotification<String, String> notification : removalListener) { in testRemovalNotification_get_basher()
587 assertEquals("Invalid removal notification", notification.getKey(), notification.getValue()); in testRemovalNotification_get_basher()
/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dthread-prctl.c48 int notification[2]; variable
79 close(notification[0]); in tracer_main()
80 close(notification[1]); in tracer_main()
127 close(notification[1]); in tracee_main()
128 saw = read(notification[0], buf, 1024); in tracee_main()
160 saw = read(notification[0], buf, 1024); in tracee_main()
216 if (pipe(notification)<0) { in main()
254 close(notification[0]); in main()
256 write(notification[1], buf, strlen(buf)); in main()
264 write(notification[1], "stop", 4); in main()
/external/libweave/
Dfile_lists.mk22 src/notification/notification_parser.cc \
23 src/notification/pull_channel.cc \
24 src/notification/xml_node.cc \
25 src/notification/xmpp_channel.cc \
26 src/notification/xmpp_iq_stanza_handler.cc \
27 src/notification/xmpp_stream_parser.cc \
65 src/notification/notification_parser_unittest.cc \
66 src/notification/xml_node_unittest.cc \
67 src/notification/xmpp_channel_unittest.cc \
68 src/notification/xmpp_iq_stanza_handler_unittest.cc \
[all …]
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.cc208 uint32_t notification, in StartPlayingFile() argument
245 if (_fileModule.StartPlayingAudioFile(fileName, notification, loop, in StartPlayingFile()
257 if (_fileModule.StartPlayingAudioFile(fileName, notification, loop, in StartPlayingFile()
267 if (_fileModule.StartPlayingAudioFile(fileName, notification, loop, in StartPlayingFile()
289 uint32_t notification, in StartPlayingFile() argument
325 if (_fileModule.StartPlayingAudioStream(sourceStream, notification, in StartPlayingFile()
337 if (_fileModule.StartPlayingAudioStream(sourceStream, notification, in StartPlayingFile()
346 if (_fileModule.StartPlayingAudioStream(sourceStream, notification, in StartPlayingFile()
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DForegroundService.java48 private void startForegroundCompat(Notification notification) { in startForegroundCompat() argument
52 mStartForegroundArgs[1] = notification; in startForegroundCompat()
63 if (notification != null) { in startForegroundCompat()
64 mNotificationManager.notify(mNotificationId, notification); in startForegroundCompat()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowNotificationManager.java21 public void notify(int id, Notification notification) in notify() argument
23 notify(null, id, notification); in notify()
27 public void notify(String tag, int id, Notification notification) { in notify() argument
31 notifications.put(id, notification); in notify()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerTest.java93 RemovalNotification<String, String> notification = listener.remove(); in testRemovalNotification_clear() local
94 assertEquals("a", notification.getKey()); in testRemovalNotification_clear()
95 assertEquals("a", notification.getValue()); in testRemovalNotification_clear()
164 for (RemovalNotification<String, String> notification : listener) { in testRemovalNotification_clear_basher()
165 removalNotifications.put(notification.getKey(), notification.getValue()); in testRemovalNotification_clear_basher()
167 notification.getKey(), notification.getValue()); in testRemovalNotification_clear_basher()
/external/mockito/src/org/mockito/internal/runners/util/
DFrameworkUsageValidator.java8 import org.junit.runner.notification.Failure;
9 import org.junit.runner.notification.RunListener;
10 import org.junit.runner.notification.RunNotifier;
/external/skia/src/views/mac/
DSkEventNotifier.mm36 - (void)receiveSkEvent:(NSNotification *)notification {
54 //post a SkEventClass event to the default notification queue
55 NSNotification* notification = [NSNotification notificationWithName:SkEventClass object:nil];
56 [[NSNotificationQueue defaultQueue] enqueueNotification:notification
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DNotificationTest.java19 Notification notification = new Notification(); in setLatestEventInfo__shouldCaptureContentIntent() local
20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent); in setLatestEventInfo__shouldCaptureContentIntent()
21 assertThat(pendingIntent, is(notification.contentIntent)); in setLatestEventInfo__shouldCaptureContentIntent()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_aka.c43 u16 notification; member
597 wpa_printf(MSG_DEBUG, " AT_NOTIFICATION (%d)", data->notification); in eap_aka_build_notification()
598 eap_sim_msg_add(msg, EAP_SIM_AT_NOTIFICATION, data->notification, in eap_aka_build_notification()
724 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_determine_identity()
775 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_determine_identity()
816 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_fullauth()
862 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
874 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
881 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_aka_process_identity()
926 data->notification = in eap_aka_process_challenge()
[all …]
Deap_server_sim.c37 u16 notification; member
294 wpa_printf(MSG_DEBUG, " AT_NOTIFICATION (%d)", data->notification); in eap_sim_build_notification()
295 eap_sim_msg_add(msg, EAP_SIM_AT_NOTIFICATION, data->notification, in eap_sim_build_notification()
559 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_start()
575 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_challenge()
584 data->notification = EAP_SIM_SUCCESS; in eap_sim_process_challenge()
657 data->notification = EAP_SIM_SUCCESS; in eap_sim_process_reauth()
675 data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; in eap_sim_process_reauth()
690 if (data->notification == EAP_SIM_SUCCESS && data->use_result_ind) in eap_sim_process_client_error()
703 if (data->notification == EAP_SIM_SUCCESS && data->use_result_ind) in eap_sim_process_notification()
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DServiceUtils.java51 Notification notification) { in setForeground() argument
58 startForeground.invoke(service, new Object[] { notificationId, notification }); in setForeground()
76 manager.notify(notificationId, notification); in setForeground()
/external/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/
DTestingRemovalListeners.java52 public void onRemoval(RemovalNotification<K, V> notification) { in onRemoval() argument
54 lastNotification = notification; in onRemoval()
79 public void onRemoval(RemovalNotification<K, V> notification) {} in onRemoval() argument
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java60 private Toast notification = null; field in TerminalView
224 if (notification != null) { in notifyUser()
230 notification.setText(message); in notifyUser()
231 notification.show(); in notifyUser()
233 notification = Toast.makeText(context, message, Toast.LENGTH_SHORT); in notifyUser()
234 notification.show(); in notifyUser()
/external/mockito/src/org/mockito/runners/
DVerboseMockitoJUnitRunner.java14 import org.junit.runner.notification.Failure;
15 import org.junit.runner.notification.RunListener;
16 import org.junit.runner.notification.RunNotifier;
DConsoleSpammingMockitoJUnitRunner.java14 import org.junit.runner.notification.Failure;
15 import org.junit.runner.notification.RunListener;
16 import org.junit.runner.notification.RunNotifier;
/external/junit/src/junit/framework/
DJUnit4TestAdapterCache.java12 import org.junit.runner.notification.Failure;
13 import org.junit.runner.notification.RunListener;
14 import org.junit.runner.notification.RunNotifier;
/external/webrtc/webrtc/examples/objc/AppRTCDemo/mac/
DAPPRTCAppDelegate.m30 - (void)applicationDidFinishLaunching:(NSNotification*)notification {
53 - (void)windowWillClose:(NSNotification*)notification {
54 [_viewController windowWillClose:notification];
/external/junit/src/org/junit/experimental/results/
DFailureList.java9 import org.junit.runner.notification.Failure;
10 import org.junit.runner.notification.RunListener;
/external/autotest/client/cros/cellular/mbim_compliance/tests/
Dcm_09.py36 for notification in notifications:
37 if notification.transaction_id != 0:

1234567