summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Move android_filesystem_config.h => fs_config.hYifan Hong2017-08-021-0/+4
| | | | | | | | | | | | | | | | | The non AID_ things in android_filesystem_config.h are moved to fs_config.h. For libcutils.vendor and libcutils_headers.vendor, fs_config.h is not exported. An empty system/core/include/private/fs_config.h is placed to appease the dependency from certain modules (logd, etc.) that includes system/core/include/private/android_filesystem_config.h directly. Test: m -j Test: BOARD_VNDK_VERSION=current m -j Bug: 63135587 Change-Id: I95dfb874a426941022b100c0ca26a0576b0f4aa3 Merged-In: I95dfb874a426941022b100c0ca26a0576b0f4aa3
* Merge "Move libnativebridge headers into the module."Treehugger Robot2017-07-061-401/+0
|\
| * Move libnativebridge headers into the module.Steven Moreland2017-07-061-401/+0
| | | | | | | | | | Test: links Change-Id: I2e19d1ba7845b4b3d3fee934fcb1c90151fd7192
* | System/core: Remove include/ziparchiveAndreas Gampe2017-07-051-1/+0
|/ | | | | | | | | | Remove the now unnecessary link. Partially reverts commit cdf7ff8e204beb6bbfe263c3d6255c2b2d0095a7. Bug: 37342627 Test: m Change-Id: Ia44df234923c798618d7dc79d8f9f9432fbfada9
* libziparchive headers are moved to local directoryJiyong Park2017-07-024-464/+1
| | | | | | | | | | | | | libziparchive headers are moved from the global include directory (/system/core/include) to the local directory inside libziparchive. Note: /system/core/include/ziparchive still exists as a symlink to libarchive/include/ziparchive. This will be removed when there is no header-only dependency to libziparchive. Bug: 37342627 Test: build Change-Id: I3631ffc2df7be8a064d64a625d10436090c3bb0f
* Ran clang-format on libziparchive sources and headersJiyong Park2017-07-022-24/+18
| | | | | Test: build aosp_arm Change-Id: I469b82b68f2c457f480fb9cd9da2026672985ce3
* Add libziparchive-based unzip.Elliott Hughes2017-06-041-0/+9
| | | | | | Bug: N/A Test: new toybox unzip.test Change-Id: I00be388578be9a0a0390a9e2ecfac664c6ab39ca
* Load vendor public libraries to sphal namespaceDimitry Ivanov2017-05-251-0/+12
| | | | | | | | | | | | | | | Load vendor public libraries to sphal namespace if it exists - preserve old behavior of loading these libraries to default namespace if sphal namespace is not present on the device. Bug: http://b/37410104 Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases on marlin (with enabled sphal configuration) and on angler where ld.config.txt is not present. Change-Id: Iaa3fa437ba2900acc2e5b9c78039fe1553e4c9dd (cherry picked from commit af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e)
* Moved include/backtrace to libbacktrace/includeVijay Venkatraman2017-04-114-335/+1
| | | | | | | | Export libbacktrace_headers Bug: 33241851 Test: Build sailfish Change-Id: Iba310ffc21d17ba542bed954a960ab305037061c
* Merge "NativeBridge: add "linked namespace" semantic corresponding to linker"Treehugger Robot2017-04-071-32/+74
|\
| * NativeBridge: add "linked namespace" semantic corresponding to linkerZhenhua WANG2017-03-291-32/+74
| | | | | | | | | | | | | | | | | | For dynamic linking perspective, semantics of NativeBridge needs to align with dynamic linker. This patch adds "linked namespace" semantic which shares some libraries from one namespace to another. Test: make test-art-host-run-test-115-native-bridge Change-Id: I71ce1dde19d61363d5eb9731fd4795a8c315b3a0
* | Merge "Moved all files from include/system to libsystem/include/system"Vijay Venkatraman2017-04-077-3195/+1
|\ \
| * | Moved all files from include/system to libsystem/include/systemVijay Venkatraman2017-04-067-3195/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 33241851 Test: No changes for modules not using VNDK. For compiling with VNDK, add libsystem_headers as dependency for using these headers Change-Id: I1a8a44073424cc0db625e31d44cb16b78c5a9ca1 Merged-In: I2acce0ab771e10ac83461c2f931e2c19e922089e
* | | Merge "ZipWriter: Do not write DataDescriptor for STORED files"Adam Lesinski2017-04-071-1/+3
|\ \ \ | |/ / |/| |
| * | ZipWriter: Do not write DataDescriptor for STORED filesAdam Lesinski2017-04-061-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Older implementations of ZIP (Java's ZipInputStream) don't like a Data Descriptor trailing after an uncompressed entry. If the FILE is seekable, and the entry is uncompressed, seek back to the header and write out the crc and sizes. (cherry-pick of commit 639814d946867c20537820cd0c08a6202a251583) Bug: 36686974 Test: make ziparchive_tests Change-Id: I61664515e5afa3e2ba814874eeac847a2aaac319
* | Merge "libziparchive: Add ability to backup in ZipWriter"Adam Lesinski2017-03-231-19/+37
|\| | | | | | | | | | | am: 0e19795a62 Change-Id: Id15ab4bf8bd40640d2a301f0464230b620e8b603
| * Merge "libziparchive: Add ability to backup in ZipWriter"Treehugger Robot2017-03-231-19/+37
| |\
| | * libziparchive: Add ability to backup in ZipWriterAdam Lesinski2017-03-221-19/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the compressed size of a file entry, the decision needs to be made to instead store the file uncompressed. This adds support to ZipWriter to backup its last file entry. The file is now always truncated when the EOCD is written out, to account for the case where a file entry is backed-up and the resulting file written is much smaller, leaving garbage data at the end of the file. This change also includes a rename of FileInfo -> FileEntry. This struct was private (now public), so it shouldn't affect any clients. Bug: 35461578 Test: make ziparchive-tests Change-Id: I23dc584406274ab7b8ce62b3fbc3562ca4c2603e
* | | Merge "Do not access device maps."Christopher Ferris2017-03-232-2/+8
|\| | | | | | | | | | | | | | | | | am: a06e1c9eef Change-Id: Id30b71a301953d8450bd66552a020437c5e91b94
| * | Merge "Do not access device maps."Christopher Ferris2017-03-232-2/+8
| |\ \ | | |/ | |/|
| | * Do not access device maps.Christopher Ferris2017-03-222-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible that a device map has memory controlled by a single entry device driver. Thus, you can deadlock if a process is touching that device memory and we try to unwind it and also touch that device memory. Simply skip any attempts to step through, or get function names from device memory maps. Bug: 36130325 Test: Ran new unit tests, ran bionic unit tests, ran art ThreadStress. Change-Id: Ibc62d7ec8106c619ee08968f05e04aea55d7cbfa
* | | Merge "Moved include/android_filesystem_*.h and canned_fs_config.h to libcutils"Vijay Venkatraman2017-03-223-368/+3
|\| | | | | | | | | | | | | | | | | am: a4bc98941a Change-Id: Ib90d711895c8a75f5abec2284ff66723c4f5b35e
| * | Moved include/android_filesystem_*.h and canned_fs_config.h to libcutilsVijay Venkatraman2017-03-213-368/+3
| |/ | | | | | | | | | | | | | | | | Bug: 33241851 Test: No changes needed for modules not using VNDK. For VNDK, enable BOARD_VNDK_VERSION in BoardConfig.mk and add libcutils to modules that need these headers. Change-Id: I6102778aab35ed26a5ddde11230502dcd4edc852
* | Merge "Allocate new UID for OTA update resource tracking."Jeff Sharkey2017-03-201-0/+1
|\| | | | | | | | | | | am: 1ed1d3dac9 Change-Id: Ic365e6f4084d063363005cd42b66ee0799691031
| * Allocate new UID for OTA update resource tracking.Jeff Sharkey2017-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | Recent changes to OTA updates started "blaming" network usage on the system UID, which makes it difficult to triage incoming bugreports that claim heavy network usage. Instead, this change gives OTA updates an explicit UID to make triage easier. Test: builds, boots Bug: 36130264 Change-Id: I0a0cc009f3d891b19b419bc12cd237ef8ac64519
* | Merge "Add eSE AID."Andrew Scull2017-03-161-4/+5
|\| | | | | | | | | | | am: e323976e74 Change-Id: I0ce8f821fa1e2028a1d7a1275773b54bd250a612
| * Merge "Add eSE AID."Treehugger Robot2017-03-161-4/+5
| |\
| | * Add eSE AID.Andrew Scull2017-03-161-4/+5
| |/ |/| | | | | | | | | | | | | | | This is used by components that communicate with the embedded secure element. Test: Boot system with a daemon and device using this AID. Bug: 35628284 Change-Id: I1fd1a300c69fefbd19fda69add5d3b098be873c2
| * DO NOT MERGE ANYWHERE Qemu-pipe: refactor qemu_pipe.h into libqemu_pipebohu2017-03-011-134/+0
|/ | | | | | | | | | | | | | | | | | | | | | Traditionally, qemu_pipe has both the declaration and implentation of each function in one header file--qemu_pipe.h, and it is getting incovenient to maintain. This CL separates the implementation of functions from the header file, and makes qemu_pipe a static library for other modules to link to. Note that the interface and implementation of qemu_pipe are kept unchanged, and future CLs will enhance the implementation to make it more reliable and more compatible with old and new API levels. Following projects are affected by this refactoring, and they are modified accordingly: device/generic/goldfish device/generic/goldfish-opengl hardware/ril/reference-ril Change-Id: I541ecbf0cc7eadeef9d4e37ffd9ca7bfcc5c94c0
* Revert "Continue using the legacy NDK android/log.h."Mark Salyzyn2017-01-302-1/+1
| | | | | | | | | | | | Use refreshed android/log.h for NDK This effectively a modern revert of the commit b7c3996f7c048eac6f113697a5734870f0b2cfdb Test: build Bug: 30465923 Bug: 34250038 Change-Id: I7d4a5134bb711051283c36a2d5bc803436dca12e
* Merge changes Iad5b5abf,Iad3704cc,If182dd9bTreehugger Robot2017-01-262-527/+1
|\ | | | | | | | | | | | | * changes: liblog: add log/log_radio.h liblog: add log/log_id.h ndk: reverse course on android/log.h
| * ndk: reverse course on android/log.hMark Salyzyn2017-01-252-527/+1
| | | | | | | | | | | | | | | | | | | | | | move LOG macros to log/log_main.h move include/android/log.h to liblog/include/android/log.h Test: compile of all components and gTest liblog-unit-tests Bug: 34250038 Bug: 30465923 Change-Id: If182dd9b83689e8b7bc1a44b2f5d913c7ee5eeee
| * Revert "Revert "Exporting C headers from system/core""Vijay Venkatraman2017-01-2539-3939/+3
| | | | | | | | | | | | | | This reverts commit a3f2be2b73cebb057218db2a19e8fad04ecb88f6. Test: compile Change-Id: I04b3a8e47e1fa3eb9d80c14ae3a90c68a780e858
| * Merge "Remove unused klog_get_level."Elliott Hughes2017-01-251-1/+0
| |\
| | * Remove unused klog_get_level.Elliott Hughes2017-01-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Every little helps... Bug: N/A Test: builds Change-Id: Ibcac5cda1619420c95903211ed0b96af81351f9e
| * | Revert "Exporting C headers from system/core"Vijay Venkatraman2017-01-2539-3/+3940
| | | | | | | | | | | | | | | | | | This reverts commit 3c6763ca21c1150d66daf8fde9b440b1c3219fe6. Change-Id: If3b3e106478d28a5df927d57649abdca0a99dd0e
* | | Exporting C++ headers from system/coreVijay Venkatraman2017-01-2459-8403/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved headers from include/libutils and include/libsysutils to libutils/include and libsysutils/include respectively, so they can be exported via these libs. They needed to be moved since Soong does not allow export from external folder. Added symlink from old locations. They are needed since Soong includes system/core/include by default. Once all modules are cleaned up to explicitly add the required libs, the symlinks will be removed. Moved headers of libutils to libutils_headers. They should be used by modules for header-only inlines. Added libutils_headers as dependency of libutils. Split of C++ headers into those that have no dependency and those that have dependency on libutils.so will be handled in a later CL. Test: Add above libs to shared lib of local module Change-Id: I122db72056b26b1f39bad1d9a0c2a1c5efda3550
* | Exporting C headers from system/coreVijay Venkatraman2017-01-2239-3940/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved headers from include/libcutils and include/liblog to libcutils/include and liblog/include respectively, so they can be exported via these libs. They needed to be moved since Soong does not allow export from external folder. Added symlink from old locations. They are needed since Soong includes system/core/include by default. Once all modules are cleaned up to explicitly add the required libs, the symlinks will be removed. Also added liblog_vndk_headers that exports a special log/log.h for VNDK. Moved headers of libcutils to libcutils_headers. They should be used by modules for header-only inlines. Added libcutils_headers as dependency of libcutils. Added libcutils_vndk_headers that exports a special cutils/log.h deprecating usage of the file. A later CL will deprecate the one in libcutils_headers Test: Add above libs to shared lib of local module Change-Id: I6e1f9c5f23d8b6eae13dc3b7e5dfe7fae93b8510
* | Define GID range for external data and OBBs.Jeff Sharkey2017-01-182-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | To quickly answer the question of "how much data is a UID using?" we need a GID range to label files on external storage, similar to the GID ranges already defined for cached and shared data. Also define a new GID that will be used to label the OBB files shared between all users under /data/media/obb. Test: builds, newly added tests pass Bug: 34263266 Change-Id: I16fb7d166c3dcdeafbf477162d191d3b73ae8ac2
* | debuggerd: advance our amazing bet.Josh Gao2017-01-172-55/+1
|/ | | | | | | | | Remove debuggerd in favor of a helper process that gets execed by crashing processes. Bug: http://b/30705528 Test: debuggerd_test Change-Id: I9906c69473989cbf7fe5ea6cccf9a9c563d75906
* libcutils: change klog_level to KLOG_INFO_LEVELWei Wang2017-01-121-2/+0
| | | | | | | | | | | | Some of Android componets e.g. init have migrated to use base/logging to get rid of klog utilities. However, without explicit initilization, the default klog_level is set to 3 which masks the logwrap output. This patch sets default klog_level to KLOG_INFO_LEVEL to make android_fork_execvp_ext log available. Bug: 34256270 Test: manual Change-Id: Ibe74707a92c954053cd0e6828a984fbd72b4acae
* Merge "liblog: use log/log.h for ALOG macros"Mark Salyzyn2017-01-121-1/+1
|\
| * liblog: use log/log.h for ALOG macrosMark Salyzyn2017-01-121-1/+1
| | | | | | | | | | | | Test: compile Bug: 34250038 Change-Id: I0f56c563871f377c03380498cd867b916892f1dc
* | Fix typo in radio_metadata_t definition.Tomasz Wasilczyk2017-01-121-1/+1
|/ | | | | Test: none, this struct is opaque. Change-Id: I6b8f5787441618a7a818c7d4595010d241574c13
* Merge "Make metadata field mandatory for program info struct."Tomasz Wasilczyk2017-01-101-1/+2
|\
| * Make metadata field mandatory for program info struct.Tomasz Wasilczyk2017-01-091-1/+2
| | | | | | | | | | | | | | Also, make metadata struct aligned. Test: VTS, manual Change-Id: I7dbd62d36ac21475fdbc49723ba3ea6744460d21
* | Merge "Revert "Revert "android_ids: move to bionic"""Elliott Hughes2017-01-101-95/+6
|\ \ | |/ |/|
| * Revert "Revert "android_ids: move to bionic""Elliott Hughes2016-12-131-95/+6
| | | | | | | | | | | | This reverts commit 7b7a8074e1b949231dd18618a3d4b720c8400c66. Change-Id: Icdc7221af6745084e5a4a28d851d3ad14e2a4ece
* | Merge "Make libziparchive C++-only."Elliott Hughes2016-12-301-4/+0
|\ \
| * | Make libziparchive C++-only.Elliott Hughes2016-12-291-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we're going to build libziparchive with _FILE_OFFSET_BITS=64, which seems like a reasonable idea, we don't want off_t/off64_t mixups in the ABI, and C++ name mangling helps protect against that where C wouldn't. Bug: N/A Test: builds Change-Id: I5f068b41fb4cd9e1e055e5250054318b35bcbc08