Commit graph

654 commits

Author SHA1 Message Date
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
Prateek Chaubey
e372b8c80e land: Add kernel dependency
Change-Id: I9257e8180d04bf1e45cad1c5eca1849a3813248a
2018-01-13 14:46:14 +00:00
Darshan Manjrekar
efa789bf52 Revert "land: Shim old camera client to ims-camera"
This reverts commit d07a59e651.
2018-01-11 18:39:10 +05:30
Darshan Manjrekar
1b6f0496a2 land: Update/Cleanup overlays
* Cleanup HWKeys overlays.
* Disable duplicate overlays.
* Remove Multiuser overlays (enabled by default).
2017-12-27 14:41:55 +05:30
Darshan Manjrekar
70f1a47192 land: Address denials 2017-12-27 14:41:55 +05:30
TheStrix
7bff5b2a37 land: Add KeyDisabler
* Use common procfs node for it (/proc/touchpanel/capacitive_keys_enable)

Change-Id: I18fa56ca7f1409df37c15482cd8894345da09c03
2017-12-27 14:41:31 +05:30
Darshan Manjrekar
60dee10c11 land: Rename keylayout 2017-12-25 15:49:08 +05:30
Prateek Chaubey
2c189b3815 land: update Camera props
* Kick Broken Ones
* Disable HAL3
* Fixes Recording With 3rd Party Apps
2017-12-23 23:43:46 +05:30
chaubeyprateek
d2f377536f land: fix the headset keylayout 2017-12-23 00:23:39 +05:30
Prateek Chaubey
b328d58460 Revert "land: Update build fingerprint"
* Safety Net fails even on stock with this
This reverts commit 62ddd50651.
2017-12-23 00:21:46 +05:30
Zhao Wei Liew
6ce696413a land: Use DEVICE_PATH for tree reference
Since we define it, let's use it.

Change-Id: I975118f844d5d7e47869d0142faae8fc59790481
2017-12-18 14:31:56 +05:30
Prateek Chaubey
e00a275fdc land: move WiFi firmware into device tree 2017-12-18 13:17:00 +05:30
Vitaliy Tomin
e191b5b243 land: Use hal1 for Snap camera
* Snap support for camera2 api is not full and hal1 mode
provides more features and more stable experience

Change-Id: I5c71337b5cfaa928c1b9515b37cc8e43a60301b2
2017-12-12 12:12:25 +05:30
dianlujitao
c24fdca06e land: Snap: Disable HDR 1x frame
* This fixes HDR mode.

Change-Id: Ieb8e819dc3fb20ec89c615d6f9ab43c1585c44f8
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2017-12-12 12:12:00 +05:30
Prateek Chaubey
844c2dee54 land: camera: use Xiaomi headers 2017-12-12 11:17:05 +05:30
Mridul Singh
12cbba2ee3 QCamera2:HAL: Fix for Sensor HDR.
Incase when sensor-hdr is enabled, need to disable the normal
HDR enabled flag.

Change-Id: Ibd7418d8abaabc03625a65fc228d0bac5528fd5e
2017-12-12 11:17:05 +05:30
Guruprasad Gaonkar
a93a2741fc QCamera2: Changes to release video duped FD's.
Issue:
Android camera framework expects camera HAL modules
to release video duped FD's. Framework can trigger this event
after stopRecording() call.
Fix:
Change to avoid state machine check to release video FD's.

CRs-Fixed: 1077211
Change-Id: I6dcc31b335679e4885f56ae1e4e02ee33d193b08
2017-12-12 11:17:05 +05:30
Guruprasad Gaonkar
c93f5696c8 QCamera2: Add buffer identity for video native handle.
Issue: Release_recording() can be called with any Imemory pointer
sent earlier. HAL cannot use this pointer to recognize video frame
to match before release this buffer to kernel.

Fix: Buffer identity is introduced to every video buffer and released
buffer can be found by comparing identity.

CRs-Fixed: 1026840
Change-Id: I287d1276fbf2241a2fc6d470e887a91e1daeca4d
2017-12-12 11:16:34 +05:30
Guruprasad Gaonkar
665ea6feed QCamera2: HAL: Changes to fix batch mode recording issue.
Batch mode video processing was broken on latest builds. Batch mode
enabled and verified with media extension now.

CRs-Fixed: 1013704
Change-Id: Ifb34a9c201f39591ab5d6a8aa70125ca7cad3f4f
2017-12-12 11:04:31 +05:30
Rajaram Gudivada
6fb4d87d52 QCamera2: Max Fps updated as per typeof(MetaData_t::refreshrate)
Issue:
Type of refreshrate is different in different android versions
and if same camera code is used across the versions then
dereferencing the hardcoded int pointer to float resulting a zero.

Fix:
Update Max fps as per the type of(MetaData_t->refreshrate)

Change-Id: Ifced28cdc56252151be4f41e3e652be41af510a0
CRs-Fixed: 1018231
2017-12-12 11:04:13 +05:30
Guruprasad Gaonkar
bacb43c44d QCamera2:HAL1: Close duplicated FD's for media extension.
In video metadata mode, framework allocates native handle
resource and needs to be freed in release recording.
This change is to free framework resources in case of media
extension use cases.

Change-Id: I1bac10740130d506d71ec1275dd7d75f66c263c8
2017-12-12 11:02:38 +05:30
Guruprasad Gaonkar
3dd1d4cba8 QCamera2:HAL1: Update native handle for every timestamp callback
Incase framework updates camera native_handle pointer, we need
to use cached native_handle to update for every timestamp
callback. This change is excecuted only if media extension flag
is enabled for the target.

Issue:
Use case introduced in video to overwrites camera native handle
pointer.

Fix:
Change is to cache camera native handle and restore when video
release camera buffer.

Change-Id: I0bdc01b3f2b51d7bba66320cc8ef1ab019136d4e
2017-12-12 10:58:27 +05:30
Vitaliy Tomin
015dd92754 land: drop camera blobs replaced with oss hal 2017-12-11 20:30:45 +05:30
Vitaliy Tomin
1099d62999 land: camera: Fixes to OSS camera hal to build in LineageOS tree
Change-Id: I9ce7744a23c059cef5221a506173f88099a30bb7
2017-12-11 20:14:37 +05:30
Vitaliy Tomin
880b26ccee land: import oss camera LA.UM.5.1-03810-8x37.0
additional cherry-picks:
 * b706b064b QCamera2: Fix compilation errors for unused variables.
 * 1e2ea589e HAL: Fixed compilation error for AOSP upgrade
2017-12-11 20:14:21 +05:30
chaubeyprateek
f7596dae0b Revert "land: Releasetool extension to remove fp blobs"
This reverts commit 8ee9910.
2017-12-09 23:06:23 +05:30
Prateek Chaubey
10791ee17c land: split proprietary blobs list 2017-12-09 14:23:17 +05:30
Darshan Manjrekar
37c9f53270 land: rootdir: Add cpuset for leftover bins 2017-12-09 14:08:36 +05:30