/external/bluetooth/bluedroid/osi/test/ |
D | alarm_test.cpp | 91 alarm_t *alarm = alarm_new(); in TEST_F() local 92 ASSERT_TRUE(alarm != NULL); in TEST_F() 96 alarm_t *alarm = alarm_new(); in TEST_F() local 97 alarm_free(alarm); in TEST_F() 105 alarm_t *alarm = alarm_new(); in TEST_F() local 106 alarm_cancel(alarm); in TEST_F() 107 alarm_free(alarm); in TEST_F() 111 alarm_t *alarm = alarm_new(); in TEST_F() local 112 alarm_set(alarm, 10, cb, NULL); in TEST_F() 113 alarm_cancel(alarm); in TEST_F() [all …]
|
/external/bluetooth/bluedroid/osi/src/ |
D | alarm.c | 104 void alarm_free(alarm_t *alarm) { in alarm_free() argument 105 if (!alarm) in alarm_free() 108 alarm_cancel(alarm); in alarm_free() 109 pthread_mutex_destroy(&alarm->callback_lock); in alarm_free() 110 free(alarm); in alarm_free() 114 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data) { in alarm_set() argument 116 assert(alarm != NULL); in alarm_set() 123 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_set() 124 if (alarm->callback) in alarm_set() 125 list_remove(alarms, alarm); in alarm_set() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/alarms/ |
D | alarms_api_unittest.cc | 35 const Alarm& alarm) OVERRIDE { in OnAlarm() argument 36 alarms_seen.push_back(alarm.js_alarm->name); in OnAlarm() 79 linked_ptr<JsAlarm> alarm(new JsAlarm); in ToAlarmList() local 85 EXPECT_TRUE(JsAlarm::Populate(*alarm_value, alarm.get())); in ToAlarmList() 86 list.push_back(alarm); in ToAlarmList() 119 ExtensionAlarmsTest* test, Alarm* alarm) { in ExtensionAlarmsTestGetAlarmCallback() argument 120 ASSERT_TRUE(alarm); in ExtensionAlarmsTestGetAlarmCallback() 121 EXPECT_EQ("", alarm->js_alarm->name); in ExtensionAlarmsTestGetAlarmCallback() 122 EXPECT_DOUBLE_EQ(10000, alarm->js_alarm->scheduled_time); in ExtensionAlarmsTestGetAlarmCallback() 123 EXPECT_FALSE(alarm->js_alarm->period_in_minutes.get()); in ExtensionAlarmsTestGetAlarmCallback() [all …]
|
D | alarm_manager.cc | 45 const Alarm& alarm) OVERRIDE { in OnAlarm() argument 47 args->Append(alarm.js_alarm->ToValue().release()); in OnAlarm() 68 Alarm alarm; in AlarmsFromValue() local 70 api::alarms::Alarm::Populate(*alarm_dict, alarm.js_alarm.get())) { in AlarmsFromValue() 73 base::GetValueAsTimeDelta(*time_value, &alarm.granularity); in AlarmsFromValue() 74 alarms.push_back(alarm); in AlarmsFromValue() 83 scoped_ptr<base::DictionaryValue> alarm = in AlarmsToValue() local 85 alarm->Set(kAlarmGranularity, in AlarmsToValue() 87 list->Append(alarm.release()); in AlarmsToValue() 112 const Alarm& alarm, in AddAlarm() argument [all …]
|
D | alarms_api.cc | 116 Alarm alarm(alarm_name, in RunAsync() local 123 extension_id(), alarm, base::Bind(&AlarmsCreateFunction::Callback, this)); in RunAsync() 146 const std::string& name, extensions::Alarm* alarm) { in Callback() argument 147 if (alarm) { in Callback() 148 results_ = alarms::Get::Results::Create(*alarm->js_alarm); in Callback()
|
D | alarm_manager.h | 67 const Alarm& alarm) = 0; 80 const Alarm& alarm, 144 void AddAlarmWhenReady(const Alarm& alarm, 181 const Alarm& alarm);
|
/external/chromium_org/chrome/common/extensions/api/ |
D | alarms.idl | 9 // Name of this alarm. 12 // Time at which this alarm was scheduled to fire, in milliseconds past the 14 // alarm may have been delayed an arbitrary amount beyond this. 17 // If not null, the alarm is a repeating alarm and will fire again in 25 // Time at which the alarm should fire, in milliseconds past the epoch 37 // <var>delayInMinutes</var>. If not set, the alarm will only fire once. 43 callback AlarmCallback = void (optional Alarm alarm); 48 // Creates an alarm. Near the time(s) specified by <var>alarmInfo</var>, 49 // the <code>onAlarm</code> event is fired. If there is another alarm with 51 // replaced by this alarm. [all …]
|
/external/chromium_org/net/quic/ |
D | quic_connection_helper_test.cc | 55 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local 58 alarm->Set(clock_.Now().Add(delta)); in TEST_F() 72 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local 75 alarm->Set(clock_.Now().Add(delta)); in TEST_F() 76 alarm->Cancel(); in TEST_F() 90 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local 93 alarm->Set(clock_.Now().Add(delta)); in TEST_F() 94 alarm->Cancel(); in TEST_F() 96 alarm->Set(clock_.Now().Add(new_delta)); in TEST_F() 117 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local [all …]
|
/external/chromium_org/net/tools/quic/ |
D | quic_epoll_connection_helper_test.cc | 58 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local 63 alarm->Set(start.Add(delta)); in TEST_F() 71 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local 76 alarm->Set(start.Add(delta)); in TEST_F() 77 alarm->Cancel(); in TEST_F() 86 scoped_ptr<QuicAlarm> alarm(helper_.CreateAlarm(delegate)); in TEST_F() local 91 alarm->Set(clock->Now().Add(delta)); in TEST_F() 92 alarm->Cancel(); in TEST_F() 94 alarm->Set(clock->Now().Add(new_delta)); in TEST_F()
|
D | quic_epoll_connection_helper.cc | 46 explicit EpollAlarmImpl(QuicEpollAlarm* alarm) : alarm_(alarm) {} in EpollAlarmImpl() argument
|
/external/bluetooth/bluedroid/osi/include/ |
D | alarm.h | 34 void alarm_free(alarm_t *alarm); 41 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data); 47 void alarm_cancel(alarm_t *alarm);
|
/external/chromium_org/chrome/browser/resources/hangout_services/ |
D | startup.js | 10 chrome.alarms.onAlarm.addListener(function(alarm) { argument 11 if (!alarm || alarm.name != 'hangout_services_fxpre')
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
D | popup.js | 12 function updateEnabledStatus(alarm) { argument 13 var enabled = $('a' + alarm + '_on').checked; 14 $('a' + alarm + '_tt').disabled = !enabled; 15 $('a' + alarm + '_ampm').disabled = !enabled; 18 var tt = $('a' + alarm + '_tt').value; 19 var ampm = $('a' + alarm + '_ampm').selectedIndex; 25 $('a' + alarm + '_wrap').removeAttribute('aria-invalid'); 27 $('a' + alarm + '_wrap').setAttribute('aria-invalid', 'true'); 30 $('a' + alarm + '_wrap').classList.remove('disabled'); 32 $('a' + alarm + '_wrap').classList.add('disabled');
|
/external/chromium_org/third_party/openssl/openssl/crypto/des/ |
D | speed.c | 227 alarm(10); in main() 239 alarm(10); in main() 257 alarm(10); in main() 274 alarm(10); in main() 294 alarm(10); in main()
|
/external/openssl/crypto/des/ |
D | speed.c | 227 alarm(10); in main() 239 alarm(10); in main() 257 alarm(10); in main() 274 alarm(10); in main() 294 alarm(10); in main()
|
/external/valgrind/main/none/tests/s390x/ |
D | ex_sig.c | 31 alarm(1); in handle_SIG() 37 alarm(1); in main()
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/ |
D | background.js | 278 function onAlarm(alarm) { argument 279 console.log('Got alarm', alarm); 282 if (alarm && alarm.name == 'watchdog') { 290 chrome.alarms.get('refresh', function(alarm) { argument 291 if (alarm) {
|
/external/iputils/ |
D | tftpd.c | 186 alarm(0); in main() 379 alarm(rexmtval); /* read the ack */ in sendfile() 381 alarm(0); in sendfile() 444 alarm(rexmtval); in recvfile() 446 alarm(0); in recvfile() 482 alarm(rexmtval); in recvfile() 484 alarm(0); in recvfile()
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/obsolete/ |
D | pralarm.h | 120 NSPR_API(PRStatus) PR_DestroyAlarm(PRAlarm *alarm); 159 PRAlarm *alarm, PRIntervalTime period, PRUint32 rate,
|
/external/chromium_org/chrome/browser/resources/google_now/ |
D | cards.js | 344 instrumented.alarms.onAlarm.addListener(function(alarm) { argument 345 console.log('cardManager.onAlarm ' + JSON.stringify(alarm)); 347 if (alarm.name.indexOf(alarmPrefix) == 0) { 351 var chromeNotificationId = alarm.name.substring(alarmPrefix.length);
|
/external/llvm/lib/Support/Unix/ |
D | Watchdog.inc | 22 alarm(seconds); 28 alarm(0);
|
/external/chromium_org/third_party/openssl/openssl/crypto/rc2/ |
D | rc2speed.c | 218 alarm(10); in main() 235 alarm(10); in main() 256 alarm(10); in main()
|
/external/openssl/crypto/rc2/ |
D | rc2speed.c | 218 alarm(10); in main() 235 alarm(10); in main() 256 alarm(10); in main()
|
/external/chromium_org/build/android/ |
D | adb_logcat_monitor.py | 79 signal.alarm(2) 94 signal.alarm(0)
|
/external/chromium_org/third_party/openssl/openssl/crypto/rc4/ |
D | rc4speed.c | 217 alarm(10); in main() 234 alarm(10); in main()
|