Commit Graph

2330 Commits

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