Commit Graph

1973 Commits

Author SHA1 Message Date
followmsi 6f0437287b flo: use device manifest for flo only 2019-01-23 22:29:59 +01:00
followmsi e9d3739c75 sepolicy: Pie (bring up) 2019-01-20 01:22:07 +01:00
Daniel Jarai 809df7c611 flo/deb: Make the external camera provider ignore internal cameras * The external camera provider occupies our camera v4l2 nodes, potentially crashing the kernel driver and blocking the camera HAL. Unfortunately, there's no easy way to just disable it, so let's just tell it to ignore the internal video devices. 2019-01-19 22:43:22 +01:00
Emmett Tsai bec8cf46f8 media: drop QCOM avc encoder 2019-01-19 22:36:22 +01:00
followmsi 2449b3296e set androidboot.selinux=permissive 2019-01-19 22:32:25 +01:00
JP Abgrall 545362f462 Remove journaling from read-only FS to save space
The read-only partitions don't need journaling.

Bug: 18430740
Change-Id: I93303aae534f02c6ae412323c9ebb0c0b7b35290
2019-01-19 22:31:40 +01:00
Caio Schnepper 5050545ca2 Releasetools: resize system partition after flashing
We need an enlarged system partition to fit even minimal gapps.
Flash a stock sized partition and resize to the actual partition
size before restoring gapps.

Change-Id: Id6d0d89fab5249f8e6b7eae9c1dd365f0357afed
2019-01-19 22:31:27 +01:00
followmsi 96df871d9d flo: Add seclabel for BT 2019-01-19 22:29:34 +01:00
followmsi aa83eefe77 flo/deb: Allow additional gralloc 1.0 buffer usage bits 2019-01-19 22:27:56 +01:00
LuK1337 6ef171177c Overlay: SystemUI: Fix too big spacing between QS icons in landscape on sw600dp
Change-Id: I047453c169854636d9e179d4678b94c7724bb854
2019-01-19 22:27:03 +01:00
Lucas Dupin cfd880d3a8 flo: Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Ie3d1ea5a2cc480655592bf6e49b37f5ea07f3f58
2019-01-19 22:26:48 +01:00
followmsi 0d55626d8f flo: enable swipe up gesture's opt-in setting 2019-01-19 22:26:34 +01:00
Vladimir Oltean facc76b5ab flo: Align to pie-legacy-hw-fde semantics changes
Change-Id: Ib7a2ca067eea8ef7c952b5398bb032d8e854ff76
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
2019-01-06 20:37:25 +01:00
Nolen Johnson 967a88721b flo: Correct BCM HAL name
* Common solution at hardware/broadcom/nfc doesn't define
  the module using platform, so we won't either.

Change-Id: If7f3ab5f52178a8a74789f2af21bff9e1225f294
2019-01-05 07:47:41 +01:00
Artem Borisov f38acef7b4 flo: Use smaller font footprint
Change-Id: Ibf4877f53ef3972fd73e6962277edc59af438bd3
2018-12-19 02:43:07 +00:00
dianlujitao ad0d600840 flo: Rename bt props for new HAL
Change-Id: I1afd110bffed0f43b1afcbef99be8a3776d24e0b
2018-12-19 02:43:06 +00:00
Artem Borisov 90cef7a6c9 flo: Update configuration for CAF audio
Change-Id: I3c943e16adc3cbc9ffaea43ce78bd92cd9efd209
2018-12-19 02:43:06 +00:00
Seigo Nonaka 5a8e720936 fonts: Exclude serif fonts from system.img
Reduces final image size by about 25MB.

Change-Id: I9e8ae18f2d5fb8259aa62418471a3a70cf1908ed
2018-12-19 02:43:06 +00:00
Adrian DC 04f9313ac8 flo: init: Resolve kernel trace_marker permissions on post-fs
* The permissions were not set to 222 instead of 220,
    thus introducing regular logs from libcutils:
    "cutils-trace: Error opening trace file: Permission denied (13)"

 * Refers to frameworks/native/cmds/atrace/atrace.rc

Change-Id: I236ea25d2f2068f9f86a43492807f5f05e92da96
2018-12-19 02:43:05 +00:00
Adrian DC a2699cda8e flo: init: Resolve vendor HALs for early bootanimation start
* Adapt the service from configstore-hal-1-0 service
    to vendor.configstore-hal for AOSP P

 * Also update gralloc-2-0 to vendor.gralloc-2-0

 * Resolves surfaceflinger first launch crash
    due to configstore not being running earlier enough

Change-Id: I5aae6d8357ce71933e7c6673e9e4d37adb55a6af
2018-12-19 02:43:05 +00:00
Arne Coucheron 22d9ef740e flo: Use platform in NFC module suffix
Change-Id: I8cc93e81be6d99902bd23e44ffd694f8b1df843c
2018-12-19 02:43:04 +00:00
Ruchi Kandoi aa797493fd flo: Rename libnfc-brcm.conf -> libnfc-nci.conf
Change nfc.mk as well to reflect the new file name

Test: compiles
Change-Id: Ic7d88b13cd79705aced6283ca8ee5fb067611941
2018-12-19 02:43:03 +00:00
Artem Borisov a280896db9 flo: Update p2p interface configuration
Change-Id: I73b9e240126ccc547e2b6ad3eb5e85e62b94d124
2018-12-19 02:43:02 +00:00
Artem Borisov 06149968cf Revert "Flo: build with SDCLANG"
This reverts commit 3a8466b0c8.

Change-Id: Iedf99c02db32e9d453c4fa9d3c3d5961ad9cabdf
2018-12-19 02:43:01 +00:00
Artem Borisov c46bee8158 flo: Use QCOM hardware
Change-Id: I667d5b2405474453d358b89b00b9319d684504ee
2018-12-19 02:43:01 +00:00
Artem Borisov e9237ace10 flo: Temporarily remove unsupported powerhal options
Change-Id: I83087b610e4db0648420fdc478bf23a1d96005a2
2018-12-19 02:43:00 +00:00
Artem Borisov 4e5720df30 Revert "flo: rename ion_allocation_data.heap_mask to heap_id_mask"
Our kernel doesn't declare it this way anymore.

This reverts commit 52811a9968.

Change-Id: Ibef35c44bc21a1e8fe15388799a9f8c5e90dcb01
2018-12-19 02:43:00 +00:00
Jerry Zhang 334bd16d35 flo: Set sys.usb.ffs.aio_compat
The kernel does not support aio with ffs.
Set the property so adb/mtp know to use the compatible
functions, and the same while in recovery.

Bug: 37916658
Test: Use adb / use adb in recovery
Change-Id: Id35a05fcb9952dcf7239bd15a61cc620537419bc
2018-10-12 04:02:57 +00:00
Roshan Pius 4d93b56264 flo: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-10-12 04:02:56 +00:00
Roshan Pius bf93099afa flo: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-10-12 04:02:55 +00:00
Roshan Pius fc989aaee3 flo: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-10-12 04:02:55 +00:00
Jeff Vander Stoep 7fe414acc4 flo: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-10-12 04:02:54 +00:00
Jeff Vander Stoep a5477a0e09 flo: wifi_supplicant: deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on flo
Change-Id: Iaa2a8a42e4e3fd941c5be0f8fa691245cdb429e9
2018-10-12 04:02:54 +00:00
Etan Cohen 2b8e4327c9 flo: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-10-12 04:02:53 +00:00
Artem Borisov 05e5386418 flo: Use common USB HAL
Change-Id: Ic3a60d3d9c5b81c237386c97b35067232a665010
2018-10-12 04:02:53 +00:00
Bruno Martins 3d48395930 flo: Consider lineage_flo product via the AOSP way
Change-Id: If4e63de0e6e4150f086a8a912a0e9b2ec161492d
2018-08-19 19:54:07 +00:00
Wyatt Riley 59cf1aaad6 flo: Restoring XTRA GPS assistance
Pointing the base config.xml to XTRA v3
and removing the redundant overlays

Bug: 36356863
Test: Fast GPS fix after delete all on Angler,
 and build confirmation on Bullhead's
 identical fix.

Change-Id: I255b864808dc1b59fde3b2e013335ad81c3ef0e6
2018-06-15 16:35:02 +03:00
Wyatt Riley 3759495872 flo: Xtra Fixes - https, version check & version 3
Tells Qualcomm GPS hardware to:
1) Use https
2) Use the more secure version 3 file
3) Check that the
XTRA file version downloaded matches the version
expected - i.e. the more secure (signed) version 3

Test: Tested live on device, on nyc-mr1

Bug: 31470303
Change-Id: Ib8b3494d622d760e349cac03bad15faaf0477093
2018-06-15 16:34:32 +03:00
Hyejin Kim 05b1504a5a flo: Add carrier specific GPS configurations
Change-Id: I901bbcb59f20d46861e5a78171d18dd3105cf8ce
2018-06-15 16:34:30 +03:00
Pandari Sabhapathi 69ba1d2ce5 flo: Migrating XTRA from gpsonextra.net to cloud based izatcloud.net
*Added logic to remove xtra1.gpsonextra.net from URLs
received from modem
*Added logic to override modem URLs with those configured
in gps.conf
*Replaced all instances of xtra{1,2,3}.gpsonextra.net domain URLs
in gps.conf with xtrapath{1,2,3}.izatcloud.net URLs.
*Replaced all commented instances of xtra.bin in gps.conf with xtra2.bin.

CRs-fixed: 643816

Change-Id: I803b26bce22f06910dcaa1ee057902b9381667bf
2018-06-15 16:22:32 +03:00
Artem Borisov a1a3df2cad flo: Restore gps.conf from stock
Somehow it got removed during 14.1 bringup...

Change-Id: I3cc9ca348a19936400fa56887ecb6ef4b28898bc
2018-06-15 16:22:29 +03:00
Bruno Martins e0682babb3 flo: Inform Trust about legacy encryption support
* Encryption causes noticeable performances loss, because HW crypto
   is not suported.

Change-Id: I4336c0cd050584020780d8ff97f454e40c7e6125
2018-06-14 18:01:11 +03:00
Artem Borisov b063b47387 Revert "flo: Build Snap camera"
Snap doesn't go very well with our new camera hal.
Let's use glorious Camera2 instead.

This reverts commit 5547916083.

Change-Id: I799b852b4f51bd8929121701fd6fc32bd89bc717
2018-06-14 17:59:21 +03:00
Artem Borisov fdca3fc513 flo: sepolicy: Resolve cameraserver text relocations
Change-Id: I0366948280f701187e52ead2e0a23fd8eb53e4ac
2018-06-14 17:43:51 +03:00
Artem Borisov 362aedef28 flo: Define vendor security patch level
Taken from the latest 6.0.1 (MOB30X) factory image.

Change-Id: Iac499c012814196194b83ef32f6d590e0f07daf1
2018-06-14 11:25:35 +03:00
Artem Borisov cf20a14868 Revert "flo: build camera HAL1"
This reverts commit 762539b3d4.

Change-Id: Ie56f294e09951581f6e5048de4f1a69b8ab4b805
2018-06-14 11:17:40 +03:00
Daniel Jarai e567e54529 camera: fix/hack static metadata reporting
Unfortunately, our camera blobs are too old to implement camera HAL 3.2
properly. These hacks fix most camera functionality with HAL 3.2, but
they're not exactly clean...

Some pieces are based on the hammerhead HAL.

This isn't passing CTS, but it's not too far away.
Sadly, in the foreseeable future, I won't have time to clean it up...

Change-Id: Iff4f0f25fe767e498db6e56fc2f47a13c4a97364
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
2018-06-14 11:15:38 +03:00
Shuzhen Wang 92a138f8ab QCamera3: Scene Mode Fix
Map FACE_PRIORITY mode as Auto Scene Mode, so that
we don't have undefined behavior.

Bug: 11045793

Change-Id: Iaa7a30eef902c2ca0a700c498f88b7c77aa441fa
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
2018-06-14 11:15:38 +03:00
Mansoor Aftab 20545401d3 Camera3: Avoid starting streams twice
The start method of some streams
 (most notably the metadata) could be
 called twice. This scenario should be
 handled by returning immediatly and
 avoiding the initialization of new
 threads and resources.

This change is authored by Emilian Peev
<epeevs@codeaurora.org>

Bug: 18258028
Bug: 17912331
Change-Id: Ife6613bdca069bc63193802e0bb88273e63998f9
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
2018-06-14 11:15:38 +03:00
Mansoor Aftab 5958ff24f1 Camera3: Validate request rate based on metadata rather than buffers
Bug: 11011342
Change-Id: I68c054027bb8b39ad30b0a3ca932b6cb888409c9
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
2018-06-14 11:15:38 +03:00