90c52de28691ca0bbbf7c039ef20f85ce46882cc |
|
23-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5173952: Opening a Notification From Lock Screen... ...Should Skip Unsecure Lockscreen (ICS) Also while I am in there, clean up logging of intent objects to include even less sensitive information, while showing the true Intent in dump output (since apps can't get to that). Change-Id: I35fed714645b21e4304ba38a11ebb9c4c963538e
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
51608a53040cd4bc3694dac2bf67dc18a4b5b235 |
|
25-Aug-2011 |
Paul Westbrook <pwestbro@google.com> |
Use ELAPSE_REALTIME alarm for tick event Change to use a real item alarm for scheduling ACTION_TIME_TICK intents for the case where time goes backwards after the tick intent is schedule, and where the time change is not noticed from the call to waitForAlarm(). Bug: 5166877 Change-Id: I46b9a1c80146d27becedc341c4af977fcdf47352
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
587e9563d61beaaa67090eddd99b737847561eb9 |
|
20-Jun-2011 |
Conley Owens <cco3@android.com> |
am c1b62e3b: am bf5adfa5: Merge "Check if we are in daylight time when calculating timezone" * commit 'c1b62e3ba91d69dd75569b480aec55be8f808331': Check if we are in daylight time when calculating timezone
|
c84cc4f183cb18f299bed237235fa64e013d0fca |
|
30-Aug-2010 |
Lavettacn Xiao <lavettacn.xiao@sonyericsson.com> |
Check if we are in daylight time when calculating timezone The code that calculates the Kernel TimeZone does not check if we are actually in daylite time prior updating the kernel time zone. Use TimeZone.getOffset which checks for daylight savings. Also updated setTimeZone for consistency. Change-Id: I44565bc8df48e81370ea3bfbb099a6a5675e343d
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
b8849c1e858c726eaf04f7c5a5a08036faa171df |
|
08-Feb-2011 |
Christopher Tate <ctate@google.com> |
Align inexact alarms in both time bases; don't pull to wall time The previous implementation failed to properly distinguish between trigger times in the RTC vs the ELAPSED time bases. The pernicious result of this was that sometimes it would decide to align RTC alarms based on, say, 0 rather than on the real current time. This would pull the recurrence into wall-clock alignment, with serious side effects: in particular, periodic tasks that would hit external network resources would, because *all* devices would be pulled into wall-clock alignment, wind up inducing heavy QPS spikes on the backends. The new implementation works completely differently. The basic goal is the same: try to align inexact alarms to "the same" time, avoiding extra wakeups / radio spinups / etc. The way this is done is to divide the timeline into 15-minute quanta, and drift the start time of every inexact alarm onto one of these 15-minute quantum boundaries. The skew between the RTC and ELAPSED time bases is taken into effect; RTC alarms are no longer pulled into wall clock alignment. Fixes bug 3388961 Change-Id: I2a0460e1f5d0e4036f3402f332b642b557b2fc20
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
89ba6750e5310c4da51786bd7eb559a43cab3982 |
|
24-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3215261: NPE in WiFi Settings And also fix #3343369: EGL_BAD_DISPLAY and/or broadcast intent TIME_SET before boot completion And a few more tweaks to animations to keep the wallpaper displayed when needed. And make more use of the drag and drop "rotation disabled" thing to also use it while animating the screen rotation, since if we try to start a new rotation while doing the animation we end up with a mess. Change-Id: I373af305a6e23a92835abed96229a83e173f67ce
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
d54a97a0efc5cdd8088a277b0e6787ea24711e0c |
|
11-Oct-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am fb1e5529: Merge "Fix time zone info in kernel is nothing after reboot" Merge commit 'fb1e5529724d121aa47485e7245b69965088fbb4' into gingerbread-plus-aosp * commit 'fb1e5529724d121aa47485e7245b69965088fbb4': Fix time zone info in kernel is nothing after reboot
|
043fcd9847a804bc6394728e5785aecc495e6347 |
|
06-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider Exposes an Intent I need (okay it fixes an unrelated thing in the power widget), and fixes some dump output. Change-Id: I51d6c93a6ac879bab64e9d5aa21129e2bbcd461b
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
64ba8e4038ade025da5e02f882219432d6bf1016 |
|
04-Nov-2009 |
Robert CH Chou <Robert_CH_Chou@acer.com.tw> |
Fix time zone info in kernel is nothing after reboot If sys_tz is not set correctly, the timestamp of filesystem will be in-consistent with android's time, until time zone is set from android's UI. Set kernel timezone while initializing AlarmManagerService. Change-Id: Ic85def954fc9388e943e3dee45767d8179825a49
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
11c5f1a65d6c495cc60f9f15d408c776baed9f73 |
|
01-Apr-2010 |
Jeff Brown <jeffbrown@google.com> |
Fix alarms with negative or very large wakup times. When the wakeup time is negative, the kernel /dev/alarm driver never triggers the alarm. This can cause alarms to back up in the priority queue since an alarm at the head with a negative wakup time will never be triggered. Now we use 0 as the wakup time which causes an immediate triggering. When the wakeup time is very large, it is possible for a numeric overflow to occur when converting the timestamp from milliseconds since epoch to nanoseconds. This has been fixed by avoiding the intermediate conversion in the JNI call so that overflow cannot occur. Bug: b/2558820 Change-Id: I4f5b4646a04090cc749a9fc5d3982a68402954ef
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
409578fcb1d8ecfee0ae07b1a34a6e6cb184a0ce |
|
11-Mar-2010 |
Dianne Hackborn <hackbod@google.com> |
Don't remove alarms for packages that are being updated. Change-Id: I296e6587aa1bb391e748ff4bb5649dcfa6ebbc24
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
8a9b22056b13477f59df934928c00c58b5871c95 |
|
27-Feb-2010 |
Joe Onorato <joeo@android.com> |
Switch the services library to using the new Slog
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
21f1bd17b2dfe361acbb28453b3f3b1a110932fa |
|
20-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2438980: Implement package watcher for voice recognizer service setting I am getting tired of writing package monitor code, realized this is missing in a number of places, and at this point it has gotten complicated enough that I don't think anyone actually does it 100% right so: Introducing PackageMonitor. Yes there are no Java docs. I am still playing around with just what this thing is to figure out what makes sense and how people will use it. It is being used to fix this bug for monitoring voice recognizers (integrating the code from the settings provider for setting an initial value), to replace the existing code for monitoring input methods (and fix the bug where we wouldn't remove an input method from the enabled list when it got uninstalled), to now monitor live wallpaper package changes (now allowing us to avoid reverting back to the default live wallpaper when the current one is updated!), and to monitor device admin changes. Also includes a fix so you can't uninstall an .apk that is currently enabled as a device admin. Also includes a fix where the default time zone was not initialized early enough which should fix issue #2455507 (Observed Google services frame work crash). In addition, this finally introduces a mechanism to determine if the "force stop" button should be enabled, with convenience in PackageMonitor for system services to handle it. All services have been updated to support this. There is also new infrastructure for reporting battery usage as an applicatin error report.
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
b56ae20b22fd7283df32072a431ab6d4965f3c1b |
|
05-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Rename media resource broadcasts Add checks for fwdlocked and updated system apps add more tests remove duplicate adds
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
97e44947282b3918ee0bed2d16b33b983f882580 |
|
05-Feb-2010 |
Dan Egnor <egnor@google.com> |
Add an AlarmManager API to set the system time (with the proper permissions).
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
08675a3376819a82aa5ab344bc3e7b1635c30b05 |
|
28-Jan-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Apps on sdcard: Add new broadcasts Add new broadcasts ACTION_MEDIA_RESOURCES_AVAILABLE and ACTION_MEDIA_RESOURCES_UNAVAILABLE that get broadcast by PackageManagerService when sdcard gets mounted/unmounted by MountService so that packages on sdcard get recognized by various system services as being installed/available or removed/unavailable by the system. The broadcasts are sent before the actual package cleanup which includes mounting/unmounting the packages and we force a gc right after so that any lingering file references to resources on sdcard get released.
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
1c633fc89bae9bf0af6fe643ac7ad2e744f27bed |
|
09-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement API to have new broadcasts replace existing broadcasts. Use this in various places where it should serve no purpose to deliver both broadcasts. This is intended to reduce somewhat the flurry of broadcasts that we churn through during boot.
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
1f7b4134db07acbb429cd770441ff460fa6f4b1b |
|
20-Nov-2009 |
Mike Lockwood <lockwood@android.com> |
AlarmManagerService: Fix daylight savings time offset computation Fixes b/2244560 (Time Stamp On Bug Reports And Pictures Is One Hour Off) Change-Id: I69324a33f80e41ce68a0e6fdba08b80ed9453e19 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
1d442e0d990b581357f33f5463c7c5cb49b551e8 |
|
21-Apr-2009 |
Dianne Hackborn <hackbod@google.com> |
More optimization of dumpsys output. There are three major classes of changes here: - Avoid writing lines where their values are often empty, false, or some other typical thing. - Use partial writes to the PrintWriter to avoid creating temporary strings. - Use StringBuilder where we need to generate real String objects (and where possible cache the result).
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/services/java/com/android/server/AlarmManagerService.java
|