4cad8d6fdf15046904950f00ac31e713634f1121 |
22-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support asm/sockios.h for MIPS. Change-Id: I5ae75b0a8c2ff5698ca46f02bb371e710fb1fee0
ndroid/libportable/arch-mips/ioctl.c
ndroid/libportable/common/include/ioctls_portable.h
ndroid/libportable/common/include/socket_portable.h
|
9f49f16bdf81b2e00ae6c038c4cab3d3ebcab7fc |
22-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support getrlimit and setrlimit for MIPS. Change-Id: Iff030a0eb2444bd1ba75dff9ba6b76c7cf9e0e7d
ndroid/libportable/Android.mk
ndroid/libportable/arch-mips/resource.c
ndroid/libportable/common/include/resource_portable.h
|
4cd3283046090736ef32259fb5d38c9ba944d12f |
22-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support poll for MIPS. Change-Id: I1299817ea06c9f9ff5701dce0c6166370ef9e87d
ndroid/libportable/Android.mk
ndroid/libportable/arch-mips/poll.c
ndroid/libportable/common/include/poll_portable.h
|
5f79ffb27119766a5f946d912849ffb1bdface72 |
21-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support fcntl for MIPS with different cmd. Change-Id: I8d180ab9e18d69f0fd2748ad317319b691a86f35
ndroid/libportable/Android.mk
ndroid/libportable/arch-mips/fcntl.c
ndroid/libportable/common/include/fcntl_portable.h
|
1d34dd0c275c37cbf5d470e80b52fffc4375d6cf |
21-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Fix flags to *_PORTABLE in open_portable(), and support openat_portable(). Change-Id: Ib889899250fdfc6e7caded2506228f640fcdff3a
ndroid/libportable/arch-mips/open.c
|
f43f98223204f6be26c17572d299aca763c2b26b |
21-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support mprotect. Change-Id: Ic786eb35f69d44379129faec02b1023ab2c3282a
ndroid/libportable/arch-mips/mmap.c
|
bd37ac2e42ff00e1bde14b00f0d68997210b27b4 |
18-Aug-2012 |
Andrew Hsieh <andrewhsieh@google.com> |
Merge "Make sys/ioctl_compat.h portable."
|
584ef7f14c8804b293c85cd111c6d381603d06a6 |
18-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Make sys/ioctl_compat.h portable. Change-Id: Id9c4c68c8422d46d463b9c987be180ea50c05099
ndroid/libportable/arch-mips/ioctl.c
ndroid/libportable/common/include/ioctls_portable.h
|
64c217eb07ad168142e8e9ebdddc1ca811200fa2 |
17-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Add portable support for stuct statfs and two functions. Change-Id: I1e34428574a11bedb3a5a35a45dc519fcae3cd03
ndroid/libportable/Android.mk
ndroid/libportable/arch-mips/statfs.c
ndroid/libportable/common/include/statfs_portable.h
|
84061fa198767d4926f07503a297ee1059ad7b33 |
17-Aug-2012 |
Andrew Hsieh <andrewhsieh@google.com> |
Merge "Support all portable requests."
|
25899fcec19b92a5fc796da6cf46ee425ea79838 |
17-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support all MAP flags and update mmap_portable. Change-Id: I17600e70028d35dc2f2da05ed4a1b3d7ad051a63
ndroid/libportable/arch-mips/mmap.c
|
0bcbd32a9a000e277eab9d143861e6450e2e4ef9 |
17-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Support all portable requests. Change-Id: I1032362a48456a961f258e624df313e7841b3d81
ndroid/libportable/arch-mips/ioctl.c
|
3e1d447f43840ba5bf48134019d1200d9c55bafa |
15-Aug-2012 |
Chao-Ying Fu <fu@mips.com> |
Add portable support for errno.h. Change-Id: Ia232caff586a1296b4330f450e4cfe4fec51198b
ndroid/libportable/Android.mk
ndroid/libportable/arch-arm/errno.c
ndroid/libportable/arch-mips/errno.c
ndroid/libportable/arch-x86/errno.c
ndroid/libportable/common/include/errno_portable.h
|
639c9f49ce70f79ac41876e68acc9bc77b485fd0 |
13-Aug-2012 |
Chao-ying Fu <fu@mips.com> |
MIPS doesn't have __st_ino, so store 0 for this field in p_stat structure Change-Id: Ia9ed9e5b90291e199b0b351eba65d22a6966a1c9
ndroid/libportable/common/include/stat_portable.h
|
bf1b1e6c7f2fb0f912940232c7807506e63df2d2 |
14-Aug-2012 |
Shih-wei Liao <sliao@google.com> |
Move libportable from ndk.git to development.git. libportable should be in development.git instead of ndk.git. Change-Id: Ic369ca6a0e4ffbd2741777c8d9ec578e8ce5abbd
ndroid/libportable/Android.mk
ndroid/libportable/arch-arm/epoll.c
ndroid/libportable/arch-arm/socket.c
ndroid/libportable/arch-arm/sockopt.c
ndroid/libportable/arch-arm/stat.c
ndroid/libportable/arch-mips/epoll.c
ndroid/libportable/arch-mips/ioctl.c
ndroid/libportable/arch-mips/mmap.c
ndroid/libportable/arch-mips/open.c
ndroid/libportable/arch-mips/socket.c
ndroid/libportable/arch-mips/sockopt.c
ndroid/libportable/arch-mips/stat.c
ndroid/libportable/arch-x86/epoll.c
ndroid/libportable/arch-x86/fcntl.c
ndroid/libportable/arch-x86/ioctl.c
ndroid/libportable/arch-x86/open.c
ndroid/libportable/arch-x86/socket.c
ndroid/libportable/arch-x86/sockopt.c
ndroid/libportable/arch-x86/stat.c
ndroid/libportable/common/include/epoll_portable.h
ndroid/libportable/common/include/fcntl_portable.h
ndroid/libportable/common/include/ioctls_portable.h
ndroid/libportable/common/include/mman_portable.h
ndroid/libportable/common/include/socket_portable.h
ndroid/libportable/common/include/stat_portable.h
|
98f56b100c92e1b3ce392fcadc7e8e785f6d813a |
19-Dec-2011 |
David 'Digit' Turner <digit@google.com> |
ndk: disable logs in release builds of native_app_glue library. This patch disables all the logs from the 'native_app_glue' helper library (used to implement native activities with the NDK), unless you're building a debug build. Change-Id: Iaad9d7c48a392ec119704074ab76e131d7806adb
ndroid/native_app_glue/android_native_app_glue.c
|
95ae335fd53daf85b206215423ddf7881b9cb4fd |
02-Feb-2011 |
David 'Digit' Turner <digit@android.com> |
native_app_glue: fix APP_CMD_TERM_WINDOW pre-hook The window field must not be set to NULL in the pre-hook, only the post-one. See http://code.google.com/p/android/issues/detail?id=14352 Change-Id: Ib6214d47c97766bf4a5e148b6b6707e08366fe36
ndroid/native_app_glue/android_native_app_glue.c
|
3c7c38b2bb93b2faad372ff9a464dea00f0eb96e |
28-Oct-2010 |
David 'Digit' Turner <digit@google.com> |
NDK: Last cleanup of the platform headers - fix a declaration omission in 3/<grp.h> - add missing 8/<err.h> - simplify 8/<stdio.h> - update 9/ headers to the latest Bionic versions - fix a typo in android_native_app_glue.h - use __BEGIN_DECLS .. __END_DECLS whenever possible. - remove C++-style comments from headers Change-Id: I58b98b3973cde494436206194ba33416a11ca8ee
ndroid/native_app_glue/android_native_app_glue.h
|
9f44e9710843c3918e6889b077e11cc4535b0edd |
14-Sep-2010 |
Jeff Brown <jeffbrown@google.com> |
Update NDK headers and samples to sync up with looper API changes. Change-Id: I7082603bf280888be90dc4df687521aaae9b1d02
ndroid/native_app_glue/android_native_app_glue.c
|
d3d58cf7d3a508bb855c2ad626205ddcbb3bd237 |
08-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Update to follow ALooper ident change. Also the native-activity sample also has some very simple code showing how to listen to the accelerometer. Change-Id: I0629b8bc40cddd66233c1675cd5e8b42a9b722d8
ndroid/native_app_glue/android_native_app_glue.c
ndroid/native_app_glue/android_native_app_glue.h
|
79b946e8f2ccb552e1a3fe8222f660b9a76cc001 |
04-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Some native activity sample code cleanup. Update to include newest headers and library, tweak glue code to work better with state saving and add support for config changes. Change-Id: I4d27bd4a0f542f217efaec86cf4f219aca020426
ndroid/native_app_glue/android_native_app_glue.c
ndroid/native_app_glue/android_native_app_glue.h
|
4948c163663ecc343c97e4c2a2139234f1d3273f |
14-Jul-2010 |
David 'Digit' Turner <digit@google.com> |
Remove prebuilt static library "libthreaded_app.a". Make the "glue library" part of the NDK as an importable module, this has several benefits: - no need to distribute a binary here with no easy way to regenerate it - no need to explicitely list -lthreaded_app in your LOCAL_LDLIBS (this is handled automatically by the module import capability) - allows easier native debugging of what's really happening. Note that the header is renamed <threaded_native_app.h> + Modify the native-activity sample to use and import the new module + Start documenting usage in the header file. We probably need something better, and will probably put it under development/ndk/docs/ at some point. After this patch, we should be able to get rid of the code under framework/base/native/{include.glue} Change-Id: I6e81d70a225a6ca006beabf6e8b42529e8f371b9
ndroid/native_app_glue/Android.mk
ndroid/native_app_glue/android_native_app_glue.c
ndroid/native_app_glue/android_native_app_glue.h
|
7e203f10b690bc6e5007855a239e583d230a0cb9 |
24-Mar-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Delete NDK. It is being moved to a standalone project. Change-Id: If863753b9bf10ec2b7351fd39eccf28a989102f7
pufeatures/Android.mk
pufeatures/cpu-features.c
pufeatures/cpu-features.h
|
4653cb897b8f52c1ead12a1bffa1ba40fd8f45a2 |
23-Feb-2010 |
David 'Digit' Turner <digit@google.com> |
cpufeatures license is BSD, no Apache 2.0
pufeatures/cpu-features.c
pufeatures/cpu-features.h
|
693ad65e24cefe3d60d3702e6adab13d18b121ba |
22-Feb-2010 |
David 'Digit' Turner <digit@google.com> |
Add missing copyright disclaimers to cpufeatures and hello-neon
pufeatures/cpu-features.c
pufeatures/cpu-features.h
|
43809914f655fe8a5c7e53d20c5976b61267e2a6 |
05-Feb-2010 |
David 'Digit' Turner <digit@google.com> |
Add 'cpufeatures' library to perform runtime CPU family/features detection. It is provided as a static library that NDK developers can link against. The code is designed to run on all official Android platforms, starting from Android 1.5.
pufeatures/Android.mk
pufeatures/cpu-features.c
pufeatures/cpu-features.h
|
eee1675aa40d9fcaae3765370f5331e4002d8dd6 |
29-Jul-2009 |
David 'Digit' Turner <digit@google.com> |
Look for Android.mk in $(APP_PROJECT_PATH)/jni by default. This gets rid of the 'sources' directory and allows all sources of a given Android application to be in the same directory tree without using a symlink trick. Note that apps/<name>/Application.mk is still required though. A later release of the NDK will get rid of it too, but the change is too drastic for the upcoming release. The change moves various source files from sources into their app/<name>/project/jni directory as well. The whole documentation is updated to reflect the change.
amples/Android.mk
amples/hello-jni/Android.mk
amples/hello-jni/hello-jni.c
amples/san-angeles/Android.mk
amples/san-angeles/README.txt
amples/san-angeles/app-android.c
amples/san-angeles/app-linux.c
amples/san-angeles/app-win32.c
amples/san-angeles/app.h
amples/san-angeles/cams.h
amples/san-angeles/demo.c
amples/san-angeles/importgl.c
amples/san-angeles/importgl.h
amples/san-angeles/license-BSD.txt
amples/san-angeles/license-LGPL.txt
amples/san-angeles/license.txt
amples/san-angeles/shapes.h
amples/two-libs/Android.mk
amples/two-libs/first.c
amples/two-libs/first.h
amples/two-libs/second.c
ests/Android.mk
ests/test-CLEAR_VARS/Android.mk
ests/test-LOCAL_CFLAGS/Android.mk
ests/test-LOCAL_CFLAGS/test-LOCAL_CFLAGS-1.c
ests/test-LOCAL_CFLAGS/test-LOCAL_CFLAGS-2.cpp
ests/test-LOCAL_CPPFLAGS/Android.mk
ests/test-LOCAL_CPPFLAGS/test-LOCAL_CPPFLAGS-1.c
ests/test-LOCAL_CPPFLAGS/test-LOCAL_CPPFLAGS-2.cpp
|
197a8fea8e9ae0552b0d20fb5ba4562a851c1bca |
29-Jul-2009 |
David 'Digit' Turner <digit@google.com> |
Add sample "san-angeles" program to demo OpenGL ES from native code. Note that the app will only build against an android-4 SDK. (Interestingly, the resulting binary runs very well under android-3). This also adds missing license headers to the 'two-libs' sample.
amples/san-angeles/Android.mk
amples/san-angeles/README.txt
amples/san-angeles/app-android.c
amples/san-angeles/app-linux.c
amples/san-angeles/app-win32.c
amples/san-angeles/app.h
amples/san-angeles/cams.h
amples/san-angeles/demo.c
amples/san-angeles/importgl.c
amples/san-angeles/importgl.h
amples/san-angeles/license-BSD.txt
amples/san-angeles/license-LGPL.txt
amples/san-angeles/license.txt
amples/san-angeles/shapes.h
amples/two-libs/first.c
amples/two-libs/first.h
amples/two-libs/second.c
|
4ddb7840c272f85a061e30561496fd9c940e0f36 |
27-Jul-2009 |
David 'Digit' Turner <digit@google.com> |
Add a "unit-tests" sample application to perform unit testing.
ests/Android.mk
ests/test-CLEAR_VARS/Android.mk
ests/test-LOCAL_CFLAGS/Android.mk
ests/test-LOCAL_CFLAGS/test-LOCAL_CFLAGS-1.c
ests/test-LOCAL_CFLAGS/test-LOCAL_CFLAGS-2.cpp
ests/test-LOCAL_CPPFLAGS/Android.mk
ests/test-LOCAL_CPPFLAGS/test-LOCAL_CPPFLAGS-1.c
ests/test-LOCAL_CPPFLAGS/test-LOCAL_CPPFLAGS-2.cpp
|
985338c05c8c4b1634c231513ab1503e6c8703b5 |
19-May-2009 |
David 'Digit' Turner <digit@google.com> |
Expose the Zlib headers (<zlib.h> and <zconf.h>) in the android-1.5 NDK sysroot. This is OK because the Zlib ABI is fixed and stable. Also get rid of the sample zlib sources since we don't need the static library anymore.
xternal/Android.mk
xternal/zlib/Android.mk
xternal/zlib/adler32.c
xternal/zlib/compress.c
xternal/zlib/crc32.c
xternal/zlib/crc32.h
xternal/zlib/deflate.c
xternal/zlib/deflate.h
xternal/zlib/gzio.c
xternal/zlib/infback.c
xternal/zlib/inffast.c
xternal/zlib/inffast.h
xternal/zlib/inffixed.h
xternal/zlib/inflate.c
xternal/zlib/inflate.h
xternal/zlib/inftrees.c
xternal/zlib/inftrees.h
xternal/zlib/minigzip.c
xternal/zlib/trees.c
xternal/zlib/trees.h
xternal/zlib/uncompr.c
xternal/zlib/zconf.h
xternal/zlib/zlib.h
xternal/zlib/zutil.c
xternal/zlib/zutil.h
|
f99249b80b4c2e313f2c530abfb159499a10fe66 |
07-May-2009 |
Xavier Ducrohet <xav@android.com> |
Change the NDK samples package names to be lower case. Also added minSdkVersion=3 in the manifests.
amples/hello-jni/hello-jni.c
amples/two-libs/first.h
amples/two-libs/second.c
|
b9a8479e4824ccc65229a113e4abd207d89732f9 |
07-May-2009 |
David 'Digit' Turner <digit@google.com> |
Initial import of new NDK into donut tree
xternal/Android.mk
xternal/zlib/Android.mk
xternal/zlib/adler32.c
xternal/zlib/compress.c
xternal/zlib/crc32.c
xternal/zlib/crc32.h
xternal/zlib/deflate.c
xternal/zlib/deflate.h
xternal/zlib/gzio.c
xternal/zlib/infback.c
xternal/zlib/inffast.c
xternal/zlib/inffast.h
xternal/zlib/inffixed.h
xternal/zlib/inflate.c
xternal/zlib/inflate.h
xternal/zlib/inftrees.c
xternal/zlib/inftrees.h
xternal/zlib/minigzip.c
xternal/zlib/trees.c
xternal/zlib/trees.h
xternal/zlib/uncompr.c
xternal/zlib/zconf.h
xternal/zlib/zlib.h
xternal/zlib/zutil.c
xternal/zlib/zutil.h
amples/Android.mk
amples/hello-jni/Android.mk
amples/hello-jni/hello-jni.c
amples/two-libs/Android.mk
amples/two-libs/first.c
amples/two-libs/first.h
amples/two-libs/second.c
|