Commit Graph

750 Commits

Author SHA1 Message Date
Rashed Abdel-Tawab 4bb30996c5 klte-common: Add keymaster HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba31
2017-12-23 09:53:17 -07:00
Kevin F. Haggerty 316e26f265 klte-common: proprietary-files: Blob out libstlport.so
Change-Id: I2f0040d00213555f4c7a250d55fc47f09b314437
2017-12-23 09:11:23 -07:00
Ningyuan Wang d9dfb2c43c klte-common: wifi: Add wificond to products
We need our new wifi native daemon wificond for Android O.
This CL gets it installed on the device.

BUG=29220405
TEST=compile

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba39
2017-12-22 23:31:07 -07:00
Rashed Abdel-Tawab 46efb4c651 klte-common: Add wifi and supplicant services
android.hardware.wifi is built by default

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba37
2017-12-22 23:29:03 -07:00
Kevin F. Haggerty 1d8a6bce95 klte-common: Convert system_prop.mk to property file
Change-Id: Iea7a502eb0ddfa619b314800aa3c386e18c88928
2017-12-22 22:31:11 -07:00
Luca Stefani ccb9bf10e5 klte-common: audio: Fix audio effect libs path
Change-Id: I8f50ea750405ae920ef5a74dda31ca5ac85e3af0
2017-12-22 22:31:11 -07:00
Bruno Martins 488b4cdfc6 klte-common: Move audio configuration files to vendor
Change-Id: Ib0609d248c690ae76f3e089f376655da463d6f4c
2017-12-22 22:31:11 -07:00
Kevin F. Haggerty adf0999b2a klte-common: Sort makefile sections sanely
Change-Id: Idb20e4befc873925003f2ede74c154aba2417d99
2017-12-22 22:31:11 -07:00
Rashed Abdel-Tawab 3c4c6b5df6 klte-common: Add vibrator HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba33
2017-12-22 22:31:11 -07:00
Rashed Abdel-Tawab 00d1639b17 klte-common: Add NFC HAL
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba43
2017-12-22 22:31:11 -07:00
Kevin F. Haggerty 7ea4ffa388 klte-common: Build fingerprint 2.1-service
Change-Id: Ifffe781deef90d861a0ad68f8649c265c249d0c5
2017-12-22 18:43:10 -07:00
Kevin F. Haggerty 7a56477e86 klte-common: fingerprint: Resolve compilation warnings
* fingerprint_enumerate had an incorrect signature
* Quit partially initializing fingerprint_msg_t instances

Change-Id: I09a05f3656c5bdc1e17fa76b5e68c56e0b7277de
2017-12-22 18:42:50 -07:00
Kevin F. Haggerty 09e4b79ed7 klte-common: fingerprint: Bump version to 2.1
Change-Id: Id355acaf78387917252c56476da0ff8d3828f5d0
2017-12-22 18:33:01 -07:00
Bruno Martins 76fb2fe806 klte-common: Switch to hwbinder graphics allocator
Change-Id: Ic8124cebc5d9dab8e7571ec453be3f5a18b03d69
2017-12-22 18:33:01 -07:00
Kevin F. Haggerty b68341a429 klte-common: Add lights HAL impl
Change-Id: Ia5370244fc64a612e3b83fac6d68798cdc7ed3c8
2017-12-22 17:32:31 -07:00
Sam Mortimer 5a176177c4 klte-common: overlays: Update for new LED capabilities
*) frameworks/base bool config_intrusiveBatteryLed is no longer
   used so it has been removed.

*) Use LIGHTS_BATTERY_LIGHT capability in lineage-sdk instead.

*) Update config_deviceLightCapabilities comments

*) Move bool config_intrusiveNotificationLed out of Lineage-specific
   overlays because it's an AOSP config

Change-Id: Ia813cdd0596ece07ff38e1087d9cdf9e135f20be
2017-12-22 17:32:30 -07:00
Bruno Martins 2e4fb8b3fd klte-common: overlay-lineage: Apply LineageOS rebrand
Change-Id: I1e34ecb738c8b68440fb5cc61083b985fbe3fad9
2017-12-22 17:31:59 -07:00
Rashed Abdel-Tawab d39af7a072 klte-common: Move Lineage specific overlays to overlay-lineage
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba18
2017-12-22 17:31:55 -07:00
Rashed Abdel-Tawab 783402f469 klte-common: Add sensors HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba30
2017-12-22 16:38:17 -07:00
Mohammad Afaneh 2d5186e1f1 klte-common: Add consumer IR impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba20
2017-12-22 16:38:12 -07:00
Rashed Abdel-Tawab 5ee3d1d904 klte-common: Add USB service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba36
2017-12-22 15:29:00 -07:00
Rashed Abdel-Tawab c724309890 klte-common: Build GPS impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba32
2017-12-22 14:31:10 -07:00
Kevin F. Haggerty 5ab94096fe Revert "klte-common: init: Remove writes to non-existant cpufreq nodes"
This reverts commit b7f109ed9f.

* So, that was 100% my derp. The cpufreq directories come and go as
  cores go on- and off-line.
* Now, I wish I had notes as to whether I made this change in the
  first place because of an error in a log or just based on manual
  inspection.

Change-Id: I2782fefa80560bf9e20001e72ad378553d787ac0
2017-12-22 10:34:08 -07:00
Rashed Abdel-Tawab f0e4836605 klte-common: Add Camera HAL impl
Change-Id: Ie817e4d10631359f3b6c3c42249d75ebf73c596e
2017-12-22 10:34:08 -07:00
Paul Keith 701a321c54 klte-common: Add camera hal shim
* Allows camera hal to load

Change-Id: Ia1e4c05fe128c1b5abf885d6018e29a0fb9c881b
2017-12-22 10:34:08 -07:00
Demon000 d4dadbaff0 klte-common: CameraWrapper: Store user pointer and pass it when needed
The new camera interface calls set_callbacks with a pointer
to it's internal CameraDevice and expects following calls to
the callbacks to use that pointer.

Store the pointer in the camera wraper and intercept the
callbacks calls to pass it along.

Change-Id: I99f02484e12a3f72cf1be13f1c724f474a452d7f
2017-12-22 10:33:52 -07:00
Steve Kondik e2db03e00f klte-common: Don't set swappiness to 100
* Don't do this, it destroys performance!
 * Android uses memory cgroups to manage ZRAM. Memcg allows you to
   view stats as well as set options like swappiness on a per-cg
   basis. In the main init.rc, the background cgroup already has it's
   swappiness set to 100. This patch sets it globally, which will
   aggressively swap even foreground tasks into ZRAM which has a huge
   amount of overhead.

Change-Id: I9f39b830e5817f796a42c377696864aec9bf2f22
2017-12-22 09:17:07 -07:00
Paul Keith 878439b046 klte-common: Add support for sec nfc chips
* kltesprsports has this

Change-Id: I5a12c2911347f626153131a677c73c47cba5d7c0
2017-12-22 09:16:55 -07:00
Paul Keith c06ff2c9f1 klte-common: Add kltesprsports to makefile guards
Change-Id: I77b691da7592ee76095bd0df91534a3efb759734
2017-12-22 09:16:43 -07:00
Paul Keith 13e2e6227e klte-common: Allow setting custom copyright years per-variant
Change-Id: I191f8cfa443586447d49ef328cc36c1c2068256d
2017-12-22 09:16:25 -07:00
Artem Borisov aae26bb6aa klte-common: Use 64-bit binder API
AOSP and mainline are going towards removing old 32-bit binder API support.
64-bit binder is 100% compatible with 32-bit kernel and userspace,
so there is no reason for us to keep using the old solution anymore.
We've switched to new API in our kernel, same thing should be applied to our userspace.

Change-Id: I3c95bd7fbd023c5cb08e856b3a3889c03228e843
2017-12-10 09:59:20 -07:00
Kevin F. Haggerty 2a20e4cfc5 klte-common: Enable legacy f_adb interface support
Change-Id: I6ebd3e4fcd8382b71a32853d79ebe22d802da052
2017-11-26 15:30:48 +00:00
Kevin F. Haggerty cea7d22cb3 klte-common: Remove libsecril-client*
* These are only required for some OEM blobs, and not even any
  that we make use of:
  * system/bin/smdexe matches
  * system/bin/vpnclientd matches
  * system/bin/connfwexe matches
  * system/bin/at_distributor matches
  * system/bin/wpa_supplicant matches
  * system/etc/irremovable_list.txt:/system/lib/libsecril-client.so
  * system/lib/hw/lights.msm8974.so matches
  * system/lib/hw/audio.primary.msm8974.so matches
  * system/lib/libcpve-client.so matches
  * system/lib/libaudio-ril.so matches
  * system/lib/libsecril-client.so matches

Change-Id: I7488681c9c1c15c1a42ba9a718c426c80526db19
2017-11-07 06:15:19 +00:00
Rashed Abdel-Tawab 50054e9d47 klte-common: Add radio services to manifest
These are built by default

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba35
2017-11-04 12:58:43 -06:00
Myles Watson ed58a79f48 klte-common: Add libbt-vendor in klte.mk
Bug: 36810308
Test: build
Change-Id: Iae4a6340a184dde818603b546470c8cf883f2f7b
2017-11-04 12:58:43 -06:00
Rashed Abdel-Tawab b574fd9567 klte-common: Add bluetooth service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba38
2017-11-04 12:58:43 -06:00
Rashed Abdel-Tawab 2d0a03ffbf klte-common: Add DRM HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba28
2017-11-04 12:58:43 -06:00
Rashed Abdel-Tawab d5adb2c433 klte-common: Add audio and display HIDL manifest
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba25
2017-11-04 12:58:43 -06:00
Rashed Abdel-Tawab e43a08af7a klte-common: Add empty HIDL manifest
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba24
2017-11-04 12:58:38 -06:00
Mohammad Afaneh 9606d62123 klte-common: Build fingerprint 2.0 service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba19
2017-11-04 12:52:07 -06:00
Diego Wilson 40b5c1299f klte-common: fingerprint: Move device dependent modules to /vendor
Change-Id: I7a28b65a55cf808a01b6defdce1f7ff1f64bc565
2017-11-04 12:39:20 -06:00
Kevin F. Haggerty 8450ca7c7d klte-common: libshims: Drop libshim_ril
* O cannot use the old blobbed RIL and this prep makes the rest of
  bringup easier

Change-Id: Ic11b3fcbc6e7923d80eb49ef709ccabe4c81a14d
2017-11-03 22:24:18 -06:00
Bruno Martins a79e72b246 klte-common: CameraWrapper: Move module to vendor
* Use LOCAL_MODULE_RELATIVE_PATH as well

Change-Id: I20c7f8b772ade2466dcb2ea7a8b23a07e8d60568
2017-11-03 08:08:20 -06:00
Diego Wilson d191dea121 klte-common: gps: Move device dependent modules to /vendor
Change-Id: I8229a6e4a9512a03cbc6c9522bb1dc0ce988d1c9
2017-11-03 08:01:42 -06:00
Roshan Pius d0396fd1a9 klte-common: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as wifi user and not need root
permissions to access this path for firmware reloads.

Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba23
2017-11-02 06:02:42 -06:00
Roshan Pius cd9495cec7 klte-common: wifi: Move wpa_supplicant to vendor partition
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba41
2017-11-02 05:30:45 -06:00
Christopher Wiley cba57d536c klte-common: wifi: Do not define superfluous wpa_supplicant service
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba40
2017-11-02 05:30:45 -06:00
Rashed Abdel-Tawab 921c9a6c47 klte-common: Get rid of net_bt_stack
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba22
2017-11-01 17:13:42 -06:00
Adrian DC 737bd8c396 klte-common: camera: Use wrapper parameters instead of CameraParameters
* Get inline with the lack of CameraParametersExtra.h
    support in AOSP, avoid using device header to inject
    additional parameters, especially with the introduction
    of Android.bp compilation for libcamera_client
    which ignores the device headers override

Change-Id: I754116f55ed32d54d1b1ad44407993137a07fb69
2017-11-01 16:45:05 -06:00
Kevin F. Haggerty dac4f861a3 klte-common: Drop all of our releasetools stuff
* The OSS RIL gets us down to a single blob that we can instruct
  rild to make use of using a property. We've done that, so this
  has ceased to serve its purpose.

Revert "klte-common: releasetools: Use toybox's cp"

This reverts commit fbb95e0b01.

Revert "klte-common: releasetools: Move variant ident logic to hook"

This reverts commit 167e45f1c0.

Revert "klte-common: Add releasetools extension to install variant blobs"

This reverts commit a27086acba.

Change-Id: I070d03063afc3d8bf12cbd70599600930b3edd47
2017-11-01 16:45:05 -06:00