summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-09-15 16:58:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-15 16:58:58 +0000
commit2c92330b3f585c860a1db085a715f06f357873d4 (patch)
tree51d4556d9f337e74ca193379fa788a2a9e2eacac
parent765b8d49fd230d6adcb467198210c30f97e4ff8a (diff)
parent763d8a9df9d77390b252428617d9d70da88ed4fd (diff)
downloadprebuilts_ndk-2c92330b3f585c860a1db085a715f06f357873d4.zip
prebuilts_ndk-2c92330b3f585c860a1db085a715f06f357873d4.tar.gz
prebuilts_ndk-2c92330b3f585c860a1db085a715f06f357873d4.tar.bz2
Merge "Refresh 64-bit headers/libs (WW37)"
-rw-r--r--9/platforms/android-19/arch-arm64/usr/include/android/keycodes.h30
-rw-r--r--9/platforms/android-19/arch-arm64/usr/include/asm/a.out.h1
-rw-r--r--9/platforms/android-19/arch-arm64/usr/include/fcntl.h2
-rw-r--r--9/platforms/android-19/arch-arm64/usr/include/libgen.h25
-rw-r--r--9/platforms/android-19/arch-arm64/usr/include/pthread.h2
-rw-r--r--9/platforms/android-19/arch-arm64/usr/lib/libc.abin13463998 -> 13486170 bytes
-rwxr-xr-x9/platforms/android-19/arch-arm64/usr/lib/libc.sobin86040 -> 86159 bytes
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/android/keycodes.h30
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/asm/a.out.h1
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/fcntl.h2
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/libgen.h25
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/pthread.h2
-rw-r--r--9/platforms/android-19/arch-mips64/usr/lib64/libc.abin14306696 -> 14331112 bytes
-rwxr-xr-x9/platforms/android-19/arch-mips64/usr/lib64/libc.sobin146012 -> 146451 bytes
-rw-r--r--9/platforms/android-19/arch-x86_64/usr/include/android/keycodes.h30
-rw-r--r--9/platforms/android-19/arch-x86_64/usr/include/fcntl.h2
-rw-r--r--9/platforms/android-19/arch-x86_64/usr/include/libgen.h25
-rw-r--r--9/platforms/android-19/arch-x86_64/usr/include/pthread.h2
-rw-r--r--9/platforms/android-19/arch-x86_64/usr/lib64/libc.abin16079984 -> 16148470 bytes
-rwxr-xr-x9/platforms/android-19/arch-x86_64/usr/lib64/libc.sobin126896 -> 131112 bytes
20 files changed, 125 insertions, 54 deletions
diff --git a/9/platforms/android-19/arch-arm64/usr/include/android/keycodes.h b/9/platforms/android-19/arch-arm64/usr/include/android/keycodes.h
index 813d411..75d0ab6 100644
--- a/9/platforms/android-19/arch-arm64/usr/include/android/keycodes.h
+++ b/9/platforms/android-19/arch-arm64/usr/include/android/keycodes.h
@@ -274,7 +274,35 @@ enum {
AKEYCODE_12 = 228,
AKEYCODE_LAST_CHANNEL = 229,
AKEYCODE_TV_DATA_SERVICE = 230,
- AKEYCODE_VOICE_ASSIST = 231
+ AKEYCODE_VOICE_ASSIST = 231,
+ AKEYCODE_TV_RADIO_SERVICE = 232,
+ AKEYCODE_TV_TELETEXT = 233,
+ AKEYCODE_TV_NUMBER_ENTRY = 234,
+ AKEYCODE_TV_TERRESTRIAL_ANALOG = 235,
+ AKEYCODE_TV_TERRESTRIAL_DIGITAL = 236,
+ AKEYCODE_TV_SATELLITE = 237,
+ AKEYCODE_TV_SATELLITE_BS = 238,
+ AKEYCODE_TV_SATELLITE_CS = 239,
+ AKEYCODE_TV_SATELLITE_SERVICE = 240,
+ AKEYCODE_TV_NETWORK = 241,
+ AKEYCODE_TV_ANTENNA_CABLE = 242,
+ AKEYCODE_TV_INPUT_HDMI_1 = 243,
+ AKEYCODE_TV_INPUT_HDMI_2 = 244,
+ AKEYCODE_TV_INPUT_HDMI_3 = 245,
+ AKEYCODE_TV_INPUT_HDMI_4 = 246,
+ AKEYCODE_TV_INPUT_COMPOSITE_1 = 247,
+ AKEYCODE_TV_INPUT_COMPOSITE_2 = 248,
+ AKEYCODE_TV_INPUT_COMPONENT_1 = 249,
+ AKEYCODE_TV_INPUT_COMPONENT_2 = 250,
+ AKEYCODE_TV_INPUT_VGA_1 = 251,
+ AKEYCODE_TV_AUDIO_DESCRIPTION = 252,
+ AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253,
+ AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254,
+ AKEYCODE_TV_ZOOM_MODE = 255,
+ AKEYCODE_TV_CONTENTS_MENU = 256,
+ AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
+ AKEYCODE_TV_TIMER_PROGRAMMING = 258,
+ AKEYCODE_HELP = 259
// NOTE: If you add a new keycode here you must also add it to several other files.
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm/a.out.h b/9/platforms/android-19/arch-arm64/usr/include/asm/a.out.h
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/9/platforms/android-19/arch-arm64/usr/include/asm/a.out.h
@@ -0,0 +1 @@
+
diff --git a/9/platforms/android-19/arch-arm64/usr/include/fcntl.h b/9/platforms/android-19/arch-arm64/usr/include/fcntl.h
index 4450bb6..8f89afb 100644
--- a/9/platforms/android-19/arch-arm64/usr/include/fcntl.h
+++ b/9/platforms/android-19/arch-arm64/usr/include/fcntl.h
@@ -72,6 +72,8 @@ extern int openat(int, const char*, int, ...);
extern int openat64(int, const char*, int, ...);
extern int open(const char*, int, ...);
extern int open64(const char*, int, ...);
+extern int posix_fadvise64(int, off64_t, off64_t, int);
+extern int posix_fadvise(int, off_t, off_t, int);
extern int posix_fallocate64(int, off64_t, off64_t);
extern int posix_fallocate(int, off_t, off_t);
extern ssize_t splice(int, off64_t*, int, off64_t*, size_t, unsigned int);
diff --git a/9/platforms/android-19/arch-arm64/usr/include/libgen.h b/9/platforms/android-19/arch-arm64/usr/include/libgen.h
index c5fc76a..9dcec75 100644
--- a/9/platforms/android-19/arch-arm64/usr/include/libgen.h
+++ b/9/platforms/android-19/arch-arm64/usr/include/libgen.h
@@ -33,24 +33,15 @@
__BEGIN_DECLS
-/* our version of dirname/basename don't modify the input path */
-extern char* dirname (const char* path);
-extern char* basename(const char* path);
+/* On Android these don't modify their input, and use thread-local storage for their results. */
+extern char* basename(const char*);
+extern char* dirname(const char*);
-/* special thread-safe Bionic versions
- *
- * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned
- * otherwise, place result in 'buffer'
- *
- * at most bufflen-1 characters written, plus a terminating zero
- *
- * return length of result, or -1 in case of error, with errno set to:
- *
- * ERANGE: buffer is too short
- * ENAMETOOLONG: the result is too long for a valid path
- */
-extern int dirname_r(const char* path, char* buffer, size_t bufflen);
-extern int basename_r(const char* path, char* buffer, size_t bufflen);
+#if !defined(__LP64__)
+/* These non-standard functions are not needed on Android; basename and dirname use thread-local storage. */
+extern int dirname_r(const char*, char*, size_t);
+extern int basename_r(const char*, char*, size_t);
+#endif
__END_DECLS
diff --git a/9/platforms/android-19/arch-arm64/usr/include/pthread.h b/9/platforms/android-19/arch-arm64/usr/include/pthread.h
index 29caafc..86a1005 100644
--- a/9/platforms/android-19/arch-arm64/usr/include/pthread.h
+++ b/9/platforms/android-19/arch-arm64/usr/include/pthread.h
@@ -188,6 +188,8 @@ int pthread_getschedparam(pthread_t, int*, struct sched_param*) __nonnull((2, 3)
void* pthread_getspecific(pthread_key_t);
+pid_t pthread_gettid_np(pthread_t);
+
int pthread_join(pthread_t, void**);
int pthread_key_create(pthread_key_t*, void (*)(void*)) __nonnull((1));
diff --git a/9/platforms/android-19/arch-arm64/usr/lib/libc.a b/9/platforms/android-19/arch-arm64/usr/lib/libc.a
index 628a7d0..4e8c6ef 100644
--- a/9/platforms/android-19/arch-arm64/usr/lib/libc.a
+++ b/9/platforms/android-19/arch-arm64/usr/lib/libc.a
Binary files differ
diff --git a/9/platforms/android-19/arch-arm64/usr/lib/libc.so b/9/platforms/android-19/arch-arm64/usr/lib/libc.so
index ea0f796..6272b44 100755
--- a/9/platforms/android-19/arch-arm64/usr/lib/libc.so
+++ b/9/platforms/android-19/arch-arm64/usr/lib/libc.so
Binary files differ
diff --git a/9/platforms/android-19/arch-mips64/usr/include/android/keycodes.h b/9/platforms/android-19/arch-mips64/usr/include/android/keycodes.h
index 813d411..75d0ab6 100644
--- a/9/platforms/android-19/arch-mips64/usr/include/android/keycodes.h
+++ b/9/platforms/android-19/arch-mips64/usr/include/android/keycodes.h
@@ -274,7 +274,35 @@ enum {
AKEYCODE_12 = 228,
AKEYCODE_LAST_CHANNEL = 229,
AKEYCODE_TV_DATA_SERVICE = 230,
- AKEYCODE_VOICE_ASSIST = 231
+ AKEYCODE_VOICE_ASSIST = 231,
+ AKEYCODE_TV_RADIO_SERVICE = 232,
+ AKEYCODE_TV_TELETEXT = 233,
+ AKEYCODE_TV_NUMBER_ENTRY = 234,
+ AKEYCODE_TV_TERRESTRIAL_ANALOG = 235,
+ AKEYCODE_TV_TERRESTRIAL_DIGITAL = 236,
+ AKEYCODE_TV_SATELLITE = 237,
+ AKEYCODE_TV_SATELLITE_BS = 238,
+ AKEYCODE_TV_SATELLITE_CS = 239,
+ AKEYCODE_TV_SATELLITE_SERVICE = 240,
+ AKEYCODE_TV_NETWORK = 241,
+ AKEYCODE_TV_ANTENNA_CABLE = 242,
+ AKEYCODE_TV_INPUT_HDMI_1 = 243,
+ AKEYCODE_TV_INPUT_HDMI_2 = 244,
+ AKEYCODE_TV_INPUT_HDMI_3 = 245,
+ AKEYCODE_TV_INPUT_HDMI_4 = 246,
+ AKEYCODE_TV_INPUT_COMPOSITE_1 = 247,
+ AKEYCODE_TV_INPUT_COMPOSITE_2 = 248,
+ AKEYCODE_TV_INPUT_COMPONENT_1 = 249,
+ AKEYCODE_TV_INPUT_COMPONENT_2 = 250,
+ AKEYCODE_TV_INPUT_VGA_1 = 251,
+ AKEYCODE_TV_AUDIO_DESCRIPTION = 252,
+ AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253,
+ AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254,
+ AKEYCODE_TV_ZOOM_MODE = 255,
+ AKEYCODE_TV_CONTENTS_MENU = 256,
+ AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
+ AKEYCODE_TV_TIMER_PROGRAMMING = 258,
+ AKEYCODE_HELP = 259
// NOTE: If you add a new keycode here you must also add it to several other files.
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
diff --git a/9/platforms/android-19/arch-mips64/usr/include/asm/a.out.h b/9/platforms/android-19/arch-mips64/usr/include/asm/a.out.h
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/9/platforms/android-19/arch-mips64/usr/include/asm/a.out.h
@@ -0,0 +1 @@
+
diff --git a/9/platforms/android-19/arch-mips64/usr/include/fcntl.h b/9/platforms/android-19/arch-mips64/usr/include/fcntl.h
index 4450bb6..8f89afb 100644
--- a/9/platforms/android-19/arch-mips64/usr/include/fcntl.h
+++ b/9/platforms/android-19/arch-mips64/usr/include/fcntl.h
@@ -72,6 +72,8 @@ extern int openat(int, const char*, int, ...);
extern int openat64(int, const char*, int, ...);
extern int open(const char*, int, ...);
extern int open64(const char*, int, ...);
+extern int posix_fadvise64(int, off64_t, off64_t, int);
+extern int posix_fadvise(int, off_t, off_t, int);
extern int posix_fallocate64(int, off64_t, off64_t);
extern int posix_fallocate(int, off_t, off_t);
extern ssize_t splice(int, off64_t*, int, off64_t*, size_t, unsigned int);
diff --git a/9/platforms/android-19/arch-mips64/usr/include/libgen.h b/9/platforms/android-19/arch-mips64/usr/include/libgen.h
index c5fc76a..9dcec75 100644
--- a/9/platforms/android-19/arch-mips64/usr/include/libgen.h
+++ b/9/platforms/android-19/arch-mips64/usr/include/libgen.h
@@ -33,24 +33,15 @@
__BEGIN_DECLS
-/* our version of dirname/basename don't modify the input path */
-extern char* dirname (const char* path);
-extern char* basename(const char* path);
+/* On Android these don't modify their input, and use thread-local storage for their results. */
+extern char* basename(const char*);
+extern char* dirname(const char*);
-/* special thread-safe Bionic versions
- *
- * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned
- * otherwise, place result in 'buffer'
- *
- * at most bufflen-1 characters written, plus a terminating zero
- *
- * return length of result, or -1 in case of error, with errno set to:
- *
- * ERANGE: buffer is too short
- * ENAMETOOLONG: the result is too long for a valid path
- */
-extern int dirname_r(const char* path, char* buffer, size_t bufflen);
-extern int basename_r(const char* path, char* buffer, size_t bufflen);
+#if !defined(__LP64__)
+/* These non-standard functions are not needed on Android; basename and dirname use thread-local storage. */
+extern int dirname_r(const char*, char*, size_t);
+extern int basename_r(const char*, char*, size_t);
+#endif
__END_DECLS
diff --git a/9/platforms/android-19/arch-mips64/usr/include/pthread.h b/9/platforms/android-19/arch-mips64/usr/include/pthread.h
index 29caafc..86a1005 100644
--- a/9/platforms/android-19/arch-mips64/usr/include/pthread.h
+++ b/9/platforms/android-19/arch-mips64/usr/include/pthread.h
@@ -188,6 +188,8 @@ int pthread_getschedparam(pthread_t, int*, struct sched_param*) __nonnull((2, 3)
void* pthread_getspecific(pthread_key_t);
+pid_t pthread_gettid_np(pthread_t);
+
int pthread_join(pthread_t, void**);
int pthread_key_create(pthread_key_t*, void (*)(void*)) __nonnull((1));
diff --git a/9/platforms/android-19/arch-mips64/usr/lib64/libc.a b/9/platforms/android-19/arch-mips64/usr/lib64/libc.a
index 92e26d3..d49e786 100644
--- a/9/platforms/android-19/arch-mips64/usr/lib64/libc.a
+++ b/9/platforms/android-19/arch-mips64/usr/lib64/libc.a
Binary files differ
diff --git a/9/platforms/android-19/arch-mips64/usr/lib64/libc.so b/9/platforms/android-19/arch-mips64/usr/lib64/libc.so
index 839c7b2..ede30da 100755
--- a/9/platforms/android-19/arch-mips64/usr/lib64/libc.so
+++ b/9/platforms/android-19/arch-mips64/usr/lib64/libc.so
Binary files differ
diff --git a/9/platforms/android-19/arch-x86_64/usr/include/android/keycodes.h b/9/platforms/android-19/arch-x86_64/usr/include/android/keycodes.h
index 813d411..75d0ab6 100644
--- a/9/platforms/android-19/arch-x86_64/usr/include/android/keycodes.h
+++ b/9/platforms/android-19/arch-x86_64/usr/include/android/keycodes.h
@@ -274,7 +274,35 @@ enum {
AKEYCODE_12 = 228,
AKEYCODE_LAST_CHANNEL = 229,
AKEYCODE_TV_DATA_SERVICE = 230,
- AKEYCODE_VOICE_ASSIST = 231
+ AKEYCODE_VOICE_ASSIST = 231,
+ AKEYCODE_TV_RADIO_SERVICE = 232,
+ AKEYCODE_TV_TELETEXT = 233,
+ AKEYCODE_TV_NUMBER_ENTRY = 234,
+ AKEYCODE_TV_TERRESTRIAL_ANALOG = 235,
+ AKEYCODE_TV_TERRESTRIAL_DIGITAL = 236,
+ AKEYCODE_TV_SATELLITE = 237,
+ AKEYCODE_TV_SATELLITE_BS = 238,
+ AKEYCODE_TV_SATELLITE_CS = 239,
+ AKEYCODE_TV_SATELLITE_SERVICE = 240,
+ AKEYCODE_TV_NETWORK = 241,
+ AKEYCODE_TV_ANTENNA_CABLE = 242,
+ AKEYCODE_TV_INPUT_HDMI_1 = 243,
+ AKEYCODE_TV_INPUT_HDMI_2 = 244,
+ AKEYCODE_TV_INPUT_HDMI_3 = 245,
+ AKEYCODE_TV_INPUT_HDMI_4 = 246,
+ AKEYCODE_TV_INPUT_COMPOSITE_1 = 247,
+ AKEYCODE_TV_INPUT_COMPOSITE_2 = 248,
+ AKEYCODE_TV_INPUT_COMPONENT_1 = 249,
+ AKEYCODE_TV_INPUT_COMPONENT_2 = 250,
+ AKEYCODE_TV_INPUT_VGA_1 = 251,
+ AKEYCODE_TV_AUDIO_DESCRIPTION = 252,
+ AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP = 253,
+ AKEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN = 254,
+ AKEYCODE_TV_ZOOM_MODE = 255,
+ AKEYCODE_TV_CONTENTS_MENU = 256,
+ AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
+ AKEYCODE_TV_TIMER_PROGRAMMING = 258,
+ AKEYCODE_HELP = 259
// NOTE: If you add a new keycode here you must also add it to several other files.
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
diff --git a/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h b/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
index 4450bb6..8f89afb 100644
--- a/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
+++ b/9/platforms/android-19/arch-x86_64/usr/include/fcntl.h
@@ -72,6 +72,8 @@ extern int openat(int, const char*, int, ...);
extern int openat64(int, const char*, int, ...);
extern int open(const char*, int, ...);
extern int open64(const char*, int, ...);
+extern int posix_fadvise64(int, off64_t, off64_t, int);
+extern int posix_fadvise(int, off_t, off_t, int);
extern int posix_fallocate64(int, off64_t, off64_t);
extern int posix_fallocate(int, off_t, off_t);
extern ssize_t splice(int, off64_t*, int, off64_t*, size_t, unsigned int);
diff --git a/9/platforms/android-19/arch-x86_64/usr/include/libgen.h b/9/platforms/android-19/arch-x86_64/usr/include/libgen.h
index c5fc76a..9dcec75 100644
--- a/9/platforms/android-19/arch-x86_64/usr/include/libgen.h
+++ b/9/platforms/android-19/arch-x86_64/usr/include/libgen.h
@@ -33,24 +33,15 @@
__BEGIN_DECLS
-/* our version of dirname/basename don't modify the input path */
-extern char* dirname (const char* path);
-extern char* basename(const char* path);
+/* On Android these don't modify their input, and use thread-local storage for their results. */
+extern char* basename(const char*);
+extern char* dirname(const char*);
-/* special thread-safe Bionic versions
- *
- * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned
- * otherwise, place result in 'buffer'
- *
- * at most bufflen-1 characters written, plus a terminating zero
- *
- * return length of result, or -1 in case of error, with errno set to:
- *
- * ERANGE: buffer is too short
- * ENAMETOOLONG: the result is too long for a valid path
- */
-extern int dirname_r(const char* path, char* buffer, size_t bufflen);
-extern int basename_r(const char* path, char* buffer, size_t bufflen);
+#if !defined(__LP64__)
+/* These non-standard functions are not needed on Android; basename and dirname use thread-local storage. */
+extern int dirname_r(const char*, char*, size_t);
+extern int basename_r(const char*, char*, size_t);
+#endif
__END_DECLS
diff --git a/9/platforms/android-19/arch-x86_64/usr/include/pthread.h b/9/platforms/android-19/arch-x86_64/usr/include/pthread.h
index 29caafc..86a1005 100644
--- a/9/platforms/android-19/arch-x86_64/usr/include/pthread.h
+++ b/9/platforms/android-19/arch-x86_64/usr/include/pthread.h
@@ -188,6 +188,8 @@ int pthread_getschedparam(pthread_t, int*, struct sched_param*) __nonnull((2, 3)
void* pthread_getspecific(pthread_key_t);
+pid_t pthread_gettid_np(pthread_t);
+
int pthread_join(pthread_t, void**);
int pthread_key_create(pthread_key_t*, void (*)(void*)) __nonnull((1));
diff --git a/9/platforms/android-19/arch-x86_64/usr/lib64/libc.a b/9/platforms/android-19/arch-x86_64/usr/lib64/libc.a
index e315edf..830077f 100644
--- a/9/platforms/android-19/arch-x86_64/usr/lib64/libc.a
+++ b/9/platforms/android-19/arch-x86_64/usr/lib64/libc.a
Binary files differ
diff --git a/9/platforms/android-19/arch-x86_64/usr/lib64/libc.so b/9/platforms/android-19/arch-x86_64/usr/lib64/libc.so
index 6ee81f9..e5fdaea 100755
--- a/9/platforms/android-19/arch-x86_64/usr/lib64/libc.so
+++ b/9/platforms/android-19/arch-x86_64/usr/lib64/libc.so
Binary files differ