Commit graph

492 commits

Author SHA1 Message Date
Charlotte D
1a9958ec8f land -> karate 2018-11-19 09:23:54 +00:00
Bruno Martins
548ce6fa4f land: Consider lineage_land product via the AOSP way
Change-Id: Iab7b6c4d2817af88a133945df8fcc7fb964e35e9
2018-10-01 20:15:59 +05:30
LuK1337
670df72b2e land: Set vendor security patch level using VENDOR_SECURITY_PATCH
Change-Id: Id7e80418c2437132bad3fa404b8a966d64758a06
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-10-01 20:15:56 +05:30
Darshan Manjrekar
64c6ddc46a land: Update build fingerprint
Change-Id: I9d09c138499f23e2534501c0859f026c4a1b0ea4
2018-09-26 14:54:31 +05:30
Darshan Manjrekar
3f44f9c047 land: Update props from 9.5.8.0
* Set correct vendor security patch
2018-08-11 17:34:48 +02:00
Sampath Vangaveti
dc89a99bdd QCamera2: HAL/HAL3: Convert Boottime from ISP to MONOTONIC
Issue:
Diplay freeze observed sometimes, if there is any
suspend/resume of the device.
The issue found to be with differences in the timesources
used by display and camera for timestamp calculation.

Fix:
Measure the clock offset between BOOTTIME and MONOTONIC.
The clock domain source for ISP is BOOTTIME and
for display, it is MONOTONIC.
The offset is used to convert from clock domain of
camera to display.
Added following set prop to switch between camera time sources.

	persist.camera.time.monotonic <value>
Default value is 1.
value 0 indicates Boot time from camera.
value 1 indicates Monotonic time from camera.

Change-Id: I733aa17e89ccaa7f5ea6d2eae5e1cd6428c81a85
CRs-Fixed: 1005906
2018-07-15 06:58:15 +02:00
Daniel Stuart
40ca15284d land: Disable noise cancelling when recording 2018-07-15 06:58:15 +02:00
Vaishnavi Kommaraju
560e74aa0f land: audio: Update backend interfaces for internal codec 2018-07-08 00:02:29 +08:00
Isaac Chen
fb7eae99d9 land: Update acdb ids from stock 2018-07-08 00:02:11 +08:00
Isaac Chen
171e4b6595 land: Decommonize mixer path 2018-07-08 00:01:47 +08:00
Isaac Chen
60847e9ab0 land: proprietary-files: Move fingerprint to vendor 2018-07-08 00:01:10 +08:00
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