Commit Graph

2722 Commits

Author SHA1 Message Date
Alex Klyubin 8fe478de64 Merge "Include secilc and sepolicy conditionally, elsewhere"
am: 3e78704825

Change-Id: I00b1084eca64b0c42ea4f814f75a9e1f53a87879
2017-03-03 03:55:46 +00:00
Treehugger Robot 3e78704825 Merge "Include secilc and sepolicy conditionally, elsewhere" 2017-03-03 03:50:48 +00:00
Calin Juravle a5ab384e1c Merge "Enable secondary dex compilation in the background dexopt job"
am: 34200a1ad1

Change-Id: I6414d7e0a2a2bc783e85094f9cb11fe0290ac0e4
2017-03-02 23:58:24 +00:00
Calin Juravle 34200a1ad1 Merge "Enable secondary dex compilation in the background dexopt job" 2017-03-02 23:54:24 +00:00
Calin Juravle 148d23106b Enable secondary dex compilation in the background dexopt job
Test: adb shell cmd package bg-dexopt-job
Bug: 32871170

(cherry picked from commit dc308c1b1d)

Change-Id: I21664d5e11dada868dab502498b7c5e598852289

Merged-In: I473e291a26335bd766c8845d2ea28c4f1e45db53
2017-03-02 13:04:17 -08:00
Alex Klyubin 8e87853a04 Include secilc and sepolicy conditionally, elsewhere
This removes the unconditional inclusion of secilc and sepolicy.
These artefacts are now conditionally included by system/core/init.
The reason for declaring the conditional inclusion there is because
the desired conditional inclusion based on PRODUCT_FULL_TREBLE cannot
be declared here because PRODUCT_FULL_TREBLE is not yet available when
this file is interpreted.

Test: Device boots, no additional SELinux denials. This test is
      performed on a device with PRODUCT_FULL_TREBLE set to true, and
      on a device with PRODUCT_FULL_TREBLE set to false.
Test: Device with PRODUCT_FULL_TREBLE set to true contains secilc and
      the three *.cil files, but does not contain the sepolicy file.
      Device with PRODUCT_FULL_TREBLE set to false contains sepolicy
      file but does not contain the secilc file or any *.cil files.
Bug: 31363362

Change-Id: Ia3f38948b71a054918f5f63c594ba62a033e1066
2017-03-02 12:58:38 -08:00
Yifan Hong 8c86bc72b4 Merge "sintf.xml => manifest.xml" am: aeec3bfde7 am: 28070816fb
am: 1b510a9705

Change-Id: I6fb3f8c4f44d4f3fe68a915b1a6f85fc7db5c107
2017-03-02 03:55:56 +00:00
Yifan Hong 28070816fb Merge "sintf.xml => manifest.xml"
am: aeec3bfde7

Change-Id: Ice2fd7685dc57f05b3911d5b74a922d2731c8669
2017-03-02 03:46:30 +00:00
Yifan Hong c3373a32e4 sintf.xml => manifest.xml
Bug: 35870239
Test: make -j64 and ensure manifest.xml is there.
Change-Id: I5eccc6dcdc04a3caadc3ccce1d8b58c12f5950ee
2017-03-01 18:09:28 -08:00
Philip P. Moltmann 46c821d577 Merge "Ship BuiltInPrintService in default repo" am: 779ba5e692 am: d73c40d73c
am: 7d91f81dfb

Change-Id: I7f88828e279abf0cdf154dbeefc4a48359646886
2017-03-01 19:35:53 +00:00
Philip P. Moltmann d73c40d73c Merge "Ship BuiltInPrintService in default repo"
am: 779ba5e692

Change-Id: Iee8e4c9a0b7ebd555c94865e8781fbd1a996e56c
2017-03-01 19:30:52 +00:00
Philip P. Moltmann 779ba5e692 Merge "Ship BuiltInPrintService in default repo" 2017-03-01 19:21:48 +00:00
Yifan Hong b5d70b3a77 Merge "Add system/manifest.xml on device" am: 569cb34dc0 am: 40517f3ea3
am: 65460a8fb9

Change-Id: I1943a06d7480363df5352d0fe88cdc6a69825153
2017-03-01 03:02:26 +00:00
Yifan Hong 40517f3ea3 Merge "Add system/manifest.xml on device"
am: 569cb34dc0

Change-Id: Id838f4f9f25694c6347c35ca6470ff781fa7db42
2017-03-01 02:57:58 +00:00
Treehugger Robot 569cb34dc0 Merge "Add system/manifest.xml on device" 2017-03-01 02:54:52 +00:00
Yifan Hong 7ebc342b86 Add system/manifest.xml on device
Similar to vendor/manifest.xml on device, this file lists
all HALs defined in the framework (and hence go
to the system image). IServiceManager / IMemory /
etc. getService should consult this file (via VINTF
object under /system/libvintf) to return the HAL in the correct
transport mode.

Bug: 34772739 Create system/manifest.xml
Bug: 35219444 Need interface + instance entry

Test: compiles and manually confirm that system/manifest.xml exist.
Change-Id: I5b3c79b068841e47062cbab6f72d70555801a21d
2017-02-28 16:13:42 -08:00
Alex Klyubin c3a1650f6c Merge "Make secilc available" am: bbdd0e8745 am: 22bcc5db9d
am: b5846d8453

Change-Id: Ib805383037565df6a403a1725da1b34d10d432ef
2017-02-27 23:27:48 +00:00
Alex Klyubin 22bcc5db9d Merge "Make secilc available"
am: bbdd0e8745

Change-Id: I6ce67f392ab6523f2ac96e4f32e37a93e9272095
2017-02-27 23:23:57 +00:00
Philip P. Moltmann fa064b30ef Ship BuiltInPrintService in default repo
Bug: 31992514
Test: Built
Change-Id: I074a14ea9141866dffe9dfa128f18927230314c7
2017-02-27 14:55:35 -08:00
Alex Klyubin 46dd574918 Make secilc available
The SELinux policy compiler needs to be available on-device to compile
SELinux policy at boot on some devices. For now, we're including this
unconditionally, but, going forward, we will include this binary only
on devices which need it.

Test: Device boots -- secilc is not yet used anyway
Bug: 31363362
Change-Id: I7712b70d7c5b4c57bec2cdb44519b42d26758d09
2017-02-27 13:28:42 -08:00
Colin Cross 9a02b183fd Merge "Revert "Replace hardware features conf file to be emulator specific""
am: 557ce055e7

Change-Id: I559d7aa1a6f6bf65da33327c9a900b08c78869e0
2017-02-21 23:31:31 +00:00
Colin Cross 557ce055e7 Merge "Revert "Replace hardware features conf file to be emulator specific"" 2017-02-21 23:25:07 +00:00
Colin Cross 0c59db87be Revert "Replace hardware features conf file to be emulator specific"
This reverts commit a118a21b00.

Change-Id: I2c4140667a2c00abad3c6337c680542070dd7caa
2017-02-18 13:36:18 -08:00
Colin Cross efa6ae84ca Revert "Replace hardware features conf file to be emulator specific"
This reverts commit a118a21b00.

Change-Id: I2c4140667a2c00abad3c6337c680542070dd7caa
2017-02-18 20:05:24 +00:00
Pulkit Bhuwalka 23575449a8 Merge "Replace hardware features conf file to be emulator specific" am: afd7f4f453 am: 7be6f4c9fd
am: 7072f50067

Change-Id: I471cae79973e6a0cb13d6c2b2c6eb5de1c23fd74
2017-02-18 06:21:23 +00:00
Steven Moreland dc7d29ed86 Merge "embedded.mk: allocator service"
am: 0aef0b59af

Change-Id: I1e76d88e7d79082006bc4671087987e7d0df2966
2017-02-18 01:52:57 +00:00
Treehugger Robot 0aef0b59af Merge "embedded.mk: allocator service" 2017-02-18 01:49:07 +00:00
Pulkit Bhuwalka 7be6f4c9fd Merge "Replace hardware features conf file to be emulator specific"
am: afd7f4f453

Change-Id: I52b0bc325e8fb8d72e40d947cd7e683ab415d10c
2017-02-17 23:28:19 +00:00
Pulkit Bhuwalka a118a21b00 Replace hardware features conf file to be emulator specific
full_base_telephoney.mk file gets used only for emulators which should
have bluetooth disabled. Using the default handheld_core_hardware.xml
file has bluetooth enabled. We should use the generic
handheld_core_hardware.xml file for emulators which has bluetooth
disabled.

Its presence causes problems upstream in SystemServer when
BluetoothService starts and requires an extra emulator config change
which should not be there.

Bug: 35361545
Test: Verified by launching Android Emulator. It works fine and does not
start bluetooth.

Change-Id: I484c3d5867f46853fb49f28422dd72ab362ed768
2017-02-17 13:46:01 -08:00
Steven Moreland f086747106 embedded.mk: allocator service
We are splitting android.hidl.memory into android.hidl.allocator and
android.hidl.memory to reflect the fact that we have two separate
interfaces which are served over different transports.

Bug: 35327976
Test: hidl_test, device boots with allocator

Merged-In: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
Change-Id: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
2017-02-17 20:47:16 +00:00
Steven Moreland 69249f1f53 embedded.mk: allocator service
We are splitting android.hidl.memory into android.hidl.allocator and
android.hidl.memory to reflect the fact that we have two separate
interfaces which are served over different transports.

Bug: 35327976
Test: hidl_test, device boots with allocator
Change-Id: I36b1554d20f89ecd60a836c04f788ac83e0a1f5c
2017-02-17 12:36:54 -08:00
Phil Burk 80f830969c Merge "libaaudio: changed name from liboboe" 2017-02-10 21:41:14 +00:00
Eugene Susla e7215aa2d2 Merge "Include CompanionDeviceManager in build/make/target/product/core.mk" 2017-02-10 20:29:28 +00:00
Phil Burk 85417bcd73 libaaudio: changed name from liboboe
Bug: 34749573
Test: CTS test_aaudio.cpp
Change-Id: Id4a817eaff1655aa0d213c4b678de166fa322ecd
Signed-off-by: Phil Burk <philburk@google.com>
2017-02-10 17:28:52 +00:00
Calin Juravle dc308c1b1d Enable secondary dex compilation in the background dexopt job
Test: adb shell cmd package bg-dexopt-job
Bug: 32871170
Change-Id: I473e291a26335bd766c8845d2ea28c4f1e45db53
2017-02-07 10:25:21 -08:00
Eugene Susla 2e83763928 Include CompanionDeviceManager in build/make/target/product/core.mk
Test: ensure there's no build error
Change-Id: I731543b8ac1fffcb191a2fc8a706b719df3c5b07
2017-02-06 16:11:30 -08:00
Jim Kaye 7cf8429738 Merge "[Emulator] Include the "Cell Broadcast Receiver" app" 2017-02-06 19:31:37 +00:00
bohu 225f804e30 Emulator: set correct rild library path for 64bit arch
BUG: 34861221
Test: build and run sdk_google_phone_x86_64 with emulator
and check radio logcat to make sure it does not complain
about the 32bit library system/lib/libreference-ril.so
being used. Also check the kernel message to make sure
rild is launched properly

Change-Id: I6cbd5abcf64bec9a504066a43fefc55fa698a864
2017-02-01 12:52:48 -08:00
Jiyong Park 6a220471eb Merge "configstore: add default implementation of configstore@1.0 HAL" 2017-02-01 04:23:12 +00:00
Sandeep Patil d79c65f085 SELinux: split property_contexts into platform and non-platform components. am: b0481560e4 am: e0ccdc0e42 am: ba742d7dde
am: fac4996610

Change-Id: I14d2d100c3b6e3970fd3852b5d9fd0a88895e151
2017-01-30 19:32:41 +00:00
Sandeep Patil ba742d7dde SELinux: split property_contexts into platform and non-platform components. am: b0481560e4
am: e0ccdc0e42

Change-Id: I1abe5be8c7c0d6db35a9039954be8f89aa660669
2017-01-30 19:25:14 +00:00
Eino-Ville Talvala 3665e64109 Emulator builds: Disable camera service Treble mode for now
Until all backwards-compatibility support is in place, the emulator
targets need to not use the Treble path.

Bug: 32991422
Bug: 32989965
Test: Built aosp_x86_64-eng and verified build.prop has the new key
Change-Id: I72487126b0ec7c7794bb3f57f4b1a649a2ec140b
2017-01-26 16:21:38 -08:00
Sandeep Patil b0481560e4 SELinux: split property_contexts into platform and non-platform components.
Bug: 33746484
Test: Successfully boot with original service and property contexts.
      Successfully boot with split serivce and property contexts.

Change-Id: I1932684f600dd34d5136e72ac053fae13f0c3eba
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-01-26 15:30:31 -08:00
Yifan Hong 74fb50800c Merge "Add lshal to embedded.mk." am: cbc8f16656 am: 1a375ded9a am: 1030be9543
am: 21a7e626f2

Change-Id: I930f8a5cccc341178e0d25c1c8599753bb7a4e47
2017-01-26 18:32:15 +00:00
Yifan Hong 1030be9543 Merge "Add lshal to embedded.mk." am: cbc8f16656
am: 1a375ded9a

Change-Id: Ie627b77505bfcd27ec2a08e847f58b5a13b2de7f
2017-01-26 18:25:44 +00:00
Yifan Hong 7dbae043ff Add lshal to embedded.mk.
Test: make -j64 and flash the device and
ensure that lshal is available on the device.

Bug: 34712252
Change-Id: If61047afb27f9da9f8825ce18e2dfc0b3dec10e2
2017-01-26 18:17:36 +00:00
Jim Kaye 680cee4af5 [Emulator] Include the "Cell Broadcast Receiver" app
The Cell Broadcast Receiver app deal with special notifications
such as AMBER Alerts.

Some CTS Verifier tests check the user's ability to configure this app.

BUG: 32504713
Test: Manual and CTS Verifier

(cherry picked from 194e96d944fd736a0db0d97426ca2686d7a59a35)

Change-Id: Ia18bd5c763330f7520c9f445e15d9c3b197d796f
2017-01-25 19:54:21 -08:00
TreeHugger Robot 4b9795bf38 Merge "Add keymaster hal implementation and service" 2017-01-26 00:39:25 +00:00
Joshua Duong 87da7c9b63 Merge "Add screenrecord to master (emulator)" 2017-01-25 22:12:28 +00:00
Joshua Lang bf0bd16cda Merge changes from topic 'yahan_incr_image_size'
* changes:
  Increase system image size for arm64 to 2.5G to fix buildbot
  Increase system image size for x64 to 2.5G
  Increase system image size to 2GB for the emulator
2017-01-25 21:53:58 +00:00
Joshua Lang 1e123c1ac0 Add keymaster hal implementation and service
Fixes emulator boot

Test: boot emulator
Change-Id: I28b2fb81a7f740406fc06512d5dee336bc64d1e0
2017-01-25 13:29:41 -08:00
Grigory Dzhavadyan b9a8e208b1 Add screenrecord to master (emulator)
Change-Id: Idda25f9bd0195f608efb20a0b16e277ba09a18bd
(cherry picked from commit c3de1a6cca058a67924f06be21bce092d502a846)
2017-01-25 18:04:24 +00:00
Ray Essick 90c7ca19e2 Merge "change mediaanalytics to mediametrics" 2017-01-25 01:01:09 +00:00
Calin Juravle c4af711004 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048 am: 79ff8975b6
am: e674f92620

Change-Id: I7a891430c883e7e6f4b79c7daacb8b9ce58929bb
2017-01-24 22:27:00 +00:00
Calin Juravle 79ff8975b6 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7
am: 9be4363048

Change-Id: I09bb657dfa3a3d5ca5a2410313ee061235f56c74
2017-01-24 22:21:28 +00:00
Calin Juravle eddf3adec7 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" 2017-01-24 22:14:11 +00:00
Yahan Zhou ad9bf7b3e6 Increase system image size for arm64 to 2.5G to fix buildbot
This CL increases system image size for arm64 to 2.5G to fit in the
packages.

Change-Id: I5ae52c5f64e7d54b70e36bb0bce68e8197365017
2017-01-24 12:33:11 -08:00
Yahan Zhou c363436272 Increase system image size for x64 to 2.5G
x64 uses more space than others.

Change-Id: I67674823960874164f6d40ad07c6e865eaacefc5
2017-01-24 12:33:10 -08:00
Yahan Zhou 93d1636508 Increase system image size to 2GB for the emulator
This is needed as GTS requires us to pre-install more google apps into
the system image.

Change-Id: Iaf72f745df97604c2d0bc3fbdca01730ca7be94d
2017-01-24 12:30:07 -08:00
Jiyong Park 1d6ab958ca configstore: add default implementation of configstore@1.0 HAL
This change adds default implementation of configstore@1.0 HAL to all
embedded devices.

Bug: 34314793
Test: build. make sure /system/bin/hw has file
android.hardware.configstore@1.0-service

Change-Id: I65f416560de9d65c57e6cfcb9a6fe26b0140d4a6
2017-01-24 12:50:53 +09:00
Ray Essick 32e3c4bc40 change mediaanalytics to mediametrics
mediaanalytics has been renamed to mediametrics; set up
so that we build the new component name instead of the old one.

Bug: 34615027
Test: clean build, proper binary generated
2017-01-23 12:04:17 -08:00
Hiroshi Yamauchi 34826908e6 Increase the generic_arm64 system image partition size to to 2G.
Bug: 34571380
Test: build sdk_google_phone_arm64.

Change-Id: I53c8980417bfac3651d71c13111a0c1dc0022d6c
2017-01-23 10:49:43 -08:00
Joshua Lang 7f729e0068 Merge changes from topic 'emu_audio_fixes'
* changes:
  Add audio HIDL *-impl and -service libraries to product packages
  Add default audio_submix module to sdk_base build
  Switch video codec config xml to goldfish version
  Adding goldfish_audio_legacy hal to emulator build
  Switch emulator sdk build audio_conf to goldfish
2017-01-20 21:34:00 +00:00
Joshua Lang 149363c026 Add audio HIDL *-impl and -service libraries to product packages
Test: check files on the device

BUG: 34470377
Change-Id: I397bb945b92caeff4255bfaca7deb2939a98ba59
2017-01-20 02:53:33 +00:00
Christopher Tate ad71d65dc0 Add framework sysconfig content to the build
Bug 30953212

Change-Id: I2f9f301a38c9d2e7214222f00a44f8ef23f36e6f
2017-01-19 15:22:53 -08:00
Joshua Lang 39e586071b Add default audio_submix module to sdk_base build
Bug:32612452
Test: Build emu and check file copied
Change-Id: Iadfa4bbf56feabf1080b7b4bc1959d7152bfd1b2
2017-01-19 12:47:36 -08:00
Joshua Lang c7fb1e1c18 Switch video codec config xml to goldfish version
Need to have custom configuration for goldfish video codecs.

Bug:31648354
Test: Build emu and check correct file copied
Change-Id: I30282bc3c4bdb0e88d98a76908bebb2939fd0d64
(cherry picked from commit 9d9cefd03e3f794d6a5aafb9ba2ec4c4d262c224)
2017-01-19 12:47:36 -08:00
Joshua Lang 207a88b183 Adding goldfish_audio_legacy hal to emulator build
Test: Build emu and check file copied
Change-Id: Ib089f58d067905dc21ec32bca341b1c67046152b
(cherry picked from commit 3d65ad3e1e13a8099a78b2814e5cc1ae8ef5ace6)
(cherry picked from commit a1675ce1ab1b58b0994a197ee2c6b81cc7bbf3dd)
2017-01-19 12:47:36 -08:00
Joshua Lang 56296dd5cf Switch emulator sdk build audio_conf to goldfish
Test: Build emu and check correct file copied
Change-Id: I553f8e5a024d51903e51c2ac9520d8d7b9f639af
(cherry picked from commit c1378c053cbc111f7ac20c6aa3c0881ef84b7cba)
2017-01-19 12:47:36 -08:00
Chris Tate 2b22ec459d Revert "Add framework sysconfig content to the build"
This reverts commit d68045446f.

Change-Id: I86b3c0fbe3eaec915f7dcf92623382d77d008734
2017-01-19 01:12:11 +00:00
TreeHugger Robot 4264d79e50 Merge "emulator: fingerprint: switch to using fingerprint HIDL interface" 2017-01-19 00:50:01 +00:00
Josh Gao 748cc8640a Merge "Add crash_dump and tombstoned products." am: 6651199eeb am: 7cf55a4581 am: 1df77bc0c7
am: 85d13bcb8e

Change-Id: Ifffa02acab8d00a6d400c78ef27e0583f36b80ea
2017-01-19 00:41:16 +00:00
Josh Gao 1df77bc0c7 Merge "Add crash_dump and tombstoned products." am: 6651199eeb
am: 7cf55a4581

Change-Id: Icf8f7ec6d0a9a74fdad5c7b49c88a5ef71dedd3c
2017-01-18 23:42:40 +00:00
Josh Gao 6651199eeb Merge "Add crash_dump and tombstoned products." 2017-01-18 23:04:09 +00:00
TreeHugger Robot 7d3fc02dfb Merge "Add framework sysconfig content to the build" 2017-01-18 22:32:13 +00:00
bohu 390e1720a7 emulator: fingerprint: switch to using fingerprint HIDL interface
BUG: 34387576
Change-Id: Ia203ee1540f5c7c80e17d7a17abd3ce126579551
2017-01-18 12:23:39 -08:00
Nimrod Gileadi 001a362523 Copy IDC for goldfish_rotary to /system/usr/idc am: 8570bcea52 am: edfdd39433
am: ab0fd43472

Change-Id: I860f993f1d82bb98ce921cc4749f93c098596bc7
2017-01-18 17:06:24 +00:00
Nimrod Gileadi ab0fd43472 Copy IDC for goldfish_rotary to /system/usr/idc am: 8570bcea52
am: edfdd39433

Change-Id: I140c793c21fa7ec9b9422c94558aa842e013bb22
2017-01-18 16:59:52 +00:00
Nimrod Gileadi a5b069e38b Copy IDC for goldfish_rotary to /system/usr/idc
am: 8570bcea52

Change-Id: If6276de7e9eb16b4b627bc3c76599937a5100198
2017-01-18 16:53:23 +00:00
Jorim Jaggi 82968395c1 Revert "SELinux: split property_contexts into platform and non-platform components." am: 8cbd925748
am: b909e2c1aa

Change-Id: I4549c025a473768a504a908acf388abc0266f616
2017-01-18 16:47:43 +00:00
Jorim Jaggi 8cbd925748 Revert "SELinux: split property_contexts into platform and non-platform components."
This reverts commit c5ffdd4bb4.

Change-Id: I4c5fa6c68cbf0124117153660a2fd363f72388b6
2017-01-18 15:37:30 +00:00
Jorim Jaggi 84fcd62cb4 Revert "SELinux: split property_contexts into platform and non-platform components."
This reverts commit c5ffdd4bb4.
2017-01-18 16:28:54 +01:00
Nimrod Gileadi 8570bcea52 Copy IDC for goldfish_rotary to /system/usr/idc
This IDC file won't be used by the emulator, unless there's an input
device called goldfish_rotary. That device is being added to the kernel
in http://r.android.com/321420.

Once that device is present, EventHub will look for a file named
goldfish_rotary.idc in the system/usr/idc directory to get the device
configuration.

Bug: 33292948
Change-Id: I384f29980d802280e626915844bddc49bc46110d
2017-01-18 11:02:02 +00:00
Sandeep Patil 3d425305ee SELinux: split property_contexts into platform and non-platform components. am: c5ffdd4bb4 am: a94ae916ce am: eec071a34a
am: 8a3f41af27

Change-Id: I7d859256d4e0b3fed0a58932d5ddc9498a69c1eb
2017-01-18 06:27:05 +00:00
Sandeep Patil eec071a34a SELinux: split property_contexts into platform and non-platform components. am: c5ffdd4bb4
am: a94ae916ce

Change-Id: I91f8f35dbf12f97ba81d7d45951323eccf298cf2
2017-01-18 06:16:59 +00:00
Sandeep Patil 1b8d3bc0e2 SELinux: split service_contexts into platform and non-platform components. am: e4ade08f63 am: 0068df10f6 am: 29c9cb811d
am: d091ce20b1

Change-Id: I3331c1b48a75374f675d8527255d3d28ed3251bd
2017-01-18 00:55:09 +00:00
Sandeep Patil 29c9cb811d SELinux: split service_contexts into platform and non-platform components. am: e4ade08f63
am: 0068df10f6

Change-Id: I0c049562c6afb08c2fc3bb033be874e483d68ddb
2017-01-18 00:46:05 +00:00
Sandeep Patil c5ffdd4bb4 SELinux: split property_contexts into platform and non-platform components.
Bug: 33746484
Test: Successfully boot with original service and property contexts.
      Successfully boot with split serivce and property contexts.

Change-Id: I1f218ca842407d30650b8987ded6679672171091
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-01-18 00:41:15 +00:00
Josh Gao e6b2ddaf69 Add crash_dump and tombstoned products.
Bug: http://b/30705528
Change-Id: I3f6c98f6f907f93e082db085a122557fc8488c83
2017-01-17 13:55:18 -08:00
Calin Juravle b6fe87137c Add dexoptanalyzer to art PRODUCT_PACKAGES
Test: build & boot
Bug: 32871170
Change-Id: Iae89984ef3df253c75f400e68f00b24fcc2b82d5
2017-01-17 12:46:34 -08:00
Sandeep Patil e4ade08f63 SELinux: split service_contexts into platform and non-platform components.
Bug: 33746484
Test: Successfully boot with original service and property contexts.
      Successfully boot with split serivce and property contexts.

Change-Id: I6fec8d9b3023de09d69198c9e72311a1f03fe844
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-01-17 04:39:00 +00:00
Lingfeng Yang 9f7ef7bed8 Allow /dev/goldfish_sync
am: bdceef4325

Change-Id: Iaa5b0fe304e3b65a4e58949d9c8fc7b3ce5f83ec
2017-01-17 00:45:28 +00:00
Chen Xu 77f8aa41e6 Merge "Include CarrierDefaultApp to the img" am: 5e6ce5f504 am: 10253bbea9 am: 189298d536
am: 6a38a9db03

Change-Id: I85de6fa97af1b7d0105276875d6c5a198df49258
2017-01-13 22:17:05 +00:00
Christopher Tate d68045446f Add framework sysconfig content to the build
Bug 30953212

Change-Id: Ib5e45b9f579bc7c5dcef2384422bc18b4d22fd82
2017-01-13 14:06:43 -08:00
fionaxu 94e974dece Include CarrierDefaultApp to the img
Bug: 30958215
Test: Manual test
Change-Id: I67e235028b73513954b7d5f4fe2623700d176e87
2017-01-13 11:49:58 -08:00
Lingfeng Yang bdceef4325 Allow /dev/goldfish_sync
Change-Id: I41883eafd2b261d000c41eaf3ba04af7e2b89349
(cherry picked from commit 5d6ae8a3d467dd23a2f09a96bc4fdbea2d0353a2)
2017-01-12 11:35:53 -08:00
Bjoern Johansson 8b7110b185 Switch Gallery to Gallery2 app for emulator images
Change gallery application from Gallery to Gallery2. Gallery does not
seem to have been changed in a long time and AOSP images for devices use
Gallery2 so emulator images should match that.

BUG: 29334386
Change-Id: I1054af38aa1c100cdb671688e2d7aaaf882753af
(cherry picked from commit ea9467cd003f51e83e497b6fbd1a4abd9705be29)
2017-01-12 17:13:02 +00:00
Weilun Du 0499d282a7 Merge "Allow /dev/goldfish_sync" 2017-01-10 19:32:23 +00:00
TreeHugger Robot e6b8475baf Merge "Storaged build file" 2017-01-09 21:55:49 +00:00
Steven Moreland 3ac4a22f77 Merge "embedded.mk: add android.hidl.memory@1.0-impl" am: 2ec742a956 am: ff2c0a1433 am: d1f4fc175e
am: 9db3e06696

Change-Id: Ie29c0bf8b763ea954653b7d33d78d82bc7bbfc3e
2017-01-09 21:16:44 +00:00
Dan Cashman 40aabca6f2 Split seapp_contexts into plat and nonplat components. am: 6f1ea7101f am: c6321e54b6 am: 1960e5f085
am: a4d44e3d4c

Change-Id: I4f078f5767c23a9459cb03f9ac12cb4631fe8ec0
2017-01-09 20:52:48 +00:00
Treehugger Robot 2ec742a956 Merge "embedded.mk: add android.hidl.memory@1.0-impl" 2017-01-09 20:51:16 +00:00
Dan Cashman c6321e54b6 Split seapp_contexts into plat and nonplat components.
am: 6f1ea7101f

Change-Id: If495c16b0259134492ba6f912a4d54c90fedc468
2017-01-09 20:37:46 +00:00
Treehugger Robot 082e8e07ac Merge "Split seapp_contexts into plat and nonplat components." 2017-01-09 20:30:22 +00:00
ynwang 226d674624 Storaged build file
Add storaged to embedded.mk to be built.

Bug: 30983988

Change-Id: I157bc09bfe188423681e1b70b4d39ae212b7567e
2017-01-09 11:36:17 -08:00
Steven Moreland 94946d0eb8 embedded.mk: add android.hidl.memory@1.0-impl
Bug: 34134179
Test: both 32 and 64 bit versions of this file are on the device after a
clean build.

Change-Id: I75ab12246c2c44e39b5e863dfec98dc72a36fbbe
2017-01-08 10:00:20 -08:00
Lingfeng Yang ee3bd46245 Merge "Allow goldfish-setup to take wake locks" am: 10f6bf093d am: 528a561d4e am: f0069a0c7f
am: f5bb5b739a

Change-Id: I46f1077c114e1e7f972dc1823277d66b01348424
2017-01-06 20:18:51 +00:00
Lingfeng Yang de0eaf2b7b Allow goldfish-setup to take wake locks
Change-Id: I6a5db8586168e47e974a82afd2e75fd858aa5750
2017-01-06 10:12:08 -08:00
dcashman 443f5e9e2f Merge "Build split file_contexts." am: 80e70ae04a am: dc9771e24c am: 9937a72425
am: a22bbc4bfb

Change-Id: I674242185e929ab3f381c1681414730cef4250f1
2017-01-06 17:41:12 +00:00
Dan Cashman 6f1ea7101f Split seapp_contexts into plat and nonplat components.
Bug: 33746381
Test: Device boots with no extra denials.
Change-Id: Ib403be429562f5e22ed4dd042fb04b0795b558db
2017-01-05 12:56:24 -08:00
dcashman b52f040bec Build split file_contexts.
Bug: 31363362
Test: Device uses new file_contexts files for labeling decisions.
Change-Id: I33c3297a2ec806f4b9f5dd25f3dd20c4b1001641
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-01-05 11:25:13 -08:00
Lingfeng Yang e1b174f11c Allow /dev/goldfish_sync
manual cherry pick of:
https://googleplex-android-review.git.corp.google.com/#/c/1024926/

Change-Id: I41883eafd2b261d000c41eaf3ba04af7e2b89349
(cherry picked from commit 10bbf13fe7a3c2bfa28a4f560bb6f85de4edf786)
2017-01-05 18:54:59 +00:00
Elliott Hughes 21c197238d Revert "Revert "Merge changes from topic 'fsconfig-2'"" am: 2d7c86dfea am: feb4f2e54a am: 8a2ed5159c
am: 3315b71ca8

Change-Id: I385eb63030834d9d684baee6157d1a5777d117b1
2016-12-27 21:23:25 +00:00
Elliott Hughes feb4f2e54a Revert "Revert "Merge changes from topic 'fsconfig-2'""
am: 2d7c86dfea

Change-Id: I825336a18f7d7525bb49dd65d24ddccbfef84ba5
2016-12-27 21:01:23 +00:00
Elliott Hughes 5f60b74297 Merge "Revert "Revert "Merge changes from topic 'fsconfig-2'""" 2016-12-27 20:51:07 +00:00
Steven Moreland 8bcc1ea56b Merge "embedded.mk: +android.hidl.memory@1.0-service" am: c1a11ec83f am: fbeb6b5f8f am: cfeaa71933
am: 553aa3d931

Change-Id: Ia39f4efa9ee10f218bed315e6939fed916368062
2016-12-22 21:46:14 +00:00
Steven Moreland 7676451252 embedded.mk: +android.hidl.memory@1.0-service
This is the service that provides shared memory for hidl/treble
processes.

Bug: 32185232
Test: builds
Change-Id: I79162a781daad7aa704f4ee071fef0bbdea59a18
2016-12-22 11:39:11 -08:00
Phil Burk c6ca2ef3f6 Merge "Oboe: add liboboe to build" 2016-12-22 18:54:17 +00:00
Phil Burk 304707614c Oboe: add liboboe to build
Bug: 30210002
Test: tests in frameworks/av/media/liboboe/tests

Change-Id: Idcc2edbfe665f57e1c4ec9a3b01efca5eb9f21a1
Signed-off-by: Phil Burk <philburk@google.com>
2016-12-21 17:20:56 -08:00
Mark Salyzyn 99fe879424 Merge "logpersist: introduce split to logcat and logpersist domains" am: 04f2cbd92a am: 76b36cfb98 am: 76e0e2a53e
am: f4f347cf06

Change-Id: Ib5776224c1a854c481756fb10f133aad2074fefd
2016-12-20 22:24:54 +00:00
Mark Salyzyn 239ef9d502 logpersist: introduce split to logcat and logpersist domains
logcat_exec transition to logpersist from init with perms

Test: compile
Bug: 30566487
Change-Id: I0cea55f71be011e921841ef9d3e1283f11606f36
2016-12-20 20:32:01 +00:00
Elliott Hughes 2d7c86dfea Revert "Revert "Merge changes from topic 'fsconfig-2'""
This reverts commit fad4b4b715.

Incorporating the following fixes:

1.

fsconfig: fix fs_config_* build for discovered headers

When android_file system_config.h is picked up from the device
directory, neither TARGET_FS_CONFIG_GEN or TARGET_ANDROID_FILESYSTEM_CONFIG_H
are specified. Thus, the build is not generating the required fs_config_files
and fs_config_dirs.

Test: Ensure that make fs_config_files works, and produces the same output as before
      Build the system image and mount it as a loop back and dump the file system
      capabilities with getcap. Verify that output to the supplied
      android_file system_config.h

From the loopback of the system.img mount, from CWD system/bin:
$ getcap *
cnss-daemon = cap_net_bind_service+ep
hostapd = cap_net_admin,cap_net_raw+ep
imsdatadaemon = cap_net_bind_service+ep
ims_rtp_daemon = cap_net_bind_service+ep
logd = cap_setgid,cap_audit_control,cap_syslog+ep
mm-qcamera-daemon = cap_sys_nice+ep
pm-service = cap_net_bind_service+ep
run-as = cap_setgid,cap_setuid+ep
surfaceflinger = cap_sys_nice+ep
webview_zygote32 = cap_setgid,cap_setuid,cap_setpcap+ep
webview_zygote64 = cap_setgid,cap_setuid,cap_setpcap+ep

Compared to the android_filesystem_config.h:
    { 00700, AID_CAMERA,    AID_SHELL,     (1ULL << CAP_SYS_NICE), "system/bin/mm-qcamera-daemon" },
    { 00755, AID_SYSTEM,    AID_SYSTEM,    (1ULL << CAP_NET_BIND_SERVICE), "system/bin/pm-service" },
    { 00755, AID_SYSTEM,    AID_SYSTEM,    (1ULL << CAP_NET_BIND_SERVICE), "system/bin/imsdatadaemon" },
    { 00755, AID_SYSTEM,    AID_RADIO,     (1ULL << CAP_NET_BIND_SERVICE), "system/bin/ims_rtp_daemon" },
    { 00755, AID_SYSTEM,    AID_SYSTEM,    (1ULL << CAP_NET_BIND_SERVICE), "system/bin/cnss-daemon"},

2.

fsconfig: fix error message for duplicate AID

Fixes:
    raise ValueError('Duplicate aid value "%u" for %s' % value,
TypeError: %u format: a number is required, not str

and

    raise ValueError('Duplicate aid value "%s" for %s' % value,
TypeError: not enough arguments for format string

3.

fsconfig: add test for duplicate ranges

Add a test for duplicate range detection.

4.

fsconfig: skip AID_APP, AID_USER and all ranges

Do not output AID_APP, AID_USER and ranges. A range
is defined as ending with AID_ and ending in _START or
_END.

5.

fsconfig: test for skip AID_APP, AID_USER and all ranges

Test against AIDs that caused the bionic tests to fail.

Change-Id: I95569a9ccc83bd3231f8a6f395532cc2de316bd2
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-12-18 10:55:35 -08:00
Daniel Cashman b4ed15b04e Merge "Revert "Add build dependencies for split sepolicy files."" am: cbdc0bd096 am: 5e8be7b822 am: 6549a83888
am: 9bff49c703

Change-Id: I47182fb8bb5f1947b02ec4c70d3f23a810eba5f5
2016-12-17 01:28:18 +00:00
Daniel Cashman df1e2102c6 Revert "Add build dependencies for split sepolicy files."
This reverts commit 086189145c.

Change-Id: Idfd210d1f16eefcedda6154b0361611f53c5158f
2016-12-17 00:53:52 +00:00
dcashman 5fce540af2 Merge "Add build dependencies for split sepolicy files." am: 298f9b5925 am: bc1832f381 am: ced437a479
am: 40a04b4709

Change-Id: I35fda032da32a3bbb593154a9ed0287bf54304ad
2016-12-17 00:43:33 +00:00
dcashman 086189145c Add build dependencies for split sepolicy files.
Add build targets for split sepolicy files so they'll appear in the root dir for
on-device compilation.  nonplat_sepolicy will eventually be removed as it should
be provided by a different partition.  Also replace sepolicy.recovery with the
appropriate split components.

Bug: 31363362
Test: Policy builds on-device and boots.
Change-Id: I017dabe6940c3cd20de6c00bb5253274d5a9269b
2016-12-16 14:01:29 -08:00
Joe LaPenna b28da1c57a Merge "Add default NetworkRecommendation to core.mk" am: 95f616b960 am: f4251ee777 am: e07d894eb5
am: 18e4facc29

Change-Id: I796abc76100fabc1264a229c130664815916bb5c
2016-12-16 20:59:52 +00:00
Joe LaPenna fa77432e6f Add default NetworkRecommendation to core.mk
This makes the apk avaiable on all devices and can be overridden on a
per-product basis using LOCAL_OVERRIDES_PACKAGES.

BUG: 33224286
Test: Verified with lunch aosp_bullhead-userdebug; make

Change-Id: Ib345193caa4431b6405294bd8759d93349335814
2016-12-16 10:48:47 -08:00
Joe Onorato 3d6f568ef3 Merge "Add incident (protobuf bugerport / known bad) files to base.mk product." 2016-12-16 18:19:49 +00:00
Jorim Jaggi 3456f2d7ce Add missing locksettings package
Change-Id: Icf50402a5adc8b007ee3c27dcf0e4ccc65c35425
Fixes: 33430858
Fixes: 33645392
2016-12-15 16:58:32 -08:00
dcashman a9b46ec4c3 Split mac_permissions.xml into plat and non-plat components. am: 15171f641e am: f976eae6f3 am: eb7c416fc2
am: f0907e844f

Change-Id: I8cec97e04f322911ecfc936b15d1e87d07d0fb9f
2016-12-15 20:54:57 +00:00
Joe Onorato b9aaca5380 Add incident (protobuf bugerport / known bad) files to base.mk product.
Test: make -j32
Change-Id: I3a1fd4bfa44af02a5a384e24a669f50c3310ef46
2016-12-15 11:22:06 -08:00
dcashman 15171f641e Split mac_permissions.xml into plat and non-plat components.
Bug: 31363362
Test: Bullhead and Sailfish both build and boot w/out new denials.
Change-Id: Id7e29ec09510741c4e925231401a6de81704fbf0
2016-12-15 10:04:25 -08:00
Elliott Hughes 633b7495c5 Revert "Merge changes from topic 'fsconfig-2'" am: fad4b4b715 am: e472384a4b am: 2ed4b63f7b
am: 90bf4657cc

Change-Id: I6df36bcb1cfbb814bfb7daa0cd64f1013c434935
2016-12-13 04:53:38 +00:00
Elliott Hughes fad4b4b715 Revert "Merge changes from topic 'fsconfig-2'"
This reverts commit 1b2de51881, reversing
changes made to 77ea32f378.
2016-12-12 17:28:44 -08:00
William Roberts af51373e7d fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement am: 7fe8b6d817 am: ee9af6edfb am: 0101f107c1
am: 718be50fc5

Change-Id: Ia5b7259ad39b5c68ceece65d2f8aa439b37e3957
2016-12-10 00:46:23 +00:00
William Roberts 02fc51dae2 fs_config: add group to build am: 2127b35526 am: bdbafb5c38 am: 596993abb5
am: 5fe1e4c5b0

Change-Id: I0df3cf1b96bd4445a556156c66fa4104988dc857
2016-12-10 00:46:16 +00:00
William Roberts 64e2dc363a fs_config: add passwd to build am: 6d5e0c5df2 am: 788899790d am: bdcec1e327
am: a99749f1d8

Change-Id: Ie92542f2d70122c4d46c09fd84de6278af133bb2
2016-12-10 00:46:03 +00:00
William Roberts ee9af6edfb fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
am: 7fe8b6d817

Change-Id: Ie209bc0f1696ffdc5f167d229fc9f5378f8feb24
2016-12-10 00:21:28 +00:00
William Roberts bdbafb5c38 fs_config: add group to build
am: 2127b35526

Change-Id: Icf5e4946bb6d53f2c8080a1327543ffb5a59531c
2016-12-10 00:21:23 +00:00
William Roberts 788899790d fs_config: add passwd to build
am: 6d5e0c5df2

Change-Id: Ie912558d2258b3996fc4a5864f2c72e9781a3e62
2016-12-10 00:21:12 +00:00
Elliott Hughes 1b2de51881 Merge changes from topic 'fsconfig-2'
* changes:
  fs_config: add unit tests
  fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
  fs_config: add group to build
  fs_config: introduce group generator
  fs_config: add passwd to build
  fs_config: introduce passwd generator
  fs_config: generate friendly in AID class
  fs_config: limit characters for AID_<name> sections
  fs_config: generate oem AID header file
  fs_config: android_id header generator
  fs_config: support parsing android_filesystem_config.h
  fs_config: modularize fs_config_generator
2016-12-10 00:13:05 +00:00
Ray Essick bc88eb67f7 Merge "add mediaanalytics service to build" 2016-12-03 00:49:31 +00:00
dcashman a74a1656e6 Merge "Sort SELinux package inclusion." am: 15e1b5e239 am: d1b032237a am: 59f8c3f59a
am: 00611df41b

Change-Id: I8da31f1e49eff18ed0c25f74d4266bcfc563ecfb
2016-12-02 22:48:22 +00:00
dcashman d1b032237a Merge "Sort SELinux package inclusion."
am: 15e1b5e239

Change-Id: I2411d85662baf7278d34955bd6eb7ae6938b1956
2016-12-02 22:36:28 +00:00
dcashman c316783843 Sort SELinux package inclusion.
This section will be modified as part of splitting these packages into platform
and non-platform components.  Sort them all to avoid conflicts.

Bug: 31363362
Test: Builds
Change-Id: I91fb4d4d7c0a6971a19047ef2eb2981770a122ff
2016-12-02 09:34:23 -08:00
Pirama Arumuga Nainar c83b37c772 Merge "Do not *directly* package libbcc.so" am: ec0d7cbc49 am: 0cc559f7d8 am: 564a624870
am: bf762321f5

Change-Id: I93ceec4a52dfd5c426f2d37ba49a12b4bfb4b789
2016-12-01 18:28:15 +00:00
Pirama Arumuga Nainar 0cc559f7d8 Merge "Do not *directly* package libbcc.so"
am: ec0d7cbc49

Change-Id: I15871b1ca4cb5fa5488721a5f6a21bfa2a72feab
2016-12-01 18:11:13 +00:00
Pirama Arumuga Nainar ec0d7cbc49 Merge "Do not *directly* package libbcc.so" 2016-12-01 17:58:47 +00:00
Ray Essick b8c5eb7402 add mediaanalytics service to build
Builds the new mediaanalytics service as part of basic
build (as opposed to product-specific builds).

Bug: 30267133
Test: clean build of system, see that new service is present
Change-Id: Ibf44d97974b200d93dcf4d0605e20655eda5b95e
2016-12-01 09:24:43 -08:00
Paul Duffin c039e0216f Merge "Replace core-junit with legacy-test" am: 32cc1f80e5 am: 74f8ee05de am: 29a72d0e22
am: ba57775354

Change-Id: If81ba7729c288b94a6fdaf7de9debba76b248ca6
2016-12-01 11:00:47 +00:00
Paul Duffin 74f8ee05de Merge "Replace core-junit with legacy-test"
am: 32cc1f80e5

Change-Id: Id425eff2aaafdf8ad63bc66ef2d28f71d32d6e8b
2016-12-01 10:42:16 +00:00
Andreas Gampe bddf67fa4d Revert "Build: Add sanitized app_process" am: 88d43677f5 am: d77b29fdb3 am: 1b7e73ad55
am: 7c974b2c8f

Change-Id: I67babd7b4249934c6891727f025e87f963efaca9
2016-12-01 03:13:35 +00:00
Andreas Gampe d24fb170a1 Revert "Build: Add asanwrapper in SANITIZE_LITE" am: 4938f3300a am: 92058120b2 am: 75aa99ba60
am: f1ebff97a2

Change-Id: I7f08bb5a5d56836042fac54d810a3bad1b760cec
2016-12-01 03:13:28 +00:00
Andreas Gampe d77b29fdb3 Revert "Build: Add sanitized app_process"
am: 88d43677f5

Change-Id: I358a67f5e89bf72e7bba9d97a16d34d9a3e79afb
2016-12-01 02:47:34 +00:00
Andreas Gampe 92058120b2 Revert "Build: Add asanwrapper in SANITIZE_LITE"
am: 4938f3300a

Change-Id: Ic3745664db0b89baaea8b98b79ead63a77e95440
2016-12-01 02:47:29 +00:00
Andreas Gampe 88d43677f5 Revert "Build: Add sanitized app_process"
This reverts commit a35d92e431.

The app_process__asan module is merged into app_process.

Bug: 33224213
Test: m
Change-Id: I5e3e836c67b5bd17cf967f1b2429e39c4e18557b
2016-11-30 16:40:13 -08:00
Andreas Gampe 4938f3300a Revert "Build: Add asanwrapper in SANITIZE_LITE"
This reverts commit eee31511f7.

Rewriting of app_process adds an automatic dependency.

Bug: 33224213
Test: m
Change-Id: Idd9509d116692954224f4d2ffd6c81b69e9a85a3
2016-11-30 16:39:40 -08:00
Andreas Gampe 98bfec1187 Build: Add asanwrapper in SANITIZE_LITE am: eee31511f7 am: 3c326183ca am: 18c9a0d841
am: bae6a8bc63

Change-Id: I3023fe54c86b13d12609f2517aa2abd214a614e3
2016-12-01 00:33:34 +00:00
Andreas Gampe d425b3ae29 Build: Add sanitized app_process am: a35d92e431 am: 2ceff14391 am: 77541fee1b
am: 95532682c5

Change-Id: I3e641ab40b394522abd50c50c612861ed6384eff
2016-12-01 00:33:28 +00:00
Andreas Gampe 3c326183ca Build: Add asanwrapper in SANITIZE_LITE
am: eee31511f7

Change-Id: I2fda3c98543296418b7c4741e8425f1ab35f7fb1
2016-12-01 00:06:26 +00:00
Andreas Gampe 2ceff14391 Build: Add sanitized app_process
am: a35d92e431

Change-Id: Idc10fa334820dab5de1a697092e4c14fb6023425
2016-12-01 00:06:20 +00:00
Pirama Arumuga Nainar f3121cd73f Do not *directly* package libbcc.so
Bug: http://b/28866258

Remove libbcc.so from the list of directly packaged modules.  64-bit
libbcc.so gets included as a dependency for the bcc executable (which is
a required package).  32-bit libbcc.so is no longer necessary on 64-bit
devices.

This change also removes 32-bit libLLVM.so from a 64-bit system image
(leading to a 13M reduction in Angler's system image on AOSP) and a
considerable reduction in build time.

Test: - Build all topics in this CL
      - RsTest (including the 32-bit ABI) and CTS tests pass on x86 and
        x86_64 emulators and Angler.

Change-Id: I10f07e322a615f37d6967b7c938635f544ddceff
2016-11-30 15:45:25 -08:00
Treehugger Robot de24e6198e Merge changes from topic 'app_process_sanitized_binaries'
* changes:
  Build: Add asanwrapper in SANITIZE_LITE
  Build: Add sanitized app_process
2016-11-30 21:00:56 +00:00
Andreas Gampe eee31511f7 Build: Add asanwrapper in SANITIZE_LITE
Add asanwrapper helper binary to PRODUCT_PACKAGES when building with
SANITIZE_LITE=true.

Bug: 33224213
Test: m SANITIZE_TARGET=address SANITIZE_LITE=true && ls $OUT/system/bin/asanwrapper
Change-Id: Ic4d8973b9e9ddfd9ef8663735bf5f70d8f9f70e1
2016-11-30 10:20:20 -08:00
Paul Duffin 6470f4fa99 Replace core-junit with legacy-test
m -j32 checkbuild cts droid
adb reboot bootloader
fastboot flashall -w
cts-tradefed run cts -m CtsLibcoreTestCases

Bug: 30188076
Test: As above
Change-Id: I2d49cb3c451cb265d026f9a700a61b3fc0d2ed82
2016-11-30 13:50:56 +00:00
Andreas Gampe a35d92e431 Build: Add sanitized app_process
Add sanitized app_process module to PRODUCT_PACKAGES when building
with SANITIZE_LITE=true

Bug: 33224213
Test: m SANITIZE_TARGET=address SANITIZE_LITE=true && ls $OUT/system/bin/asan
Change-Id: Ic67976f1b897b638d569ec6f42d5a8d59f8a9285
2016-11-29 19:22:01 -08:00
Andreas Gampe c54a03b944 Merge "Revert "Build: Bring back SDK dependencies"" am: 2bbeae7f8a am: f606cc1677 am: 724d458547
am: 8573639479

Change-Id: I57a2ee2251e998333e3dab191ec3f125f46ac4f8
2016-11-30 01:03:39 +00:00
Andreas Gampe f606cc1677 Merge "Revert "Build: Bring back SDK dependencies""
am: 2bbeae7f8a

Change-Id: I9560d6a8f9971db89c87499b2e177bd0bb921cff
2016-11-30 00:48:39 +00:00
William Roberts 7fe8b6d817 fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
When configuring fs_config_files or fs_config_dirs for file_system
capabilities, drop the requirement that OEMs must add the target
to PRODUCT_PACKAGES. This limits the configuration requirement
to only needing to set the new and preferred TARGET_FS_CONFIG_GEN
or the older TARGET_ANDROID_FILESYSTEM_CONFIG_H method.

Test: That only setting TARGET_FS_CONFIG_GEN results in passwd and
group in the build image.
Change-Id: I818854fa1b3e94edaff59a32bd7cf23cf9b504aa
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-11-29 16:21:17 -08:00
William Roberts 2127b35526 fs_config: add group to build
Setup PRODUCT_PACKAGES for the group file.

The group file is always included in the product
build but may be empty.

Test: That the group file is in the build.
Change-Id: I2ed1759fbe42a7e6833bb754b00cadaf949f128d
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-11-29 16:21:17 -08:00
William Roberts 6d5e0c5df2 fs_config: add passwd to build
Setup PRODUCT_PACKAGES for the passwd file.

The passwd file is always included in the product
build but may be empty.

Test: That the passwd file is in the build image.
Change-Id: Iedbb81b15d3b281ff4ad36d28adc2ba4523785f2
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-11-29 16:21:17 -08:00
Eric Laurent 758ef878dd remove legacy audio policy manager
Test: make angler-eng
Change-Id: I396741f90e17345a77d169f972cfb017ec4965a3
2016-11-28 17:58:33 -08:00
Andreas Gampe 5d9c6165d0 Revert "Build: Bring back SDK dependencies"
This reverts commit ff00c5d78f.

Test: m
2016-11-17 19:42:51 -08:00
Andreas Gampe 40dc461400 Merge "Build: Bring back SDK dependencies" am: eb06c77b80 am: 2a2442c6f2 am: 7cfb848e4e
am: ba7acc6eb2

Change-Id: I2b5f49120404bc48703e6f5c0e7285077ed2bd08
2016-11-18 03:04:59 +00:00
Andreas Gampe 2a2442c6f2 Merge "Build: Bring back SDK dependencies"
am: eb06c77b80

Change-Id: I0c15adcd387980b94c5544427d4f4fdad3f7ff31
2016-11-18 02:57:28 +00:00
Andreas Gampe ff00c5d78f Build: Bring back SDK dependencies
Temporarily re-add SDK dependencies to runtime_libart.mk.

Test: m sdk_repo
Change-Id: I5c2054d7be6ea1c5e6eadbcb3453cabfc64728d6
2016-11-17 18:21:36 -08:00
Andreas Gampe b225895a25 Merge "Build: Refactor and clean up runtime_libart" am: 020f5275d5 am: bd7d5aea2a am: 41e7b3d871
am: 554bf050a6

Change-Id: I8734cbdd1fb9149b94e05ec3b55f18cf266deec7
2016-11-18 01:38:52 +00:00
Andreas Gampe bd7d5aea2a Merge "Build: Refactor and clean up runtime_libart"
am: 020f5275d5

Change-Id: Ifff0829fe3b7e306527e3654ee3833a1935c1ac3
2016-11-18 01:32:20 +00:00
Andreas Gampe 71d3185464 Merge "Build: Add agent library to default packages" am: 709aaa5aea am: 349b67c6ba am: 6cb66e246c
am: 99ee16839b

Change-Id: Idfd52587dbafb4f846477e93e4376eb04f5ae0b1
2016-11-18 00:28:16 +00:00
Andreas Gampe 349b67c6ba Merge "Build: Add agent library to default packages"
am: 709aaa5aea

Change-Id: I61e55b948838d8845d04802e87d435ac8b9f9b3c
2016-11-17 23:42:38 +00:00
Andreas Gampe 9a3e5ac355 Build: Refactor and clean up runtime_libart
Split out dependencies and removes some transitives. In preparation
for moving the modules.

Test: m
Test: Device boots
Change-Id: I7cdccd178eef9a625607a74ba8496651591e4cb4
2016-11-17 14:37:11 -08:00
Andreas Gampe cd82dceb3c Build: Add agent library to default packages
Add libopenjdkjvmti to ART dependencies.

Bug: 31455788
Test: m && ls $OUT/system/lib/libopenjdkjvmti.so
Change-Id: Iccf35f04548d74df87ec05f2cb555c1db9d137c6
2016-11-17 13:05:13 -08:00
Fyodor Kupolov b2b0ef7c9d Include privapp-permissions-platform.xml
Test: manual
Bug: 31008485
Change-Id: Id53ccc2563e228b311e0e9af740f6699785351da
2016-11-16 10:48:52 -08:00
Robert Sesek 58babe86b9 Merge "Add webview_zygote target to core_minimal.mk PRODUCT_PACKAGES." am: 07b4a59843 am: cda21868aa am: 24f01c6d9d
am: 43596505af

Change-Id: I454269e9a4d97f7d1b6c8df6968c8bc88c4132e0
2016-11-15 19:51:22 +00:00
Robert Sesek cda21868aa Merge "Add webview_zygote target to core_minimal.mk PRODUCT_PACKAGES."
am: 07b4a59843

Change-Id: Ie5dc3d3d617203ea467ace4440ef0119cb75ad75
2016-11-15 19:30:51 +00:00
Robert Sesek dcb603f115 Add webview_zygote target to core_minimal.mk PRODUCT_PACKAGES.
Test: lunch aosp_angler-eng && m checkbuild

Bug: 21643067
Change-Id: I1e0b81055fb74d7238f245e11bf2409c776f2efd
2016-11-11 12:38:13 -05:00
Sandeep Patil da3cfe6c8e Merge "Add new 'charger' binary to default Android builds" 2016-11-08 23:45:15 +00:00
Sandeep Patil 9b0dc6a453 Add new 'charger' binary to default Android builds
Test: tested charger-only and recovery boot using new binary

Change-Id: I803a76747c29cf53f6012ea649fa044878423766
Signed-off-by: Sandeep Patil <sspatil@google.com>
2016-11-01 17:02:13 -07:00
Colin Cross 910986486c Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG" am: 47bfd3422f am: f22e056df6 am: 136afebf3e
am: 9de54f3812

Change-Id: Ic6b540548353f2c2b58d2b1bfbe38f0badebd428
2016-10-28 20:24:38 +00:00
Colin Cross f22e056df6 Merge "Move perfprofd installation to PRODUCT_PACKAGES_DEBUG"
am: 47bfd3422f

Change-Id: I427c8ae7893b0a927e410318738450c8358b1219
2016-10-28 20:10:07 +00:00
Colin Cross 1e28014c78 Move perfprofd installation to PRODUCT_PACKAGES_DEBUG
LOCAL_MODULE_TAGS is deprecated, use PRODUCT_PACKAGES_DEBUG instead.

Test: none
Change-Id: I670147f4fe38b02ccafe01b96d8078502404113c
2016-10-27 15:41:57 -07:00
Joe Onorato 002a6c769d Add bit helper utility
- Add it to the base build (the first one in the hierarchy that includes
  the activity manager).
- Add tab completion commands to envsetup.sh

Test: . build/envsetup.sh ; make
Change-Id: Id24acaa0f17f198bda329016ff17170ad93624ec
2016-10-20 16:41:37 -07:00
Richard Haines 227fa5d597 Merge "goldfish_setup: grant ifconfig priv_sock_ioctls" am: 4a0f550cc7 am: f80ed9f08e
am: d1cb2ac13a

Change-Id: Ic908915602bfdade8e3d5fadf0197f02839ea790
2016-10-20 18:03:58 +00:00
Richard Haines f80ed9f08e Merge "goldfish_setup: grant ifconfig priv_sock_ioctls"
am: 4a0f550cc7

Change-Id: Ie7cfadf3dd2b8e0687bcfcb8f14c5234854dc727
2016-10-20 17:47:57 +00:00
Treehugger Robot 4a0f550cc7 Merge "goldfish_setup: grant ifconfig priv_sock_ioctls" 2016-10-20 17:37:43 +00:00
Richard Haines 8a09cc2297 goldfish_setup: grant ifconfig priv_sock_ioctls
The goldfish_setup shell script needs the ability to set the interface
address via ifconfig. This requires SIOCSIFADDR plus other ioctl
permissions, therefore allow the set of priv_sock_ioctls permissions.

Addresses the following denial that stops internet access via browser:
avc: denied { ioctl } for pid=712 comm="ifconfig" path="socket:[1825]"
dev="sockfs" ino=1825 ioctlcmd=8916 scontext=u:r:goldfish_setup:s0
tcontext=u:r:goldfish_setup:s0 tclass=udp_socket permissive=0

Test: With update can access internet via browser.

Change-Id: I77a52c0b72bb0ebe9451f45c346a399c1f61672d
Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2016-10-20 16:46:22 +01:00
Dan Willemsen 8134339d26 Merge "For emulator builds preopt system apps even if doing eng build" am: 6dfd788fda am: cb3991d670
am: 178d8647e1

Change-Id: I3a0938d14708568f21cdc3eb7eeb6d741b24e570
2016-10-19 18:18:06 +00:00
Dan Willemsen cb3991d670 Merge "For emulator builds preopt system apps even if doing eng build"
am: 6dfd788fda

Change-Id: I5556244da69ca46583a63cfa83a321efa14b2381
2016-10-19 18:04:34 +00:00
Dan Willemsen 6dfd788fda Merge "For emulator builds preopt system apps even if doing eng build" 2016-10-19 17:56:49 +00:00
Jeff Sharkey 2b1776cd04 Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954 am: 7f5ac24eec
am: 3f391240d5

Change-Id: I2fc6a644e0dbc90ace58470b468be4e994531eeb
2016-10-12 01:41:23 +00:00
Jeff Sharkey 3f391240d5 Merge "PRODUCT_PACKAGES: add to tune2fs." am: 4337794acd am: a35fba1954
am: 7f5ac24eec

Change-Id: Ia038eb10af41c7403a04e9e5411700cd86079640
2016-10-12 01:35:52 +00:00
Jeff Sharkey 4337794acd Merge "PRODUCT_PACKAGES: add to tune2fs." 2016-10-12 01:16:33 +00:00
Nikola Veljkovic dcef8d3470 For emulator builds preopt system apps even if doing eng build
Following change disabled preopt for system apps when doing eng build:
    4df565786a

    Build: Only preopt boot images in eng builds

    As a middle way between full preopt/high performance/long builds,
    and no preopt/low performance/fast turnaround, preopt only the
    boot image in eng builds.

    I4a2692f3ce84823cd40c6b7d672fd73257739ef8

This works well for devices, but first boot on emulator takes 10+mins.
Bypass the change by forcing preopt inside the BoardConfig.

Change-Id: I58d100cd65d2a09b644a90d91261102aab31fcbb
2016-09-27 16:07:32 +00:00
Iliyan Malchev ae9164a7b1 Merge "build: add hwservicemanager to the core packages" am: 69bd0bf22a am: 3f044f007f am: a65c0d3481
am: 8293fb67b3

Change-Id: I07ab4f331fc0f0d80884c358a4e45f288b91da17
2016-09-27 00:22:27 +00:00
Iliyan Malchev 8293fb67b3 Merge "build: add hwservicemanager to the core packages" am: 69bd0bf22a am: 3f044f007f
am: a65c0d3481

Change-Id: If5968ce47c39b5fd55f30893550d581d4c04e414
2016-09-27 00:16:42 +00:00
Iliyan Malchev bd710ed45a build: add hwservicemanager to the core packages
b/31458381
b/31240290

Test: passing build and runtime tests

Change-Id: I294c70d93d23ada94ff1175f2d3babd5b836eeee
Signed-off-by: Iliyan Malchev <malchev@google.com>
2016-09-26 14:21:10 -07:00
bohu a0e05b44a4 Emulator: increase x86_64 system image size to 2G am: 67d789a9a5 am: d84d576e9b
am: e88bd41f07

Change-Id: Ifd88c4d556da3c49495293f9785c1e0ecd012f81
2016-09-15 00:47:15 +00:00
bohu e88bd41f07 Emulator: increase x86_64 system image size to 2G am: 67d789a9a5
am: d84d576e9b

Change-Id: I900de587d535267a4479b0e56db0aaf24278d9a8
2016-09-14 23:46:28 +00:00
bohu 67d789a9a5 Emulator: increase x86_64 system image size to 2G
Fix the build on nyc-mr1-emu-dev

Change-Id: Iae5160289c98d045096a9dae9d536df447ca18f7
2016-09-14 21:42:58 +00:00
Dan Stoza 8b0d255331 Remove DispSync default value/docs am: ae5e550f81 am: 92df306bd9
am: cddda45883

Change-Id: I3073c1f3b7d4de885519a9f0a9120069687a37d3
2016-09-12 18:03:38 +00:00
Dan Stoza cddda45883 Remove DispSync default value/docs am: ae5e550f81
am: 92df306bd9

Change-Id: I0b21afde084512b622f74983456491749aa7c5a7
2016-09-12 17:51:17 +00:00
Dan Stoza ae5e550f81 Remove DispSync default value/docs
Moves DispSync phase offset default values and documentation to
frameworks/native/services/surfaceflinger/Android.mk.

Bug: 30801895
Change-Id: I44a4355b2d112561b94ccfc6e9c3365885c205ad
2016-09-09 13:53:52 -07:00
Duane Sand 5e1558d542 Merge changes I65c3fa9a,Id1ea5e8b am: 126ea5a55c am: 7363b91cb1 am: c2793b97e9
am: ec26fd752e

Change-Id: Iaaa49605571302f8fccd597a23e0611204184667
2016-09-06 23:37:09 +00:00
Duane Sand ec26fd752e Merge changes I65c3fa9a,Id1ea5e8b am: 126ea5a55c am: 7363b91cb1
am: c2793b97e9

Change-Id: I79f3a7c39f23a0f24cdacce3034ed9571bcc7faf
2016-09-06 23:06:24 +00:00
Treehugger Robot 126ea5a55c Merge changes I65c3fa9a,Id1ea5e8b
* changes:
  Pair mips64r6 with mips32r2 on Aosp
  Allowing pairing mips64r6 with mips32r1 and r2
2016-09-06 22:38:40 +00:00
liminghao a4b899da0c PRODUCT_PACKAGES: add to tune2fs.
N/A

Change-Id: Ie3cb9953046adb3dd6320a84e7572c84d7e07565
Signed-off-by: liminghao <liminghao@xiaomi.com>
2016-08-17 11:06:16 +08:00
Duane Sand 9f525961ac Pair mips64r6 with mips32r2 on Aosp
On mips64r6 cpus, the preferred zero-emulation-overhead 32-bit arch
variant is mips32r6.  Mips32r1 and mips32r2 software runs but with
frequent op-emulation traps to the kernel.  Android NDK had support
for mips32r6 prebuilt binaries in release r10 but lacked STL binaries
in r11 and omits all mips32r6 prebuilts in r13.

To keep mips64 buildable using just aosp sources, switch to using the
slower mips32r2 variant as its 2nd cpu arch.  This applies only to the
aosp copy of Android.  Imgtec's redistribution of Android releases will
instead use mips32r6 as the 2nd cpu arch, using a privately-maintained
prebuilts/ndk that includes all needed mips32r6 libraries.

The standard 32-bit Mips build on aosp uses mips32r2 as its native ABI.
That also runs mips32r1 apps built by NDK and mips32r1 android STL
components built by NDK.  Similarly, the 2nd arch for mips64r6 will
use mips32r2 itself but runs fine with mips32r1 apps and components.

Change-Id: I65c3fa9a3e5427be12955b902e6ec965de85e608
2016-08-11 11:09:50 -07:00
Dan Sandler c1f1d59c71 Merge \\\"The easter egg is now its own APK.\\\" into nyc-dev am: 18ecea3986 am: 377d5bdb3f
am: c3e2c808de

Change-Id: I5510ccc04c4b3b1b334d8525bb5c0569d569b5ab
2016-06-26 23:07:28 +00:00
Ian Pedowitz c3e2c808de Merge \\"The easter egg is now its own APK.\\" into nyc-dev am: 18ecea3986
am: 377d5bdb3f

Change-Id: I11f7501dcf768397acc4cfc74eee58d27013b6a4
2016-06-26 23:03:00 +00:00
Dan Sandler 377d5bdb3f Merge \"The easter egg is now its own APK.\" into nyc-dev
am: 18ecea3986

Change-Id: I4712931d6e73ecb08dae76b77ad12585a914882b
2016-06-26 22:56:05 +00:00
Dan Sandler e4224c46cb Merge \"The easter egg is now its own APK.\" into nyc-dev
am: 18ecea3986

Change-Id: Ica7456ab7bf01dba0f294fce3720b0e19db02f38
2016-06-26 22:56:03 +00:00
Dan Sandler 26c4ef4c65 The easter egg is now its own APK.
It should be included wherever SystemUI is.

Bug: 27376882
Change-Id: Ibe2688c86e58bdfb8a5278c9c4939d7cdb524078
2016-06-26 18:07:59 +00:00
Roozbeh Pournader a51b0b6012 Merge \"Revert \"Add Serbian in Latin script to the full locale list\" [DO NOT MERGE]\" into nyc-mr1-dev
am: 9b6ce7bf0d

Change-Id: Ia696c61ce6e24e29627356cfe66819ac98dfafc2
2016-06-24 02:51:25 +00:00
Roozbeh Pournader 9b6ce7bf0d Merge "Revert "Add Serbian in Latin script to the full locale list" [DO NOT MERGE]" into nyc-mr1-dev 2016-06-23 21:52:35 +00:00
Roozbeh Pournader 34247cfda3 Revert "Add Serbian in Latin script to the full locale list" [DO NOT MERGE]
This reverts commit 4c6e1b62e0, since sr-Latn is no longer planned for MR1.

Bug: 29455508
Bug: 29601930
Change-Id: I47c240fa7456940ecb272f05e94f563b221c92c3
2016-06-23 20:03:44 +00:00
Daniel Nishi 3744f23c23 Merge \\"Add the StorageManager APK to the core build.\\" into nyc-mr1-dev am: 36ae59228c
am: 3893beb80f

Change-Id: Iee59dd73f3ee98fc52e87a2e4182f9a15d3c816a
2016-06-22 23:59:11 +00:00
Daniel Nishi 3893beb80f Merge \"Add the StorageManager APK to the core build.\" into nyc-mr1-dev
am: 36ae59228c

Change-Id: I09c099f3cbeee26b91a8de56b794c5e6cc581d9f
2016-06-22 23:56:23 +00:00
Daniel Nishi 36ae59228c Merge "Add the StorageManager APK to the core build." into nyc-mr1-dev 2016-06-22 23:50:07 +00:00
Roozbeh Pournader 6e2a9a898f Add Serbian in Latin script to the full locale list am: 4c6e1b62e0
am: c5a4be50d8

Change-Id: I920705b088fd24d08f335a2066550c1d1577f77b
2016-06-20 23:30:27 +00:00
Roozbeh Pournader c5a4be50d8 Add Serbian in Latin script to the full locale list
am: 4c6e1b62e0

Change-Id: Ib5c08536c454bafdbd31dc4eb50db3fe1d46def9
2016-06-20 23:25:24 +00:00
Roozbeh Pournader 4c6e1b62e0 Add Serbian in Latin script to the full locale list
Bug: 29455508
Change-Id: I3b6e889d42c41c653824cca15463466d5ccedb43
2016-06-17 21:28:41 -07:00
Daniel Nishi 936cc2a09c Add the StorageManager APK to the core build.
Bug: 28965462
Change-Id: Id2877a22f0b8e675cecc0430013a008993145d6e
2016-06-10 13:14:57 -07:00
Roozbeh Pournader 8e9eddba35 Remove last mention of EXTENDED_FONT_FOOTPRINT.
Setting EXTENDED_FONT_FOOTPRINT has been a no-op for a while, since
no one reads it anymore. Also do the same for naver-fonts, which had
also become a no-op.

Bug: 21785576
Change-Id: I3818adcbba11398024b82c2f22fe2d545b55418d
2016-06-09 17:51:16 -07:00
Nick Kralevich 03bfdea1a3 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

(cherrypicked from commit 501c88c029)

Bug: 28941573
Change-Id: I22d26e90f107c8d801229354a5e0513c37e6c31d
2016-06-09 09:52:39 -07:00
Vikas Marwaha 43ded3587e resolve merge conflicts of 07886f1 to nyc-dev-plus-aosp am: 98dce87fe1
am: 589ed96538

Change-Id: Ibe488f2cfd6570724dcdfdd69e2ee0396d7af631
2016-06-09 05:57:55 +00:00
Vikas Marwaha 98dce87fe1 resolve merge conflicts of 07886f1 to nyc-dev-plus-aosp
Change-Id: Iae0444b9e9e7b4db3bfd94f5712e22aa08a122b5
2016-06-09 05:46:40 +00:00
Vikas Marwaha 465fa9b38f Added make files for variable PRODUCT_SHIPPING_API_LEVEL.
Bug: 26381401

Change-Id: I8f2e630118cfa474564eb21911448bc813fcfec7
2016-06-07 15:08:27 -07:00
Narayan Kamath ca235f376e Merge "Add default values for pm.dexopt.core-app." into nyc-dev am: da147a7c20 am: 8b62c008f6
am: 753ead8dbe

* commit '753ead8dbedc4bb4e620e009be8c3608e995294c':
  Add default values for pm.dexopt.core-app.

Change-Id: I038cb8ebe14cc529eae8985926bce10f9045a5d0
2016-06-06 16:11:52 +00:00
Narayan Kamath 8b62c008f6 Merge "Add default values for pm.dexopt.core-app." into nyc-dev
am: da147a7c20

* commit 'da147a7c20bf73f9b3736f6c479f3a8f3f56ab9e':
  Add default values for pm.dexopt.core-app.

Change-Id: I566fc87539166998340617bbcc7336b5fcc691bc
2016-06-06 15:15:01 +00:00
Vikas Marwaha 404ccc83c4 Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the
new read only product property ro.product.first_api_level.

PRODUCT_SHIPPING_API_LEVEL declares which API level a device first
shipped with. We use this variable to set a read-only property that
can be used in CTS/GTS tests.

Change-Id: If54202075d3b92ed380655cde8b3fc50c5ba73b3
2016-06-03 23:02:27 +00:00
Narayan Kamath 41a3b1b413 Add default values for pm.dexopt.core-app.
bug: 28998083

Change-Id: Iec4415ad7e5122c1168024f6ccf39b5e342cc7fd
2016-06-02 16:35:03 +01:00
Bjoern Johansson b9403bf0ae Merge "Remove Dev Settings app from emulator images" into nyc-dev am: 4f2f58791f am: a521a01345
am: bbcd1931ae

* commit 'bbcd1931ae00d44b23d931b4daaaf50cc096d3e5':
  Remove Dev Settings app from emulator images

Change-Id: I72fdb7af955fe00c5d5d488eb3693b4ef9726048
2016-05-27 18:43:54 +00:00
Bjoern Johansson a521a01345 Merge "Remove Dev Settings app from emulator images" into nyc-dev
am: 4f2f58791f

* commit '4f2f58791f31a66a61865e6c6095a2113609577a':
  Remove Dev Settings app from emulator images

Change-Id: Ib7f40046ec64ba08055fec219107b782ebbc1340
2016-05-27 17:24:36 +00:00
Bjoern Johansson d7db5d514a Remove Dev Settings app from emulator images
The Dev Settings app currently just launches an intent that is received
by the regular Settings app. However, since N the Settings app only
receives the intent when developer mode is enabled. If it is not enabled
the Dev Settings app will crash. Since the Dev Settings app doesn't
really add much benefit this change removes it from the emulator system
images to prevent this issue. The user will have to access the developer
settings from the regular Settings app just like on a physical device.

BUG: 27549126

Change-Id: I8191f9003bb452ef76c4b236b965368b48be3d25
2016-05-25 18:31:25 -07:00
Nick Kralevich 580752d975 goldfish_setup: grant /system/bin/sh exec access am: 501c88c029 am: 477ff93b14
am: 80099408c9

* commit '80099408c9324cf604c64f3b09996462835eabe0':
  goldfish_setup: grant /system/bin/sh exec access

Change-Id: I951048ef17449dd5aa2674c3339a561c1040886d
2016-05-25 05:23:08 +00:00
Nick Kralevich 80099408c9 goldfish_setup: grant /system/bin/sh exec access am: 501c88c029
am: 477ff93b14

* commit '477ff93b14ff46bef46fe7ca5242329b14328d8e':
  goldfish_setup: grant /system/bin/sh exec access

Change-Id: I0e4222bb838715423225337745537432ac57f1a0
2016-05-25 05:20:24 +00:00
Nick Kralevich ce2e90308e goldfish_setup: grant /system/bin/sh exec access
am: 501c88c029

* commit '501c88c0290eb2308c110398f106411260863bb8':
  goldfish_setup: grant /system/bin/sh exec access

Change-Id: I9cf86d98f355342416a584ca74ac189f1873c6d7
2016-05-25 05:17:42 +00:00
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 de3371e60e Merge "Build: Only use compiled-classes file when available" into nyc-dev am: 57c3aea442 am: 5d558c5f13
am: 8666487b4a

* commit '8666487b4aed7062022835e00133e4038500d63a':
  Build: Only use compiled-classes file when available

Change-Id: I1d67876deb38c69bf320497b13d09ba801d6022c
2016-05-23 20:59:43 +00:00