Commit Graph

340 Commits

Author SHA1 Message Date
Jake Weinstein 50ad3dbfab common: disable SnapdragonCamera on TARGET_USES_AOSP_CAMERA
* Some devices, such as Nexus and Pixel have better camera
  performance with the AOSP application.

Change-Id: I9da12b239764b360219a780d052565916f5c885e
2017-05-08 14:08:11 +00:00
Christopher N. Hesse 7f825775e2 Only warn about SDCLANG exclusion once
Please finally shut up. Thanks.

Change-Id: If288e23d43a984a8397b9316eb9711aa3907f435
2017-04-25 18:43:17 +00:00
Alex Naidis b0a8501cda common: Fix QCOM_BSP condition
We cannot assume CAF devices to set this to false
explicitly.

Change-Id: I9659f4f08f93f115dd21ef8b503db0b7772f40ed
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-11-14 23:02:18 +01:00
Christopher N. Hesse 1f16d47d1e common: Conditionally set QCOM_BSP flag
All devices inheriting common.mk should enable
the BSP features, except if a device explicitly
choses to opt-out by setting TARGET_USES_AOSP := true.

Change-Id: I5bed0724ad9492d3a678740fa204b44caf2cc477
2016-11-13 22:54:47 +01:00
Alex Naidis 7b4bdf1aeb common: condition SDCLANG for non-linux hosts
SDCLANG is not supported on non-linux hosts,
move the blocking logic from build system
to device/qcom/common.

Change-Id: I2a1f69e5b1dde05c873683ca7e6b7425c79df848
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-11-12 22:24:45 +01:00
Alex Naidis 3cdac84a4c
mediaextractor/mediacodec: Adding Qualcomm extensions
Qualcomm added these to thulium (msm8996).
However since the AV stack is shared across
the chipsets it is required for all devices
which inherit device/qcom/common.

This commit squashes the following commits:

mediaextractor: allow pread64 and readlinkat syscalls

Add pread64 and readlinkat syscalls.

Change-Id: Ic466e6d401fea5c9b47a9e3abf388cdae1a90f93
Signed-off-by: Alex Naidis <alex.naidis@linux.com>

mediacodec: allow sendto and recvfrom syscalls

Add sendto and recvfrom syscalls

CRs-Fixed: 1001945
Change-Id: Id4287b742f8c559f4e566a687578abdd100ffe4c
Signed-off-by: Alex Naidis <alex.naidis@linux.com>

mediacodec: allow lseek syscall

Add _lseek syscall to make file operations are successful.

Change-Id: I746bf6a9fd5492a359086f8003a771234337e61d
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-10-29 16:22:40 +02:00
Ícaro Hoff 25861f26d5
common: define SnapdragonCamera package in one line
It's single definition, it will be single for the rest of its life.

Change-Id: I7033bfc9d70304603eef5d5effe327509e8d861a
Signed-off-by: Ícaro Hoff <icarohoff@gmail.com>
2016-10-13 18:49:52 -03:00
Alex Naidis b2c1940140 common: add support for SDCLANG
This commit adds the needed bits for SDCLANG support.

SDCLANG is initialised as false currently,
however the implementation allows to override it from device.

The Path is currenly hardcoded to "prebuilts/clang/host/linux-x86/sdclang-3.8/bin"
since we cannot provide support for darwin currently.

The LTO definitions are added and the variable which
gets picked up by build system automatically is set.

Also a new configuration is introduced: SDCLANG_COMMON_FLAGS
These flags will be picked up for arm and arm64 targets.
We are using -O3 currently since SDCLANG defines the levels
of optimisation differently and O3 is a very safe level to use here.

The new configuration SDCLANG_FORCED is initialised
at false and can be overriden. It can be set
to true in order to force SDCLANG to be used
under the condition that it is requested.
Currently we don't want to do this globally,
however it might be useful for OEM builds.

Change-Id: I4f42be82a8a113fdf6406d9879d5586968030517
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-10-02 01:35:14 +02:00
Alex Naidis 6176b89737 common: move Snapdrgon Camera here
This is getting moved here from vendor/pa
since it is specific to Qualcomm devices.

Change-Id: I3195ad5572da92e6d7984f89f4b619b25e514da1
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-09-25 17:36:48 +02:00
Alex Naidis 93f7049171
common: move tcmiface config to our vendor
This is actually needed for non-qcom devices as well, otherwise
the bootclasspath breaks because numerous components
depend on the tcm extensions right now.

Change-Id: I7ca017c3b573c7b2c9760a71513b149df085f6b8
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-09-22 13:07:04 +02:00
Jake Weinstein 53767be2e6 common: enable BOARD_USES_ADRENO
* Needed for N media HAL

Change-Id: I4299f0ac598ae524f7a644e1cfedf0876532c51f
2016-09-08 16:17:11 -04:00
Jake Weinstein 41fad21faa common: remove JACK disabling flag
* This was commented out, but doesn't work on Nougat anyway

Change-Id: I747c3498b544106741adc4187e59f29747dff102
2016-09-01 16:32:47 -04:00
Jake Weinstein 8d89fcea0c common: combine makefiles
Change-Id: Ia253326c1580eb8e697d2775dec5317a83d56657
2016-09-01 16:32:32 -04:00
Alex Naidis 27b777ed17
common: premilinary preparations for N
* reenable jack, since it is much deeper integrated into the new build system and caf won't disable it this time, most likely

Change-Id: I39876445a8a4774f9b335d4bfc1e578a9b4a0bca
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-08-26 16:57:15 +02:00
Alex Naidis 325f9c2441
common: resolve the madness around DPM
* tcmiface should be present on all devices
* that allows us to remove the global hacks from the http repos and tcmiface itself

Change-Id: I58b8ae79bea12e01fe3dee0769bf3a48847a1c13
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-08-14 16:54:21 +02:00
Alex Naidis 51a68c598e common: add the dash extension
* adds qcmediaplayer to boot jars if dash is unblocked
* This assumes that qcmediaplayer is being used if Dash is unblocked

* Also move Dash blocker from vendor/pa here

Change-Id: Id23ee450b68e1a1c5526cc7c0db9e9f0b23378d6
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-08-05 21:18:44 +02:00
Alex Naidis e9a9f3adf9 common: Implement a method to directly hook into product makefile
* add common.mk which gets included from product makefiles
* move things which don't belong to Boardconfig there

Change-Id: Ie6d3ceccf55578f89f7f18673fa1a78af64abbd0
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-08-05 21:17:07 +02:00
Jake Weinstein 157b56fb51 common: remove stuff that either belongs in device or doesn't belong at all.
* Note: cryptfs_hw was removed so that devices can use their own.

Change-Id: I6f83ceb7b32a0f578ecdd1a9ad0b92211deace6b
2015-10-11 20:20:17 +00:00
Pradosh Das 54d08e1cd9 common.mk: Set ro.adb.secure property on user build
Fix CTS failure(UsbDebuggingTest).The test expects
the property value set to 1 for secure
adb debugging.

Change-Id: I801fc2986975ddb262b8ac133370d54dca45a050
CRs-Fixed: 829570
2015-06-18 19:10:48 +05:30
Paras Nagda a8d5474cea media - use google low end video media codec xml
- CTS testGoogVP8FlexNearMaxMax testcase will execute decoding
  and encoding in parallel with max resolution 2048x2048.

- low end chipsets does not support the above max resolution
  so use low end media codec xml which has max resolution 1280x1280.

Change-Id: Idc153ad182262cccd36711f20caa5143a30c3f32
2015-04-24 11:51:03 +05:30
Sreedhar Lakkaraju 1bab9ade2d common: skip bootjar check if not applicable
adding support to skip boot jar check for
not applicable case to avoid build errors

Change-Id: Ib10635a103f1adb2863344be0f7ed09f6d3eea00
2014-12-15 07:16:39 +05:30
Maunik Shah 7f6ee99363 Fix: CTS android.text.format.cts.TimeTests Failure
In CTS test, it is searching for french, japanise, UK language
support which was missing ealier. Adding these locales to fix CTS
failures

Change-Id: I4ce02a73dd6baaed43a5ca0499514d22ab9c0c85
2014-11-17 12:02:19 +05:30
Bhavya Sokke Mallikarjunappa 6360387c55 Add tcmiface in PRODUCT_PACKAGES
Add tcmiface library in PRODUCT_PACKAGES

Change-Id: I76964ff11e5c964a080b1a95c1c58ce286dde0b2
2014-11-06 17:22:25 -08:00
Linux Build Service Account 0b390c7683 Merge "Bluetooth: Adds Permission file for Bluetooth LE" 2014-10-20 09:53:33 -07:00
Swami Dhyan Anurag 10b32ea2b2 Bluetooth: Adds Permission file for Bluetooth LE
This change adds android.hardware.bluetooth_le.xml for LE
apps to work.

Change-Id: I946be49041e32b1075de980e7020e28c666514b5
CRs-Fixed: 738980
2014-10-14 15:49:21 -07:00
Raghavendra Prasad Nagaraj affe100f5d perf: Change ro property value
libqc-opt is changed to libqti-perfd-client
for unification.

Change-Id: Idd2956cfcdbd580e8e22c13f244fdaa868b2237e
2014-10-09 13:08:01 +05:30
Muhammed Siju 72b367b6ee IMS-VT: Added QTI permissions.
Added QTI permissions.

Change-Id: I94bca7f2caa124a7ea45ebb2108a102604f86cde
2014-09-21 23:51:06 +05:30
Praveen Chavan 5ce235413a media: remove software codecs in media_codecs.xml
and include them from media_codecs_google_*.xml.
Also, copy google's base xml files to target filesystem

Change-Id: Ic269fcbfa28ace372db593ef2b6a95af1d64bf46
2014-07-18 02:46:05 -07:00
Hardik Kantilal Patel a0f44533ec Common: Add wpa_supplicant to PRODUCT_PACKAGES
Add wpa_supplicant to PRODUCT_PACKAGES.

Change-Id: I1333d95a6d07e41488ede9233c07ab9b23ed792b
2014-07-11 20:39:13 +05:30
Manish Kumar 509be18a00 Fix for L compialtion issues
Change-Id: I84d2a9884136ba26a7f75b0d136b42d46b2c2624
2014-07-07 07:04:32 -07:00
Linux Build Service Account ddacde0bf5 Merge "camera_test app is added to product packages" 2014-06-25 11:56:07 -07:00
Ameya Thakur 3924906d9b init.qcom.rc: Add support for setting ssr configurations
We can now enable/disable SSR on a single or a group of peripherals
by setting the persist.sys.ssr.restart_level property to the list of
peripherals which we want SSR to be enabled for.

Change-Id: I0b0d54985a863e92343f0a08865cb30f0f433853
2014-06-18 23:17:41 -07:00
guopingy a2e13d4fc3 usb uicc: add shell script to load/unload usb driver
add shell script to load/unload usb driver

Change-Id: I63e3188441e039ca7dc4e009735564036a032140
2014-05-22 12:20:37 +08:00
Shashank Mittal 7475747e22 common: Add vcard jar to PRODUCT_PACKAGES list.
Add vcard jar to PRODUCT_PACKAGES list.

Change-Id: Ie61fed4eb6f37625c84c684ae73ba61577e8c9d4
2014-03-17 18:28:40 -07:00
Ameya Thakur 40e6504310 common: Clean up common directory
Removed init.qcom.ril.sh and references to it from the common dir.
The script contained carrier specific instructions which resulted
in a temporary remount of the system partition as r/w which is not
allowed.

Removed usage of exec from .rc files.

Change-Id: Icdbe81ad1405f45d18f9b7befdb7cc8c9aec1696
2014-03-12 15:34:12 -07:00
Dimitar Borisov 67cd184019 camera_test app is added to product packages
camera_test app is added to the out product packet

CRs-Fixed: 592188
Change-Id: I97d5cf425f3efbd3a25994d878f9fce0ca893c87
2014-03-12 06:09:34 -07:00
Shruthi Krishna 13342ac6fa Removing unsupported targets from lunch combo
Cleaning up lunch combo by removing unsupported targets

Change-Id: I26ddf457490c7c471080a9bb18a5ed1861aaacdf
2014-02-28 12:49:21 -08:00
Kevin Tang 5dcc7f2164 make overlay here package overlay instead of device overlay
Because of the overlay reference order, package overlays could
shadow device overlays. So many overlays here the final control
we need to add this overlay path part of package overlay.

Change-Id: Ie7bec1c3566b38e25ffe490215e684db64a7e903
CRs-fixed: 606005
2014-02-08 11:46:37 -08:00
Ming-yi Lin b47443e511 init: qcom: Add init service for QCA6234 WLAN
The qca6234-service is used for the initialization setup
needed for QCA6234 WLAN driver.

Change-Id: I9af3299822d276e71deb60c5b27f492a7b1de8c4
2014-02-04 23:29:45 +08:00
Linux Build Service Account 00c842b8af Merge "common: Enable memtrack" 2014-01-24 04:10:48 -08:00
Linux Build Service Account d4f5f75b5e Merge "common:Add pronto_wlan for user variant builds" 2014-01-24 04:10:10 -08:00
Naseer Ahmed f06b92237f common: Enable memtrack
Enable memtrack HAL for 8084, 8974, 8226 and 8610

Change-Id: If42d196c8c1c00df58e9702f56ef963671e63555
2014-01-20 06:09:10 -08:00
Mingming Yin e471f1e900 device/qcom/common: compile remote submix hal
- Add default remote submix hal to product package
  to compile audio.r_submix.default.so

Change-Id: Id47832d27b25486549f0d3f5526636ccc354b1d1
CRs-Fixed: 591189
2014-01-10 10:27:32 -08:00
Garik Badalyan ef746d020b IMS-VT: Enable libimscamera_jni library.
Enable libimscamera_jni library.

Change-Id: I6a1f5c79323879719aba5cea565b232b6d1eb2de
CRs-Fixed: 592584
2013-12-20 09:28:53 -08:00
Hanumantha Reddy Pothula 653c4fd857 common:Add pronto_wlan for user variant builds
Add pronto_wlan into to common.mk. This change is needed
to build wlan driver for User variant builds.

Change-Id: Id20fd1899e6183201e311229775052002aa3b2ce
CRs-Fixed: 585483
2013-12-18 23:03:54 -08:00
Olav Haugan 24460f9ce8 zswap: Add file to enable swap
Add script file that creates swap device from zram virtual block
device and turns on swap.

Change-Id: I991be6d53bb73cb7213550526717a50191fa103c
2013-12-11 17:29:49 -08:00
Hemant Gupta 51a2b472d1 Bluetooth: Add HiddTestApp to PRODUCT_PACKAGES
HiddTestApp is a Bluetooth Test application to verify HID Device
Role functionalities like Keyboard, Mouse.

Change-Id: I9955dbf189a8c5b91cf99e4c489204f309c3309c
CRs-Fixed: 573086
2013-11-20 21:07:44 -08:00
Muhammed Siju bdd42f5bbe Revert "Remove shell scripts for ril init."
This reverts commit 7395274c37.
Re introduce ril init shell scripts.This is required since
"on property" trigger in rc file cannot handle the requirement
where ril needs to be started based on multisim property
only once per boot up.As per new requirement, multisim property
can be changed dynamically between dsds and dsda runtime.

Change multisim property to persist.radio.multisim.config

Change-Id: Ie615baf8211127d6b1eb66d2af3de46eee148588
CRs-Fixed: 574698
2013-11-18 03:00:25 -08:00
Linux Build Service Account 0cacacd5a2 Merge "device/qcom/common: Removed old FM app" 2013-11-15 03:14:19 -08:00
Mansoor Aftab eea50ed6dd common: enable camera HAL for APQ8084
- add camera.apq8084.so in common.mk

Change-Id: Id43b002522986127ba26f8c766e4e2ed33332c1a
2013-11-11 23:09:19 -08:00