Home
last modified time | relevance | path

Searched refs:notify (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DNotificationManagerTest.java28 notificationManager.notify(1, notification1); in testNotify()
32 notificationManager.notify(31, notification2); in testNotify()
39 notificationManager.notify(1, notification1); in testNotifyReplaces()
41 notificationManager.notify(1, notification2); in testNotifyReplaces()
48 notificationManager.notify("a tag", 1, notification1); in testNotifyWithTag()
55 notificationManager.notify("a tag", 1, notification1); in notifyWithTag_shouldReturnNullForNullTag()
62 notificationManager.notify("a tag", 1, notification1); in notifyWithTag_shouldReturnNullForUnknownTag()
69 notificationManager.notify(1, notification1); in testCancel()
78 notificationManager.notify("a tag", 1, notification1); in testCancelWithTag()
88 notificationManager.notify(1, notification1); in testCancelAll()
[all …]
/external/chromium_org/chrome/browser/
Didle.cc12 IdleCallback notify, in CalculateIdleStateCallback() argument
15 notify.Run(IDLE_STATE_IDLE); in CalculateIdleStateCallback()
17 notify.Run(IDLE_STATE_ACTIVE); in CalculateIdleStateCallback()
22 void CalculateIdleState(int idle_threshold, IdleCallback notify) { in CalculateIdleState() argument
24 notify.Run(IDLE_STATE_LOCKED); in CalculateIdleState()
30 notify)); in CalculateIdleState()
Didle_linux.cc17 void CalculateIdleTime(IdleTimeCallback notify) { in CalculateIdleTime() argument
20 notify.Run(idle_query.IdleTime()); in CalculateIdleTime()
Didle.h29 void CalculateIdleState(int idle_threshold, IdleCallback notify);
32 void CalculateIdleTime(IdleTimeCallback notify);
Didle_chromeos.cc12 void CalculateIdleTime(IdleTimeCallback notify) { in CalculateIdleTime() argument
21 notify.Run(static_cast<int>(idle_time.InSeconds())); in CalculateIdleTime()
/external/lldb/include/lldb/Target/
DPathMappingList.h47 Append (const ConstString &path, const ConstString &replacement, bool notify);
50 Append (const PathMappingList &rhs, bool notify);
53 Clear (bool notify);
78 bool notify);
81 Remove (off_t index, bool notify);
84 Remove (const ConstString &path, bool notify);
89 bool notify);
95 bool notify);
/external/lldb/source/Target/
DPathMappingList.cpp79 bool notify) in Append() argument
83 if (notify && m_callback) in Append()
88 PathMappingList::Append (const PathMappingList &rhs, bool notify) in Append() argument
96 if (notify && m_callback) in Append()
105 bool notify) in Insert() argument
114 if (notify && m_callback) in Insert()
122 bool notify) in Replace() argument
129 if (notify && m_callback) in Replace()
135 PathMappingList::Remove (off_t index, bool notify) in Remove() argument
143 if (notify && m_callback) in Remove()
[all …]
/external/valgrind/main/coregrind/m_mach/
Dmach_msg.c57 mach_port_t notify);
60 mach_msg(msg, option, send_size, rcv_size, rcv_name, timeout, notify) in mach_msg() argument
67 mach_port_t notify;
85 timeout, notify);
94 timeout, notify);
101 timeout, notify);
/external/smack/src/org/jivesoftware/smackx/pubsub/
DItemsExtension.java35 protected Boolean notify; field in ItemsExtension
109 public ItemsExtension(String nodeId, List<? extends PacketExtension> items, boolean notify) in ItemsExtension() argument
114 this.notify = notify; in ItemsExtension()
149 return notify; in getNotify()
166 if (notify != null) in toXML()
171 builder.append(notify.equals(Boolean.TRUE) ? 1 : 0); in toXML()
/external/chromium_org/v8/test/mjsunit/es7/
Dobject-observe.js148 assertThrows(function() { notifier.notify({}); }, TypeError);
149 assertThrows(function() { notifier.notify({ type: 4 }); }, TypeError);
160 var notify = notifier.notify; variable
161 assertThrows(function() { notify.call(undefined, { type: 'a' }); }, TypeError);
162 assertThrows(function() { notify.call(null, { type: 'a' }); }, TypeError);
163 assertThrows(function() { notify.call(5, { type: 'a' }); }, TypeError);
164 assertThrows(function() { notify.call('hello', { type: 'a' }); }, TypeError);
165 assertThrows(function() { notify.call(false, { type: 'a' }); }, TypeError);
166 assertThrows(function() { notify.call({}, { type: 'a' }); }, TypeError);
168 notifier.notify(changeRecordWithAccessor);
[all …]
/external/chromium_org/content/child/npapi/
Dplugin_instance.cc91 bool notify; in CreateStream() local
93 GetNotifyData(notify_id, &notify, &notify_data); in CreateStream()
95 resource_id, url, this, notify, notify_data); in CreateStream()
198 bool notify; in DidFinishLoadWithReason() local
200 GetNotifyData(notify_id, &notify, &notify_data); in DidFinishLoadWithReason()
201 if (!notify) { in DidFinishLoadWithReason()
385 bool notify; in SendJavaScriptStream() local
387 GetNotifyData(notify_id, &notify, &notify_data); in SendJavaScriptStream()
391 new PluginStringStream(this, url, notify, notify_data); in SendJavaScriptStream()
397 if (notify) in SendJavaScriptStream()
[all …]
/external/chromium_org/chrome/browser/extensions/api/idle/
Didle_manager.cc76 IdleCallback notify) OVERRIDE;
77 virtual void CalculateIdleTime(IdleTimeCallback notify) OVERRIDE;
88 IdleCallback notify) { in CalculateIdleState() argument
89 ::CalculateIdleState(idle_threshold, notify); in CalculateIdleState()
92 void DefaultIdleProvider::CalculateIdleTime(IdleTimeCallback notify) { in CalculateIdleTime() argument
93 ::CalculateIdleTime(notify); in CalculateIdleTime()
172 void IdleManager::QueryState(int threshold, QueryStateCallback notify) { in QueryState() argument
174 idle_time_provider_->CalculateIdleState(threshold, notify); in QueryState()
/external/chromium_org/chromeos/audio/
Dcras_audio_handler.h161 virtual void SwitchToDevice(const AudioDevice& device, bool notify);
207 void SetActiveOutputNode(uint64 node_id, bool notify);
208 void SetActiveInputNode(uint64 node_id, bool notify);
280 void AddActiveNode(uint64 node_id, bool notify);
283 void AddAdditionalActiveNode(uint64 node_id, bool notify);
286 void RemoveActiveNodeInternal(uint64 node_id, bool notify);
Dcras_audio_handler.cc213 void CrasAudioHandler::AddActiveNode(uint64 node_id, bool notify) { in AddActiveNode() argument
224 SwitchToDevice(*device, notify); in AddActiveNode()
228 AddAdditionalActiveNode(node_id, notify); in AddActiveNode()
362 void CrasAudioHandler::SetActiveOutputNode(uint64 node_id, bool notify) { in SetActiveOutputNode() argument
365 if (notify) in SetActiveOutputNode()
369 void CrasAudioHandler::SetActiveInputNode(uint64 node_id, bool notify) { in SetActiveInputNode() argument
372 if (notify) in SetActiveInputNode()
719 void CrasAudioHandler::SwitchToDevice(const AudioDevice& device, bool notify) { in SwitchToDevice() argument
724 SetActiveInputNode(active_input_node_id_, notify); in SwitchToDevice()
729 SetActiveOutputNode(active_output_node_id_, notify); in SwitchToDevice()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dtest_blacklist.cc84 bool notify) { in SetBlacklistState() argument
103 if (notify) in SetBlacklistState()
107 void TestBlacklist::Clear(bool notify) { in Clear() argument
110 if (notify) in Clear()
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_store.cc140 bool notify = false; in UnregisterExtension() local
147 notify = !i->second->settings.empty(); in UnregisterExtension()
154 if (notify) in UnregisterExtension()
162 bool notify = false; in SetExtensionState() local
169 notify = !i->second->settings.empty(); in SetExtensionState()
175 if (notify) in SetExtensionState()
229 bool notify = false; in ClearContentSettingsForExtension() local
238 notify = !map->empty(); in ClearContentSettingsForExtension()
241 if (notify) { in ClearContentSettingsForExtension()
/external/chromium_org/chrome/browser/chromeos/accessibility/
Daccessibility_manager.h47 ash::AccessibilityNotificationVisibility notify);
53 ash::AccessibilityNotificationVisibility notify);
58 ash::AccessibilityNotificationVisibility notify; member
129 ash::AccessibilityNotificationVisibility notify);
135 void ToggleSpokenFeedback(ash::AccessibilityNotificationVisibility notify);
/external/lldb/source/Breakpoint/
DBreakpointList.cpp35 BreakpointList::Add (BreakpointSP &bp_sp, bool notify) in Add() argument
42 if (notify) in Add()
52 BreakpointList::Remove (break_id_t break_id, bool notify) in Remove() argument
60 if (notify) in Remove()
82 BreakpointList::RemoveAll (bool notify) in RemoveAll() argument
87 if (notify) in RemoveAll()
DWatchpointList.cpp34 WatchpointList::Add (const WatchpointSP &wp_sp, bool notify) in Add() argument
39 if (notify) in Add()
209 WatchpointList::Remove (lldb::watch_id_t watch_id, bool notify) in Remove() argument
216 if (notify) in Remove()
280 WatchpointList::RemoveAll (bool notify) in RemoveAll() argument
283 if (notify) in RemoveAll()
/external/lldb/include/lldb/Breakpoint/
DBreakpointList.h50 Add (lldb::BreakpointSP& bp_sp, bool notify);
133 Remove (lldb::break_id_t breakID, bool notify);
142 RemoveAll (bool notify);
DWatchpointList.h61 Add (const lldb::WatchpointSP& wp_sp, bool notify);
183 Remove (lldb::watch_id_t watchID, bool notify);
244 RemoveAll (bool notify);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowNotificationManager.java21 public void notify(int id, Notification notification) in notify() method in ShadowNotificationManager
23 notify(null, id, notification); in notify()
27 public void notify(String tag, int id, Notification notification) { in notify() method in ShadowNotificationManager
/external/ipsec-tools/src/racoon/
Disakmp_inf.c330 isakmp_info_recv_n(iph1, notify, msgid, encrypted) in isakmp_info_recv_n() argument
332 struct isakmp_pl_n *notify;
342 type = ntohs(notify->type);
362 (struct isakmp_pl_ru *)notify, msgid);
367 (struct isakmp_pl_ru *)notify, msgid);
404 if(notify->spi_size > 0) {
405 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size) {
410 spi = val2str((char *)(notify + 1), notify->spi_size);
416 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
424 l = ntohs(notify->h.len) - sizeof(*notify) - notify->spi_size;
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DCoroutineManager.java271 notify(); in co_resume()
315 notify(); in co_exit()
342 notify(); in co_exit_to()
/external/chromium_org/third_party/polymer/components-chromium/core-signals/
Dcore-signals-extracted.js20 function notify(name, data) { function
42 notify(e.detail.name, e.detail.data);

1234567891011