a0126e0857481866dab5060384d611c83ca53d0e |
|
02-May-2016 |
Greg Hackmann <ghackmann@google.com> |
AlarmManagerService: explain some timerfd_create() failures When AlarmManagerService is broken, starting the framework fails in weird and inconsistent ways. So if we detect your kernel is missing the required timerfd support, give up immediately and explain why. Bug: 28357356 Test: manually break timerfd_create syscall, check adb logcat during boot Change-Id: Iaa153fca38e9cd8e801f3e71c3e1ae2351907828 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
d7151c06f11c05ad3dcab175a6e4b4ea694dab96 |
|
25-Apr-2016 |
Greg Hackmann <ghackmann@google.com> |
AlarmManagerService: remove legacy /dev/alarm support We've removed the Android alarm driver from our supported kernels. It's time to remove the userspace callers too: they make the native side of AlarmManagerService more complex, and send the wrong signal about /dev/alarm still being supported. Bug: 28357356 Test: cts-tradefed run singleCommand cts -d -c android.app.cts.AlarmManagerTest Change-Id: I619e2d8a98e4c4728131a2d826b1295f858abedd Signed-off-by: Greg Hackmann <ghackmann@google.com>
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
338893e47ed8e2a913e5def987469647809cdbc6 |
|
19-Jul-2016 |
Christopher Ferris <cferris@google.com> |
Remove dependency on android_alarm.h. android_alarm.h no longer exists in upstream android kernels. Since it's only used by the AlarmManagerService, copy in the parts of the file that are needed into that one file. Bug: 30072483 Change-Id: I5c994dfa2ad261da48a67e5c35dc4b6618b82aa1
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
dea57bac3d08a34ceb531e88e7e59b77d0fdc27c |
|
28-May-2016 |
Greg Hackmann <ghackmann@google.com> |
Revert "AlarmManagerService: remove legacy /dev/alarm support" This reverts commit f68cdb9cb4841765d9d55d4a95259e9c3bb3ecc1. Change-Id: I13e954656771f32c6156b4c4adb52922bcd0717a
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
f68cdb9cb4841765d9d55d4a95259e9c3bb3ecc1 |
|
25-Apr-2016 |
Greg Hackmann <ghackmann@google.com> |
AlarmManagerService: remove legacy /dev/alarm support We've removed the Android alarm driver from our supported kernels. It's time to remove the userspace callers too: they make the native side of AlarmManagerService more complex, and send the wrong signal about /dev/alarm still being supported. Bug: 28357356 Change-Id: I225d76c3f4e695a831d4419e050e8e178e1224b5 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
c6baf563ba6aa207a48317c177b29f1d2b70cf3d |
|
27-Apr-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: Ibdd6a210bb7ff228e3624cc319169f77aca3b51e
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
e45abfa083cacdd858feb7c6bcf0b03647a37989 |
|
18-Jan-2016 |
Mykola Kondratenko <mykola.kondratenko@sonymobile.com> |
Alarm: add missing closedir after opendir when searching for RTC It is mandatory that closedir() is called to deallocate DIR structure allocated by opendir(). Fix degrade introduced by Google commit 0eb58268. Change-Id: Ia12154f7f822153b4fc8e6bfb8b2bae17bc45c1a
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
0eb5826830592695f4a5b4d1dba18e0ca991163e |
|
26-Feb-2014 |
Greg Hackmann <ghackmann@google.com> |
Find wall clock RTC through sysfs Devices may have multiple RTCs. By default the kernel uses rtc0 to store the system time, but devices may override this (or even specify that none of them should be used for system time). Userspace can indirectly find the designated RTC through sysfs. During AlarmManagerService initialization, enumerate through all rtc class devices to locate the device with attribute hctosys=1. This is only done on devices without /dev/alarm, which has its own in-kernel mechanism to pick the RTC. Change-Id: Ife2b342c3590133ed316ddaf1799cbc1bfa6e6d9 Signed-off-by: Greg Hackmann <ghackmann@google.com>
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
46c82b4cd241a447834ed2f5a6be16777b7a990b |
|
30-Nov-2014 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Adjust format strings to work on both 32-bit and 64-bit builds Adjust format strings to not produce Clang warnings in both 32-bit and 64-bit builds Change-Id: I76c29d8d5d0fb4b5e9d9518077652370ffe9e871 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|
22d074643ed0d010ebfdb0fca685d65eb2632e58 |
|
27-Mar-2014 |
Narayan Kamath <narayan@google.com> |
resolved conflicts for merge of eaab4df0 to klp-modular-dev-plus-aosp Change-Id: I871431e5a3ce45a33563ced845e044d37471689b
|
0cab896a987f6687affd5c50c3bdbe10745c8dff |
|
22-Feb-2014 |
Greg Hackmann <ghackmann@google.com> |
resolved conflicts for merge of 9e413bf4 to klp-modular-dev-plus-aosp Change-Id: Ibc41f0248235afca9546829e00b31003d09f4f7e
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp
|