summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Don't demangle symbol names.Josh Gao2016-03-251-16/+0
| | | | | | | | | | | | | | | Bug: http://b/27299236 Change-Id: I26ef47f80d4d6048a316ba51e83365ff65d70439
| * | rootdir: Remove cpufreq mode settingsSteve Kondik2016-04-301-39/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * AFAIK we no longer should have anything which depends on system server or settings writing to the cpufreq controls. Since new devices have their cpufreq config nodes nested per-cpu, this configuration is no longer valid. It also depends on sketchy kernel patches which only work when the moon is in the correct phase. Additionally, I see a lot of random logspam when devices are hotplugged. * If a device needs this functionality, a better way to do it is via a userspace daemon which is dedicated to the task since it can poll() on the various states and get notified in realtime. Change-Id: Ib526663d760d6cb758e13f1fa29e7d6229de3daa
| * | fastboot: Add Nextbit's USB vendor idSteve Kondik2016-04-261-1/+2
| | | | | | | | | | | | Change-Id: I400611a6f256cd6c2a721b9ad8496fd60d257f3f
| * | fastboot: add ZTE to the list of known vendorssndnvaps2016-04-211-1/+2
| | | | | | | | | | | | | | | Change-Id: I741d0e4068d948fb7b4036d7f02e68b896863795 Signed-off-by: sndnvaps <sndnvaps@gmail.com>
| * | Merge tag 'android-6.0.1_r30' into HEADJessica Wagantall2016-04-180-0/+0
| |\ \ | | |/ | | | | | | | | | Ticket: RM-234 Android 6.0.1 release 30
| | * Don't create tombstone directory.Josh Gao2016-02-261-14/+1
| | | | | | | | | | | | | | | | | | | | | Partial backport of cf79748. Bug: http://b/26403620 Change-Id: Ib877ab6cfab6aef079830c5a50ba81141ead35ee
| | * Re-derive permissions after package changes.Jeff Sharkey2016-02-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When packages change, existing package-specific directories may have gained/lost a UID mapping, so we need to update the permissions for any in-memory nodes. This allows an app to deliver data for another package before that package is installed, which is the typical pattern of how OBB files are delivered. Also fix bug by re-deriving permissions when files are moved. Bug: 25399427 Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683 (cherry picked from commit f7aad11c1cc133e352333f83e3abbf323cd41ead)
| * | healthd: Fix NO_CHARGER_LEDChristopher R. Palmer2016-04-151-2/+2
| | | | | | | | | | | | Change-Id: Iaae43e2a236318011b7aefb59250c19dd954521e
| * | healthd: Allow devices to opt-out of enabling charger LEDEthan Chen2016-04-142-0/+12
| | | | | | | | | | | | | | | | | | | | | * Not all devices will want to enable this, and it may also cause symbol conflicts with static HAL libraries. Change-Id: I0a2a082f9bf84b6ecfecf3de88c6d494d5e2cf44
| * | healthd: Rename default QCOM libhealthd libraryEthan Chen2016-04-141-2/+2
| | | | | | | | | | | | | | | | | | * Avoid possible module name conflicts Change-Id: I4a804a4d1e7266e8918b5a5b50adaffe219ff226
| * | Revert "Revert "init: Temporarily increase coldboot timeout to 5s""Gabriele M2016-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1 second might not be enough for some devices to complete the coldboot phase, so bring the timeout back to 5 seconds. This reverts commit c9e804ffd8d4108806eb8162fe7cf35f179b0596. Change-Id: If10cd4bb1ea66d1c98cdd16f5bfbdae7a04b52e8
| * | fs_mgr: Add an optional libfs_mgr shared libraryDiogo Ferreira2016-04-081-0/+24
| | | | | | | | | | | | Change-Id: I79aec4549af3f71c8c08f8901f5edf9b5a6b8f62
| * | liblog: Add xlog symbols on MTK hardwareRicardo Cerqueira2016-04-081-0/+39
| | | | | | | | | | | | Change-Id: I1c4bfb228ee261ae4d15e223b4605e39205b5b54
| * | Merge tag 'android-6.0.1_r24' into HEADJessica Wagantall2016-04-051-14/+1
| |\ \ | | | | | | | | | | | | | | | | Ticket: CYNGNOS-2213 Android 6.0.1 release 24
| | * \ merge in mnc-dr1.5-release history after reset to mnc-dr1.5-devThe Android Automerger2016-03-220-0/+0
| | |\ \
| | | * \ merge in mnc-dr1.5-release history after reset to mnc-dr1.5-devThe Android Automerger2016-03-170-0/+0
| | | |\ \ | | | |/ / | | |/| |
| | * | | Don't create tombstone directory.Josh Gao2016-03-011-14/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Partial backport of cf79748. Bug: http://b/26403620 Change-Id: Ib877ab6cfab6aef079830c5a50ba81141ead35ee
| * | | sched_policy: zero proc_name buffer before populatingScott Mertz2016-03-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The process name will be read into the buffer containing the proc name filepath. We need to reinitialize the buffer before reading into it. Change-Id: I67710819c895d3f9e2b0d486ab8a11f29f8318e8
| * | | sched_policy: split add_tid_to_cgroupPat Erley2016-03-241-11/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add_tid_to_cgroup was also being used to add threads to cpusets. Split this into a generic write_tid_to_fd, and wrap it for cpusets and cgroups. This lets errors align with what the actual failure is. Change-Id: I2c5c97117428a33b6a328f73741d3516d4141f78
| * | | sched_policy: Split cpuset/cgroup initPat Erley2016-03-241-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a task only ever touches cgroups, don't initialize cpusets. This makes logging fails for cpusets much less spammy. Change-Id: Iad9c58db68ecd2c2445255bfe5564318064949a5
| * | | libcutils: Add process name to logsPat Erley2016-03-241-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This can help resolve permissions issues for tasks that want to twiddle the perf bits but don't have permissions. Change-Id: I6285c5c38224d1fb207cb26229cd7b779a8322ac
| * | | libcutils: make sched_policy more robustPat Erley2016-03-181-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you compile with cpusets enabled but the permissions are wrong the behavior becomes no real policy enforced at all. Fix this by making sched_policy fall back gracefully. Change-Id: Ife96ca64b991e23232a5bd0d6c21e30a5d16bde8
* | | | Fix backport of readdir patchWolfgang Wiedmeyer2016-12-091-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport changes from Google's master to fix build errors when using readdir_r. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | | | Use readdir instead of readdir_r.Elliott Hughes2016-12-092-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | http://elliotth.blogspot.com/2012/10/how-not-to-use-readdirr3.html Test: boots. Change-Id: If75532e24fe4d17743bf8e8c9590156dee378a63
* | | | Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_system_core ↵Wolfgang Wiedmeyer2016-03-1847-73/+15736
|\ \ \ \ | |/ / / | | | | | | | | into replicant-6.0
| * | | liblog: build log_event_write regardless of TARGET_USES_LOGDSimon Shields2016-03-161-1/+3
| | | | | | | | | | | | | | | | Change-Id: Ia1dde2a46e0520cd0129079b0091ad534d750ee7
| * | | init: Fix derp in property name for rebooting to charger hookChristopher R. Palmer2016-03-131-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ibfee73723d778f16f8e407380083bf3a2667a7a4
| * | | Merge branch 'dr15' into cm-13.0Steve Kondik2016-03-129-38/+176
| |\ \ \
| | * \ \ Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-119-38/+176
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/system/core into cm-13.0 Android 6.0.1 release 22 Change-Id: Ia61f8e863f7413a67fe65f41ea2a30c086528df4
| | | * | Merge "[DO NOT MERGE] Use FUSE_SHORTCIRCUIT if available" into mnc-dr1.5-devThierry Strudel2016-01-141-0/+17
| | | |\ \
| | | | * | [DO NOT MERGE] Use FUSE_SHORTCIRCUIT if availableThierry Strudel2016-01-131-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a non yet maintainer reviewed kernel patch from QCOM that greatly improves IO speed in case it is available from the device specific kernel headers. Bug: 24216004 Change-Id: I4101d80082c9ad9d042dde5c620ddb309d193d52
| | | * | | Mount debugfs earlier regardless build variantChing Tzung Lin2016-01-111-0/+2
| | | |\ \ \ | | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | am: df2d782368 * commit 'df2d78236834f5f6a99e88c8cd629b09d8292bb6': Mount debugfs earlier regardless build variant
| | | | * | Mount debugfs earlier regardless build variantChing Tzung Lin2016-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ag/835596 can be reverted after this CL is merged. BUG:26455292 Change-Id: I453b0f1d08d822f8cd2d4d33f1c1b21f0d7f543a
| | | * | | Merge "Fix logspam from system-background cpuset." into mnc-dr1.5-devTim Murray2015-12-171-3/+0
| | | |\ \ \
| | | | * | | Fix logspam from system-background cpuset.Tim Murray2015-12-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system-background can't be opened by most processes, since system-bg is a privileged cpuset. Remove the log message when it can't be opened. We'll still log a failure to use the fd if we try to use it after it can't be opened, which is fine. bug 26249842 Change-Id: I99f185c51645bc81b6a41732848227c27675cdf7
| | | * | | | Re-derive permissions after package changes.Jeff Sharkey2015-12-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When packages change, existing package-specific directories may have gained/lost a UID mapping, so we need to update the permissions for any in-memory nodes. This allows an app to deliver data for another package before that package is installed, which is the typical pattern of how OBB files are delivered. Also fix bug by re-deriving permissions when files are moved. Bug: 25399427 Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
| | | * | | | logcatd: up size from 16MB to 256MBAlain Vongsouvanh2015-12-151-2/+2
| | | |\ \ \ \ | | | | |/ / / | | | |/| / / | | | | |/ / | | | | | | | | | | | | | | | | | | am: 2f18b54502 * commit '2f18b5450293c2360f688cd059989e36ba5a988c': logcatd: up size from 16MB to 256MB
| | | | * | logcatd: up size from 16MB to 256MBAlain Vongsouvanh2015-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on: https://android-review.googlesource.com/#/c/172084 Change-Id: Idaa4177618acef31806b4d8f6a2f5caa859e8992
| | | * | | DO NOT MERGE: add support for new sched tracepointTim Murray2015-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tracepoint gives systrace the means to display the reason for uninterruptible sleep. bug 23350688 Change-Id: Iaf9c929fe1169f8872a7f8135343950aa322b0f5
| | | * | | Improve cpuset support for surfaceflinger.Tim Murray2015-11-182-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SurfaceFlinger needs some of its threads in the system-background cpuset and some of its threads (the binder pool) outside of the system-background cpuset in order to improve UI perf/power consumption. Remove surfaceflinger from the system-background cpuset in init.rc and allow a thread to place itself in the system-background cpuset given enough permissions. bug 25745866 Change-Id: I85f7e41c5439e6ad7cc2d355e51f5dfb3a0c7088
| | | * | | logcat: continue where we left offMark Salyzyn2015-11-122-16/+120
| | | |\ \ \ | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 5b0d59dde8 * commit '5b0d59dde85162fa9ef3a32464c0f1b81d7e05cb': logcat: continue where we left off
| | | | * | logcat: continue where we left offMark Salyzyn2015-11-122-16/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue introduced as part of new logcatd functionality in commit f3555d9427425c2cba9600ceffb49305c440aa4a Faulty logic, add a gTest to confirm. Bug: 19608716 Change-Id: Ic1b97def25e03e69faae4398a3dff2ff0f88545e
| | | * | | Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | |\ \ \ | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7 am: 088639a20f -s ours am: 55263d2ae3 am: 99cd21ef5c * commit '99cd21ef5c3548613d8a614551b858a5c47985fc': Add macro to call event logger for errors. DO NOT MERGE
| | | | * | Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7 am: 088639a20f -s ours am: 55263d2ae3 * commit '55263d2ae3696baaa574ee896e3a8b0546aa5628': Add macro to call event logger for errors. DO NOT MERGE
| | | | | * \ Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7 am: 088639a20f -s ours * commit '088639a20fc388e8d4dcf1ed471b31086c43bc83': Add macro to call event logger for errors. DO NOT MERGE
| | | | | | * \ Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours am: ea1e6a59e7 * commit 'ea1e6a59e7dd8d4674a2116ec5893cdf801e6339': Add macro to call event logger for errors. DO NOT MERGE
| | | | | | | * \ Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a am: 702fe6d486 -s ours * commit '702fe6d486d2bdd920010d681b046a3396b4021a': Add macro to call event logger for errors. DO NOT MERGE
| | | | | | | | * \ Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours am: 362f13d74a * commit '362f13d74a5c57f4e2ba4f0de341896e79732dcf': Add macro to call event logger for errors. DO NOT MERGE
| | | | | | | | | * \ Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-dev ↵Jon Larimer2015-11-110-0/+0
| | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 am: fd56dc41c7 -s ours * commit 'fd56dc41c70a58541b9ed25f4c97ffe3fea19536': Add macro to call event logger for errors. DO NOT MERGE
| | | | | | | | | | * \ Merge "Add macro to call event logger for errors. DO NOT MERGE" into klp-devJon Larimer2015-11-113-1/+98
| | | | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 809d5a0158 * commit '809d5a01586d00ee91d13fb8d034d12584ba3314': Add macro to call event logger for errors. DO NOT MERGE