Commit Graph

13272 Commits

Author SHA1 Message Date
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
Dianne Hackborn
5d929d0b11 am bd57ca61: am a5e01743: Merge "Improve TransportController demo." into jb-mr2-dev
* commit 'bd57ca616f3178819f7ba2d587ca5e1104f5117f':
  Improve TransportController demo.
2013-04-04 18:50:45 -07:00
Dianne Hackborn
bd57ca616f am a5e01743: Merge "Improve TransportController demo." into jb-mr2-dev
* commit 'a5e017432a4cdbc50872394c0d0c7be475a50890':
  Improve TransportController demo.
2013-04-04 18:44:51 -07:00
Dianne Hackborn
a5e017432a Merge "Improve TransportController demo." into jb-mr2-dev 2013-04-05 01:40:49 +00:00
Dianne Hackborn
9b4e96dcb8 Improve TransportController demo.
This is an actually realistic implementation of a
video player.  It's still delibrately simple, but it's
not outright broken.  We now have our own media controller
since that is the only way to get something that actually
works, we use system UI flags to hide nav/status bar when
playing, we use the new TransportController APIs to go
into a formal playback state where we take audio focus.

Change-Id: I19ac171483637b8ee94c9c07aea39c11748cbc46
2013-04-04 18:36:56 -07:00
Dianne Hackborn
ac3d62f0a3 am e310cd94: am 18eee4be: Merge "Move media key handling to here." into jb-mr2-dev
* commit 'e310cd945f590717680fe836d5822cc8bb7c2507':
  Move media key handling to here.
2013-04-04 12:32:26 -07:00
Dianne Hackborn
e310cd945f am 18eee4be: Merge "Move media key handling to here." into jb-mr2-dev
* commit '18eee4be72ec99495ec5b583aa07fda5dde6dacc':
  Move media key handling to here.
2013-04-04 12:29:01 -07:00
Dianne Hackborn
18eee4be72 Merge "Move media key handling to here." into jb-mr2-dev 2013-04-04 19:26:10 +00:00
Dianne Hackborn
e5d68096be Move media key handling to here.
Change-Id: I6b8c66ef465640951da4b36da53e7fda00e48d20
2013-04-04 12:25:28 -07:00
Mathias Agopian
7cba79795e am 29fa33a6: am 47a0ba95: Merge "update include paths and symbols for eclipse" into jb-mr2-dev
* commit '29fa33a614ab3ad6f357d50662dfa03f9719e227':
  update include paths and symbols for eclipse
2013-04-03 18:05:46 -07:00
Mathias Agopian
29fa33a614 am 47a0ba95: Merge "update include paths and symbols for eclipse" into jb-mr2-dev
* commit '47a0ba955311ad478edc3e5a973b854bb6ad39af':
  update include paths and symbols for eclipse
2013-04-03 17:36:39 -07:00
Mathias Agopian
47a0ba9553 Merge "update include paths and symbols for eclipse" into jb-mr2-dev 2013-04-04 00:30:51 +00:00
Jeff Brown
bd6c0d68ff am d2fe6628: am e808a4b6: Update after API refactoring.
* commit 'd2fe662835dba21d50a1d6310abcfb9dd816604d':
  Update after API refactoring.
2013-04-02 20:11:41 -07:00
Jeff Brown
d2fe662835 am e808a4b6: Update after API refactoring.
* commit 'e808a4b6b25b9012e2a7d35d178bc37701cae8b8':
  Update after API refactoring.
2013-04-02 20:08:37 -07:00
Jeff Brown
e808a4b6b2 Update after API refactoring.
Bug: 8175766
Change-Id: Ibcd86fbfb54c44d9a14e79fcd760991c48c5b2ad
2013-04-02 20:00:55 -07:00
Andrew Hsieh
d6db1463b5 am d93afe16: am c561ab13: Merge "Fix sys/un.h to be included on its own"
* commit 'd93afe16c723ad1d5d5c5f9ab5416dc02770bc70':
  Fix sys/un.h to be included on its own
2013-04-02 19:31:22 -07:00
Andrew Hsieh
d93afe16c7 am c561ab13: Merge "Fix sys/un.h to be included on its own"
* commit 'c561ab13cca2d2413c4715feb717d2f79cfb9c22':
  Fix sys/un.h to be included on its own
2013-04-02 19:28:07 -07:00
Andrew Hsieh
c561ab13cc Merge "Fix sys/un.h to be included on its own" 2013-04-03 02:15:44 +00:00
Mathias Agopian
8ad2a3af80 update include paths and symbols for eclipse
- we define __SIZE_TYPE__ and __PTRDIFF_TYPE__ in symbols
  because for some reason Eclipse barfs on stddef.h otherwise.
  This seems to solve the problem entirely.

- removed symbols for HAVE_xxx because those should come
  from AndroidConfig.h

NOTE: make sure to set

  ${ProjDirPath}/build/core/combo/include/arch/linux-arm/AndroidConfig.h

in Eclipse's "Paths and Symbols" / "Include Files" tab. This tab is
NOT shown by default, it needs to be enabled in the global
preference panel under "C/C++" / "Property Pages Settings".

As far as I can tell this setting is not exportable.

Change-Id: I1aa185b4b3564118cb9da19b2f932b7b37b81167
2013-04-02 16:14:04 -07:00
Jeff Sharkey
f12f15407b am 996b60be: am 7831c56e: Merge "Handle libcore, dalvik, gov imports."
* commit '996b60be9b74d1f42a959600895b3a25c622bd74':
  Handle libcore, dalvik, gov imports.
2013-04-02 11:04:38 -07:00
Ying Wang
6d9ea85cd0 am 73c12302: Add host bin modules for explicit dependency
* commit '73c1230224d4e6e86d9d7244b8dbd375fa030b16':
  Add host bin modules for explicit dependency
2013-04-02 11:04:04 -07:00
Jeff Sharkey
996b60be9b am 7831c56e: Merge "Handle libcore, dalvik, gov imports."
* commit '7831c56ef524df688b6fe7a151671c92a6938837':
  Handle libcore, dalvik, gov imports.
2013-04-02 10:41:41 -07:00
Jeff Sharkey
7831c56ef5 Merge "Handle libcore, dalvik, gov imports." 2013-04-02 17:20:27 +00:00
Ying Wang
73c1230224 Add host bin modules for explicit dependency
This fixes the build error:
development/build/sdk.atree:66: couldn't locate source file:
bin/llvm-rs-cc
Previously llvm-rs-cc was indirectly required via some intermediate
targets and now the chain is broken.

Change-Id: I722eee80deb03b219a16fe1c18fe87439ac8ff98
2013-04-01 17:01:43 -07: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
Amith Yamasani
47b9383e12 am 441165c7: Merge "App limits sample" into jb-mr2-dev
* commit '441165c7a59808860c7853f2b4b8db2abe90b566':
  App limits sample
2013-03-29 18:56:31 -07:00
Amith Yamasani
441165c7a5 Merge "App limits sample" into jb-mr2-dev 2013-03-30 01:52:02 +00:00
Amith Yamasani
447d1e3d6c App limits sample
Shows how to expose app restrictions for both simple types
and custom intents.

Change-Id: I95d422d1d637bd4bdb4f731d862975a160b65a50
2013-03-29 18:45:37 -07:00
Nick Kralevich
5071c6d6cf am 97e5ad63: OptionalPermissions: fix call to buildPermissionRequestIntent
* commit '97e5ad638744d09be0ea8d3945e3e0bbc07bd8da':
  OptionalPermissions: fix call to buildPermissionRequestIntent
2013-03-29 14:34:55 -07:00
Nick Kralevich
97e5ad6387 OptionalPermissions: fix call to buildPermissionRequestIntent
There's no need to call getApplication().

Change-Id: I56e8a6a4ab230275c70e240e53a893e05400f2f9
2013-03-28 15:14:28 -07:00
Nick Kralevich
98060048b7 am d3b17b74: Merge "Initial checkin: optional permissions sample code" into jb-mr2-dev
* commit 'd3b17b74c192a6a72f6b205c14d4f7218c3f44fd':
  Initial checkin: optional permissions sample code
2013-03-27 17:24:16 -07:00
Nick Kralevich
d3b17b74c1 Merge "Initial checkin: optional permissions sample code" into jb-mr2-dev 2013-03-28 00:14:52 +00:00
Nick Kralevich
2ad812d4aa Initial checkin: optional permissions sample code
This is an initial checkin of a small demonstration program
which demonstrates how optional permissions can be used.
This app can do three things, which require permissions:

* Vibrate the device (android.permission.VIBRATE)
* Access the internet (android.permission.INTERNET)
* Get the phone number (android.permission.READ_PHONE_STATE)

At install time, this app has zero permissions.  However, the app can
request that the user grant permissions, based on pressing the "Prompt"
button. The user can then choose to allow or deny the permissions.

Known bugs and limitations:
* Once a permission is granted, it currently cannot be revoked by the
application nor the user.
* Due to the way it's implemented, the INTERNET permission requires a
restart of the application. That isn't in the sample code.
* Getting the device phone number doesn't make sense for a tablet.

This code was mostly written by klyubin@google.com with heavy
modification by myself.

Change-Id: I620db52c4a1f10ac7aa604ba34f77f7ec03af023
2013-03-27 16:54:04 -07:00
Andrew Hsieh
29a6f7955c am 63222c6f: am 175fb816: am 8d04b131: Merge "ndk: Fix potential event handling issue in android_native_app_glue"
* commit '63222c6fcc638b3be36751c6997452cb244d2bdf':
  ndk: Fix potential event handling issue in android_native_app_glue
2013-03-27 13:04:50 -07:00
Andrew Hsieh
6691de8e5d am 0c1dc2e6: am b94ab7c1: am f7fe3ca6: Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
* commit '0c1dc2e6652b77a65076b423e726b06b328bd705':
  Deprecate __set_errno; Add #include <stdint.h> in elf.h
2013-03-27 13:04:49 -07:00
Andrew Hsieh
63222c6fcc am 175fb816: am 8d04b131: Merge "ndk: Fix potential event handling issue in android_native_app_glue"
* commit '175fb816d20560958473cdc1bbe0fc5034e6b15d':
  ndk: Fix potential event handling issue in android_native_app_glue
2013-03-27 13:01:48 -07:00
Andrew Hsieh
0c1dc2e665 am b94ab7c1: am f7fe3ca6: Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
* commit 'b94ab7c1706c306809b6875e5bb9061d77b65e49':
  Deprecate __set_errno; Add #include <stdint.h> in elf.h
2013-03-27 13:01:45 -07:00
Andrew Hsieh
175fb816d2 am 8d04b131: Merge "ndk: Fix potential event handling issue in android_native_app_glue"
* commit '8d04b13138cd1b86e6ee7207eac0a0f98ae978bb':
  ndk: Fix potential event handling issue in android_native_app_glue
2013-03-27 11:26:28 -07:00
Andrew Hsieh
b94ab7c170 am f7fe3ca6: Merge "Deprecate __set_errno; Add #include <stdint.h> in elf.h"
* commit 'f7fe3ca6dece533962046712269b443d4e6a3d87':
  Deprecate __set_errno; Add #include <stdint.h> in elf.h
2013-03-27 11:09:05 -07: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
Jeff Sharkey
c8e8623850 am ccf3ef27: Merge "Remove reference to <root-path>." into jb-mr2-dev
* commit 'ccf3ef27cec7e4ffe5b604ab0ee01ad23a5b479f':
  Remove reference to <root-path>.
2013-03-26 10:17:43 -07:00
Jeff Sharkey
ccf3ef27ce Merge "Remove reference to <root-path>." into jb-mr2-dev 2013-03-26 17:13:12 +00:00
Andrew Hsieh
fd75840677 am 08b584ac: am 67ef19d0: am 83f00b45: Merge "[libportable] Add fenv support."
* commit '08b584acaf3a8a40abcce266fb421e6afccd4f47':
  [libportable] Add fenv support.
2013-03-26 14:45:39 +00:00
Andrew Hsieh
08b584acaf am 67ef19d0: am 83f00b45: Merge "[libportable] Add fenv support."
* commit '67ef19d061d8351226fc4eacfa053cd58983b976':
  [libportable] Add fenv support.
2013-03-26 07:41:13 -07:00
Andrew Hsieh
67ef19d061 am 83f00b45: Merge "[libportable] Add fenv support."
* commit '83f00b45c7cbd57c7b82ccda73f2e49c6a872110':
  [libportable] Add fenv support.
2013-03-26 07:38:15 -07:00
Andrew Hsieh
83f00b45c7 Merge "[libportable] Add fenv support." 2013-03-26 14:29:07 +00:00