Commit graph

481 commits

Author SHA1 Message Date
Darshan Manjrekar
d63ad69e91 land: Set vendor security patch level
Change-Id: Ib8c9a13eb85d5c49f4bf5c7d9e10b30859d455fe
2018-07-08 00:01:09 +08:00
Rashed Abdel-Tawab
edb4cdfc5a land: Set shipping API level via inherited makefile
* PRODUCT_SHIPPING_API_LEVEL is set there

Change-Id: I8adecfbaafb538277f6451a5dbc8abc279bf0c15
2018-07-08 00:01:09 +08:00
Bruno Martins
79ae65cd9b land: Set matching build fingerprint for system, vendor and boot images
* Needed after https://review.lineageos.org/#/c/208868

Change-Id: I555c15eddc6dff694285ab1b23f6f9adfd64e535
2018-07-08 00:01:09 +08:00
Isaac Chen
a4017cf841 land: Remove project pathmap 2018-07-08 00:01:09 +08:00
Paul Keith
f22d3cde57 land: Transition to TARGET_LD_SHIM_LIBS
* Limits security exposure from shims

 * As a bonus, we no longer need noatsecure
   to make LD_SHIM_LIBS persist through services

Change-Id: I877192422062f3e59c81a7130ad1a2b4be5d1647
2018-07-08 00:01:09 +08:00
Darshan Manjrekar
af1d1489de land: Move shim to vendor
Change-Id: Ibbbba96be2758cc155f7596f1442d6d28ab7610b
2018-07-08 00:01:09 +08:00
Prateek Chaubey
b26bd869df land: Move acdbdata to vendor 2018-07-08 00:01:09 +08:00
Prateek Chaubey
8977b76b6c land: Move device configs to vendor 2018-07-08 00:01:09 +08:00
Isaac Chen
6b0f2baca8 land: proprietary-files: Remove bluetooth blobs
* We are going to use oreo ones
2018-07-08 00:00:43 +08:00
Isaac Chen
664be7e6c3 land: Move Display calibration to vendor 2018-07-08 00:00:40 +08:00
Isaac Chen
0aa1f7b0fa land: Move radio firmware to vendor 2018-07-08 00:00:40 +08:00
Isaac Chen
2ee2381a25 land: Move camera to vendor
* Requires following hex edits:
sed -i "s|/system/etc/camera|/vendor/etc/camera|g" vendor/lib/libmmcamera2_sensor_modules.so
2018-07-08 00:00:40 +08:00
Isaac Chen
c10388d9f3 land: proprietary-files: Cleanup unused camera blobs 2018-07-08 00:00:15 +08:00
Santhosh Kumar Thimmanna Bhattar
8c7b1d2502 QCamera2: Disable QCameraDisplay temporarily
Camera launch is failing due to QCameraDisplay crash.
Disabling temporarily for AOSP upgrade to avoid the crash.
This will be reverted once proper fix is found.

Change-Id: I6ed87edcfbb07410899dcde13341b7ddd404960e
2018-07-07 07:47:01 +02:00
Sauhard Pande
15d619dd29 QCamera2: For supporting VNDK and Treble rules.
Issue: In accordance to treble rules libcamera_client.so cannot be
       used or included. For HAL1 needed support for values of
       Cameraparameters for HAL1 QCameraParameters

Solution: Included Cameraparameters.h and .cpp files to this location
          as well.

Change-Id: If04d8a342d1552d2f0ba665b08b312e98bf8b9f5
2018-07-07 07:47:01 +02:00
Santhosh Kumar Thimmanna Bhattar
d383bd95ab QCamera2: Increase camera daemon start timeout
Issue:
Camera is not launching for the first time as camera
daemon is not up.

Fix:
Increase camera daemon start timeout

Change-Id: I2dd8ae904145ad5c067b27014cdb95c28084accf
2018-07-07 07:47:01 +02:00
Suman Mukherjee
2a96f575f2 QCamera2: mm-camera-interface: Camera Daemon late start issue fix
In Android O, Cameraporvider service is introduced newly and its
starting before main service which results in getnumofcameras failure.
Added re-try count to fix this issue.

Change-Id: I3a3ee1cbe6ad983d5ad7266f154b33b93d303804
2018-07-07 07:47:01 +02:00
Suman Mukherjee
afb2b8c829 QCamera2: Added LOCAL_VENDOR_MODULE to set output path of the binaries
Replaced LOCAL_PROPRIETARY_MODULE with LOCAL_VENDOR_MODULE to set the
output vendor path for hal binaries and libraries

Change-Id: Ib04d80eabc0e17f3863e956db5f2378e426c0687
2018-07-07 07:47:01 +02:00
Sauhard Pande
4c498e03c7 QCamera2: Vendor Seperation
Moving camera hal and mm-interface binaries to /system/vendor/lib

Change-Id: Ic639b698a8bf4418d51409342ab8f1187362a99b
2018-07-07 07:47:01 +02:00
Abhinav Sohane
f34640b607 QCamera2:mm-camera-channel:Added check for max value of cur_capture_idx.
Issue: In FLASH mode, while requesting superBuffers for 100 snapshots
      cur_capture_idx is increasing to more that MAX_CAPTURE_BATCH_NUM,
      so by derefrencing frameConfig.config to cur_capture_idx, stack
      memory is getting corrupted.

Solution: Checking for max value of cur_capture_idx before derefrencing
          frameConfig.config array to avoid writing in outOfBound index
          memory.

Change-Id: Icaea62be483b3ee97304441f7c9287b73496f09d
2018-07-07 07:46:41 +02:00
Lida Wang
26165a08a7 Camera2:HAL1:fix HAL1 callback cookie
1. fix HAL1 memory callback cookie for Treble change
2. remove checking for VANILLA_HAL definition for O upgrade now
   for initial bring up, until the removal of the TARGET_USE_AOSP
   flag in devie mkfile.

Change-Id: Iedf5a97e9890bc7216a3008373ddef5005836a01
2018-07-07 07:45:27 +02:00
Suman Mukherjee
83d447f155 QCamera2: Fixed compilation error for AOSP upgrade
* Fixed compilation error for O
2018-07-07 07:44:41 +02:00
Prateek Chaubey
b5c32d6cef land: update init for Oreo 2018-07-06 17:54:12 +02:00
Luca Stefani
7f24566e7f land: Inherit from Lineage vendor 2018-07-06 17:54:12 +02:00
Bruno Martins
7fe9e9794f land: Update extractors to use Lineage vendor
* Match the branding change as well
2018-07-06 17:54:12 +02:00
Prateek Chaubey
b1bcffd829 land: switch to msm8937-common 2018-06-28 18:59:40 +02:00
Isaac Chen
d4b40cf559 Revert "land: Use common aw2013 lights hal"
This reverts commit 3b958b745b.
2018-06-28 18:58:10 +02:00
Darshan Manjrekar
84865e8729 land: Update build fingerprint
* Package Version: Xiaomi/land/land:6.0.1/MMB29M/V9.5.5.0.MALMIFA:user/release-keys.
2018-05-09 12:35:32 +05:30
Darshan Manjrekar
3b958b745b land: Use common aw2013 lights hal 2018-05-09 12:06:23 +05:30
Prateek Chaubey
a61658b04c land: update audio blobs from santoni
* santoni:7.1.2/N2G47H/V9.2.1.0.NAMCNEK:user/release-keys

Change-Id: I2a6dde82ef95e73cbe6c27262328021fffe22401
2018-02-14 17:52:29 +01:00
Prateek Chaubey
8c89e7023a land: update audio configs from LA.UM.5.6.c1-02300-8x37.0
Change-Id: I252e703479d8d108a0159a7bbc92a28d88747666
2018-02-14 17:52:09 +01:00
Michael Bestas
0747b0f1c2 land: Switch to config based tcp buffer sizes
* Update overlay values from init.qcom.rc values
* Remove init.qcom.rc deprecated properties
* Add entry for wifi TCP buffers

Change-Id: If5e4e60096a65119d2ec3a9a0abf24cfbca5b199
2018-02-14 17:51:54 +01:00
Prateek Chaubey
8b2ee0fab3 land: ramdisk: Update from LA.UM.5.6.c1-02300-8x37.0
* restored init.target.rc
* removed old paths and services

Change-Id: Iac7ddd97989d76132a7ab252586b980976282550
2018-02-14 17:51:02 +01:00
Shubham Das
647c0cd3ca land: Update build-fingerprint
* Update build fingerprint as latest MIUI9 Global Stable

Change-Id: I0af7a2bfe53b725a45f5a6c029f9bc125a7c4ec7
Signed-off-by: Shubham Das <dasshubham762@gmail.com>
2018-02-13 11:33:30 +01:00
Michael Bestas
c86a6b0c32 camera: Remove executable bit from source files
Change-Id: I64f8a26a8dcbc5a73c32a274f389cf8e62f4d003
2018-02-13 09:05:37 +01:00
Michael Bestas
a969bdbef9 camera: Cleanup Obsolete LOCAL_PRELINK_MODULE.
Change-Id: I2b48ea97aef4dcce31f1354c021d409f68d8dc65
2018-02-13 09:05:37 +01:00
Michael Bestas
57947754da camera: Remove tests
Change-Id: I28c7acf0c8a33ff82d40d6019ed3e32de8f9593e
2018-02-13 09:05:37 +01:00
Michael Bestas
782b2a0c20 camera: Remove unused files
Change-Id: I0c717d165162469ba4b78ea07da6dd88b5cfc18a
2018-02-13 09:05:37 +01:00
Chongkai Zhu
a018167757 land: Disable inline xattr feature for F2FS formatted /data
* This is causing kernel panics since the latest F2FS updates
   (https://github.com/LineageOS/android_kernel_xiaomi_msm8937/commit/cd14a2cf20c)

Change-Id: I356fe89bd8927acf4ed5cbb037185f81f2e91d3e
2018-02-10 18:24:18 +01:00
Ranjith Kagathi Ananda
2792329531 QCamera2: Resolve CLANG compilation errors
Resolve CLANG compilation errors

CRs-Fixed: 981949
Change-Id: Ibeaac796b5e5f0defae76a8ab9bd88d3d1e4c164
2018-01-31 05:35:55 +00:00
Ranjith Kagathi Ananda
c5e87c4791 QCamera2: Remove LOCAL_CLANG := disable flags
Remove LOCAL_CLANG disable flags so that the default
compiler is used.

CRs-Fixed: 981949

Change-Id: Ia5a935bc8d0371c09c25daac32cf0c35ede79a39
2018-01-31 05:35:41 +00:00
Prateek Chaubey
04639bf96d land: overlay: Set hardware buttons correctly
* Fixes Recent Button Customization

Change-Id: Idc362eab8083d60e9e15bb9f62d069ff65b6fbc4
2018-01-31 05:34:38 +00:00
NeoDarkness
1d8013d9d6 land: overlay: Improve haptic feedback performance
Change-Id: Ib8793c6bd8689606a7123de7c126912c064b83c8
2018-01-31 05:33:19 +00:00
Gabriele M
b065c3f78c land: Enable APN settings for CDMA devices
Enable the APN settings for every CDMA device.

Change-Id: I1359077b33e672120c464d3e95d75bca93f0aa86
2018-01-31 05:32:28 +00:00
Prateek Chaubey
26a4030720 land: Unset BTM_DEF_LOCAL_NAME
* Automatically set bluetooth name based on ro.product.model

Change-Id: Ie5659765b27d923c2d27405d694656d1361c4853
2018-01-29 15:44:29 +00:00
Prateek Chaubey
91aa4f87bb land: remove dead services
Change-Id: Ib3dd89c42fb86ac7ef1f74827273c02083ade540
2018-01-28 14:39:57 +00:00
nervehammer
1c0752b2fa land: Add keylayout for Redmi 3X (Imagis touchscreen)
Change-Id: I3ab0017f0d12a6b4adcdc9205149aa24b2136603
2018-01-28 14:39:26 +00:00
karthick111
2e17a7ca3b Revert "land: Set key 353 as CAMERA"
This reverts commit 89fc71e82c.

Change-Id: Ibfaa2ad0d97d3501c3d1b2de438d51c0b6d88819
2018-01-14 11:13:37 +00:00
Prateek Chaubey
2afb3e01a0 land: Update INITIAL_COPYRIGHT_YEAR
Change-Id: I2727a5357eb19abf8e7ef987015d6f67c37a2313
2018-01-13 18:19:54 +00:00
Paul Keith
c74fb38aac land: extract-files: Bring back old behavior for SRC
* Previously, you could just specify a SRC directly
  after './extract-files', and it would work, but
  now, the arg '-p/--path' is required for the same
  behavior to be applied for the extraction
* Add a catch-all case that just sets SRC if the arg
  doesn't match any of the args that we care about
* Make the ordering of the cases alphabetical

Change-Id: Ia2ad42d444904ead6b3bd6d910af363eb7f015cc
2018-01-13 18:17:57 +00:00