Andrew Hsieh
3517e742e3
Merge "Implement wait4 already exist in header"
2014-01-10 00:31:50 +00:00
Andrew Hsieh
365e66feaf
Merge "Fixed API18 math.h for clang3.4"
2014-01-07 00:21:56 +00:00
Andrew Hsieh
f242723e9d
Fixed API18 math.h for clang3.4
...
Clang3.4 can take __builtin_nexttoward and __builtin_nexttowardf.
Also fix a minor typo in comment
Change-Id: If98a35e2e38c45ebd619b0ceb6c5ee41acc4e415
2013-12-30 14:14:09 +08:00
Andrew Hsieh
29c857fe6d
Merge "Restore immersive mode when volume button has been pressed."
2013-12-30 06:01:37 +00:00
Andrew Hsieh
13f2b7e169
Merge "Fix rendering issue in Tegra2/3."
2013-12-30 06:01:25 +00:00
Hak Matsuda
78bf635170
Restore immersive mode when volume button has been pressed.
...
Workaround issue where SYSTEM_UI_FLAG_IMMERSIVE_STICKY is invalidated
when a volume button is pressed (internal bug ref b/11986621)
Immersive mode still does not recover when the screen has been
rotated, due to onSystemUiVisibilityChange is not triggered
when screen is rotated (internal bug ref b/11990702)
Change-Id: Ifdfe9b24d5c3c208441aeca0fbb2b1eaee39da95
2013-12-30 13:49:54 +08:00
Hak Matsuda
2a0781b43d
Fix rendering issue in Tegra2/3.
...
Now having medium precision for specular variable, so that specular power can be <1.0
Change-Id: I15459d34e269ba7d31bc899460540fe390e5e294
2013-12-30 13:49:23 +08:00
Andrew Hsieh
7e25851a68
Implement wait4 already exist in header
...
1. Implement wait4 by calling __wait4 exists in libc.so
2. Add wait4 to libc.a
Change-Id: I08b6555cc50ee88358cd2ec63f9d8d2d4482305a
2013-12-30 11:57:38 +08:00
Andrew Hsieh
7c35de7f0a
Merge "Add support for building the NDK's native_app_glue."
2013-12-27 00:00:01 +00:00
Todd Fiala
cfa0f35d00
Add support for building the NDK's native_app_glue.
...
Required for upcoming CTS tests that utilize the native_app_glue
framework to simplify native test apps.
In support of this feature:
https://code.google.com/p/android/issues/detail?id=63920
Change-Id: I3fe5dab26c147636538a4b519683493d8e78d26f
2013-12-26 15:39:36 +00:00
Andrew Hsieh
11728ce9bb
Merge "Workaround the __builtin_isnan() type error for clang 3.4."
2013-12-25 02:09:13 +00:00
Logan Chien
ad40d952a1
Workaround the __builtin_isnan() type error for clang 3.4.
...
Similar to clang 3.3, it seems that clang 3.4 declares an incompatible
function prototypes for __builtin_isnan(). To workaround this issue,
we should not declare the function prototype for __builtin_isnan().
Note: Though it may be good to fix this in clang type checker, like
__builtin_nexttoward(), however it seems non-trivial since __builtin_isnsn()
might be overloaded. We can revert this after we have fixed the
clang builtin definition.
Change-Id: I329b56225f3d229b0c141bb8414c4369f154efda
2013-12-25 01:59:29 +00:00
Christopher Ferris
9092f8fb0a
Merge "Use uapi kernel headers."
2013-12-20 19:06:05 +00:00
Christopher Ferris
7bc2433721
Use uapi kernel headers.
...
Bug: 11559337
Change-Id: I9060b95f9e5d0b7d2173695d6a27df7b4d5d0758
2013-12-18 14:59:59 -08:00
Andrew Hsieh
2f5fa0bebd
Merge "ndk: Fix wait4() declarations"
2013-12-13 01:51:40 +00:00
Narayan Kamath
1e18a584ef
Merge "Whitelist libziparchive for windows."
2013-12-11 17:33:43 +00:00
David 'Digit' Turner
db275132c5
ndk: Fix wait4() declarations
...
wait4() was incorrectly declared in <sys/wait.h>, but only added to the
C library in Android 4.3 (API level 18) [1]
This patch:
- Removes the wait4() declarations for any <sys/wait.h> header before
API level 19.
- Brings the API level 19 <sys/wait.h> which correctly declares wait4().
- Update the libc.so.functions.txt for API level 19 of all platforms
to include the exported symbol.
NOTE: This does not bring the static libc.a to API level 19, which means
it is stuck at API level 9 for ARM.
See [2] for the corresponding NDK tests.
http://b.android.com/19854
[1] 17a8b0db63
[2] https://android-review.googlesource.com/#/c/72000/
Change-Id: I7735473d177c44f43b09bb6738e9914945cd4d0a
2013-12-11 17:23:46 +01:00
Narayan Kamath
a4ea4f1843
Whitelist libziparchive for windows.
...
Change-Id: I19d527b6b52732057b16367574edc14c7065f256
2013-12-11 14:20:33 +00:00
The Android Open Source Project
e0f497fe19
Merge commit '54ec4ff7dfa9e8028f9da1986a73bddb1c00be93' into HEAD
2013-12-05 17:25:54 -08:00
Andrew Hsieh
a77377bed6
Merge "Annotate JNICALL with __NDK_FPABI__"
2013-12-05 23:51:36 +00:00
Andrew Hsieh
9e09a8e81e
Merge "Fix -mhard-float for calling __builtin_* math functions"
2013-12-05 07:14:20 +00:00
Andrew Hsieh
b05e7c1985
Annotate JNICALL with __NDK_FPABI__
...
In armeabi-v7a, VM still expects JNI functions to follow soft-abi.
Annotate it with __NDK_FPABI__ so compiler follows soft-abi in JNI
functions regardless the presence of -mhard-float in command-line.
It's up to developer to apply JNICALL consistently on JNI functions,
ie. those functions whose first arg has type "JNIEnv*" is likely to be
Change-Id: Ica7cca8ab9498ce00de6ffc7fff35f8cc13aedbf
2013-12-04 11:55:17 +08:00
Andrew Hsieh
2a571fda2b
Fix -mhard-float for calling __builtin_* math functions
...
Annotate __builtin math functions with __NDK_FPABI_MATH__ too.
1. __attribute__((pcs("aapcs"))) has no effect on codegen when __buitlin
function is emitted inlined.
2. When __builtin call into regular function in Android's libm, it has
proper attribute which observes soft float-abi
Change-Id: I11e8b74fc22f3072b9ce849193e4a56e98c92d64
2013-12-04 11:45:04 +08:00
Andrew Hsieh
d9c17aa7d7
Merge "Enhance hello-jni to report APP_ABI at compilation"
2013-12-02 08:56:51 +00:00
Andrew Hsieh
833979268e
Enhance hello-jni to report APP_ABI at compilation
...
Change-Id: I24989212cfb729705cc4177a7112804fa68144c4
2013-12-02 10:22:47 +08:00
Ben Cheng
18e10d81e3
am 4a09318c: Merge "Temporarily disable elftree on darwin-x86"
...
* commit '4a09318c1e6f2ffde53ac9219bb0e392228ef925':
Temporarily disable elftree on darwin-x86
2013-11-22 17:22:11 -08:00
Ben Cheng
4a09318c1e
Merge "Temporarily disable elftree on darwin-x86"
2013-11-23 01:15:49 +00:00
Ben Cheng
4a7c39c97b
Temporarily disable elftree on darwin-x86
...
Change-Id: Ib4a73283ad18088de33da3c00278aae67c485fac
2013-11-22 17:02:53 -08:00
The Android Open Source Project
c61dbe23a4
Merge commit '8eccbd3b5d90b9f0557c9a01f49d45e98ac85a46' into HEAD
2013-11-22 16:46:47 -08:00
Kenny Root
7e0d5c29b3
am c9421a7a: Merge "make_key: add EC key generation support"
...
* commit 'c9421a7ac67b6613acfb1415964947afb4c0fa30':
make_key: add EC key generation support
2013-11-22 10:40:39 -08:00
Kenny Root
c9421a7ac6
Merge "make_key: add EC key generation support"
2013-11-22 18:37:38 +00:00
Ben Cheng
45d1998989
am 4b60b014: Merge "Switch to use elfutils 0.153"
...
* commit '4b60b0143dd26498a13efa4e8b1851b71e8581e0':
Switch to use elfutils 0.153
2013-11-21 16:48:11 -08:00
Ben Cheng
4b60b0143d
Merge "Switch to use elfutils 0.153"
2013-11-22 00:45:17 +00:00
Ben Cheng
75c68c9c53
Switch to use elfutils 0.153
...
Change-Id: Ie6ee5911949f6d32f39f1f8800ddf41550dedd95
2013-11-21 16:36:27 -08:00
Andrew Hsieh
3053834fdc
am c044b5e3: Merge "- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6"
...
* commit 'c044b5e3673ed685693b3b381cebc4688e219334':
- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6
2013-11-21 00:11:20 -08:00
Andrew Hsieh
c044b5e367
Merge "- Using hard-fp - Immersive mode in android-19 - Fixed local reference release in JNI helper - Misc fixes Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6"
2013-11-21 08:08:22 +00:00
Hak Matsuda
cc69f210a7
- Using hard-fp
...
- Immersive mode in android-19
- Fixed local reference release in JNI helper
- Misc fixes
Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6
2013-11-21 16:06:02 +08:00
Elliott Hughes
f067a933f5
am 1f1e7379: Merge "MIPS hasn\'t supported SA_RESTORER since 2.5 kernels."
...
* commit '1f1e7379078e898dc21f4f52dc5bb46e19e03ce5':
MIPS hasn't supported SA_RESTORER since 2.5 kernels.
2013-11-20 16:09:39 -08:00
Elliott Hughes
1f1e737907
Merge "MIPS hasn't supported SA_RESTORER since 2.5 kernels."
2013-11-21 00:07:49 +00:00
Elliott Hughes
dfb6545c6b
MIPS hasn't supported SA_RESTORER since 2.5 kernels.
...
Change-Id: Ia3500168ab5ba5ba381d0195e9ecc26a618bf505
2013-11-20 11:34:53 -08:00
Joe Fernandez
54ec4ff7df
am becd685b: am 4233252a: Sample code for OpenGL Android training class
...
* commit 'becd685b66f349063f642e2292d21d22d0964ba1':
Sample code for OpenGL Android training class
2013-11-15 11:59:36 -08:00
Joe Fernandez
becd685b66
am 4233252a: Sample code for OpenGL Android training class
...
* commit '4233252af95fe9f12c47fdde92ea4718b3334108':
Sample code for OpenGL Android training class
2013-11-15 19:56:27 +00:00
Joe Fernandez
4233252af9
Sample code for OpenGL Android training class
...
( Original Id: Ib1650025a3c4b018c60d70ede3f25113660f68d8 )
Change-Id: I1d760b75d1f2bfe1ec90c71471867577bd146241
(cherry picked from commit 66f6fe6633 )
2013-11-15 19:15:57 +00:00
Andrew Hsieh
1785c98962
am 7956dc3c: am faab12a0: Merge "Update time.h for CLOCK_BOOTTIME, etc"
...
* commit '7956dc3c87503530696ddd42d3a0f71decb0bcf6':
Update time.h for CLOCK_BOOTTIME, etc
2013-11-14 18:38:06 -08:00
Andrew Hsieh
1badc519ef
am a60db2e7: am 69139a5a: Merge "Added missing clock_settime()/clock_nanosleep() in time.h API>=8"
...
* commit 'a60db2e71416714964613c53e0b093bc77aa4442':
Added missing clock_settime()/clock_nanosleep() in time.h API>=8
2013-11-14 18:38:04 -08:00
Andrew Hsieh
7956dc3c87
am faab12a0: Merge "Update time.h for CLOCK_BOOTTIME, etc"
...
* commit 'faab12a0586cf4afef6fe2607bcba394c53b1d1d':
Update time.h for CLOCK_BOOTTIME, etc
2013-11-14 18:33:59 -08:00
Andrew Hsieh
a60db2e714
am 69139a5a: Merge "Added missing clock_settime()/clock_nanosleep() in time.h API>=8"
...
* commit '69139a5aa58c0b85fc0d0e9763baa3b52a327e29':
Added missing clock_settime()/clock_nanosleep() in time.h API>=8
2013-11-14 18:33:58 -08:00
Andrew Hsieh
faab12a058
Merge "Update time.h for CLOCK_BOOTTIME, etc"
2013-11-15 02:29:28 +00:00
Andrew Hsieh
69139a5aa5
Merge "Added missing clock_settime()/clock_nanosleep() in time.h API>=8"
2013-11-15 02:29:14 +00:00
Andrew Hsieh
a2e8997b9f
Update time.h for CLOCK_BOOTTIME, etc
...
Add CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_COARSE,
CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM, and CLOCK_BOOTTIME_ALARM
Remove obsolete CLOCK_REALTIME_HR and CLOCK_MONOTONIC_HR
See:
0351955a686fe4e0bf9f30780f78ff0e2402a6b0
b928bda83d4413b703329f607e2706602f15293f
60e5144ca312b210b54ac8e6966108da0c97ff80
Change-Id: Ibc9e297ab71f3dc16eec0746f835f89e554fd68b
2013-11-14 12:14:12 +08:00