Marco Nelissen
3ff89b2fce
Fix CRCs in file so it passes the new CRC check
...
Bug: 22661698
Change-Id: I7f13aca309f6e1163f6515f3d949154749102776
2015-07-28 09:01:31 -07:00
Marco Nelissen
486a53c016
Add required permission to sample code
...
Bug: 15014196
Change-Id: I0edf8320e9eaa02031d564735c17c016d7e14fda
2014-09-02 12:08:48 -07:00
Andrew Hsieh
458300640f
Fix samples for 64-bit ABIs
...
1. Set APP_ABI:=all in almost all samples
2. Enhance hello-jni to report more ABIs
3. Fix warnings
Change-Id: I2851c42b77ef8225e32143d225edcf973633e782
2014-06-20 16:42:08 -07:00
Andrew Hsieh
1e61663835
Remove non-existanec functions/variables from libc.so
...
See b.android.com/69319
android-9+
__evOptMonoTime
_nres
__p_default_section_syms
__p_update_section_syms
_rand48_add
_rand48_mult
_rand48_seed
_res_opcodes
__sFext
android-12+
copy_tm_to_TM
copy_TM_to_tm
__dtoa
_endhtent
__fremovelock
_gethtbyaddr
_gethtbyname
_gethtbyname2
_gethtent
__libc_android_abort
_mktemp # mktemp already exist in header
__pread64 # add pread64, pwrite64 and ftruncate64 to API >= 12
__pwrite64
res_need_init
__res_ourserver_p
_sethtent
__set_syscall_errno
__sfvwrite
__timer_table_start_stop
valid_tm_mon
valid_tm_wday
android-14+
__libc_android_log_assert
__libc_android_log_print
__libc_android_log_vprint
android-17+
dlmalloc_walk_free_pages
dlmalloc_walk_heap
__get_pc
android-18+
__get_res_cache
__libc_init_common
__libc_preinit
Change-Id: Ie67acf115427e808dde0e33411671b07a888a9b6
2014-05-12 19:22:17 +08:00
David Friedman
3b601c6550
Fixed apparent copy/paste mistake
...
Bug: 11634373
Change-Id: I44766217f414988bfd3be68043a4b80dd21554d8
2014-02-05 11:18:32 +08:00
Andrew Hsieh
ca34e29d94
Merge "Fix headers to be inclued alone"
2014-01-16 17:03:03 +00:00
Andrew Hsieh
2c8776805a
Fix headers to be inclued alone
...
See b.android.com/64679 for one of header sys/prctl.h
Change-Id: Ie415ebe2086d2f0190d84fba0c57cc7e1e5822ae
2014-01-13 12:58:46 +08:00
Andrew Hsieh
fbb32955a4
Fixed asset_manager.h, rect_manager.h, and jni.h
...
1. Fixed missing #include <sys/types.h> in android/asset_manager.h for API >= 13
2. Fixed missing #include <stdint.h> in android/rect_manager.h for API >= 14
3. Added JNICALL to JNI_OnLoad and JNI_OnUnload in jni.h
Change-Id: I875ec0b6e6f7c2f433c176f0a738eb78f3c33062
2014-01-08 14:10:06 +08:00
Andrew Hsieh
5881b5cbe7
Add __NDK_FPABI__ to function taking/returning float/double
...
Allow user code to be compiled with "-mhard-float" for armeabi-v7a
(which implies -mfloat-abi=hard), and either link with
1. Android native APIs which use softfp, or
2. A customized libm_hard.a which is compiled with -mhard-float. Need
-D_NDK_MATH_NO_SOFTFP=1
See tests/device/hard-float/jni/Android.mk for details and restriction
on Clang
Change-Id: I773a842c73368e08b9a6cda0441e95a96fa303b2
2013-10-17 19:15:22 +08:00
Andrew Hsieh
0c147ba2dc
Update libandroid.so for API9 .. API18
...
This CL update library. See
f3c3a93bc4 for API13..18 header update
Add functions:
android-9:
AMotionEvent_getHistoricalRawX
AMotionEvent_getHistoricalRawY
AMotionEvent_getHistoricalTouchMajor
AMotionEvent_getHistoricalTouchMinor
AMotionEvent_getHistoricalToolMajor
AMotionEvent_getHistoricalToolMinor
AMotionEvent_getHistoricalOrientation
android-13:
AAsset_seek64
AAsset_getLength64
AAsset_getRemainingLength64
AAsset_openFileDescriptor64
AConfiguration_getScreenWidthDp
AConfiguration_setScreenWidthDp
AConfiguration_getScreenHeightDp
AConfiguration_setScreenHeightDp
AConfiguration_getSmallestScreenWidthDp
AConfiguration_setSmallestScreenWidthDp
AMotionEvent_getAxisValue
AMotionEvent_getHistoricalAxisValue
ANativeWindow_fromSurfaceTexture (removed in >=API16)
android_getTtsEngine
getTtsEngine
android-14:
AMotionEvent_getButtonState
AMotionEvent_getToolType
android-15:
<< none >>
android-16:
Remove ANativeWindow_fromSurfaceTexture
android-17:
AConfiguration_getLayoutDirection
AConfiguration_setLayoutDirection
android-18:
<< none >>
Also
1. remove android-16/include/android/native_activity.h which is the
same as android-13's
2. fix input.h comments and missing args, same as
9d0136004f for android-9
3. sort android-9's libandroid.so.functions.txt for easier comparison
See https://code.google.com/p/android/issues/detail?id=47150
https://code.google.com/p/android/issues/detail?id=58528
Change-Id: Iaa88fe45d188482fd0905ca54180c635ab02dd95
2013-10-14 18:44:24 +08:00
Michael Wright
f3c3a93bc4
Update NDK's android headers
...
Change-Id: I2ae3b42dcbbdccbcae018f768dc7b56723416d21
2013-08-29 18:17:46 -07:00
Andrew Hsieh
c45fca2926
Add missing SL_IID_ANDROIDBUFFERQUEUESOURCE in android-14 for ARM/X86
...
SL_IID_ANDROIDBUFFERQUEUESOURCE is new in android-14 and already
declared in platforms/android-14/include/SLES/OpenSLES_Android.h,
but it's missing from libOpenSLES.so
It turns out both *.functions.txt and *.variables.txt should exist
for gen-platforms.sh to generate new *.so. Add *.functions.txt otherwise
development/ndk/platforms/android-14/arch-(arm|x86)/symbols/libOpenSLES.so.variables.txt
are ignored. Note that MIPS is correct all along.
See http://code.google.com/p/android/issues/detail?id=40625
Change-Id: I826f13a93c9f3eaf648a59e7e844b53be5f7fba0
2012-12-04 20:23:41 +08:00
Andrew Hsieh
3f59495d17
Remove auto-gen project.properties
...
It's auto-gen by tool from default.properties in the same dir, etc.
Change-Id: I081ecb809699d42b707218b08e61b97fc9a51f1a
2012-04-02 18:32:04 +08:00
Glenn Kasten
00038deedc
Native media sample app for NDK API level 14
2012-04-02 18:08:03 +08:00
Chao-Ying Fu
718e73cf26
MIPS platform files for building the NDK
...
Change-Id: If19af75003aeb8872d23d7901f01c434bdc58a5f
2012-03-30 18:09:22 -07:00
Glenn Kasten
bd690d7cd2
Add README.txt for missing example
...
Change-Id: I88236a3953f6b62f8b3c6f80ecd5a94608c9296e
2011-10-19 15:15:56 -07:00
David 'Digit' Turner
8ece910f60
ndk: Update OpenSLES platform files for API level 14
...
Change-Id: I029b7eea0db05613389e8cd22b0440a56c850d53
2011-10-14 02:29:28 +02:00
David 'Digit' Turner
2c4b4c1a3d
ndk: Add OpenMAX headers and symbols for API level 14
...
Change-Id: I61f6f255357781d1912e25bd43815fd34ff83d0e
2011-10-14 01:52:11 +02:00