Home
last modified time | relevance | path

Searched refs:createAlarm (Results 1 – 5 of 5) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.kt239 val createAlarm = Alarm.createIntent(this, DeskClock::class.java, Alarm.INVALID_ID) in handleSetAlarm() constant
244 startActivity(createAlarm) in handleSetAlarm()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h230 Alarm createAlarm(const string& name, const int64_t offsetMillis, const int64_t periodMillis);
Dstatsd_test_util.cpp541 Alarm createAlarm(const string& name, const int64_t offsetMillis, const int64_t periodMillis) { in createAlarm() function
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp2430 Alarm alarmPreserve = createAlarm("AlarmPreserve", /*offset*/ 5 * MS_PER_SEC, in TEST_F()
2432 Alarm alarmReplace = createAlarm("AlarmReplace", /*offset*/ 1, in TEST_F()
2434 Alarm alarmRemove = createAlarm("AlarmRemove", /*offset*/ 1, in TEST_F()
2529 Alarm alarmNew = createAlarm("AlarmNew", /*offset*/ 1, in TEST_F()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3445 Alarm alarm1 = createAlarm("Alarm1", /*offset*/ 1 * MS_PER_SEC, /*period*/ 50 * MS_PER_SEC); in TEST_F()
3449 Alarm alarm2 = createAlarm("Alarm2", /*offset*/ 1 * MS_PER_SEC, /*period*/ 2000 * MS_PER_SEC); in TEST_F()
3453 Alarm alarm3 = createAlarm("Alarm3", /*offset*/ 10 * MS_PER_SEC, /*period*/ 5000 * MS_PER_SEC); in TEST_F()