Commit Graph

2396 Commits

Author SHA1 Message Date
Nick Kralevich 501c88c029 goldfish_setup: grant /system/bin/sh exec access
The goldfish_setup shell script needs the ability to execute
the shell script interpreter. Allow it.

Addresses the following denial:

avc: denied { getattr } for pid=1220 comm="init.goldfish.s"
path="/system/bin/sh" dev="vda" ino=442 scontext=u:r:goldfish_setup:s0
tcontext=u:object_r:shell_exec:s0 tclass=file permissive=0

Bug: 28941573
Change-Id: I22d26e90f107c8d801229354a5e0513c37e6c31d
2016-05-24 17:40:53 -07:00
Andreas Gampe 5d558c5f13 Merge "Build: Only use compiled-classes file when available" into nyc-dev
am: 57c3aea442

* commit '57c3aea442bff67e4452eee7ff8f13294fbad34b':
  Build: Only use compiled-classes file when available

Change-Id: I9a3ae7385483f9f5d934d8cd6660c17c57529989
2016-05-23 20:48:00 +00:00
Andreas Gampe bbb0b31cf2 Build: Only use compiled-classes file when available
Don't pull in things from frameworks/base when they're not there.

Bug: 28878540
Change-Id: Ida8a5e4e46dc5cd5bdedc4bb66640abb4969e1f3
2016-05-20 13:52:02 -07:00
Andreas Gampe 28efcb6d39 Build: Use phone compiled-classes in core_minimal
am: 695b28f67c

* commit '695b28f67c88b87486911f8881078e7857e989a8':
  Build: Use phone compiled-classes in core_minimal

Change-Id: I3b3a362c17c741994b34a2f70301806eadf9098d
2016-05-19 05:10:55 +00:00
Andreas Gampe 695b28f67c Build: Use phone compiled-classes in core_minimal
Use default phone compiled-classes list to cut down boot image
size on most devices.

Bug: 28026683
Change-Id: I73bb59b792923ebc7549f775085b1c9aed88cc1a
2016-05-18 20:10:43 -07:00
Alex Light 60c7fd15a8 Add fake libart
Bug: 27775991

Change-Id: I54cbdf2340dcfdd9b3973d9d10c8bd94492736fb
(cherry picked from commit 6da74d8f1f)
2016-05-18 07:58:05 -07:00
Amith Yamasani e536d704e5 Merge "Add CtsShimPrebuilt" into nyc-dev
am: 85c33f500a

* commit '85c33f500aa2ef7c70c1644617e7439b97f22a79':
  Add CtsShimPrebuilt

Change-Id: I604118ab69b52d8965f30ef3f8e0d841a4d7a288
2016-05-17 00:33:05 +00:00
Amith Yamasani 6f7873ca6f Add CtsShimPrebuilt
It was needed for a CTS test but was accidentally
left out?

Bug: 28398205
Change-Id: I7deea60e6b11bc11d3bd8e82170fc42df7cec3c7
2016-05-16 12:43:43 -07:00
Dan Willemsen 56242e5ca5 Merge "Add a 32-bit x86_64 arch variant" am: 19b7692496
am: f51e73d8bf

* commit 'f51e73d8bf10c32cee5bc9bded78949e50bb9b1c':
  Add a 32-bit x86_64 arch variant

Change-Id: Ib5f51ddcdec6f38a9cfc8f6182b6919c4f24aee6
2016-05-11 00:49:22 +00:00
Dan Willemsen 04aa521eca Add a 32-bit x86_64 arch variant
The current 32-bit configuration for generic x86_64 targets inherits some
variables (SSE4 support) from the 64-bit configuration, and overrides
the make variables used for other configurations (SSSE3). Ideally, these
would be using different variables, but until then, unify the
configuration for x86_64 targets so that everything is consistent.

Bug: 28694691
Change-Id: I47e67299d4c632e7491d7e73dc0fc6480ef08006
2016-05-10 14:15:41 -07:00
Roozbeh Pournader 1d9cfc58f1 Merge "Remove Romansh from PRODUCT_LOCALES" into nyc-dev
am: 6e034af238

* commit '6e034af238a677db70bc0b10f7f9e08bc8b8aef9':
  Remove Romansh from PRODUCT_LOCALES

Change-Id: I2c6572c55699d43cc687f7acc6c51b6f66c97a54
2016-05-07 00:07:16 +00:00
Roozbeh Pournader 6e034af238 Merge "Remove Romansh from PRODUCT_LOCALES" into nyc-dev 2016-05-06 23:51:48 +00:00
Roozbeh Pournader 1a6a5626f7 Remove Romansh from PRODUCT_LOCALES
The inclusion of Romansh (rm_CH), while it did not have localized
strings, was causing the incorrect assumption that the system
supports Romansh, causing the language fallback to work incorrectly
when Romansh was in the list of user's locales.

Hindi (hi_IN) was also included twice, and this removes the duplicate
too.

Bug: 27325465
Change-Id: I87ec06dc459137f71bb8e5e2f431f629bd51928e
2016-05-06 15:10:51 -07:00
Bjoern Johansson 7b3407f801 Merge "Indicate that all emulator images support USB" into nyc-dev
am: 513e69ec69

* commit '513e69ec69a7e5c61888668a4b16ccab6073419c':
  Indicate that all emulator images support USB

Change-Id: Ie6ee7dbd4fd5cde1ecf828440047cbf81f51aa66
2016-05-05 15:45:00 +00:00
Bjoern Johansson 6b04d94ff7 Indicate that all emulator images support USB
The Android framework assumes that if an app uses UsbManager then there
must be USB support on the device. In order to deal with this the
emulator has to indicate USB support. Previously this was true for
Google SDK phone images because USB support is part of the common API
packages that gets installed. For AOSP and some other build targets USB
support was not included. This change indicates support for USB for all
emulator system images.

BUG: 28088069

Change-Id: I880210e89e6ad3412bdc069d6c20ed54a52cff83
2016-05-04 22:40:56 +00:00
Todd Kennedy d43b93e7e2 Revert "Revert "Add shim app for CTS testing""
am: 98ffa937bf

* commit '98ffa937bf6d7acc6a1964c7157c906e1a86203c':
  Revert "Revert "Add shim app for CTS testing""

Change-Id: I2eb7d0357861fb9144a9937b6bb60c14af3d6151
2016-05-03 19:42:38 +00:00
Todd Kennedy 98ffa937bf Revert "Revert "Add shim app for CTS testing""
This reverts commit 31003c48c1.

Bug: 28398205
Change-Id: Ia884957e224f46157af31814c32c5e0e1a33b7b8
2016-05-03 11:16:35 -07:00
Todd Kennedy 0451b2f946 Merge "Revert "Add shim app for CTS testing"" into nyc-dev
am: 878775fd75

* commit '878775fd750d7164bd0920b4b94b59e0edab8ed3':
  Revert "Add shim app for CTS testing"

Change-Id: Ie5df8c8ea8785b8562866522f6d13e54b5ce52d5
2016-05-03 00:08:55 +00:00
Todd Kennedy 878775fd75 Merge "Revert "Add shim app for CTS testing"" into nyc-dev 2016-05-02 23:56:37 +00:00
Todd Kennedy 31003c48c1 Revert "Add shim app for CTS testing"
Build errors when trying to dex2oat the CtsShim prebuilt even though it's marked with "hasCode=false".

This reverts commit d987a11126.

Change-Id: If47b3bcd4c727da7acd9068c02f8fb671ed0ae84
2016-05-02 23:54:08 +00:00
Todd Kennedy 46785aea64 Merge "Add shim app for CTS testing" into nyc-dev
am: 6d0c367a64

* commit '6d0c367a64b91cdf8dc6bc25605bff7b13f35a35':
  Add shim app for CTS testing

Change-Id: Ic6342cd60478364533514b576ccc86b6db7ab695
2016-05-02 22:59:21 +00:00
Todd Kennedy 6d0c367a64 Merge "Add shim app for CTS testing" into nyc-dev 2016-05-02 22:49:55 +00:00
Felipe Leme b382c63a61 Merge "Added bugreportz binary." into nyc-dev
am: 386df80e85

* commit '386df80e85e2098a32c41fee4b8b379991b360b8':
  Added bugreportz binary.

Change-Id: I25aa201a3a7a77771cb57f3eb3ceff435dc1cd15
2016-05-02 20:05:29 +00:00
Felipe Leme 90ab323be2 Added bugreportz binary.
BUG: 28479946
Change-Id: Ic0d1b6598867ccbbc65f3fdc0d32cac7c53128a3
2016-05-02 11:18:07 -07:00
Todd Kennedy d987a11126 Add shim app for CTS testing
We need a shim application on the system partition that we can upgrade
during CTS tests.

Bug: 27450489
Change-Id: I32a72dc5110cedd466cdee2607965c705f7aa6d3
2016-04-29 07:31:31 -07:00
Alex Light f82ca86328 Merge "Add fake libart" into nyc-dev
am: 1c04ad1

* commit '1c04ad1b02ea5d149eca71722e76fa14bfe3a6cc':
  Add fake libart

Change-Id: Ib90361465b9f8a79f05181a18f062d82d28754ba
2016-04-25 22:14:37 +00:00
TreeHugger Robot 1c04ad1b02 Merge "Add fake libart" into nyc-dev 2016-04-25 21:53:31 +00:00
Christopher Tate 85520a6b2f Merge "Wallpaper backup/restore is now in its own package" into nyc-dev
am: 8e9431e

* commit '8e9431e54f23c089b3e664a82c622783ef13796c':
  Wallpaper backup/restore is now in its own package

Change-Id: I3501a452d26316da8787a4695fe2ea46ba85518c
2016-04-20 22:19:25 +00:00
Chris Tate 8e9431e54f Merge "Wallpaper backup/restore is now in its own package" into nyc-dev 2016-04-20 22:10:40 +00:00
bohu d7f734024f Merge "Fix emulator specific SELinux denials related to qemu.gles" into nyc-dev
am: 94f576d

* commit '94f576d18cb61e672bcc849a324eab244dd4f3f8':
  Fix emulator specific SELinux denials related to qemu.gles

Change-Id: Iba1c077238ec1c41434c87e8ac96467a081383fc
2016-04-20 21:04:31 +00:00
Bo Hu 94f576d18c Merge "Fix emulator specific SELinux denials related to qemu.gles" into nyc-dev 2016-04-20 18:46:38 +00:00
bohu bf863dbffc Fix emulator specific SELinux denials related to qemu.gles
init: avc:  denied  { set } for property=qemu.gles pid=108 uid=1003 gid=1003 scontext=u:r:bootanim:s0 tcontext=u:object_r:qemu_prop:s0 tclass=property_service permissive=1
init: avc:  denied  { set } for property=qemu.gles pid=75 uid=0 gid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:qemu_prop:s0 tclass=property_service permissive=1

bug: 28221393
Change-Id: Icb0ee7fbf9a7b985f66fac087a48d9b5789e2b67
2016-04-19 15:04:58 -07:00
Alex Light 6da74d8f1f Add fake libart
Bug: 27775991

Change-Id: I54cbdf2340dcfdd9b3973d9d10c8bd94492736fb
2016-04-19 14:31:55 -07:00
Christopher Tate 65e3b75ddc Wallpaper backup/restore is now in its own package
Bug 25453848
Bug 25727875

Change-Id: I774afad99d23f4f7ffb1675909a5a17732af3fb8
2016-04-19 13:08:21 -07:00
Dimitry Ivanov 6c7d7c1f8b Merge "Make sure platform libraries are built, regardless of webview.apk" am: da7fef6
am: b077e80

* commit 'b077e80d041f74af240111f457ebd4dd168da6dd':
  Make sure platform libraries are built, regardless of webview.apk

Change-Id: Ie463aeed9f8f9ef1b12d89d571c8a23d5432b05d
2016-04-19 17:18:49 +00:00
Nikola Veljkovic 8f1ac7c9d6 Make sure platform libraries are built, regardless of webview.apk
Prebuilt WebView is missing for mips64 architecture. Allow device
to boot without it, by making sure platform support libraries are
part of the system image.

WebView APK can then be installed separately.

Change-Id: Iabbb5e6a4778b7542d24bb4f789a7be96232e50c
2016-04-19 14:25:50 +00:00
Nick Kralevich 6910622a70 Merge "Move sysfs_writable to emulator specific policy" am: 821e3fd
am: ef77794259

* commit 'ef77794259155f5a8bd3f5be56dcd49463d3ad65':
  Move sysfs_writable to emulator specific policy

Change-Id: Idb7c6a37c5da58450e6332ccafca83ad6754f701
2016-04-19 00:28:42 +00:00
Nick Kralevich db411cf903 Move sysfs_writable to emulator specific policy
This type is never used in core policy, only by emulators.
Move the definition of this type to where it's used.

Bug: 28221393
Change-Id: I38dbc12dbe9813f323d4bcd5f07679db57b2fd4a
2016-04-18 15:18:09 -07:00
Nick Kralevich 6cba1fed80 Address emulator specific SELinux denials
am: 841f6d8

* commit '841f6d870db50862bb6be2e963149f46768f8aca':
  Address emulator specific SELinux denials

Change-Id: I4aba83efb36510f730e515da476e900e94cbbca6
2016-04-18 22:07:15 +00:00
Nick Kralevich 1eb14d0d61 Address emulator specific SELinux denials
(cherrypicked from commit 841f6d870d)

Fix the following denials:

  avc: denied { search } for pid=222 comm="system_server"
  name="qemu_trace" dev="sysfs" ino=45 scontext=u:r:system_server:s0
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:opengles_prop:s0" dev="tmpfs" ino=1429
  scontext=u:r:system_server:s0 tcontext=u:object_r:opengles_prop:s0
  tclass=file permissive=1

  avc: denied { read } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { getattr } for pid=222 comm="system_server"
  path="/dev/__properties__/u:object_r:radio_noril_prop:s0" dev="tmpfs"
  ino=1430 scontext=u:r:system_server:s0
  tcontext=u:object_r:radio_noril_prop:s0 tclass=file permissive=1

  avc: denied { search } for pid=424 comm="putmethod.latin"
  name="qemu_trace" dev="sysfs" ino=45
  scontext=u:r:untrusted_app:s0:c512,c768
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

Bug: 28221393
Change-Id: I6fce1127d9d9e8bc0119bace3f142d51382401c0
2016-04-18 14:57:24 -07:00
Nick Kralevich 841f6d870d Address emulator specific SELinux denials
Fix the following denials:

  avc: denied { search } for pid=222 comm="system_server"
  name="qemu_trace" dev="sysfs" ino=45 scontext=u:r:system_server:s0
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:opengles_prop:s0" dev="tmpfs" ino=1429
  scontext=u:r:system_server:s0 tcontext=u:object_r:opengles_prop:s0
  tclass=file permissive=1

  avc: denied { read } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { open } for pid=222 comm="system_server"
  name="u:object_r:radio_noril_prop:s0" dev="tmpfs" ino=1430
  scontext=u:r:system_server:s0 tcontext=u:object_r:radio_noril_prop:s0
  tclass=file permissive=1

  avc: denied { getattr } for pid=222 comm="system_server"
  path="/dev/__properties__/u:object_r:radio_noril_prop:s0" dev="tmpfs"
  ino=1430 scontext=u:r:system_server:s0
  tcontext=u:object_r:radio_noril_prop:s0 tclass=file permissive=1

  avc: denied { search } for pid=424 comm="putmethod.latin"
  name="qemu_trace" dev="sysfs" ino=45
  scontext=u:r:untrusted_app:s0:c512,c768
  tcontext=u:object_r:sysfs_writable:s0 tclass=dir permissive=1

Bug: 28221393
Change-Id: I6fce1127d9d9e8bc0119bace3f142d51382401c0
2016-04-18 13:28:04 -07:00
mukesh agrawal 211fc7a2c4 Merge "Revert "Set WifiHAL to only log debug by default."" into nyc-dev
am: b55f571

* commit 'b55f57192707aab7e193798ac4d3158338ef6395':
  Revert "Set WifiHAL to only log debug by default."

Change-Id: I676918c02d43feeacdae2bf561fc28f05e3f9c9b
2016-04-15 00:42:56 +00:00
mukesh agrawal 9d14641a19 Revert "Set WifiHAL to only log debug by default."
Recent changes have brought the log volumes for
the QCA WifiHAL down to reasonable levels. As
such, we no longer need to use a custom default
log level for WifiHAL.

This reverts commit f83213a5b5.

BUG=28178513
TEST=build, check log volume after >12 hours
2016-04-14 16:06:13 -07:00
Michael Wright 596cd7cab6 Merge "DO NOT MERGE Remove inputflinger from the nyc build." into nyc-dev
am: 3ae0f24

* commit '3ae0f24dc2dd4b86505c6657c3caefd5c57e3ab9':
  DO NOT MERGE Remove inputflinger from the nyc build.

Change-Id: I5eaf73397b3749f0ea1b2092b5abb514fe5125eb
2016-04-13 17:06:44 +00:00
Michael Wright 3ae0f24dc2 Merge "DO NOT MERGE Remove inputflinger from the nyc build." into nyc-dev 2016-04-13 16:57:13 +00:00
Michael Wright 22adbae358 DO NOT MERGE Remove inputflinger from the nyc build.
Change-Id: Iba52bcb3f7089984333b63eb43ea9d8ad4522e55
2016-04-12 09:26:02 -04:00
Tom Cherry 6f808b261f Merge "Add ext libs to core_tiny, they\'re needed for wear PDK" into nyc-dev
am: ca0df0c

* commit 'ca0df0c249593148f4bc036cac2662b3066b7fb5':
  Add ext libs to core_tiny, they're needed for wear PDK

Change-Id: I79bd83f3a886e03e764db1c75e5cf4d2d1aa2627
2016-04-12 01:49:27 +00:00
Tom Cherry ca0df0c249 Merge "Add ext libs to core_tiny, they're needed for wear PDK" into nyc-dev 2016-04-12 01:31:47 +00:00
Tom Cherry 1d242f18a6 Add ext libs to core_tiny, they're needed for wear PDK
Bug: 27698377
Bug: 28117608
Change-Id: I12b93fe241d8d71d61d1cdb28d95e6c824e2420d
2016-04-11 17:06:59 -07:00
Maurice Lam 285ea2188d Merge "Add be and bs to l10n builds" into nyc-dev
am: e09b2c1

* commit 'e09b2c16e32cee89d6b5ac29fe5a905b76872179':
  Add be and bs to l10n builds

Change-Id: I4dc1d353dd5a3d0ed3f4c0f9dc2192421946d87a
2016-04-11 21:54:51 +00:00
Maurice Lam e09b2c16e3 Merge "Add be and bs to l10n builds" into nyc-dev 2016-04-11 21:35:46 +00:00
Svetoslav Ganov 07f509784c Merge "Add ext libs to AOSP - they are part of the system" into nyc-dev
am: 048faf9

* commit '048faf920cde39ccb97a0bd937362860199295b6':
  Add ext libs to AOSP - they are part of the system

Change-Id: Iddadf028161702bb7199d47165fbb189bebe22f8
2016-04-07 23:48:12 +00:00
Svetoslav Ganov 8ead371831 Add ext libs to AOSP - they are part of the system
bug:27698377

Change-Id: Ic426e08e450598c53e4dbf9c734d808b19fae705
2016-04-07 15:29:58 -07:00
Maurice Lam cc06c5998a Add be and bs to l10n builds
Bug: 27409618
Change-Id: I244796a12d756521f8191abcacf1f15134079783
2016-04-01 12:08:05 -07:00
Philip P. Moltmann 3d25656b2e Merge "Add PrintServiceRecommendationService to the default distro" into nyc-dev
am: 8690de4

* commit '8690de4302cb231668def658a1e3b1bfe30eacda':
  Add PrintServiceRecommendationService to the default distro

Change-Id: I3b2a8bf61507ce0eb93deb736078501478765505
2016-03-31 02:10:43 +00:00
Philip P. Moltmann 8690de4302 Merge "Add PrintServiceRecommendationService to the default distro" into nyc-dev 2016-03-31 01:33:17 +00:00
Andreas Gampe 9b69d2bda7 Merge "Build: Switch eng build boot dexopt to verify-at-runtime" into nyc-dev
am: be97a41

* commit 'be97a415715824562e4ea93efb211b0d5baeb300':
  Build: Switch eng build boot dexopt to verify-at-runtime

Change-Id: I9b0f42aa72fe33fac9f8afee90820bab02b2729b
2016-03-30 23:18:12 +00:00
Andreas Gampe 8e121663e6 Build: Switch eng build boot dexopt to verify-at-runtime
To have faster turnaround.

Bug: 26794212
Change-Id: I1d7877ec8c9cfff62bf14cbd23a790ee7a0b2734
2016-03-30 12:55:53 -07:00
Philip P. Moltmann 85ec6296c1 Add PrintServiceRecommendationService to the default distro
Bug: 24533249
Change-Id: I0736b842c813c63924d026b2ab5d5e92ff92df76
2016-03-28 15:15:56 -07:00
Andreas Gampe 6cbc22cbec Build: Add first-boot dexopt settings defaults
am: b9171a3

* commit 'b9171a320680a85f4302c9cdfc2b2f54516f9c3f':
  Build: Add first-boot dexopt settings defaults
2016-03-28 03:14:52 +00:00
Andreas Gampe b9171a3206 Build: Add first-boot dexopt settings defaults
Needed for factory-reset/first-boot/upgrade to N.

Bug: 27689078
Change-Id: I010e38c8a10445f87e95e1ff8d9daf1d051f2b06
2016-03-25 18:08:40 -07:00
Joe Onorato 978cda07ee Merge "Set WifiHAL to only log debug by default." into nyc-dev
am: 11a4a85

* commit '11a4a85b75557dd0d0ae9ef84720316036d7c8d8':
  Set WifiHAL to only log debug by default.
2016-03-26 00:45:18 +00:00
Joe Onorato f83213a5b5 Set WifiHAL to only log debug by default.
This is not the proper way to really fix this, but it is the best thing to
do in the time period we have for N.  In the future they will be moving
more to a dumpsys style approach.

Change-Id: I98ec7928cd93a3edfb93cdbf3703132ac6658699
2016-03-25 15:36:42 -07:00
Ying Wang 77f67cd048 Merge "Support x86+arm multilib build."
am: d314805

* commit 'd314805c29fdbee3508b99c14ca63e1a8d170c3b':
  Support x86+arm multilib build.
2016-03-25 21:51:21 +00:00
Ying Wang 87538e4f8b Support x86+arm multilib build.
Support TARGET_2ND_ARCH as the binary translation arch.
See target/board/generic_x86_arm/BoardConfig.mk and
target/product/aosp_x86_arm.mk as example for the setup.

In BoardConfig, use the TARGET_2ND_ARCH/etc. variables to set up the
binary translation arch;
Set "TARGET_TRANSLATE_2ND_ARCH := true" to tell the build system it's
not a typical 64-bit multilib configuration.
In product makefile, use "PRODUCT_PACKAGES += libfoo_<2nd_arch>" to
install the TARGET_2ND_ARCH libraries. This also pulls in any dependency
libraries.
By default we don't install any TARGET_2ND_ARCH modules, unless it's
pulled in by PRODUCT_PACKAGES.

Bug: 27526885
Change-Id: I0578e9c80da0532d2fa886a8fcdb140bbc703009
(cherry-pick from commit 277e75a488)
2016-03-25 13:29:53 -07:00
Prathmesh Prabhu 6e64f417cd Emulator: Bump mips(64) system image partition size to 1.75 GB.
BUG:27834040
Change-Id: I71861b023e8155df951036053ab0561e153d04fd
(cherry picked from commit 8a17ace10e)
2016-03-25 00:20:29 +00:00
Andreas Gampe 0647bcb8e5 Build: Provide default values for dexopt settings
Provide default values for system properties used by the package
manager.

Bug: 27689078
Change-Id: Iedab0c0b1da6c905658546df7992f77fd6b55da1
2016-03-23 15:04:36 -07:00
Pierre Imai 0040280747 Remove references to deleted dhcpcd
Change-Id: Ic977c3aaa72544310696b970e73c64401aafbbc8
2016-03-18 10:18:50 +09:00
Dimitry Ivanov 19946aef6a Add config file listing public native libraries
This file contains list of libraries that should be directly or
indirectly accessible to apps for the platform. Note that this
file is not device specific but rather device class specific.

Bug: http://b/27546414
Change-Id: Ica2e6c5cedac6e4af9bd78addaa512b2fa272d64
(cherry picked from commit 795132dccd)
2016-03-17 11:22:06 -07:00
Dimitry Ivanov 795132dccd Add config file listing public native libraries
This file contains list of libraries that should be directly or
indirectly accessible to apps for the platform. Note that this
file is not device specific but rather device class specific.

Bug: http://b/27546414
Change-Id: Ica2e6c5cedac6e4af9bd78addaa512b2fa272d64
2016-03-16 15:07:19 -07:00
Prathmesh Prabhu 316654fc23 Emulator: Bump arm(64) system image partition size to 1.75 GB
Change-Id: If9ce0346ed4ca7ceab3fda217e5c9de6d89b6c94
2016-03-14 18:07:31 +00:00
Prathmesh Prabhu 8f8c9cbd47 emulator: Add a product packages overlay.
Emulator is a product, so add an overlay that allows us to override some
stock android resources.

BUG: 27484734
Change-Id: I1b651316a14f6d5c79651813ad13302b67507cae
2016-03-04 13:43:04 -08:00
Prathmesh Prabhu 98afd8ab2a [Emulator] Add comment about including AOSP messaging on AOSP images.
We've gone back and forth on this a few times.
Just state clearly why we're including the AOSP messaging APP here.

BUG:22097835
Change-Id: I26864ba033f0a211d038fa3526241c869d677217
2016-02-26 19:26:05 +00:00
Lorenzo Colitti a8f699a6a2 Remove dhcpcd from the base target makefile.
Bug: 27192644
Change-Id: Iacac58e05c441dd267c7f09f91dbfcb94f54167c
2016-02-26 10:02:32 +09:00
bohu 08ddb47165 Emulator: Add fingerprint permission to sdk system images
Since N, the android.hardware.fingerprint.xml is required.
bug: 27324642

Change-Id: Ib2f77f68bb4b9a68e1e77311fae3ce2a30bc37cb
2016-02-23 16:28:26 -08:00
Bo Hu fed6c5cb0b Merge "emulator: allows surfaceflinger to change qemu.gles value" into nyc-dev 2016-02-23 21:46:34 +00:00
Prathmesh Prabhu e6ea602bb4 Generic x86_64: Bump system image partition size to 1.75 GB.
BUG=b.android.com/201662

Change-Id: I3b13082d73a3e1c9f49cb9158d2423dc580a8c75
2016-02-23 20:33:23 +00:00
Calin Juravle 3d0d0aebba Merge "Add profman to the build scripts"
am: 487479f301

* commit '487479f301e49e8955d0930c760b739507f76ddc':
  Add profman to the build scripts
2016-02-23 14:11:56 +00:00
Calin Juravle c9e3d16fdb Add profman to the build scripts
Bug: 26719109
Bug: 26563023

(cherry picked from commit aab43390a0)

Change-Id: Idc49872eebb283436fcdd02fe095e8c8826aff44
2016-02-23 12:02:05 +00:00
Calin Juravle 5d598c12fe Merge "Add profman to the build scripts" into nyc-dev 2016-02-22 11:42:02 +00:00
bohu 37f5b608e1 emulator: allows surfaceflinger to change qemu.gles value
This is to allow surfaceflinger to always load vendor provided
egl libraries first and fall back to software renderer, and then
set the qemu.gles to correct value reflecting what libraries
are actually used.

bug: 27273457

Change-Id: Ifaca31aa2e562f50baa41fd228df9836bc3b1667
2016-02-20 01:39:27 +00:00
Prathmesh Prabhu 61ec9aed12 Merge "Allow smooth upgrade of AVD's from older API's." into nyc-dev 2016-02-20 01:02:03 +00:00
Lingfeng Yang ae74914ed9 Allow smooth upgrade of AVD's from older API's.
If we are using an old API for the emulator
(API 19 for example) and then upgrade the AVD
to API 23 through the AVD settings, we get a bunch
of crashes in the TelephonyProvider,
as it is looking for a file that does not exist
that concerns upgrading from old "apn"'s.

This CL adds this file to the files to be copied
to /etc in the system image.

BUG: b.android.com/200390
BUG=27273457

RELEASE NOTE: Fixed telephony service crashes on startup when upgrading from an old API.

Change-Id: I227713880bf20541c759aab588c00197ac7aebfd
(cherry picked from commit e5083159401edf1df5109b56d1aedbbb739584e6)
2016-02-20 00:34:21 +00:00
Bjoern Johansson d2cd53a41b Explicitly use messaging app in SDK phone builds
This change explicitly includes only the messaging app instead of all of
aosp_base_telephony. This fixes the issue where on initial boot the user
was prompted to select a Home app. This happened because the
aosp_base_telephony makefile includes other makefiles that in turn add
the package Provision which has an activity with an intent filter for
handling HOME. SdkSetup already had such an activity so with two choices
it was left to the user to decide which one to use.

BUG=27273457

Change-Id: I42e77b892ce235a5fa858561325ae37973cfb0cd
(cherry picked from commit 12de252f451b34cfa67f7256027dad84dcfd984d)
2016-02-19 23:25:46 +00:00
Calin Juravle aab43390a0 Add profman to the build scripts
Bug: 26719109
Bug: 26563023
Change-Id: I91e4baa0102362035d9a73dcfd5bc4645906aae1
2016-02-19 16:54:20 +00:00
dcashman cb1fb3156c Label ranchu block devices.
Address the following denials:
avc:  denied  { getattr } for  pid=1166 comm="e2fsck" path="/dev/block/vdc" dev="tmpfs" ino=2880 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0
avc:  denied  { read write } for  pid=1166 comm="e2fsck" name="vdc" dev="tmpfs" ino=2880 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0

Bug: 27224003
Change-Id: I4792420822d238e6ad1bf757634c924b95150515
2016-02-19 05:32:02 +00:00
bohu 6b7006a3bf Revert "emulator.mk: Add ethernet permission"
ranchu device now has gsm working properly, remove ethernet.

This reverts commit 9dcb26902571b6d8aa1a41e28be6fb87fd483425.
(cherry picked from commit 58d066f7ccb65cc1f2fc69aff5e95fbfc7f5f0f7)

Change-Id: I05ced00f7e24cb2af6654fc38d71d63453ce4944
2016-02-19 01:48:20 +00:00
Chaoren Lin 72fb84651d emulator: Include the ranchu gps library
Change-Id: I45b8bec7739b42744766852b68580b01b4ce26a0
(cherry picked from commit b8b6638dd0183c68e12ed88f1a4cbdce84c09a15)
2016-02-19 00:53:54 +00:00
Lingfeng Yang aae222f5f7 Add camera.ranchu.* to target/product/emulator.mk
This is for QEMU2 camera support in
the new emulator.

Change-Id: I036773719eff97619594e9d9ac161c10b5e218b5
(cherry picked from commit 6a3bbdce10aae72727d97ab09d90c967cfd51b9c)
2016-02-17 13:23:54 -08:00
Bill Yi 4a459aee75 Merge commit '75bbddecaa9f9d82c2f2751b389188f0a41e3284' into HEAD 2016-02-17 09:50:15 -08:00
Jeff Tinker 1fefb8270e Add mediadrm service
Part of media security hardening

This is an intermediate step toward moving
mediadrm to a new service separate from mediaserver.
This first step allows mediadrmservice to run based
on the system property media.mediadrmservice.enable
so it can be selectively enabled on devices that
support using native_handles for secure buffers.

bug: 22990512
Change-Id: I9fecb59158d560201f64721cdc026f5604cc3945
2016-02-12 09:00:49 -08:00
Marco Nelissen 2a88eb3be2 Add mediacodec binary for codec process
Bug: 22775369

Change-Id: If8087fd289968a6eb09a7f038243447ade5dd9d3
2016-02-08 13:28:28 -08:00
Chih-Hung Hsieh b81d0835ac resolve merge conflicts of dc1afa9c0f to master.
Change-Id: I4236d9f79cbca689d0fcc400d4c10a663209bc2a
2016-02-04 15:43:05 -08:00
Chih-hung Hsieh dc1afa9c0f Merge "Remove USE_CLANG_PLATFORM_BUILD in BoardConfig.mk"
am: 9ff17cf7bc

* commit '9ff17cf7bcc4b88a6a407f0c573b181a91f30ec8':
  Remove USE_CLANG_PLATFORM_BUILD in BoardConfig.mk
2016-02-04 23:29:24 +00:00
Chih-Hung Hsieh 6dc7147fb0 Remove USE_CLANG_PLATFORM_BUILD in BoardConfig.mk
Use global default USE_CLANG_PLATFORM_BUILD set in core/envsetup.mk,
or user provided environment variable USE_CLANG_PLATFORM_BUILD.

BUG: 26102335
Change-Id: I7e12219a60f36bb44797bb028b4a5873a67c9210
2016-02-04 10:55:56 -08:00
Mathieu Chartier bdc048ecb5 Merge "Add default app image format property" 2016-02-03 22:14:14 +00:00
Maria Garcia Puyol cda68f4ecb Merge "Add EmergencyInfo to devices with telephony" 2016-02-02 17:10:34 +00:00
mariagpuyol b44b3cc890 Add EmergencyInfo to devices with telephony
Change-Id: Ied881184ac67a0f72c896e3225f3bf3faa5af4c4
2016-01-29 11:26:54 -08:00
Mathieu Chartier b7a044e10a Add default app image format property
Defaults to lz4.

Bug: 22858531
Change-Id: Iab65a650b67e7bde1fc3582f166d4f17a0367749
2016-01-28 16:52:14 -08:00
Marco Nelissen 71d28206b3 Merge "Revert "Add mediacodec binary for codec process"" 2016-01-28 21:55:42 +00:00
Marco Nelissen 4fb65b332b Revert "Add mediacodec binary for codec process"
This reverts commit 3402a41879.

Change-Id: Id97fe54862a6450ff9313dabab542a00f8578fdd
2016-01-28 21:41:43 +00:00
Chien-Yu Chen 30037e0ef6 Merge "Add cameraserver process" 2016-01-28 02:04:35 +00:00
Jesse Hall 311fc185c8 Merge "Add libvulkan to base PRODUCT_PACKAGES" 2016-01-27 21:43:44 +00:00
Marco Nelissen 9516cf18a3 Merge "Add mediacodec binary for codec process" 2016-01-27 17:46:47 +00:00
Jesse Hall a7ec71d62b Add libvulkan to base PRODUCT_PACKAGES
Change-Id: Ie0d583a349a6ef5542da91e5c1f1f348f02fe435
2016-01-27 00:20:35 -08:00
Yin-Chia Yeh 39f1d88038 Merge "Revert "Revert "Camera: add NDK camera library""" 2016-01-27 00:14:43 +00:00
Yin-Chia Yeh 821375c718 Revert "Revert "Camera: add NDK camera library""
This reverts commit e4329eb24f.

Change-Id: I414845a9e12148499db46a2c1b083d65175dea09
2016-01-27 00:13:51 +00:00
Kevin Cernekee 27498f2e39 Merge "README: Update docs" am: 30177c45b4
am: 753536092c

* commit '753536092c2cde7e959bdcaef9c45207351e9a18':
  README: Update docs
2016-01-26 23:53:34 +00:00
Kevin Cernekee 753536092c Merge "README: Update docs"
am: 30177c45b4

* commit '30177c45b4e61ae11749bf9106c64d1b1e2ae517':
  README: Update docs
2016-01-26 23:51:39 +00:00
Kevin Cernekee 30177c45b4 Merge "README: Update docs" 2016-01-26 23:45:37 +00:00
Yin-Chia Yeh 6f138d7eac Merge "Revert "Camera: add NDK camera library"" 2016-01-26 23:44:15 +00:00
Yin-Chia Yeh e4329eb24f Revert "Camera: add NDK camera library"
This reverts commit 153005787d.

Breaking seed/andromeda build now. Investigating.

Change-Id: Id0884cc8b126694c9142d7771dc2187b10fdd415
2016-01-26 23:42:43 +00:00
Yin-Chia Yeh c6eedaff72 Merge "Camera: add NDK camera library" 2016-01-26 22:30:08 +00:00
Yin-Chia Yeh 153005787d Camera: add NDK camera library
Bug: 23012001
Change-Id: I19b9d4c7a83f3baaf5e6102c5f0b7876546fe95d
2016-01-25 14:48:10 -08:00
Christopher Ferris 07b0a0da9f Merge "Add libc_malloc_debug to the always build list." am: 4d15f2f8c9
am: 093ca195bd

* commit '093ca195bd6a3e21c11ad04553b3fe5c6447ea97':
  Add libc_malloc_debug to the always build list.
2016-01-25 21:33:46 +00:00
Christopher Ferris 093ca195bd Merge "Add libc_malloc_debug to the always build list."
am: 4d15f2f8c9

* commit '4d15f2f8c9adc463c6e904667b9793a3f3544ef4':
  Add libc_malloc_debug to the always build list.
2016-01-25 21:31:54 +00:00
Christopher Ferris 4d15f2f8c9 Merge "Add libc_malloc_debug to the always build list." 2016-01-25 21:27:57 +00:00
Marco Nelissen 3402a41879 Add mediacodec binary for codec process
Bug: 22775369
Change-Id: Ia0632d8329cf16c6435df87bf208e2750bb31542
2016-01-22 14:43:13 -08:00
Alex Klyubin 24b1c64c5b resolve merge conflicts of bb3d77ba95 to master.
Change-Id: Ib69e2a457c416b4da94fb76c231120632d47a07a
2016-01-22 11:05:03 -08:00
James Hawkins bb3d77ba95 Merge "bootstat: Add bootstat to the embedded target to support logging boot time across devices."
am: cb9da42c87

* commit 'cb9da42c878f5afb32513b441eaf72868163b655':
  bootstat: Add bootstat to the embedded target to support logging boot time across devices.
2016-01-22 18:28:19 +00:00
James Hawkins bc5dc64232 bootstat: Add bootstat to the embedded target to support logging boot
time across devices.

Bug: 21724738
Change-Id: I165e8597103ea235a0826e321a1658823c4b4664
2016-01-21 15:39:45 -08:00
Calin Juravle 388bae1ca3 Merge "Enable the use of jit profiles" 2016-01-20 22:31:37 +00:00
Makoto Onuki 00003c38b3 Add BlockedNumberProvider to core.mk
Bug 26232372

Change-Id: I4e77588587d75dcb110caef8d76b64bb396ca052
2016-01-14 11:31:27 -08:00
Andy Huang b7da60c2fa Merge "remove Exchange2 from core.mk" into mnc-dr1.5-dev am: 0936632c93 am: 624ecb988b
am: 400d9ff4ba

* commit '400d9ff4ba0a606d5bf1f7c29cb2d61f3de4b4cc':
  remove Exchange2 from core.mk
2016-01-13 23:42:59 +00:00
Andy Huang 400d9ff4ba Merge "remove Exchange2 from core.mk" into mnc-dr1.5-dev am: 0936632c93
am: 624ecb988b

* commit '624ecb988b037a4eee46d06b3618bee1e5d2b9cb':
  remove Exchange2 from core.mk
2016-01-13 21:28:07 +00:00
Tom Cherry 6ebff7a4d4 Merge "Remove special case handling of "ro." properties" am: 560fde999a
am: ca0091e26f

* commit 'ca0091e26fa31618d4693cad1f572d3e4e12bffe':
  Remove special case handling of "ro." properties
2016-01-13 18:50:00 +00:00
Calin Juravle 910581eee5 Enable the use of jit profiles
Effects:
- JIT profiles will be saved to disk
- dex2oat daemon will perform profile based compilation

Bug: 26080105
Change-Id: I284106b205ccf26630a8b86923d1219e121c29c2
2016-01-12 16:47:47 -08:00
Tom Cherry ca0091e26f Merge "Remove special case handling of "ro." properties"
am: 560fde999a

* commit '560fde999ad87379e8adfbe36958a33db4eb1c81':
  Remove special case handling of "ro." properties
2016-01-12 20:54:38 +00:00
Jim Kaye 206fb06c2c Emulator: Have the Settings page say "About emulated device"
The Settings page for a real device says "About phone" or
"About tablet". This text is selected at build time, so the
Emulator cannot get the Sytem to choose correctly at launch time.

Our solution is to say "About emulated device" for all types
of virtual devices.

Change-Id: Ia52c20b794f76230f5b73694fb193c18b173c329
2016-01-11 23:41:34 +00:00
Tom Cherry 69035cd4aa Remove special case handling of "ro." properties
Currently, properties that begin with "ro." are special cased to skip
over the "ro." part of the prefix before matching with entries in
property_contexts.  A change to init is removing this special case and
therefore, the "ro." prefixes must be explicitly added to
property_contexts.

Bug 26425619

Change-Id: I735eb9fc208eeec284cda8d778db946eeec24192
2016-01-11 13:16:45 -08:00
Narayan Kamath 0abf9152fc Merge "Remove libsqlite_jni from all product configs." am: 4203ee20f1
am: 3eb6d15e6f

* commit '3eb6d15e6f207391f574fa0259e51e3deb391248':
  Remove libsqlite_jni from all product configs.
2016-01-11 11:45:56 +00:00
Narayan Kamath 3eb6d15e6f Merge "Remove libsqlite_jni from all product configs."
am: 4203ee20f1

* commit '4203ee20f13b1dd3ec9100f5045c19541f70da33':
  Remove libsqlite_jni from all product configs.
2016-01-11 11:43:46 +00:00
Narayan Kamath 58408f645a Remove libsqlite_jni from all product configs.
It's only used by libcore tests so there's no need to ship it on
all products.

bug: 26457850
Change-Id: I907f781d215e94e1cbf554d81fda9e6eed07a4de
2016-01-08 11:02:36 +00:00
Josh Gao 59bee9b831 Merge "Kill BOARD_MALLOC_ALIGNMENT." am: 1ad7edd5e4
am: 5774bafd18

* commit '5774bafd181933ca8b5687286fe8734e4f82eda9':
  Kill BOARD_MALLOC_ALIGNMENT.
2016-01-06 22:56:02 +00:00
Josh Gao 5774bafd18 Merge "Kill BOARD_MALLOC_ALIGNMENT."
am: 1ad7edd5e4

* commit '1ad7edd5e46793bee4450a7d6deadc39538dbf54':
  Kill BOARD_MALLOC_ALIGNMENT.
2016-01-06 22:54:05 +00:00
Josh Gao b1171e4a31 Kill BOARD_MALLOC_ALIGNMENT.
Bug: http://b/26403338
Change-Id: I55d2c417d972f78caddc5fb28a065807feb86b0a
2016-01-06 14:15:46 -08:00
Chien-Yu Chen e677b1af96 Add cameraserver process
Bug: 24511454
Change-Id: Ieac05311b3e5deb10c4b255d22ba699dc3cb6a4e
2016-01-05 15:06:52 -08:00
Narayan Kamath 45ae4eb8a2 Merge changes from topic \'aosp-merge-24-12\'
am: 8b9589216d

* commit '8b9589216dd8c2a644dab9623952b5fd8a32e550':
  Temporary workaround to build bouncycastle / nist-pkits
  Build: Build changes for multi oat/image support.
  Allow modules to override the default NOTICE file.
  Track introduction of libopenjdkjvm.
  Allow for 5200 words in dump-words-to-file
  Update the package whitelist for the boot image.
  Use core-oj alongside core-libart wherever required.
2015-12-24 12:04:50 +00:00
Narayan Kamath fa257cc709 Track introduction of libopenjdkjvm.
(cherry picked from commit 2eb52037e8)

Change-Id: Ib8683d7e628ae4b09f359ecedc93f77199205cef
2015-12-24 10:10:55 +00:00
Piotr Jastrzebski 052a00f64e Use core-oj alongside core-libart wherever required.
With some core classes moved to separate core-oj jar
we need to use the new jar.

(cherry picked from commit 89b94c827f)

Change-Id: I025c0adc70535bf23def3ab0ce28a1bfaef72514
2015-12-24 10:10:55 +00:00
Jack Yu ac978e48eb Merge "Included CellBroadcastReceiver app to the image." 2015-12-22 23:49:03 +00:00
Jack Yu 17aa86c69e Included CellBroadcastReceiver app to the image.
Included CellBroadcastReceiver app to the image.

bug: 26290349
Change-Id: Icb39909ac2c9f751ad95a28f411b84a0d787ac0d
2015-12-21 11:16:48 -08:00
Narayan Kamath 2eb52037e8 Track introduction of libopenjdkjvm.
Change-Id: Ibb0e64b81cb033764a865be1f05be5f3334feaa5
2015-12-18 12:34:45 +00:00
Christopher Ferris ccaeb65d8e Add libc_malloc_debug to the always build list.
Change-Id: I26e553478b5ef4017aea1e06530931d4b18e308b
2015-12-17 15:15:32 -08:00
Nick Kralevich bcdc1070d4 Merge "sepolicy: Fix \'avc denied\' issues for the emulators" am: 154657f0e3
am: abfd39ae3a

* commit 'abfd39ae3ae34bc4208f23aa040a406c1d7358be':
  sepolicy: Fix 'avc denied' issues for the emulators
2015-12-13 13:16:09 -08:00
Nick Kralevich abfd39ae3a Merge "sepolicy: Fix \'avc denied\' issues for the emulators"
am: 154657f0e3

* commit '154657f0e371a3ff180e8b0936aeaa3d2da9a57c':
  sepolicy: Fix 'avc denied' issues for the emulators
2015-12-11 17:14:51 -08:00
Andy Hung 04aa83cfb4 Merge "Add audioserver executable to base config" 2015-12-11 20:08:51 +00:00
Mike Frysinger c15373f60e Merge "sepolicy: drop -- marker" am: 50f21eb113
am: 86f12e6dcb

* commit '86f12e6dcb5b321f4346f9442cb390ba032454c8':
  sepolicy: drop -- marker
2015-12-11 09:00:23 -08:00
Miroslav Tisma 36a76ec098 sepolicy: Fix 'avc denied' issues for the emulators
This commit fixes the avc denied issues in the emulators:
- goldfish_setup is granted for network access
- netd dontaudit for sys_module
- qemu_prop is granted domain for get_prop

Critical issue was that SELinux denied reading the lcd_density property
by SurfaceFlinger via qemu_prop and this commit fixes it.

Change-Id: I633d96f4d2ee6659f18482a53e21f816abde2a5f
Signed-off-by: Miroslav Tisma <miroslav.tisma@imgtec.com>
2015-12-11 16:21:00 +01:00
Mike Frysinger 86f12e6dcb Merge "sepolicy: drop -- marker"
am: 50f21eb113

* commit '50f21eb113e533d46d9ccd112cc211070009cabc':
  sepolicy: drop -- marker
2015-12-10 10:36:15 -08:00
Mike Frysinger db4883ca93 sepolicy: drop -- marker
It's not needed and is a bit confusing.

BUG=26018537

Change-Id: Ibb1c3995de97a442c95d5eea823523b5f0f26393
2015-12-10 18:18:27 +00:00
Andy Huang 6019adf259 remove Exchange2 from core.mk
Change-Id: I962d706d19eef5bbde3abed516d0a674ba50c1c1
2015-12-09 12:21:49 -08:00
Dimitry Ivanov 4a1db8a2a1 Merge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220 am: 973decf35c
am: fb70c580b1

* commit 'fb70c580b1497a31ff345b36f032241fa55415b2':
  Include libGLESv3.so to PRODUCT_PACKAGES
2015-12-08 03:04:34 +00:00
Dimitry Ivanov fb70c580b1 Merge "Include libGLESv3.so to PRODUCT_PACKAGES" am: 73661d4220
am: 973decf35c

* commit '973decf35c2592d6ab9ab5ad9e94e36cd61e0c16':
  Include libGLESv3.so to PRODUCT_PACKAGES
2015-12-08 03:01:12 +00:00
Dimitry Ivanov 73661d4220 Merge "Include libGLESv3.so to PRODUCT_PACKAGES" 2015-12-07 19:00:58 +00:00
Chien-Yu Chen 3ee276a009 Merge "Copy video stop sound" 2015-11-30 21:47:55 +00:00
Vince Harron 7bb7263600 Shorten TARGET_BRAND from generic_<arch> to Android am: 5806531f92 am: e13b13c7f6 am: aba12deedb
am: 6fe5ec0db2

* commit '6fe5ec0db2ba95d793361399d037d89a684cffb6':
  Shorten TARGET_BRAND from generic_<arch> to Android
2015-11-24 23:01:15 +00:00
Vince Harron 6fe5ec0db2 Shorten TARGET_BRAND from generic_<arch> to Android am: 5806531f92 am: e13b13c7f6
am: aba12deedb

* commit 'aba12deedb9cdcf8ef01952de1cc51057d8d2bf7':
  Shorten TARGET_BRAND from generic_<arch> to Android
2015-11-24 22:57:53 +00:00
Chih-hung Hsieh f43f558129 Merge "Move mips64 target to clang by default." am: b0d9108795 am: 54ac6cd527
am: c5a9f9cbcc

* commit 'c5a9f9cbcc8cbec4a85f0eb25d225f371546833e':
  Move mips64 target to clang by default.
2015-11-24 21:25:44 +00:00
Chih-hung Hsieh fc3277806a Merge "Move mips target to clang by default." am: 80d6b0a9c6 am: 917f4aea1d
am: 7906e14344

* commit '7906e143446ff636b92ba3ee4abc2db1a46f6dee':
  Move mips target to clang by default.
2015-11-24 21:25:37 +00:00
Chih-hung Hsieh b0d9108795 Merge "Move mips64 target to clang by default." 2015-11-24 21:13:38 +00:00
Chih-hung Hsieh 80d6b0a9c6 Merge "Move mips target to clang by default." 2015-11-24 21:13:17 +00:00
Vince Harron 5806531f92 Shorten TARGET_BRAND from generic_<arch> to Android
Switching to userdebug emulator images increased ro.build.fingerprint
Past the 91 character limit.  This should bring the build server
builds under this limit.

Fixing it for local builds will be a bit more difficult.

Bug: 25829506

Change-Id: I7daee3478716adcb860cced1b770a2d00a72f1a2
(cherry picked from commit efbeab78d3581009b3da20991a3a83d733393f45)
2015-11-24 18:51:59 +00:00
Konstantinos Menychtas 94a47cd03a Increasing sysimage partition size for all boards
This change fixes issue b/25613506

The predefined, fixed system image partition size is failing
to fit content for NYC release MIPS64 images. This change
increases the system image size for all boards to 1.5GB
(up from 1.25GB) to make sure that the system image sizes are
uniform across all virtual boards, and fit new content.

Change-Id: Id9808ad5318cd2390fc666ac35b0f9cd32870993
2015-11-22 17:17:23 -08:00
Chien-Yu Chen 05f47b74f3 Copy video stop sound
Bug: 25652382
Change-Id: I72b922a0b3308270a4211700bda7321e1f215c47
2015-11-20 14:00:57 -08:00
Chih-Hung Hsieh 4dcd769f2c Move mips64 target to clang by default.
Bug: 23163853
Change-Id: Ia3d449f908b09ce95b3de246c8c699d171dcbaa3
2015-11-20 13:35:44 -08:00
Chih-Hung Hsieh 990407e0a5 Move mips target to clang by default.
Bug: 23163853
Change-Id: I408ffd90ff2ff075e03962fffd1681fccf0319d3
2015-11-20 13:32:22 -08:00
Piotr Jastrzebski 89b94c827f Use core-oj alongside core-libart wherever required.
With some core classes moved to separate core-oj jar
we need to use the new jar.

Change-Id: Ie069c7a93e63b1df854b3137d984b96520562609
2015-11-20 13:53:22 +00:00
Daichi Hirono 3b4f90cfab Merge "Include MtpDocumentsProvider in the system image." 2015-11-18 23:38:20 +00:00
Dmitriy Ivanov bb16dcf28e Include libGLESv3.so to PRODUCT_PACKAGES
Bug: http://b/25754041
Change-Id: If5f5030e7e1da037d873f0252dd8beb8ce6fd4db
2015-11-18 15:30:57 -08:00
Ying Wang 14a5e8670d Merge "Remove unnecessary inheritance layer between aliases." am: 2f05af74bc am: 10021ac19d
am: 1f5de04af7

* commit '1f5de04af7ac7e8b4250dd4fa4bf7c7d8f2f110b':
  Remove unnecessary inheritance layer between aliases.
2015-11-18 17:52:32 +00:00
Daichi Hirono 90bf437e7c Include MtpDocumentsProvider in the system image.
BUG=25731385

Change-Id: I9fa90a5c4a0bca3ab7d36968b1e3b40d60d55d31
2015-11-18 13:00:40 +09:00
Ying Wang cc2001fb44 Remove unnecessary inheritance layer between aliases.
The extra inheritance layer may cause multiple
PRODUCT_DEVICE/PRODUCT_BRAND values for a product if it doesn't
explicitly override them, eg. gms.
The full_* are deprecated product names. We keep them just for backward
compatibility, for some tools may still use the full_* product names.

Bug: 25611987
Change-Id: I7ecebd422754c3ceb16507b8d9ced65d533fe7c3
2015-11-16 17:21:42 -08:00
Nicolas Geoffray 3b6db9c4c5 Merge "Make jit the default for all builds." 2015-11-11 08:47:36 +00:00
Griff Hazen 83c07e93c9 Merge "Let qemu_props service set system properties in ro.emu and ro.emulator" am: 0b4529239f am: 2e4314481e
am: 9707c5d724

* commit '9707c5d724d3b6db9cc54156ea099399c1b80f9d':
  Let qemu_props service set system properties in ro.emu and ro.emulator
2015-11-08 01:06:15 +00:00
Griff Hazen 0517540e8d Let qemu_props service set system properties in ro.emu and ro.emulator
These boot properties are used by android wear emulator to configure
round and chin shaped devices.

Bug: 23324757
Change-Id: I812da02d771bba0ffc63b14459c7de7cbdeed142
2015-11-07 16:53:59 -08:00
Griff Hazen 20ed978ada Let qemu_props service set system properties in ro.emu and ro.emulator
These boot properties are used by android wear emulator to configure
round and chin shaped devices.

Bug: 23324757
Change-Id: I812da02d771bba0ffc63b14459c7de7cbdeed142
2015-11-07 16:44:54 -08:00
Nicolas Geoffray 56a84e1b6c Make jit the default for all builds.
Change-Id: Ifa4280cdab0747cae8d3e2becec47b230846def6
2015-11-05 18:02:13 +00:00
Jeffrey Vander Stoep 4e5955ea7c Merge "selinux: Grant all processes the domain_deprecated attribute" am: b18da85cb6 am: 6e32d6b0a0
am: 10b3d6cfcb

* commit '10b3d6cfcb357442eefc404c1c83580304f0033a':
  selinux: Grant all processes the domain_deprecated attribute
2015-11-04 19:06:04 +00:00
Jeff Vander Stoep 7890fc4d2e selinux: Grant all processes the domain_deprecated attribute
Bug: 25433265
Change-Id: Iafad5abd6e75c5a46f844ef3e744adf1c904b362
2015-11-04 08:49:07 -08:00
Andy Hung afcf77f54b Add audioserver executable to base config
Bug: 24511453
Change-Id: Ic6575fc8f5a4ab1a75854dc488021d7d06fa1e97
2015-10-30 13:11:30 -07:00
Marco Nelissen 6c5754a93f Merge "Add extractorservice executable to base config" 2015-10-28 17:30:40 +00:00
Chih-hung Hsieh d1e932e91e Merge "Move arm64 target to clang by default." am: befb82f204 am: b7ad8778cd
am: 72d90d25d0

* commit '72d90d25d028f62b584cfdaa3c2c7fba68ed74d4':
  Move arm64 target to clang by default.
2015-10-28 01:46:34 +00:00
Chih-Hung Hsieh 07be5025d9 resolve merge conflicts of b5775d97b4 to master.
Change-Id: I99fda2935ab74e0634c1aa4905ce4da693e96cb6
2015-10-27 16:48:38 -07:00
Chih-hung Hsieh b7ad8778cd Merge "Move arm64 target to clang by default."
am: befb82f204

* commit 'befb82f20429b469aaebf6c8e7d0a2c4a0d414e3':
  Move arm64 target to clang by default.
2015-10-27 23:12:23 +00:00
Chih-hung Hsieh 639ab89a11 Merge "Move arm target to clang by default."
am: 873d394c54

* commit '873d394c543e2d0ac96736db77b88e41acb5bc36':
  Move arm target to clang by default.
2015-10-27 23:12:13 +00:00
Chih-hung Hsieh befb82f204 Merge "Move arm64 target to clang by default." 2015-10-27 23:02:26 +00:00
Chih-Hung Hsieh cf67f13792 Move arm64 target to clang by default.
Bug: 23163853
Change-Id: I59c311f552ca060bc7bd034fa4f1c03eb24802d5
2015-10-27 13:44:53 -07:00
Chih-Hung Hsieh 557fa2f3cd Move arm target to clang by default.
Bug: 23163853
Change-Id: I4cb95ed652ca697461e2fb22811779aa2df8d262
2015-10-27 13:42:34 -07:00
Marco Nelissen 469a926e7f Add extractorservice executable to base config
Change-Id: I0ffbe183decfd76be681e08b8627c3d789c4b916
2015-10-27 10:28:00 -07:00
Chih-hung Hsieh a7404f6f9a Merge "Move x86_64 target to clang by default." am: 373a1e36a9 am: bbe8225aca
am: 8d28df5804

* commit '8d28df58045b6100a70dc605fa0878181cafbfcd':
  Move x86_64 target to clang by default.
2015-10-23 00:36:09 +00:00
Chih-hung Hsieh bbe8225aca Merge "Move x86_64 target to clang by default."
am: 373a1e36a9

* commit '373a1e36a99c7af15a00723c7561db3906281ab5':
  Move x86_64 target to clang by default.
2015-10-23 00:30:05 +00:00
Chih-hung Hsieh 373a1e36a9 Merge "Move x86_64 target to clang by default." 2015-10-23 00:26:20 +00:00
Chih-Hung Hsieh b9774f34e1 Move x86_64 target to clang by default.
Bug: 23163853
Change-Id: I0587ec75c0000ac99562233de33147ec8e120e65
2015-10-22 16:29:59 -07:00
Nick Kralevich d51e641dfe Merge "allow qemu_props to set opengles.version" am: c5a33b0570 am: c6c5b1a969
am: 58ddb6d8e8

* commit '58ddb6d8e8e66e94594a26bbed9679a2bef2a6db':
  allow qemu_props to set opengles.version
2015-10-21 18:29:12 +00:00
Nick Kralevich c6c5b1a969 Merge "allow qemu_props to set opengles.version"
am: c5a33b0570

* commit 'c5a33b057071a0c2ea0374bbb28ba02ba2495aba':
  allow qemu_props to set opengles.version
2015-10-21 18:19:49 +00:00
Nick Kralevich ce1062629f allow qemu_props to set opengles.version
Addresses the following denial:

  init: avc:  denied  { set } for property=opengles.version scontext=u:r:qemu_props:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service

Bug: 25148690
Change-Id: I4b197eeabfe37e794104e4e686e9e388b5bc3e0c
2015-10-21 10:55:21 -07:00
Chih-hung Hsieh 8acf4e7ba9 Merge "Move x86 target to clang by default." am: a993bfff36 am: ebfadd8990
am: 9b2e93946e

* commit '9b2e93946e20021f75802805d57e3fa56287ee35':
  Move x86 target to clang by default.
2015-10-20 23:58:58 +00:00
Chih-hung Hsieh ebfadd8990 Merge "Move x86 target to clang by default."
am: a993bfff36

* commit 'a993bfff361b22902387fc66d734abe385ca3338':
  Move x86 target to clang by default.
2015-10-20 20:12:12 +00:00
Chih-Hung Hsieh f0ba2e9da6 Move x86 target to clang by default.
Bug: 23163853
Change-Id: Ib5e9beddbeca8968d6e4365abeb44ae97cbe9981
2015-10-20 12:16:57 -07:00