David 'Digit' Turner
530a3ca575
Fix <inttypes.h> declaration for pointer-related PRI/SCN macros.
...
This ports the following Bionic libc fix to the NDK header:
https://android-review.googlesource.com/#/c/61703/2
BUG=57218
Change-Id: I0c5fef17f0c1bb3a89c00edf51f494cbf7bda435
2013-07-03 15:13:49 +02:00
Andrew Hsieh
ae9621de63
Merge "Fix wchar.h not to redefine WCHAR_MAX/WCHAR_MIN"
2013-06-21 20:51:55 +00:00
Andrew Hsieh
f56a37e539
Fix wchar.h not to redefine WCHAR_MAX/WCHAR_MIN
...
Change-Id: I6c6f2e020b72cce4c8665133ea0a0c5db977e348
2013-06-21 11:11:35 -07:00
Andrew Hsieh
720848df0b
Merge "Header comparison tool for Bionic vs NDK platforms"
2013-06-21 15:09:51 +00:00
Grigoriy Kraynov
a67bdae6b1
Header comparison tool for Bionic vs NDK platforms
...
This tool is useful to compare headers between Bionic and NDK platforms.
It shows a summary list of non-equal headers and writes diff report to file.
See 'ndk/tools/headers-diff-bionic-vs-ndk.py --help' for details.
Change-Id: I3a9cf8a5e2dc862e34e27ab343ca17a0b4597b4d
Signed-off-by: Grigoriy Kraynov <grigoriy.kraynov@intel.com >
2013-06-21 14:01:40 +00:00
Andrew Hsieh
1db0456074
Merge "Add clone in x86"
2013-06-20 16:31:42 +00:00
Andrew Hsieh
d166ec49f9
Add clone in x86
...
clone is already declared in header and exists in both arm/mips libc.
Add the missing one in libc.so and libc.a (*1) for x86.
(*) only updated bionic_clone.o and clone.o from build after
22d366cc09383956dc264ed4641572e609392eee
Change-Id: Ibcb39948d48b84398543d84304ead21dab534c40
2013-06-19 18:02:20 -07:00
Andrew Hsieh
9100913446
Merge "stdint.h header is not fully compatible with C99(ISO9899:1999)"
2013-06-19 20:30:02 +00:00
Elliott Hughes
070228fa26
Merge "Extend the TimePickerDialog test to cover 12- and 24-hour clocks."
2013-06-13 17:19:31 +00:00
Andrew Hsieh
38c1a99c61
Merge "Fix malloc_usable_size() declaration."
2013-06-06 05:35:06 +00:00
Elliott Hughes
94c272bf79
Extend the TimePickerDialog test to cover 12- and 24-hour clocks.
...
Used to test https://android-review.googlesource.com/54121 .
Change-Id: Ibf8418f21a7c242aac27c7e05b4990149c8305b3
2013-06-05 16:16:04 -07:00
Jeff Sharkey
924470b103
Merge "Bring libdvm into default classpath."
2013-05-30 21:20:58 +00:00
Ben Cheng
2aa1912445
Merge "New tutorial app for DDMS native heap tracker."
2013-05-30 20:09:39 +00:00
Ben Cheng
50172ca00d
New tutorial app for DDMS native heap tracker.
...
Change-Id: Ia8d35bc1ee44c6aaffe6fa10c6339edfa053aba4
2013-05-29 15:03:12 -07:00
Andrew Hsieh
f2d1fca86d
Merge "Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event"
2013-05-29 00:07:46 +00:00
Andrew Hsieh
5b1e1adadc
Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event
...
See b.android.com/55873
Change-Id: I5ad9160ff286c291feece2deda647af66e251bb5
2013-05-27 12:12:53 +08:00
David 'Digit' Turner
bb37dac9fa
Fix malloc_usable_size() declaration.
...
This doesn't break the ABI.
See https://android-review.googlesource.com/#/c/59195 for corresponding
fix in the C library.
See http://b.android.com/55725 for details.
Change-Id: Id01e38ef7951368897b9bbaae09741fa927fd548
2013-05-23 10:08:44 +02:00
Brian Carlstrom
ae5b0e56a8
Merge "Move jdwpspy from development to dalvik (1 of 2)"
2013-05-22 18:11:07 +00:00
Brian Carlstrom
8817244622
Move jdwpspy from development to dalvik (1 of 2)
...
(cherry picked from commit ac172802b01a010559dfb251824d5a4ab828e32a)
Change-Id: I53a1db8db511170cde8cffe3d6b9aa9ac80a65a7
2013-05-21 21:01:33 -07:00
Jeff Sharkey
6310a39146
Bring libdvm into default classpath.
...
Change-Id: Idce0540258bd0827af6404a5d6849ba6f80c198f
2013-05-21 11:01:22 -07:00
Andrew Hsieh
19202f5a75
Merge "Implement optimized __swap16md and __swap32md."
2013-05-16 07:47:11 +00:00
Lai Wei-Chih
7e7f8b295f
Implement optimized __swap16md and __swap32md.
2013-05-15 21:04:52 +08:00
Ben Cheng
2115c63fa1
Merge "Clean up the stack trace symbolization tool."
2013-05-01 23:51:21 +00:00
Ben Cheng
adc56b603e
Clean up the stack trace symbolization tool.
...
[cherry-picked from internal master]
Change-Id: Idba672b1c12d17b790c7901514f90b7f14f7256c
2013-04-29 17:24:52 -07:00
Andrew Hsieh
98815e3124
Merge "Fix x86 endian.h"
2013-04-22 03:33:59 +00:00
Andrew Hsieh
25c7f95934
Fix x86 endian.h
...
See https://code.google.com/p/android/issues/detail?id=54465
and https://android-review.googlesource.com/#/c/57242
Change-Id: Ib61fc0696e4979421f9bc6916c776a41fdc8be71
2013-04-22 11:25:41 +08:00
Andrew Hsieh
13dfb24d10
Merge "[MIPS] Cleaned up sig_0 error messages and added a few more checks."
2013-04-07 01:07:31 +00:00
Andrew Hsieh
703b2565f2
Merge "[MIPS] Add portable versions of wait(), wait3() and wait4()"
2013-04-07 01:06:38 +00:00
Pete Delaney
b294db4498
[MIPS] Cleaned up sig_0 error messages and added a few more checks.
...
Change-Id: I316e60d891af99c18fc4b838b35a6d8977d0e7c8
Signed-off-by: Pete Delaney <piet.delaney@imgtec.com >
2013-04-05 16:00:35 -07:00
Chris Dearman
8663dd74ad
[MIPS] Add portable versions of wait(), wait3() and wait4()
...
Added logging and refactored the code
Change-Id: Idcd2a9e8fbe933d410e9d67f0789fa074e89baef
2013-04-05 15:19:30 -07:00
Andrew Hsieh
c561ab13cc
Merge "Fix sys/un.h to be included on its own"
2013-04-03 02:15:44 +00:00
Jeff Sharkey
7831c56ef5
Merge "Handle libcore, dalvik, gov imports."
2013-04-02 17:20:27 +00:00
Andrew Hsieh
3c10a2037e
Fix sys/un.h to be included on its own
...
See https://code.google.com/p/android/issues/detail?id=53711
https://android-review.googlesource.com/#/c/42763
Change-Id: Ibd8a445dfde752cddab61b3ae53ad077738701ea
2013-04-01 14:02:06 +08:00
Andrew Hsieh
8d04b13138
Merge "ndk: Fix potential event handling issue in android_native_app_glue"
2013-03-27 18:08:08 +00:00
Andrew Hsieh
f7fe3ca6de
Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
2013-03-27 17:58:48 +00:00
Andrew Hsieh
3ccf4f2c03
Deprecate __set_errno; Add #include <stdint.h> in elf.h
...
1. __set_errno is deprecated and subject to removal in future release
2. elf.h is seen to be included alone, causing compilation error due
to undefined uint32_t and uint64_t
Change-Id: I4ca348a8ba0689eb3880622dcf5c53be470c57e8
2013-03-27 10:44:19 -07:00
Jeff Sharkey
06e6c6ad45
Handle libcore, dalvik, gov imports.
...
Change-Id: I25a9f1071f29eff615db03f3803a4ad1b5e6bec9
2013-03-26 15:33:56 -07:00
Andrew Hsieh
83f00b45c7
Merge "[libportable] Add fenv support."
2013-03-26 14:29:07 +00:00
Lai Wei-Chih
521bcfb17a
[libportable] Add fenv support.
...
Fix ndk/tests/device/fenv.
Change-Id: I46e1b47c3bec5213e827fabe311ef9e29a28195b
2013-03-26 22:09:17 +08:00
Elliott Hughes
a6eaa197f3
Merge "Remove dead code that's keeping other dead code in frameworks/base alive."
2013-03-23 01:40:08 +00:00
Raphael Moll
d738f0d746
Merge "SDK: Build/Platform-tools revision 17."
2013-03-22 19:44:33 +00:00
Raphael Moll
d59536eae6
SDK: Build/Platform-tools revision 17.
...
The new layout is actually a major change.
Change-Id: I835fa68db78cd1843254154466f61f48bf6d71d0
2013-03-22 11:18:05 -07:00
Raphael Moll
6d1249e626
Merge "SDK: Generate build-tools package."
2013-03-22 17:50:39 +00:00
Raphael Moll
bc7c8c5fc5
SDK: Generate build-tools package.
...
Change-Id: I36e9ee9a9486da18704428ce5225934a6a308029
2013-03-22 10:29:15 -07:00
Andrew Hsieh
4d49f477fc
Merge "Fix build >= JB"
2013-03-20 18:55:45 +00:00
Andrew Hsieh
2f6ae26a67
Fix build >= JB
...
File arch-mips/sigsetjmp.S includes <asm-generic/portability.h>
already defined in LOCAL_CFLAGS, and build system prior JB
passes LOCAL_CFLAGS for building *.S as well, but no more >=JB.
Use LOCAL_C_INCLUDES instead (pass for *.S too)
Change-Id: I7e6d6e838d632f980aa6c9b6b2b2862bd7de11b1
2013-03-20 11:35:43 -07:00
Elliott Hughes
8c4c7b6a98
Merge "Use H rather than k in date/time formats."
2013-03-20 16:34:49 +00:00
Andrew Hsieh
fa33fb1132
Merge "Clean up unnecessary wrap functions."
2013-03-20 14:43:48 +00:00
Andrew Hsieh
1fa69e4787
Merge "Don't use errno directly"
2013-03-20 14:38:07 +00:00
David 'Digit' Turner
0d92cf5450
ndk: Fix potential event handling issue in android_native_app_glue
...
Developers report that concurrent events generated from different
sources/devices can lead to application freezes then ANRs.
See https://code.google.com/p/android/issues/detail?id=41755
where it is suggested that handling all incoming events in
the "process_input" callback solves the issue. Hence this patch
implements the suggestion, however it's unclear whether this
solves the symptom, or the root cause of the problem.
Change-Id: Ic6b0ad05d192763a6d8842c8befcb87db9714a3c
2013-03-20 11:13:38 +01:00