Commit Graph

13194 Commits

Author SHA1 Message Date
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
Santos Cordon
5f3f4a95a7 am 957d3902: Merge "Adding dialer to test_defs & coverage_targets" into jb-mr2-dev
* commit '957d39024451d73776056065be62a168fb787ba1':
  Adding dialer to test_defs & coverage_targets
2013-03-19 21:22:22 +00:00
Santos Cordon
957d390244 Merge "Adding dialer to test_defs & coverage_targets" into jb-mr2-dev 2013-03-19 21:18:19 +00:00
Santos Cordon
ddd7ea4c30 Adding dialer to test_defs & coverage_targets
Change-Id: I62ef6fd38f8287b00d7fe33205470fe31fdb0b83
2013-03-19 12:08:05 -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
Adam Koch
75517ebdee am bae0692c: am 5004577d: am 303c2c87: am 0a605d37: am 90808a36: am bc1a645f: Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It\'s a basic master/detail view with a list of contacts
* commit 'bae0692c9c595a2a8f41701840806a4f15c412c3':
  Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It's a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in the detail. This sample app is backward compatible to API level 7 and also optimized for all screen sizes.
2013-03-19 18:38:51 +00:00
Adam Koch
bae0692c9c am 5004577d: am 303c2c87: am 0a605d37: am 90808a36: am bc1a645f: Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It\'s a basic master/detail view with a list of contacts in the maste
* commit '5004577dbaf1719c787ce610189151531c70652d':
  Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It's a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in the detail. This sample app is backward compatible to API level 7 and also optimized for all screen sizes.
2013-03-19 11:31:23 -07:00
Adam Koch
5004577dba am 303c2c87: am 0a605d37: am 90808a36: am bc1a645f: Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It\'s a basic master/detail view with a list of contacts in the master and contact
* commit '303c2c87f893d144e6982f1b2ad097141fe25ea7':
  Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It's a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in the detail. This sample app is backward compatible to API level 7 and also optimized for all screen sizes.
2013-03-19 11:30:12 -07:00
Adam Koch
303c2c87f8 am 0a605d37: am 90808a36: am bc1a645f: Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It\'s a basic master/detail view with a list of contacts in the master and contact name, photo
* commit '0a605d37d498cf345af37d719213850a29893eec':
  Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It's a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in the detail. This sample app is backward compatible to API level 7 and also optimized for all screen sizes.
2013-03-19 11:28:59 -07:00
Adam Koch
0a605d37d4 am 90808a36: am bc1a645f: Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It\'s a basic master/detail view with a list of contacts in the master and contact name, photo and mailing a
* commit '90808a363f9c3a1703147a7de8941e4c4c8d8b56':
  Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It's a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in the detail. This sample app is backward compatible to API level 7 and also optimized for all screen sizes.
2013-03-19 11:27:26 -07:00
Adam Koch
90808a363f am bc1a645f: Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It\'s a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in th
* commit 'bc1a645f26a30fd95e68043b608038537b7c798f':
  Contacts Provider Training Class - Sample App Initial Commit This is the sample app for the Contacts Provider Android training class. It's a basic master/detail view with a list of contacts in the master and contact name, photo and mailing addresses in the detail. This sample app is backward compatible to API level 7 and also optimized for all screen sizes.
2013-03-19 11:25:44 -07:00
Andrew Hsieh
f4473c9433 am 15da438e: am 32e90618: am 13d77b6c: Merge "Use linker -Wl,--wrap=symbol"
* commit '15da438e0210ffcec65e85d9a4b890cb768d6b5d':
  Use linker -Wl,--wrap=symbol
2013-03-19 18:25:02 +00:00
Andrew Hsieh
15da438e02 am 32e90618: am 13d77b6c: Merge "Use linker -Wl,--wrap=symbol"
* commit '32e906183574d6b69c1951d7a79af4762aa0538d':
  Use linker -Wl,--wrap=symbol
2013-03-19 11:20:27 -07:00
Andrew Hsieh
32e9061835 am 13d77b6c: Merge "Use linker -Wl,--wrap=symbol"
* commit '13d77b6c070e32adeb12d0c2d4c0870be2eed06b':
  Use linker -Wl,--wrap=symbol
2013-03-19 11:15:51 -07:00
Andrew Hsieh
13d77b6c07 Merge "Use linker -Wl,--wrap=symbol" 2013-03-19 18:03:16 +00:00
Adam Koch
bc1a645f26 Contacts Provider Training Class - Sample App Initial Commit
This is the sample app for the Contacts Provider Android training
class. It's a basic master/detail view with a list of contacts in the
master and contact name, photo and mailing addresses in the detail.
This sample app is backward compatible to API level 7 and also
optimized for all screen sizes.

Change-Id: I83fe6beae9fd4c3fe710426b7dd0863e094cbc89
2013-03-19 12:40:00 -04: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
8f6006154b am f37f01b0: am 7ccd822d: am e6915e0e: Merge "Fix X86 sigsetjmp and siglongjmp"
* commit 'f37f01b084102ca818c3c72e4ec9624fe472cb60':
  Fix X86 sigsetjmp and siglongjmp
2013-03-15 15:50:33 +00:00
Andrew Hsieh
f37f01b084 am 7ccd822d: am e6915e0e: Merge "Fix X86 sigsetjmp and siglongjmp"
* commit '7ccd822d1b56bcace157534ff9b5e0551e278908':
  Fix X86 sigsetjmp and siglongjmp
2013-03-15 08:43:18 -07:00
Andrew Hsieh
7ccd822d1b am e6915e0e: Merge "Fix X86 sigsetjmp and siglongjmp"
* commit 'e6915e0e08a2a6b96f882e4b5e7fbdaa9496a43f':
  Fix X86 sigsetjmp and siglongjmp
2013-03-15 08:40:31 -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
5348bb08d3 am 39720af9: am 426b6b15: am d7faff47: Merge "Added struct Elf32_auxv_t and Elf64_auxv_t"
* commit '39720af97a34e9ba549234c0ce3d75d3e526b2a8':
  Added struct Elf32_auxv_t and Elf64_auxv_t
2013-03-14 20:47:05 +00:00
Andrew Hsieh
b26d4b6294 am 76d9d4fe: am 55d2aa7d: am 342a2ae9: Merge "Fix OpenSLES_AndroidConfiguration.h to be usable for C code"
* commit '76d9d4fe93f9c17fc1af9d035925218b627b480d':
  Fix OpenSLES_AndroidConfiguration.h to be usable for C code
2013-03-14 20:47:04 +00:00
Andrew Hsieh
39720af97a am 426b6b15: am d7faff47: Merge "Added struct Elf32_auxv_t and Elf64_auxv_t"
* commit '426b6b15a128a30fa55e0e32f4e076dec8f0ed72':
  Added struct Elf32_auxv_t and Elf64_auxv_t
2013-03-14 13:41:03 -07:00
Andrew Hsieh
76d9d4fe93 am 55d2aa7d: am 342a2ae9: Merge "Fix OpenSLES_AndroidConfiguration.h to be usable for C code"
* commit '55d2aa7dd5bf7d8a7b942632619bde13324ee903':
  Fix OpenSLES_AndroidConfiguration.h to be usable for C code
2013-03-14 13:41:02 -07:00
Andrew Hsieh
426b6b15a1 am d7faff47: Merge "Added struct Elf32_auxv_t and Elf64_auxv_t"
* commit 'd7faff47ab2ca2294326aea261fb0cfac18a7d35':
  Added struct Elf32_auxv_t and Elf64_auxv_t
2013-03-14 13:38:32 -07:00
Andrew Hsieh
55d2aa7dd5 am 342a2ae9: Merge "Fix OpenSLES_AndroidConfiguration.h to be usable for C code"
* commit '342a2ae9f28849f6c388faf3f289b64c4bbbb0b3':
  Fix OpenSLES_AndroidConfiguration.h to be usable for C code
2013-03-14 13:38:32 -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
Fabrice Di Meglio
4c2bcb717f am f6151b66: Merge "Fix #8185319 Need to put Android BidiFormatter into the Support Library" into jb-mr2-dev
* commit 'f6151b661a719a1c825043d277aea6834c079d8f':
  Fix #8185319 Need to put Android BidiFormatter into the Support Library
2013-03-14 19:53:14 +00:00
Raphael Moll
7afc4d7d37 am 5b698437: am b3825b54: am d791f1f8: Merge "Build SDK using prebuilts/devtools."
* commit '5b698437398040b69225351aba797d40f20c26db':
  Build SDK using prebuilts/devtools.
2013-03-14 19:53:13 +00:00
Fabrice Di Meglio
f6151b661a Merge "Fix #8185319 Need to put Android BidiFormatter into the Support Library" into jb-mr2-dev 2013-03-14 19:48:29 +00:00
Raphael Moll
5b69843739 am b3825b54: am d791f1f8: Merge "Build SDK using prebuilts/devtools."
* commit 'b3825b548848cf6bd9c7659985cb407ea0fda94c':
  Build SDK using prebuilts/devtools.
2013-03-14 12:47:36 -07:00
Fabrice Di Meglio
65e58fe5c9 Fix #8185319 Need to put Android BidiFormatter into the Support Library
- add demo into Support4Demos

Change-Id: I041144510c907dd1639ea56c45321486d86fe859
2013-03-14 12:00:10 -07:00
Raphael Moll
b3825b5488 am d791f1f8: Merge "Build SDK using prebuilts/devtools."
* commit 'd791f1f816f0ba4a3f50a87eaf8ce7001159aedf':
  Build SDK using prebuilts/devtools.
2013-03-14 11:44:07 -07:00
Raphael Moll
d791f1f816 Merge "Build SDK using prebuilts/devtools." 2013-03-14 18:31:48 +00:00
Andrew Hsieh
1d1bc5287d Fix OpenSLES_AndroidConfiguration.h to be usable for C code
See https://code.google.com/p/android/issues/detail?id=53163

Change-Id: I0eaa3f93860134daf7d589696e47828166fbc899
2013-03-14 10:33:15 -07:00
Jaikumar Ganesh
db9eea779a am a54d53a6: Revert "Add Trigger Sensor API Demo."
* commit 'a54d53a656079ca26f7f7ee87a58ec8cc11b3283':
  Revert "Add Trigger Sensor API Demo."
2013-03-14 02:34:23 +00:00
Andrew Hsieh
42d3d471be am c1558531: am 183b2ce3: am dede575e: Merge "Make libportable.a compile on host"
* commit 'c15585319ef524f9afeaf3c744987eed10a5df84':
  Make libportable.a compile on host
2013-03-14 02:33:41 +00:00
Andrew Hsieh
c4e201a35c Added struct Elf32_auxv_t and Elf64_auxv_t
See https://code.google.com/p/android/issues/detail?id=38441

Change-Id: If06ec47d4e15639461c044248e3fe0020748b305
2013-03-13 19:21:56 -07:00
Raphael Moll
645a29c837 Build SDK using prebuilts/devtools.
Change-Id: I6fd6ba28b4739c3a14bfa3bac328322e85c5686b
2013-03-13 17:45:25 -07:00
Jaikumar Ganesh
a54d53a656 Revert "Add Trigger Sensor API Demo."
This reverts commit 50435d3e6f.
2013-03-13 14:58:01 -07:00
Jeff Brown
fe59fa4d7b am fd5a3f30: Samples for media router support library.
* commit 'fd5a3f30de4ef0cf1119089d547bba6b36ad0068':
  Samples for media router support library.
2013-03-13 17:24:47 +00:00
Andrew Hsieh
c15585319e am 183b2ce3: am dede575e: Merge "Make libportable.a compile on host"
* commit '183b2ce3b14157c735f585b1b627d546a1f619fa':
  Make libportable.a compile on host
2013-03-13 09:06:15 -07:00
Andrew Hsieh
183b2ce3b1 am dede575e: Merge "Make libportable.a compile on host"
* commit 'dede575e48079f9f0970796ffe1f471a30c5d97c':
  Make libportable.a compile on host
2013-03-13 09:04:42 -07:00
Andrew Hsieh
dede575e48 Merge "Make libportable.a compile on host" 2013-03-13 15:57:30 +00:00