summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes I2d3fef08,Idb828aa4,Ica764b1f,I9ae8887b,I376fad86,I4d00a9ddColin Cross2013-12-191-45/+0
|\ | | | | | | | | | | | | | | | | | | * changes: libion: update to latest uapi header libion: return -errno from ion_close libion: add include for size_t libion: add NULL checks libion: clean up whitespace libion: move ion.h into local include directory
| * libion: move ion.h into local include directoryColin Cross2013-12-181-45/+0
| | | | | | | | | | | | Export it to users of libion with LOCAL_C_EXPORT_INCLUDE_DIRS Change-Id: I4d00a9dd2e99953723994d0304ca77e0ad50a3a9
* | Merge "ion: update struct and type definitions to match kernel header"Colin Cross2013-12-191-5/+5
|\ \ | |/
| * ion: update struct and type definitions to match kernel headerRom Lemarchand2013-12-181-5/+5
| | | | | | | | | | | | | | - Replacing struct ion_handle * with ion_user_handle_t - Replacing heap_mask field name with heap_id_mask Change-Id: Iaba1ccc62b9398a7b37c5a734bc21a9ecbbc8277
* | Make libutils Looper independent of frameworks/nativeBrian Carlstrom2013-12-181-23/+112
|/ | | | Change-Id: I1dacca10a3cd7601abc3451b69ed761bf71c38fe
* Merge "AArch64: Correction of struct surface_t"Elliott Hughes2013-12-161-9/+11
|\
| * AArch64: Correction of struct surface_tMarcus Oakland2013-12-101-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The struct in the union with GGLSurface in struct surface_t assumed that the reserved field, which corresponds to the GGLsizei version field in the GGLSurface structure (where GGLsizei is define as being ssize_t in the system/core/include/pixelflinger/pixelflinger.h header file) is uint32_t. That is appropriate to the 32-bit system but is not appropriate to the 64-bit system, where ssize_t is 64-bits rather than 32-bits. The 32-bit system has also been tested and has no regression because of this change. Change-Id: I5cd84fd4a18fa0e63e27975f7b3d3e95b99cea58 Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
* | Merge "Pixelflinger: Add AArch64 support to pixelflinger JIT."Elliott Hughes2013-12-161-1/+66
|\ \
| * | Pixelflinger: Add AArch64 support to pixelflinger JIT.Ashok Bhat2013-12-121-1/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See the comment-block at the top of Aarch64Assembler.cpp for overview on how AArch64 support has been implemented In addition, this commit contains [x] AArch64 inline asm versions of gglmul series of functions and a new unit test bench to test the functions [x] Assembly implementations of scanline_col32cb16blend and scanline_t32cb16blend for AArch64, with unit test bench Change-Id: I915cded9e1d39d9a2a70bf8a0394b8a0064d1eb4 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | | Merge "Force alignment of data buffer used to process netlink messages"Elliott Hughes2013-12-141-1/+1
|\ \ \
| * | | Force alignment of data buffer used to process netlink messagesChris Dearman2013-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids any overhead associated with accessing unaligned data while processing netlink messages. Change-Id: I1ea13051816ef46b6627594121d98cda130ac609
* | | | Fix ExtractEntryToFile.Narayan Kamath2013-12-131-1/+4
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | We would always write uncompressed data at offset 0 instead of the current filedescriptor offset. Also adds a unit-test & a clarifying comment on the API. Change-Id: If44757e96dde504ce63d81b4dec7115fc6f6d5fb
* | | Pixelflinger: Fix issue of pointers being stored in intsAshok Bhat2013-12-121-2/+2
| |/ |/| | | | | | | | | | | | | | | | | Pixelflinger's code makes assumptions, at certain places, that pointers can be stored as ints. This patch makes use of uintptr_t wherever pointers are stored as int or cast to int. Change-Id: Ie76f425cbc82ac038a747f77a95bd31774f4a8e8 Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | am ac3ab308: Merge "Fix Mac OS build for libziparchive."Narayan Kamath2013-12-061-0/+1
|\ \ | | | | | | | | | | | | * commit 'ac3ab308f657f70e2747734d5ff2158aa943b25e': Fix Mac OS build for libziparchive.
| * | Fix Mac OS build for libziparchive.Narayan Kamath2013-12-061-0/+1
| | | | | | | | | | | | | | | | | | | | | BSD off_t are implicitly 64 bit so the platform doesn't define off64_t. Change-Id: I51cbe94ead01d2d6bc7c5010d9472487bee7c2d3
* | | am a2125077: Merge "Unify zipfile implementations : Step 1."Narayan Kamath2013-12-061-0/+177
|\ \ \ | |/ / | | | | | | | | | * commit 'a2125077e104941f797f93fbe6bfad22ef60a1d8': Unify zipfile implementations : Step 1.
| * | Unify zipfile implementations : Step 1.Narayan Kamath2013-12-041-0/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract zip file processing logic from libdvm into a standalone library. This library is a stricter than the libdvm library in several ways: - Duplicate zip entry names are now disallowed. Files with such entries will fail to parse. - We now verify CD file size information with the individual file header information. (This was pointed out as a deficiency of this implementation in past discussions.) - We also add support for crc checking, which means we might need to parse the optional data descriptor footer (if one exists). We also provide an API for iterating over the entries of a zip file. This library is optimized for two use cases : - Lookup for a single entry in the file, with the intention of processing or extracting the data associated with that entry - Iterating over all entries in a file *and* processing / extracting their data. Change-Id: Ia87de6184ef753cc470b0af755c47a4f92ac8198
* | | Merge commit '252d9030cd4b2e3e6cf13fa33f328eccedb5e26c' into HEADThe Android Open Source Project2013-12-053-18/+235
|\ \ \ | |/ / |/| |
| * | am 5e860ce2: am d6f9be1b: Merge "Fix include files in backtrace.h."Christopher Ferris2013-11-061-2/+2
| |\ \ | | | | | | | | | | | | | | | | * commit '5e860ce246b9235debc6a04325c7c1983c2b277e': Fix include files in backtrace.h.
| * \ \ am 1e1bae1b: am c2945850: Merge "Add some clarifying defines."Christopher Ferris2013-11-051-0/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '1e1bae1b0fc750f60ef9a2531850bbcf27ba6610': Add some clarifying defines.
| * \ \ \ am b5c24e09: am 8c58086c: Merge "More libbacktrace fixes."Christopher Ferris2013-10-301-11/+12
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | * commit 'b5c24e096d34e0f096d574f2aa799cd2dc6fc7db': More libbacktrace fixes.
| * | | | am 1b84e0a3: Merge "utils: Add ProcessCallStack to collect stack traces for ↵Igor Murashkin2013-10-303-18/+235
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all threads in a process" into klp-dev * commit '1b84e0a3145f1497fc2259608d8830f371526ece': utils: Add ProcessCallStack to collect stack traces for all threads in a process
| | * | | | utils: Add ProcessCallStack to collect stack traces for all threads in a processIgor Murashkin2013-10-253-18/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Also add a Printer class (print lines to logcat, fd, or strings) Bug: 11324229 Change-Id: I78435ed49aa196a0efb45bf9b2d58b62c41737d3
| * | | | | am 0f26808e: am 98f87d92: Merge "Rewrite libbacktrace using C++."Christopher Ferris2013-10-292-25/+120
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0f26808e2c696f8bdcca644e0ddae2af9f753ada': Rewrite libbacktrace using C++.
* | \ \ \ \ \ Merge commit '536dea9d61a032e64bbe584a97463c6638ead009' into HEADThe Android Open Source Project2013-11-2271-1089/+8572
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | Change-Id: I5c469a4b738629d99d721cad7ded02d6c35f56d5
| * | | | | | am 4ff9c3f7: am aab1670b: Merge "Add support for ECDSA P-256 with SHA256"Kenny Root2013-10-107-21/+347
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4ff9c3f7d89fe418290288d0925f257f0fe15f20': Add support for ECDSA P-256 with SHA256
| * \ \ \ \ \ \ am 3f0a5e9c: am 71a8aa34: Merge "Update comment from review."Christopher Ferris2013-09-301-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3f0a5e9c9f279546fc5c89c61053554ef6eb43d3': Update comment from review.
| * \ \ \ \ \ \ \ am 7f21826c: am f41cf208: Merge "Create a single backtrace library."Christopher Ferris2013-09-301-0/+104
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7f21826c478088b4717cc6c7d1ff6ef3d7da464a': Create a single backtrace library.
| * \ \ \ \ \ \ \ \ am bbe4c49b: Merge "Moves libmemtrack header to standard location" into klp-devAdam Lesinski2013-09-261-0/+147
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bbe4c49b4eb664ca018ff670a4dcbf5b9de9a810': Moves libmemtrack header to standard location
| | * | | | | | | | Moves libmemtrack header to standard locationAdam Lesinski2013-09-231-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If8c80003bc2f042c67ffdf38469407de3c2fda2c
| * | | | | | | | | am 08170103: am 91962669: Merge "cutils: list: add list_for_each_safe"jp abgrall2013-09-251-0/+5
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0817010366feecb53fc70719b3784dd7c6d66b55': cutils: list: add list_for_each_safe
| * | | | | | | | | Remove mkdir() side effect, add .nomedia, utils.Jeff Sharkey2013-09-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, FUSE lookup() would have the side effect of creating the directory on behalf of apps. This resulted in most directories being created just by Settings trying to measure disk space. Instead, we're switching to have vold do directory creation when an app doesn't have enough permissions. Create fs_mkdirs() utility to create all parent directories in a path as needed. Allow traversal (+x) into /storage directories. Fix FUSE derived permissions to be case insensitive. Mark well-known directories as .nomedia when created. Bug: 10577808, 10330221 Change-Id: I53114f2e63ffbe6de4ba6a72d94a232523231cad
| * | | | | | | | | Merge "Fix rotation in camera2 API" into klp-devMathias Agopian2013-09-182-1/+6
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Fix rotation in camera2 APIMathias Agopian2013-09-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10804238 Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
| * | | | | | | | | | trace: Add support for tracing 64-bit ints.Jamie Gennis2013-09-181-0/+17
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10624956 Change-Id: Ie1d7c8ac16b5a5ec1e63e4fb1863f5b1ab2b59e8
| * | | | | | | | | Add HOTWORD audio source to audio.hEric Laurent2013-09-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This is a complimentary change to the one adding this new source to MediaRecorder.java Bug: 10640877. Change-Id: Ie213e82b5a60dad2a277cef367c2f5e4df70df06
| * | | | | | | | | Switch back to subsystem "net" for netlink events.Lorenzo Colitti2013-09-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change to enable address tracking via netlink incorrectly changed the subsystem of rtnetlink events from "net" to "interface". This broke interface add/delete notifications, which come from the kernel with subsystem "net". Switch back to "net" and deal with address tracking via new action codes instead of a new subsystem. Bug: 10433320 Change-Id: Ibf30efb426949dfd02304cc1d9adb1c005a539a6
| * | | | | | | | | Add helpers for audio remote submix devices.Jeff Brown2013-08-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10265163 Change-Id: Iea7ecab4f2a655b719ff14b04c757d6dbd7a7ef3
| * | | | | | | | | Replace sRGB_888 with sRGB_X_8888Jesse Hall2013-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10357459 Change-Id: I23a3eca77acd8b4b40b1a67e7c050a7245b1821a
| * | | | | | | | | Parse IP address changes in NetlinkEvent.Lorenzo Colitti2013-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for parsing RTM_NEWADDR and RTM_DELADDR netlink messages received on netd's netlink socket and formatting them them so NetlinkHandler can process them. Address changes are notified in subsystem "address". Interface changes, which used to be notified in subsystem "net", are now notified in subsystem "interface" to avoid confusion. Bug: 10232006 Change-Id: I93a50e8de17014e118a42f5cc0eb90a0cbfa73cc
| * | | | | | | | | Richer SD card permissions through FUSE.Jeff Sharkey2013-08-081-46/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the FUSE daemon to synthesize an Android-specific set of filesystem permissions, even when the underlying media storage is permissionless. This is designed to support several features: First, apps can access their own files in /Android/data/com.example/ without requiring any external storage permissions. This is enabled by allowing o+x on parent directories, and assigning the UID owner based on the directory name (package name). The mapping from package to appId is parsed from packages.list, which is updated when apps are added/removed. Changes are observed through inotify. It creates missing package name directories when requested and valid. Second, support for separate permissions for photos and audio/video content on the device through new GIDs which are assigned based on top-level directory names. Finally, support for multi-user separation on the same physical media through new /Android/user/ directory, which will be bind-mounted into place. It recursively applies the above rules to each secondary user. rwxrwx--x root:sdcard_rw / rwxrwx--- root:sdcard_pics /Pictures rwxrwx--- root:sdcard_av /Music rwxrwx--x root:sdcard_rw /Android rwxrwx--x root:sdcard_rw /Android/data rwxrwx--- u0_a12:sdcard_rw /Android/data/com.example rwxrwx--x root:sdcard_rw /Android/obb/ rwxrwx--- u0_a12:sdcard_rw /Android/obb/com.example rwxrwx--- root:sdcard_all /Android/user rwxrwx--x root:sdcard_rw /Android/user/10 rwxrwx--- u10_a12:sdcard_rw /Android/user/10/Android/data/com.example These derived permissions are disabled by default. Switched option parsing to getopt(). Change-Id: I21bf5d79d13f0f07a6a116122b16395f4f97505b
| * | | | | | | | | Merge "Add audio_input_flags_t"Glenn Kasten2013-08-051-0/+10
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Add audio_input_flags_tGlenn Kasten2013-08-021-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie65398cc67218cc63be4baa8a2a61d0ea591a2a3
| * | | | | | | | | | libnetutils: Get mtu together with dhcp session resultsDmitry Shmidt2013-08-021-2/+6
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I517fd1f62d451b07466a21a2b770d9ce389dac19 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
| * | | | | | | | | Merge "Window: Add query for consumer usage bits."Eino-Ville Talvala2013-08-021-1/+7
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Window: Add query for consumer usage bits.Eino-Ville Talvala2013-07-301-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 9592202 Change-Id: Ied2fdb985dc59dd9c0f26c515353abdc37f0eb77
| * | | | | | | | | | minor tweaks to FlattenableUtilsMathias Agopian2013-08-011-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibfceec36434baac92c8815a18d902375d3fa1a6d
| * | | | | | | | | | Add a new utf8-to-utf16 conversion function.Dianne Hackborn2013-07-311-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I957c22fb219596ca4239db7a169473d3894b09eb
| * | | | | | | | | | Make Flattenable not virtual (libutils)Mathias Agopian2013-07-312-39/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making an object Flattenable doesn't force it to become virtual anymore. For instance, Fence and GraphicBuffer are now non-virtual classes. Also change Flatennable protocol a bit so that it updates its parameters (pointers, sizes) to make it easier to implement a flattenable in terms of other flattenables. Change-Id: Ie81dc7637180b3c2cfcbaf644f8987ca804eb891
| * | | | | | | | | | libutils: give BasicHashtableImpl a virtual destructorAlex Ray2013-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4ec590b060d732af5fe525670becbe778684247b