Commit Graph

11204 Commits

Author SHA1 Message Date
Andrew Hsieh
38c1a99c61 Merge "Fix malloc_usable_size() declaration." 2013-06-06 05:35:06 +00: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
Lai Wei-Chih
3917ab0c97 Clean up unnecessary wrap functions.
For wrap functions that call real function directly, it could be removed.

Change-Id: I261aa6639349da776e835b9eb74f00b246d4e3c1
2013-03-20 14:30:13 +08:00
Andrew Hsieh
78175cbcc5 Don't use errno directly
errno in MIPS is macro for "*__errno)()".  Use of errno inside
WRAP(__errno)() cause infinite loop.  This may happen in other
wrapper functions which access errno.

Change all error to *REAL(__error)()

Change-Id: I1c09d84a58855bd7896fcd4e70f740b8a0f0b386
2013-03-19 18:06:30 -07:00
Elliott Hughes
45b42d6c05 Remove dead code that's keeping other dead code in frameworks/base alive.
DateUtils.writeDateTime is @hide, @deprecated, was never in an API level,
but is currently kept alive by this dead code.

Change-Id: Ibafbd39113a7c505ba8ab8e93e6b526505e5eaf1
2013-03-19 11:49:22 -07:00
Andrew Hsieh
13d77b6c07 Merge "Use linker -Wl,--wrap=symbol" 2013-03-19 18:03:16 +00:00
Andrew Hsieh
6433ec22b1 Use linker -Wl,--wrap=symbol
Linker --wrap option resolves to __wrap_symbol for undefined symbol.
During the compilation of host libportable.a, __HOST__ is defined
to rename all portable functions to  __wrap_symbol, and the
real function to __real_symbol.  This way libportable.a can be
validated at host w/o changes of user's source code.

See http://sourceware.org/binutils/docs/ld/Options.html

Change-Id: Idcbe53dd642536f3dc2be85a875f95535b9dc0b1
2013-03-18 21:55:39 -07:00
Elliott Hughes
da6181c891 Use H rather than k in date/time formats.
Bug: 8359981
Change-Id: Ica1741aafc801d017252f74189aca0946bed9a0f
2013-03-18 16:29:12 -07:00
Andrew Hsieh
e6915e0e08 Merge "Fix X86 sigsetjmp and siglongjmp" 2013-03-15 15:32:44 +00:00
Andrew Hsieh
228a227967 Fix X86 sigsetjmp and siglongjmp
Both exist in header android-X/arch-<arch>/usr/include/setjmp.h
already.  Add to X86 to be consistent with header and other archs
ARM/MIPS

See https://code.google.com/p/android/issues/detail?id=19851

Change-Id: I635c6c0491f5bf2aaa9013f23cb4b1bf7cb57a40
2013-03-14 14:40:37 -07:00
Andrew Hsieh
d7faff47ab Merge "Added struct Elf32_auxv_t and Elf64_auxv_t" 2013-03-14 20:28:20 +00:00
Andrew Hsieh
342a2ae9f2 Merge "Fix OpenSLES_AndroidConfiguration.h to be usable for C code" 2013-03-14 20:27:55 +00:00