Commit Graph

2179 Commits

Author SHA1 Message Date
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 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
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 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 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
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