Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/anomaly/
DAlarmTracker_test.cpp110 Alarm alarmRand = createAlarm("alarmRand", /*offsetMillis=*/15 * MS_PER_SEC, in TEST()
121 Alarm alarmAlways = createAlarm("alarmAlways", /*offsetMillis=*/15 * MS_PER_SEC, in TEST()
131 Alarm alarmNever = createAlarm("alarmNever", /*offsetMillis=*/15 * MS_PER_SEC, in TEST()
/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/e2e/
DConfigUpdate_e2e_test.cpp2674 Alarm alarmPreserve = createAlarm("AlarmPreserve", /*offset*/ 5 * MS_PER_SEC, in TEST_F()
2676 Alarm alarmReplace = createAlarm("AlarmReplace", /*offset*/ 1, in TEST_F()
2678 Alarm alarmRemove = createAlarm("AlarmRemove", /*offset*/ 1, in TEST_F()
2772 Alarm alarmNew = createAlarm("AlarmNew", /*offset*/ 1, in TEST_F()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h361 Alarm createAlarm(const string& name, int64_t offsetMillis, int64_t periodMillis);
Dstatsd_test_util.cpp640 Alarm createAlarm(const string& name, const int64_t offsetMillis, const int64_t periodMillis) { in createAlarm() function
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp1364 *config.add_alarm() = createAlarm("Alarm", /*offset=*/1, /*period=*/-1); in TEST_F()
1374 *config.add_alarm() = createAlarm("Alarm", /*offset=*/-1, /*period=*/1); in TEST_F()
Dconfig_update_utils_test.cpp3882 Alarm alarm1 = createAlarm("Alarm1", /*offset*/ 1 * MS_PER_SEC, /*period*/ 50 * MS_PER_SEC); in TEST_F()
3886 Alarm alarm2 = createAlarm("Alarm2", /*offset*/ 1 * MS_PER_SEC, /*period*/ 2000 * MS_PER_SEC); in TEST_F()
3890 Alarm alarm3 = createAlarm("Alarm3", /*offset*/ 10 * MS_PER_SEC, /*period*/ 5000 * MS_PER_SEC); in TEST_F()