Commit Graph

11858 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Andrew Hsieh
8052dc36d9 Make libportable.a compile on host
where cutils/log.h doesn't exit

Change-Id: I0ed6389a28f419f90ccbc6719b72895b366bb611
2013-03-12 22:48:28 -07:00
Jeff Brown
fd5a3f30de Samples for media router support library.
Change-Id: I3c578f61e310b552b0dd372dc27c709c35193bbd
2013-03-12 21:34:38 -07:00
Andy McFadden
c0a854fa7b Merge "More include paths" into jb-mr2-dev 2013-03-12 23:31:14 +00:00
Andy McFadden
f0ed2f95f7 More include paths
Added two AV-related include paths.

Change-Id: I70b703b82943f3c8a473ef8f7fc0f7188cab9aef
2013-03-12 15:14:45 -07:00
Jaikumar Ganesh
50435d3e6f Add Trigger Sensor API Demo.
Add sensor API demo for significant motion sensor.

Change-Id: I9d55fef52bdda2b804003bb07d6d977f13cda5b0
2013-03-12 14:13:21 -07:00
Jeff Sharkey
dafe2546c9 Merge "Example code for FileProvider." into jb-mr2-dev 2013-03-12 17:13:16 +00:00
Michael Wright
def9515cb0 Merge "Update ApiDemos to use new input source check" into jb-mr2-dev 2013-03-12 02:10:47 +00:00
Roman Nurik
574bec3b90 am 573642d8: am f3084087: am ee77f868: am 85364937: Add InteractiveChart sample code for update to Gestures training class.
* commit '573642d8e9fdb5fbd1d2a7cd9a0a9fe0204eacd7':
  Add InteractiveChart sample code for update to Gestures training class.
2013-03-11 16:31:38 -07:00
Jean-Baptiste Queru
05f409b61c am 240f3771: am 86dea47b: am 0327ed0d: am 0c0bad05: (-s ours) am 4aed7b07: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '240f37715ec6eeeeca9b857cbbcf3a9e3037b17a':
2013-03-11 16:31:38 -07:00
Adam Koch
d40239e3d2 am 8ae5c7b6: am 0fd0b16f: am 005ea967: am 0ff44f00: am 5f51b7fb: Bitmapfun Sample: Add some docs and clean up some method naming.
* commit '8ae5c7b6f98a5bdb7d7d1908935030aa88d89e1e':
2013-03-11 16:31:37 -07:00
Adam Koch
f6749fe8b4 am fa7910ed: am 9b58e08b: am 36893523: am 0c5b72b4: am e826ee24: Merge "Bitmapfun Sample: Add additional sample images." into jb-mr1-dev
* commit 'fa7910ed26c15cd4522af32194ebf6816bff9a66':
2013-03-11 16:31:36 -07:00
Chris Banes
4f0b10aa1e am 0e21e8b9: am 22c2d527: am 56eb96fc: am ac5a7844: am c5d5c3db: Merge "bitmapfun: Add support to use inBitmap option" into jb-mr1-dev
* commit '0e21e8b9edc7efdaf7e2cc2fbff35e7f517a272d':
2013-03-11 16:31:35 -07:00