summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "cutils: add OS-independent endian.h"Greg Hackmann2015-04-163-113/+0
| | | | This reverts commit c3bac8b6719332f31140b2a034b70cf7f9eb3e51.
* cutils: add OS-independent endian.hGreg Hackmann2015-04-163-0/+113
| | | | | | | | | cutils/endian.h provides the helpers defined in endian(3), either by pulling in the OS's built-in endian.h (where available) or recreating them using GCC builtins. Change-Id: Ic8965f67e1efdc03f884dbe6b7fe0276f840e4fc Signed-off-by: Greg Hackmann <ghackmann@google.com>
* Merge "libcutils: fs_config must use O_BINARY"Mark Salyzyn2015-04-161-2/+6
|\
| * libcutils: fs_config must use O_BINARYMark Salyzyn2015-04-161-2/+6
|/ | | | | Bug: 19908228 Change-Id: I3273cf99b320941f9530a015c9e582af72469acb
* Merge "libcutils: fs_config: winsdk_tools build fix"Mark Salyzyn2015-04-161-1/+1
|\
| * libcutils: fs_config: winsdk_tools build fixMark Salyzyn2015-04-161-1/+1
|/ | | | | Bug: 19908228 Change-Id: Ia725d20ca4f8a87deec63b6c661f6a09c8671231
* Merge "libcutils: drop use of mmap"Mark Salyzyn2015-04-161-45/+30
|\
| * libcutils: drop use of mmapMark Salyzyn2015-04-151-45/+30
|/ | | | | | | - Causes a build break for MAC and Windows Bug: 19908228 Change-Id: I9d69967aa988c9ca202805593fa846cb670101cf
* Merge "libsparse: move_chunks_up_to_len() does not account skip chunks"Colin Cross2015-04-161-3/+10
|\
| * libsparse: move_chunks_up_to_len() does not account skip chunksJeremy Compostella2015-04-081-3/+10
| | | | | | | | | | | | | | | | | | I caught the fastboot host command sending more data than the fastboot device can accept. Fastboot host command was sending 36 surplus bytes because of 3 skip chunks that were not taken into account in move_chunks_up_to_len() algorithm. Change-Id: I39a4a033c9b15893bd70e553f17116735ee4a48e
* | Merge "libcutils: add fs_config_generate"Mark Salyzyn2015-04-152-0/+23
|\ \
| * | libcutils: add fs_config_generateMark Salyzyn2015-04-152-0/+23
| | | | | | | | | | | | | | | Bug: 19908228 Change-Id: Icb0e189a86758bb779b9bdf7c0d92216d297869f
* | | Merge "libcutils: fs_config read from file"Mark Salyzyn2015-04-151-12/+141
|\ \ \ | |/ /
| * | libcutils: fs_config read from fileMark Salyzyn2015-04-151-12/+141
|/ / | | | | | | | | | | | | | | | | | | Intention is to read from ${OUT}/system/etc/fs_config_dirs and ${OUT}/system/etc/fs_config_files on host. And /system/etc/fs_config_dirs and /system/etc/config_files on target systems. Bug: 19908228 Change-Id: Ieaedd99e88c7f7f717878d9344c387ddf335ccbb
* | Merge "Remove libunwind-ptrace dependency."Christopher Ferris2015-04-151-1/+0
|\ \
| * | Remove libunwind-ptrace dependency.Christopher Ferris2015-04-151-1/+0
| | | | | | | | | | | | Change-Id: Iae4a73546f672c208ffe1b224e8d9a9e693f95f0
* | | Merge "Revert "libcutils: fs_config read from file""Mark Salyzyn2015-04-151-125/+12
|\ \ \ | |/ / |/| |
| * | Revert "libcutils: fs_config read from file"Mark Salyzyn2015-04-151-125/+12
| | | | | | | | | | | | | | | | | | | | | | | | There is no endian.h on windows This reverts commit 4e5f71ae727c5993db05d0024da026bf68eabc59. Change-Id: I6aedf35ed319c7f8febc7ab98e104a625fb27f69
* | | Merge "libcutils: fs_config read from file"Mark Salyzyn2015-04-151-12/+125
|\ \ \ | |/ /
| * | libcutils: fs_config read from fileMark Salyzyn2015-04-151-12/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intention is to read from ${OUT}/system/etc/fs_config_dirs and ${OUT}/system/etc/fs_config_files on host. And /system/etc/fs_config_dirs and /system/etc/config_files on target systems. Bug: 19908228 Change-Id: I0966a94f79a3fae4f7325056c701ea355370f9df
* | | Merge "Add NATIVE_WINDOW_SET_SURFACE_DAMAGE"Dan Stoza2015-04-151-24/+30
|\ \ \ | |/ / |/| |
| * | Add NATIVE_WINDOW_SET_SURFACE_DAMAGEDan Stoza2015-04-151-24/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new perform action: NATIVE_SET_WINDOW_SURFACE_DAMAGE, which allows the producer to describe the region of the surface that has changed since the previous frame. Bug: 11239309 Change-Id: Ie645e6a52b37b5c1b3be19481e8348570d1aa62c
* | | Merge "makebootfs: use libcutils shared libraries"Mark Salyzyn2015-04-151-1/+1
|\ \ \
| * | | makebootfs: use libcutils shared librariesMark Salyzyn2015-04-151-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move to libcutils.so as shared now that they are in DISTTOOL. - liblog dependency is part of libcutils, and need not be called out explicitly now. liblog is in DISTTOOL. - libcutils fs_config has the right to add Android logging Bug: 19908228 Change-Id: I915503f64389b59075620578601f98fc0756bd7a
* | | Merge "Move away from gr_surface."Elliott Hughes2015-04-151-4/+4
|\ \ \ | |/ / |/| |
| * | Move away from gr_surface.Elliott Hughes2015-04-151-4/+4
|/ / | | | | | | Change-Id: Icfa81b18e5c99e3ffc5c55aba1d435eb26eb8680
* | Merge "logd: syscall optimization"Mark Salyzyn2015-04-156-7/+21
|\ \
| * | logd: syscall optimizationMark Salyzyn2015-04-016-7/+21
| | | | | | | | | | | | | | | | | | | | | - prset(PR_SET_NAME) call once - No need to call getuid(), should be AID_LOGD Change-Id: I4dde0b178bc84e711b355cd7677b0dbf905a0634
* | | Merge "Fix alignment when reading note segment."Yabin Cui2015-04-141-2/+4
|\ \ \
| * | | Fix alignment when reading note segment.Yabin Cui2015-04-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ELF said that padding is present, if necessary, to ensure 4-byte alignment for the descriptor and next note entry, but such padding is not included in namesz and descsz. Change-Id: I7896783f3d9a787772d56c49905f52a493c9fba1
* | | | Merge "logd: pidToUid incorrect"Mark Salyzyn2015-04-141-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | logd: pidToUid incorrectMark Salyzyn2015-04-141-1/+1
|/ / / | | | | | | | | | Change-Id: I9b0e655780924db125568179771e57b01e80aaae
* | | Merge "Fix memory leak in parse_action"Tom Cherry2015-04-131-0/+7
|\ \ \
| * | | Fix memory leak in parse_actionTom Cherry2015-04-131-0/+7
|/ / / | | | | | | | | | Change-Id: I3ed1da5674ae0b4ac50c1925e4f63af7f1748483
* | | Merge "logcat: build regression"Mark Salyzyn2015-04-131-6/+4
|\ \ \
| * | | logcat: build regressionMark Salyzyn2015-04-131-6/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | printflike checks for NULL fmt at compile time, checks for NULL at runtime are optimized out. Regression as a result of commit 5976303aa6e55a9e81eadb35d50f458052e3fa24. Change-Id: Ia4e7ee4b6cb2adf1e6609c70e79684855f76e6fc
* | | Merge "logcat: Minor fixes"Mark Salyzyn2015-04-131-133/+153
|\ \ \
| * | | logcat: Minor fixesTraian Schiau2015-04-111-133/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove -r default value implementation (since is not functional). Check the status of some memory allocations. Make sure that the pruning buffer is set to NULL if we get to the end of the loop. Make sure that the file status is successfully retrieved before using the size. Add strtouia - string to unsigned argument. Add logcat_panic with/without printing an error message and help. Play nicer with the android namespace. Change-Id: Id4c37cf64968128424e29bf1725f6c9a5924a0e2 Signed-off-by: Traian Schiau <traianx.schiau@intel.com>
* | | | Merge changes Iddd45a67,Ifdc20b09,Ibc68480dMark Salyzyn2015-04-138-41/+268
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: logd: disable worst uid prune for events buffer Revert: "logd: default off by-UID spam filter" logd: annotate worst-UID pruned entries
| * | | | logd: disable worst uid prune for events bufferMark Salyzyn2015-04-103-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is some usage statistics that would be hurt by pruning by UID, since _all_ usage statistics come from system_server. In other words we expect it to be chatty. Until we formulate and evaluate a better (eg: per-tag?) filtration mechanism, lets hold off pruning by UID. Bug: 19608965 Change-Id: Iddd45a671e13bdcf3394c20919ad1f2e4ef36616
| * | | | Revert: "logd: default off by-UID spam filter"Mark Salyzyn2015-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With "logd: inject first UID by log buffer message" we can remove the FUD introduced by having the UID spam filter on This reverts commit 4141cb2391cfd7211ffff7e53841c6c52869d525 Bug: 19608965 Bug: 14469172 Change-Id: Ifdc20b099e0e426546525b11c1dfe8cc0f830a02
| * | | | logd: annotate worst-UID pruned entriesMark Salyzyn2015-04-108-38/+261
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - internal dropped entries are associated by prune by worst UID and are applied by UID and by PID - track dropped entries by rewriting them in place - merge similar dropped entries together for same UID(implied), PID and TID so that blame can more clearly be placed - allow aging of dropped entries by the general backgound pruning - report individual dropped entries formatted to reader - add statistics to track dropped entries by UID, the combination of statistics and dropped logging can track over-the-top Chattiest clients. Bug: 19608965 Change-Id: Ibc68480df0c69c55703270cd70c6b26aea165853
* | | | Merge "Executable to run on boot that removes old tzdata if needed"Neil Fuller2015-04-133-0/+260
|\ \ \ \ | |/ / / |/| | |
| * | | Executable to run on boot that removes old tzdata if neededNeil Fuller2015-04-133-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tzdatacheck is exec'd from init.rc early in boot just after /data is mounted. It checks to make sure that the tz rule data in /data is newer than the version in /system. If the data is older it is deleted. This is to address problems with earlier tz rule updates that occurred: after an OTA upgrade previous updates in /data would override newer versions in the system partition. Includes change to init.rc neccessary to run it at boot time. Other changes are in external/selinux. Bug: 19941636 Bug: https://code.google.com/p/android/issues/detail?id=35730 Change-Id: I7cc61e058424c856da88f11ff9b259f34cb39dc7
* | | | Merge "Prevent unaligned read in libziparchive."Dan Albert2015-04-102-22/+21
|\ \ \ \
| * | | | Prevent unaligned read in libziparchive.Dan Albert2015-04-092-22/+21
| | | | | | | | | | | | | | | | | | | | Change-Id: I4afc3729a1b2c06a6621cb8c9742fc94b5a665f5
* | | | | Merge "log: Add check for LINT_RLOG"Mark Salyzyn2015-04-101-4/+23
|\ \ \ \ \
| * | | | | log: Add check for LINT_RLOGMark Salyzyn2015-04-101-4/+23
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to make it easier to find radio system logging mistakes, if LINT_RLOG is defined we will remove all the definitions for ALOG* and SLOG*, as well as the log ids to introduce compile and link errors. Bug: 20143912 Change-Id: I1511bdce75213f3a5bacdbc4f2ab315aa1fa56fc
* | | | | Merge "Add base/memory.h."Dan Albert2015-04-101-0/+47
|\ \ \ \ \ | |/ / / /
| * | | | Add base/memory.h.Dan Albert2015-04-091-0/+47
|/ / / / | | | | | | | | | | | | | | | | | | | | Right now this only includes an API for unaligned reads/writes. Change-Id: Ieb42498aa17cbd1035b66c51bd1c4f16fa2acfdb