Commit Graph

8608 Commits

Author SHA1 Message Date
David 'Digit' Turner
e2c5a3df6d am a58e7602: ndk: arm: Update <asm/ptrace.h> and <asm/user.h>
* commit 'a58e7602fe5cb6fe7eacb777753f39e4caa6ef0d':
  ndk: arm: Update <asm/ptrace.h> and <asm/user.h>
2012-01-11 02:43:36 -08:00
David 'Digit' Turner
ce4b2e129f am 21fc12da: ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>
* commit '21fc12da17a47d3fd16803fa05d95a519fae48b7':
  ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>
2012-01-11 02:43:35 -08:00
David 'Digit' Turner
4e16ed6865 am fe012f59: ndk: <dlfcn.h>: dladdr() takes a \'const void*\' parameter, not \'void*\'
* commit 'fe012f597f0055956c51ea9196b8b3f0c57b6c24':
  ndk: <dlfcn.h>: dladdr() takes a 'const void*' parameter, not 'void*'
2012-01-11 02:43:35 -08:00
David 'Digit' Turner
1992a08905 am 8e286273: ndk: <wchar.h>: Add wcscasecmp and wcsncasecmp for API level 11
* commit '8e2862730a332113bfd8647313925ba377ce1c74':
  ndk: <wchar.h>: Add wcscasecmp and wcsncasecmp for API level 11
2012-01-11 02:43:34 -08:00
David 'Digit' Turner
82b45dd417 am 47c55f4a: ndk: <unistd.h>: Update for API level 11 + minor cleanup
* commit '47c55f4af25c5eba2c2f7551e6090cfd483124ab':
  ndk: <unistd.h>: Update for API level 11 + minor cleanup
2012-01-11 02:43:33 -08:00
David 'Digit' Turner
b4893dcd30 am bca64023: ndk: <time.h>: Add new time functions to API level 11
* commit 'bca64023986a0660655ab177f40117385b3b4b6b':
  ndk: <time.h>: Add new time functions to API level 11
2012-01-11 02:43:33 -08:00
David 'Digit' Turner
01f49c5748 am 3970aef4: ndk: <stdlib.h>: Add mkdtemp() for API level 11
* commit '3970aef4d3dcf2186fe65a72fb8a5ad82dc2dd72':
  ndk: <stdlib.h>: Add mkdtemp() for API level 11
2012-01-11 02:43:32 -08:00
David 'Digit' Turner
6e26e48d99 am fed3dfbb: ndk: <signal.h>: Increase _NSIG definition to 64
* commit 'fed3dfbb08354bf1dfc85b974ac4dcdacfad6f9f':
  ndk: <signal.h>: Increase _NSIG definition to 64
2012-01-11 02:41:48 -08:00
David 'Digit' Turner
50c93aa08e am aa566ea2: ndk: <sched.h>: Add cpu_set_t and related functions to API level 11
* commit 'aa566ea2561036ed9ea4dcd71251e8959e0eb95b':
  ndk: <sched.h>: Add cpu_set_t and related functions to API level 11
2012-01-11 02:41:45 -08:00
David 'Digit' Turner
e439629d2e am bea05255: ndk: <sys/cdefs.h> minor update
* commit 'bea05255de4372e7c2d41489b637338f59df9361':
  ndk: <sys/cdefs.h> minor update
2012-01-11 02:41:44 -08:00
David 'Digit' Turner
30b2b7e595 am e4f25282: ndk: <pthread.h>: formatting + updates
* commit 'e4f252821e642b0fa67d8aa57af2d8cc81538764':
  ndk: <pthread.h>: formatting + updates
2012-01-11 02:41:43 -08:00
David 'Digit' Turner
ddf0a504c0 am 42dddab4: ndk: minor header update
* commit '42dddab4d64dc1c51d25f135cf82da2e4851d780':
  ndk: minor header update
2012-01-11 02:41:42 -08:00
David 'Digit' Turner
e57b4174eb am 15af16fd: ndk: minor update to <netinet/...> headers.
* commit '15af16fdf2f408dd65c2a1230647bcb64a5c1bd9':
  ndk: minor update to <netinet/...> headers.
2012-01-11 02:39:54 -08:00
David 'Digit' Turner
ab3a159632 am e0ff9880: ndk: android-9: Add missing <sys/eventfd.h> header
* commit 'e0ff98803fec8feb345b898371e45c4750a1278f':
  ndk: android-9: Add missing <sys/eventfd.h> header
2012-01-11 02:39:54 -08:00
David 'Digit' Turner
a58e7602fe ndk: arm: Update <asm/ptrace.h> and <asm/user.h>
This is a minor update to two ARM-specific kernel headers.

- <asm/ptrace.h>: Add two new constants
- <asm/user.h>: Add 'struct vfp_user' and 'struct vfp_user_exc'

Change-Id: I25d31bb33a9102e3c74a169c28dce66211ced636
2012-01-11 11:29:11 +01:00
David 'Digit' Turner
21fc12da17 ndk: libc: Add RLIM_RTTIME to <asm-generic/resource.h>
This is a back-port of a fix that was performed in 4.0.1 to all previous platforms.

Change-Id: Ie4da3564913c22e815e37b1b000080b9bd06e3ad
2012-01-11 11:29:11 +01:00
David 'Digit' Turner
fe012f597f ndk: <dlfcn.h>: dladdr() takes a 'const void*' parameter, not 'void*'
This is a back-port to API level 8 of a non-ABI-breaking change of the declaration.

Change-Id: I4f573da12c9cbd908afb5b646f018033bbe82503
2012-01-11 11:29:11 +01:00
David 'Digit' Turner
8e2862730a ndk: <wchar.h>: Add wcscasecmp and wcsncasecmp for API level 11
Change-Id: Ibb399798b159405f4e059c823601d600a7953f0d
2012-01-11 11:29:11 +01:00
David 'Digit' Turner
47c55f4af2 ndk: <unistd.h>: Update for API level 11 + minor cleanup
- Add pread64(), pwrite64(), ftruncate64() for API level 11
- Cleanup declaration of lseek64() to use off64_t instead of loff_t
- Cleanup declaration of prctl() to use variable number of arguments

The cleanups are performed to better match upstream.

Change-Id: Ic9e44c0ea3dc1202d3c3478bdb2b6006e83b08dc
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
bca6402398 ndk: <time.h>: Add new time functions to API level 11
This patch adds timegm(), timelocal(), time2posix() and posix2time()
to this standard library header.

Change-Id: Ic7b42eece8c11eb040d0522ed8b54d36b7404f9a
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
3970aef4d3 ndk: <stdlib.h>: Add mkdtemp() for API level 11
Change-Id: Ic51ba2fe06e2a62c8ca467e88cef9988c50849df
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
fed3dfbb08 ndk: <signal.h>: Increase _NSIG definition to 64
This is a minor update to this NDK header to better match the upstream definition.

Change-Id: I7b7e84b65f7a45d6395ba9831ee72ad120f989db
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
aa566ea256 ndk: <sched.h>: Add cpu_set_t and related functions to API level 11
Add the following definitions related to cpu affinity to <sched.h>:

- cpu_set_t and associated macros: CPU_ZERO, CPU_SET, CPU_CLR, CPU_ISSET, CPU_EQUAL,
  CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR.

- sched_getcpu(), sched_getaffinity() and sched_setaffinity()

- define macros for dynamically-sized cpu_set_t variables, i.e.:
   CPU_ALLOC_SIZE, CPU_ALLOC, CPU_FREE, CPU_ZERO_S, CPU_SET_S, CPU_CLR_S,
   CPU_ISSET_S, CPU_EQUAL_S, CPU_COUNT_S

NOTE: You must define _GNU_SOURCE before including the header to get them.

Change-Id: I37338573c7af092118e7987420f6a930b6cc24b1
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
bea05255de ndk: <sys/cdefs.h> minor update
This patch fixes some formatting issues in <sys/cdefs.h>:

- change '#if __STDC_VERSION__ > xxx' into '#if defined(__STDC_VERSION__) && __STDC_VERSION > xxx'
- add __LIBC_HIDDEN__ definition (not technically required, but makes comparing the headers with upstream easier)

Change-Id: I5fd13224181e2f757fb01cb99c93508c3a6d9e13
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
e4f252821e ndk: <pthread.h>: formatting + updates
This patch improves the formatting of <pthread.h> as exposed by the NDK:

- change '#if __cplusplus' into '#ifdef __cplusplus'
- change C++-style comment into C-style comment

It also adds pthread_atfork() for API level 11 (3.0)

Change-Id: Ie814208335ed102d4c178a4c373e6963e5dcc9dd
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
42dddab4d6 ndk: minor header update
<net/ethernet.h>: new header
<netdb.h>: add EAI_ADDRFAMILY definition

Change-Id: Ib29d28adcde6fdb5167d3b7b05913ef2eed22412
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
15af16fdf2 ndk: minor update to <netinet/...> headers.
This patch contains a minor update to the netinet headers from the C library.
Most of the changes come from later platform release, but can be safely back-ported
to previous API levels since they don't change the ABI:

- <netinet/icmp6.h>, <netinet/ip6.h>: new headers
- <netinet/in.h>: now always include <linux/ipv6.h> by default
- <netinet/in6.h>: add macros: IN6_IS_ADDR_ULA, IN6ADDR_LOOPBACK_INIT
- <netinet/ip.h>: add macro: IPTOS_MINCOST
- <net/if_ether.h>: always include <sys/types.h> by default.

Change-Id: Icaf38205389d2b49f0e9235c07df752da01a0167
2012-01-11 11:29:10 +01:00
David 'Digit' Turner
e0ff98803f ndk: android-9: Add missing <sys/eventfd.h> header
For some reason, the header was missing from previous NDK releases.
Note: the function symbols are properly listed in arch-$ARCH/symbols/libc.so.functions.txt

Change-Id: I72bf307ccaf55c9b8fc344f5bbfa7b44ba673d62
2012-01-11 11:29:10 +01:00
Adam Powell
c7cbf9351a am 30e2c473: Merge "Catch IOException for close"
* commit '30e2c473e896af55fb14a03e99d0841d2753da8d':
  Catch IOException for close
2012-01-10 14:46:39 -08:00
Steve Block
3ba6e9ff86 am 7d47e557: Merge "Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE"
* commit '7d47e557172d15fb698604a48f1a0100dfd84330':
  Rename LOG_ASSERT to ALOG_ASSERT  DO NOT MERGE
2012-01-10 14:46:33 -08:00
Adam Powell
30e2c473e8 Merge "Catch IOException for close" 2012-01-10 14:11:49 -08:00
Steve Block
7d47e55717 Merge "Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE" 2012-01-10 14:08:30 -08:00
Adam Powell
e882d4c266 Catch IOException for close
Change-Id: I23115f6fa4f54fd4e1de59f3bb781dcf28e1371b
2012-01-10 14:07:23 -08:00
Adam Powell
294d526e11 am 87376a45: Merge "Add code sample for ShareCompat"
* commit '87376a45e4782f81710655bbacfe95c9212a5ebe':
  Add code sample for ShareCompat
2012-01-10 13:32:39 -08:00
Adam Powell
87376a45e4 Merge "Add code sample for ShareCompat" 2012-01-10 13:31:09 -08:00
Brian Muramatsu
854ab1ec1d am cc90809c: Merge "Fix runtest for CTS Tests"
* commit 'cc90809c261dea1764bd6f8cd4455add6f6b1797':
  Fix runtest for CTS Tests
2012-01-10 12:28:38 -08:00
Brian Muramatsu
cc90809c26 Merge "Fix runtest for CTS Tests" 2012-01-10 12:27:23 -08:00
Brian Muramatsu
95cbc9e1ec Fix runtest for CTS Tests
The CTS packages use CTS-specific Makefiles rules like
BUILD_CTS_PACKAGE instead of BUILD_PACKAGE. Update runtest
to include CtsBuild.mk which defines all of these.

Change-Id: I6ea6c77b4f2ab113126319141e5120e016055c9d
2012-01-10 12:06:12 -08:00
Jean-Baptiste Queru
8315e4bce5 am 86034fd4: am a93b8f1d: am b8cc9bcd: am e4ee58f3: Reference kernels in new location
* commit '86034fd49646d1120faf6852cfb2826a2f1d72a1':
  Reference kernels in new location
2012-01-10 09:03:43 -08:00
Jesse Hall
1f30075c7f am 56335392: am d23522e6: am f0baef2f: Merge "EmuGL: misc small cleanups" into ics-mr1
* commit '5633539268af0c8686ce97c174122e053ecbb774':
  EmuGL: misc small cleanups
2012-01-10 09:02:49 -08:00
Jesse Hall
90f9afea71 am 8a5b5242: am 19b03e4e: am 409c49c5: Merge "EmuGL: fix GL view position in window on OS X" into ics-mr1
* commit '8a5b5242a4cf4e5be85f9e5fed1787027d92704b':
  EmuGL: fix GL view position in window on OS X
2012-01-10 09:02:48 -08:00
Jean-Baptiste Queru
86034fd496 am a93b8f1d: am b8cc9bcd: am e4ee58f3: Reference kernels in new location
* commit 'a93b8f1d6dd52679d3c6a2ddffdb018406047364':
  Reference kernels in new location
2012-01-09 17:53:46 -08:00
Jean-Baptiste Queru
a93b8f1d6d am b8cc9bcd: am e4ee58f3: Reference kernels in new location
* commit 'b8cc9bcda92f4afbcaf654dae6ce51e19a1972b1':
  Reference kernels in new location
2012-01-09 17:51:33 -08:00
Jean-Baptiste Queru
b8cc9bcda9 am e4ee58f3: Reference kernels in new location
* commit 'e4ee58f3cb786dca4efccb090428a4429cc751c9':
  Reference kernels in new location
2012-01-09 17:49:23 -08:00
Jesse Hall
5633539268 am d23522e6: am f0baef2f: Merge "EmuGL: misc small cleanups" into ics-mr1
* commit 'd23522e614c517a50222796286a7fffb6c11bd14':
  EmuGL: misc small cleanups
2012-01-09 16:37:28 -08:00
Jesse Hall
8a5b5242a4 am 19b03e4e: am 409c49c5: Merge "EmuGL: fix GL view position in window on OS X" into ics-mr1
* commit '19b03e4ef1e7861b938dd7c52356af5396f456b3':
  EmuGL: fix GL view position in window on OS X
2012-01-09 16:37:27 -08:00
Jesse Hall
d23522e614 am f0baef2f: Merge "EmuGL: misc small cleanups" into ics-mr1
* commit 'f0baef2fed555e87a0910e5aab6b8b763487b350':
  EmuGL: misc small cleanups
2012-01-09 15:53:49 -08:00
Jesse Hall
19b03e4ef1 am 409c49c5: Merge "EmuGL: fix GL view position in window on OS X" into ics-mr1
* commit '409c49c526508b5fa36f8bc6edc1fc70cba5a3e1':
  EmuGL: fix GL view position in window on OS X
2012-01-09 15:53:48 -08:00
Jesse Hall
f0baef2fed Merge "EmuGL: misc small cleanups" into ics-mr1 2012-01-09 15:52:15 -08:00
Jesse Hall
409c49c526 Merge "EmuGL: fix GL view position in window on OS X" into ics-mr1 2012-01-09 15:51:40 -08:00