Searched refs:createAlarm (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/statsd/tests/anomaly/ |
D | AlarmTracker_test.cpp | 110 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/ |
D | HandleApiCalls.kt | 239 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/ |
D | ConfigUpdate_e2e_test.cpp | 2674 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/ |
D | statsd_test_util.h | 361 Alarm createAlarm(const string& name, int64_t offsetMillis, int64_t periodMillis);
|
D | statsd_test_util.cpp | 640 Alarm createAlarm(const string& name, const int64_t offsetMillis, const int64_t periodMillis) { in createAlarm() function
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 1364 *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()
|
D | config_update_utils_test.cpp | 3882 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()
|