History log of /system/core/libion/ion.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30f991f251940be3ed11566fb71139852286f68a 10-Jan-2017 Mark Salyzyn <salyzyn@google.com> liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
/system/core/libion/ion.c
6b694a76f5da14f8a8e8610fb02ccdb519c54ae7 30-Nov-2016 Nick Kralevich <nnk@google.com> ion.c: add O_CLOEXEC to /dev/ion open

Test: device boots and no obvious problems.
Change-Id: I0845b79de49b77878adaf6cd14cc506f7586cccb
/system/core/libion/ion.c
1ba4e981dbb75985b320c2d97c7c2567b9ebcf51 21-Oct-2016 Jeff Vander Stoep <jeffv@google.com> libion: open /dev/ion read-only

/dev/ion driver does not recognize the write operation [1] so open it
read-only.

[1] http://lxr.free-electrons.com/source/drivers/staging/android/ion/ion.c?v=4.5#L1369

Test: Angler builds and boots
Bug: 32120194
Change-Id: I9b26d43ea32cb24426404668701df1f1648d336c
/system/core/libion/ion.c
cfd5b080af8de527d768f0ff7902c26af8d49307 17-Oct-2016 Mark Salyzyn <salyzyn@google.com> system/core: preparation to pull back interfaces from android/log.h

Point to log/log.h where necessary, define LOG_TAG where necessary.
Accept that private/android_logger.h is suitable replacement for
log/logger.h and android/log.h.

Correct liblog/README

Effectively a cleanup and controlled select revert of
'system/core: drop or replace log/logger.h' and
'system/core: Replace log/log.h with android/log.h'.

Test: compile
Bug: 30465923
Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
/system/core/libion/ion.c
66ce3e08c5632a20ea66bde6dd76397041edf034 28-Sep-2016 Mark Salyzyn <salyzyn@google.com> system/core Replace cutils/log.h with android/log.h

Should use android/log.h instead of cutils/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
/system/core/libion/ion.c
d2ac374909f1331116c790f5469cdd0c9693e3fc 28-Jan-2015 Elliott Hughes <enh@google.com> am 2e14f617: am 06b4e982: Merge "Add missing <malloc.h> and <string.h> includes."

* commit '2e14f61731adbb1f0d0d54bab82bc2f0ecee6a11':
Add missing <malloc.h> and <string.h> includes.
a744b05984a963966cec08758ffe582d241be9d7 28-Jan-2015 Elliott Hughes <enh@google.com> Add missing <malloc.h> and <string.h> includes.

Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
/system/core/libion/ion.c
58b80be8110b7229c1543c60f7fa698217e30c6e 25-Nov-2014 Andreas Gampe <agampe@google.com> am fcb2f0ab: am 0b7e6516: Merge "Libion: Remove unused variables"

* commit 'fcb2f0abe07ffd1c7a87bdcd7878a556ce0049fb':
Libion: Remove unused variables
f0a54c17d894391a69bfa6c11b474c5b851b762e 25-Nov-2014 Andreas Gampe <agampe@google.com> Libion: Remove unused variables

For build-system CFLAGS clean-up, fix unused variables.

Fix missing close of file descriptors. Explicitly exit after a fork.

Change-Id: I76affbc8647c3a760ed3cacc7f3ada3f59e283b1
/system/core/libion/ion.c
5cdcdce50ea5ede7dd5bf627f6f0252501e08eea 28-Oct-2014 Rom Lemarchand <romlem@google.com> libion: only modify parameters on success

Wait until a call is successful before modifying the value of pointers
passed

Change-Id: Iaeb2517c8cefeca2f60ebf610d38f264b48e59a0
/system/core/libion/ion.c
aab47b293fa42cba6865a6991ca00c7eaafb9710 19-Dec-2013 Colin Cross <ccross@android.com> libion: return -errno from ion_close

Return -errno from ion_close instead of -1 on error.

Change-Id: Idb828aa4b4d1a660b79d2dba8be32f306eac959d
/system/core/libion/ion.c
7496318486da5a501cd8ab854c2e47ca56ea1ee3 09-Nov-2013 Colin Cross <ccross@android.com> libion: add NULL checks

Check for NULL in any library function that takes a pointer.

Change-Id: I9ae8887b5ae0f231583173ee6a9dfd2f8c4611ec
/system/core/libion/ion.c
92d7ca6af3ee38027d7341f24c6b550eaa41417a 09-Nov-2013 Colin Cross <ccross@android.com> libion: clean up whitespace

Convert everything to 4 space indents, no tabs.

Change-Id: I376fad866864f0579b91ffad406e872fcce566ad
/system/core/libion/ion.c
969eac8161ba3c08bac4278451c91f3307f3f565 22-Oct-2013 Rom Lemarchand <romlem@google.com> ion: update struct and type definitions to match kernel header

- Replacing struct ion_handle * with ion_user_handle_t
- Replacing heap_mask field name with heap_id_mask

Change-Id: Iaba1ccc62b9398a7b37c5a734bc21a9ecbbc8277
/system/core/libion/ion.c
3cfcc300058070f0873763abfa604e07ec536da3 20-Sep-2012 Rebecca Schultz Zavin <rebecca@android.com> Add explicit sync call to ion library

Bug: 6854979
Change-Id: I535d55af897eeb4ed707b5da54f3fbf36afa452c
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/system/core/libion/ion.c
a50fd5568ea72ea1ad662207ccea512735803174 12-Jun-2012 Rebecca Schultz Zavin <rebecca@android.com> Modify ion to use new definition of ALLOC ioctl argument

Also add ion_alloc_fd helper for when you only want a filedescriptor
and know you won't need to access this handle again by its ion_handle

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Change-Id: Ia4bae22946b0078084b62f5447fecbf261dfaa83
/system/core/libion/ion.c
afd912394690cbf7d40b021c62d80ff0f3d40806 23-Feb-2012 Rebecca Schultz Zavin <rebecca@android.com> Add ion helper library

This library contains helper functions for using ion

Change-Id: I7d7f76d6d3f36cd94d67797a38099a94214392b1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/system/core/libion/ion.c