/frameworks/base/data/sounds/ |
D | AudioPackage9.mk | 11 $(LOCAL_PATH)/alarms/ogg/Argon.ogg:system/media/audio/alarms/Argon.ogg \ 12 $(LOCAL_PATH)/alarms/ogg/Carbon.ogg:system/media/audio/alarms/Carbon.ogg \ 13 $(LOCAL_PATH)/alarms/ogg/Helium.ogg:system/media/audio/alarms/Helium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg/Krypton.ogg:system/media/audio/alarms/Krypton.ogg \ 15 $(LOCAL_PATH)/alarms/ogg/Neon.ogg:system/media/audio/alarms/Neon.ogg \ 16 $(LOCAL_PATH)/alarms/ogg/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg \ 17 $(LOCAL_PATH)/alarms/ogg/Osmium.ogg:system/media/audio/alarms/Osmium.ogg \ 18 $(LOCAL_PATH)/alarms/ogg/Platinum.ogg:system/media/audio/alarms/Platinum.ogg \
|
D | AudioPackage11.mk | 11 $(LOCAL_PATH)/alarms/ogg/Argon.ogg:system/media/audio/alarms/Argon.ogg \ 12 $(LOCAL_PATH)/alarms/ogg/Carbon.ogg:system/media/audio/alarms/Carbon.ogg \ 13 $(LOCAL_PATH)/alarms/ogg/Helium.ogg:system/media/audio/alarms/Helium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg/Krypton.ogg:system/media/audio/alarms/Krypton.ogg \ 15 $(LOCAL_PATH)/alarms/ogg/Neon.ogg:system/media/audio/alarms/Neon.ogg \ 16 $(LOCAL_PATH)/alarms/ogg/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg \ 17 $(LOCAL_PATH)/alarms/ogg/Osmium.ogg:system/media/audio/alarms/Osmium.ogg \ 18 $(LOCAL_PATH)/alarms/ogg/Platinum.ogg:system/media/audio/alarms/Platinum.ogg \
|
D | AudioPackage10.mk | 11 $(LOCAL_PATH)/alarms/ogg/Argon.ogg:system/media/audio/alarms/Argon.ogg \ 12 $(LOCAL_PATH)/alarms/ogg/Carbon.ogg:system/media/audio/alarms/Carbon.ogg \ 13 $(LOCAL_PATH)/alarms/ogg/Helium.ogg:system/media/audio/alarms/Helium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg/Krypton.ogg:system/media/audio/alarms/Krypton.ogg \ 15 $(LOCAL_PATH)/alarms/ogg/Neon.ogg:system/media/audio/alarms/Neon.ogg \ 16 $(LOCAL_PATH)/alarms/ogg/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg \ 17 $(LOCAL_PATH)/alarms/ogg/Osmium.ogg:system/media/audio/alarms/Osmium.ogg \ 18 $(LOCAL_PATH)/alarms/ogg/Platinum.ogg:system/media/audio/alarms/Platinum.ogg \
|
D | AudioPackage8.mk | 11 $(LOCAL_PATH)/alarms/ogg/Cesium.ogg:system/media/audio/alarms/Cesium.ogg \ 12 $(LOCAL_PATH)/alarms/ogg/Fermium.ogg:system/media/audio/alarms/Fermium.ogg \ 13 $(LOCAL_PATH)/alarms/ogg/Hassium.ogg:system/media/audio/alarms/Hassium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg/Neptunium.ogg:system/media/audio/alarms/Neptunium.ogg \ 15 $(LOCAL_PATH)/alarms/ogg/Nobelium.ogg:system/media/audio/alarms/Nobelium.ogg \ 16 $(LOCAL_PATH)/alarms/ogg/Osmium.ogg:system/media/audio/alarms/Osmium.ogg \ 17 $(LOCAL_PATH)/alarms/ogg/Plutonium.ogg:system/media/audio/alarms/Plutonium.ogg \ 18 $(LOCAL_PATH)/alarms/ogg/Promethium.ogg:system/media/audio/alarms/Promethium.ogg \
|
D | AllAudio.mk | 18 $(LOCAL_PATH)/Alarm_Beep_01.ogg:system/media/audio/alarms/Alarm_Beep_01.ogg \ 19 $(LOCAL_PATH)/Alarm_Beep_02.ogg:system/media/audio/alarms/Alarm_Beep_02.ogg \ 20 $(LOCAL_PATH)/Alarm_Beep_03.ogg:system/media/audio/alarms/Alarm_Beep_03.ogg \ 21 $(LOCAL_PATH)/Alarm_Buzzer.ogg:system/media/audio/alarms/Alarm_Buzzer.ogg \ 22 $(LOCAL_PATH)/Alarm_Classic.ogg:system/media/audio/alarms/Alarm_Classic.ogg \ 23 $(LOCAL_PATH)/Alarm_Rooster_02.ogg:system/media/audio/alarms/Alarm_Rooster_02.ogg \ 24 $(LOCAL_PATH)/alarms/ogg/Argon.ogg:system/media/audio/alarms/Argon.ogg \ 25 $(LOCAL_PATH)/alarms/ogg/Barium.ogg:system/media/audio/alarms/Barium.ogg \ 26 $(LOCAL_PATH)/alarms/ogg/Carbon.ogg:system/media/audio/alarms/Carbon.ogg \ 27 $(LOCAL_PATH)/alarms/ogg/Cesium.ogg:system/media/audio/alarms/Cesium.ogg \ [all …]
|
D | AudioPackage7.mk | 11 $(LOCAL_PATH)/alarms/ogg/Cesium.ogg:system/media/audio/alarms/Cesium.ogg \ 12 $(LOCAL_PATH)/alarms/ogg/Fermium.ogg:system/media/audio/alarms/Fermium.ogg \ 13 $(LOCAL_PATH)/alarms/ogg/Hassium.ogg:system/media/audio/alarms/Hassium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg/Neptunium.ogg:system/media/audio/alarms/Neptunium.ogg \ 15 $(LOCAL_PATH)/alarms/ogg/Nobelium.ogg:system/media/audio/alarms/Nobelium.ogg \ 16 $(LOCAL_PATH)/alarms/ogg/Plutonium.ogg:system/media/audio/alarms/Plutonium.ogg \
|
D | AudioPackage7alt.mk | 11 $(LOCAL_PATH)/alarms/ogg-jp/Argon.ogg:system/media/audio/alarms/Argon.ogg \ 12 $(LOCAL_PATH)/alarms/ogg-jp/Carbon.ogg:system/media/audio/alarms/Carbon.ogg \ 13 $(LOCAL_PATH)/alarms/ogg-jp/Helium.ogg:system/media/audio/alarms/Helium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg-jp/Krypton.ogg:system/media/audio/alarms/Krypton.ogg \ 15 $(LOCAL_PATH)/alarms/ogg-jp/Neon.ogg:system/media/audio/alarms/Neon.ogg \ 16 $(LOCAL_PATH)/alarms/ogg-jp/Oxygen.ogg:system/media/audio/alarms/Oxygen.ogg \
|
D | AudioPackage6.mk | 11 $(LOCAL_PATH)/alarms/ogg/Barium.ogg:system/media/audio/alarms/Barium.ogg \ 12 $(LOCAL_PATH)/alarms/ogg/Cesium.ogg:system/media/audio/alarms/Cesium.ogg \ 13 $(LOCAL_PATH)/alarms/ogg/Plutonium.ogg:system/media/audio/alarms/Plutonium.ogg \ 14 $(LOCAL_PATH)/alarms/ogg/Scandium.ogg:system/media/audio/alarms/Scandium.ogg \
|
D | OriginalAudio.mk | 15 $(LOCAL_PATH)/Alarm_Buzzer.ogg:system/media/audio/alarms/Alarm_Buzzer.ogg \ 16 $(LOCAL_PATH)/Alarm_Beep_01.ogg:system/media/audio/alarms/Alarm_Beep_01.ogg \ 17 $(LOCAL_PATH)/Alarm_Beep_02.ogg:system/media/audio/alarms/Alarm_Beep_02.ogg \ 18 $(LOCAL_PATH)/Alarm_Classic.ogg:system/media/audio/alarms/Alarm_Classic.ogg \ 19 $(LOCAL_PATH)/Alarm_Beep_03.ogg:system/media/audio/alarms/Alarm_Beep_03.ogg \ 20 $(LOCAL_PATH)/Alarm_Rooster_02.ogg:system/media/audio/alarms/Alarm_Rooster_02.ogg \
|
D | AudioPackage5.mk | 11 $(LOCAL_PATH)/Alarm_Buzzer.ogg:system/media/audio/alarms/Alarm_Buzzer.ogg \ 12 $(LOCAL_PATH)/Alarm_Beep_01.ogg:system/media/audio/alarms/Alarm_Beep_01.ogg \ 13 $(LOCAL_PATH)/Alarm_Beep_02.ogg:system/media/audio/alarms/Alarm_Beep_02.ogg \ 14 $(LOCAL_PATH)/Alarm_Classic.ogg:system/media/audio/alarms/Alarm_Classic.ogg \ 15 $(LOCAL_PATH)/Alarm_Beep_03.ogg:system/media/audio/alarms/Alarm_Beep_03.ogg \
|
D | AudioPackage12.mk | 19 $(LOCAL_PATH)/alarms/ogg/$(fn).ogg:system/media/audio/alarms/$(fn).ogg)
|
D | AudioPackage13.mk | 20 $(LOCAL_PATH)/alarms/material/ogg/$(fn).ogg:system/media/audio/alarms/$(fn).ogg)
|
D | AudioPackage2.mk | 16 $(LOCAL_PATH)/Alarm_Buzzer.ogg:system/media/audio/alarms/Alarm_Buzzer.ogg \ 17 $(LOCAL_PATH)/Alarm_Beep_01.ogg:system/media/audio/alarms/Alarm_Beep_01.ogg \ 18 $(LOCAL_PATH)/Alarm_Beep_02.ogg:system/media/audio/alarms/Alarm_Beep_02.ogg \ 19 $(LOCAL_PATH)/Alarm_Classic.ogg:system/media/audio/alarms/Alarm_Classic.ogg \ 20 $(LOCAL_PATH)/Alarm_Beep_03.ogg:system/media/audio/alarms/Alarm_Beep_03.ogg \ 21 $(LOCAL_PATH)/Alarm_Rooster_02.ogg:system/media/audio/alarms/Alarm_Rooster_02.ogg \
|
D | AudioPackage3.mk | 16 $(LOCAL_PATH)/Alarm_Buzzer.ogg:system/media/audio/alarms/Alarm_Buzzer.ogg \ 17 $(LOCAL_PATH)/Alarm_Beep_01.ogg:system/media/audio/alarms/Alarm_Beep_01.ogg \ 18 $(LOCAL_PATH)/Alarm_Beep_02.ogg:system/media/audio/alarms/Alarm_Beep_02.ogg \ 19 $(LOCAL_PATH)/Alarm_Classic.ogg:system/media/audio/alarms/Alarm_Classic.ogg \ 20 $(LOCAL_PATH)/Alarm_Beep_03.ogg:system/media/audio/alarms/Alarm_Beep_03.ogg \ 21 $(LOCAL_PATH)/Alarm_Rooster_02.ogg:system/media/audio/alarms/Alarm_Rooster_02.ogg \
|
D | AudioPackage4.mk | 16 $(LOCAL_PATH)/Alarm_Buzzer.ogg:system/media/audio/alarms/Alarm_Buzzer.ogg \ 17 $(LOCAL_PATH)/Alarm_Beep_01.ogg:system/media/audio/alarms/Alarm_Beep_01.ogg \ 18 $(LOCAL_PATH)/Alarm_Beep_02.ogg:system/media/audio/alarms/Alarm_Beep_02.ogg \ 19 $(LOCAL_PATH)/Alarm_Classic.ogg:system/media/audio/alarms/Alarm_Classic.ogg \ 20 $(LOCAL_PATH)/Alarm_Beep_03.ogg:system/media/audio/alarms/Alarm_Beep_03.ogg \ 21 $(LOCAL_PATH)/Alarm_Rooster_02.ogg:system/media/audio/alarms/Alarm_Rooster_02.ogg \
|
D | AudioPackage12_48.mk | 20 $(LOCAL_PATH)/alarms/ogg/$(fn).ogg:system/media/audio/alarms/$(fn).ogg)
|
D | AudioPackage13_48.mk | 20 $(LOCAL_PATH)/alarms/material/ogg/$(fn)_48k.ogg:system/media/audio/alarms/$(fn).ogg)
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 368 final ArrayList<Alarm> alarms = new ArrayList<Alarm>(); field in AlarmManagerService.Batch 380 alarms.add(seed); in Batch() 384 return alarms.size(); in size() 388 return alarms.get(index); in get() 398 int index = Collections.binarySearch(alarms, alarm, sIncreasingTimeOrder); in add() 402 alarms.add(index, alarm); in add() 433 for (int i = 0; i < alarms.size(); ) { in remove() 434 Alarm alarm = alarms.get(i); in remove() 436 alarms.remove(i); in remove() 473 for (int i = alarms.size()-1; i >= 0; i--) { in remove() [all …]
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
D | doze-standby.jd | 3 page.tags=doze, app standby, marshmallow, alarms 4 meta.tags="battery", "marshmallow", "alarms" 64 defers their jobs, syncs, and standard alarms. 70 system runs all pending syncs, jobs, and alarms, and lets apps access the 84 suspending network access and deferring jobs, syncs, and alarms. Over time, 112 <li>Standard {@link android.app.AlarmManager} alarms (including {@link 120 <li>If you need to set alarms that fire while in Doze, use {@link 130 exits Doze shortly before those alarms fire. 168 <li>Set critical alarms with {@link 189 that your app manages network, alarms, jobs, and syncs. Apps should be able [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CountdownConditionProvider.java | 113 final AlarmManager alarms = (AlarmManager) in onSubscribe() local 119 alarms.cancel(pendingIntent); in onSubscribe() 129 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); in onSubscribe()
|
D | ScheduleConditionProvider.java | 174 final AlarmManager alarms = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in updateAlarm() local 181 alarms.cancel(pendingIntent); in updateAlarm() 185 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent); in updateAlarm()
|
D | EventConditionProvider.java | 269 final AlarmManager alarms = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in rescheduleAlarm() local 276 alarms.cancel(pendingIntent); in rescheduleAlarm() 284 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent); in rescheduleAlarm()
|
/frameworks/base/docs/html/training/scheduling/ |
D | alarms.jd | 102 "denial of service." Follow these best practices in using alarms:</p> 123 Android synchronizes repeating alarms from multiple apps and fires 126 (API Level 19), all repeating alarms are inexact. Note that while 130 Therefore, for network requests, add some randomness to your alarms, as discussed above.</p> 135 <p>Repeating alarms that are based on a precise trigger time don't scale well. 146 <p>As described above, repeating alarms are a good choice for scheduling regular events or 164 <p>There are two general clock types for alarms: "elapsed real time" and "real time clock" 170 time zone/locale. The real time clock type is better suited for alarms that are dependent 177 all the repeating alarms will fire when your device is next awake.</p> 280 When you use this method, Android synchronizes multiple inexact repeating alarms and fires [all …]
|
D | index.jd | 59 <strong><a href="alarms.html">Scheduling Repeating Alarms</a></strong> 62 Learn how to use repeating alarms to schedule operations that take place outside
|
/frameworks/base/docs/html/training/efficient-downloads/ |
D | regular_updates.jd | 19 …<li><a href="#OptimizedPolling">Optimize polling with inexact repeating alarms and exponential bac… 55 <p>When scheduling updates, use inexact repeating alarms that allow the system to "phase shift" the… 63 <p>If several alarms are scheduled to trigger at similar times, this phase-shifting will cause them… 67 <p>You can further reduce the impact of these scheduled alarms by opportunistically reducing their …
|