summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implemented SELinux rules for tuna.Luden2016-04-0318-7/+136
| | | | Change-Id: I0c82e620532cf968341cc8c5d268aa0788ebb94f
* Implement SMC initialization.Luden2016-04-034-6/+60
| | | | | | | | | Note that SMC requires "normal world"-assisted storage that is provided by tf_daemon. Normally it's /data/smc directory, but this doesn't work if one wants both /data encryption and hardware backed disk encryption key storage. Therefore /dsg partition is used to store SMC data. Change-Id: I9ef59d7f045c5c36950d73d5254ba751fb7853cc
* Ported keymaster_tuna to keymaster0 interface.Luden2016-04-033-8/+10
| | | | | | | | | | | | keymaster_tuna.cpp almost exactly matches keymaster HAL 0 interface, only several small changes were needed. Note the change in the flags (KEYMASTER_BLOBS_ARE_STANDALONE): this is required for hardware backed storage of the disk encryption key to function, see keymaster_check_compatibility() function in system/vold/cryptfs.c Change-Id: I207455efeb73cee26f08d2cfd12aa4fb91ccec23
* libsecril-shim: detect variant using ro.product.deviceZiyan2016-03-111-1/+1
| | | | Change-Id: I81d7791df84d616767b3aec116cd4b62821381b9
* libsecril-shim: Add 'patchMem'; fix maguro LAST_CALL_FAIL_CAUSE bugKyle Repinski2016-03-112-0/+51
|
* libsecril-shim: Use CC_(UN)LIKELY macros from cutils.Kyle Repinski2016-03-112-12/+16
| | | | This is what's generally used in the frameworks.
* libsecril-shim: More thorough request handling.Kyle Repinski2016-03-111-10/+17
|
* ril: Add 'libsecril-shim'.Kyle Repinski2016-03-114-1/+165
| | | | | | | | | | This lib inserts itself in front of the real RIL and shims the onRequest function as a means of compatibility, bug fixing, and updating. Conflicts: system.prop Change-Id: I779a275276816a32b19d9666021662d9dc71029d
* Revert "tuna: add minfree overlay"Ziyan2016-03-111-9/+0
| | | | This reverts commit 8df9a76ae978ffde157629c74360b6710ad2cf6d.
* Set selinux to permissive for nowZiyan2016-03-112-3/+1
| | | | Change-Id: If7d72fb7710b9def7264a0229e9ee29014f56292
* Disable dexpreopt to make room for gapps on /systemZiyan2016-02-121-6/+0
| | | | | | Note: EXTENDED_FONT_FOOTPRINT is set by default on M. Change-Id: I04efef2e55628e6b5b0b8e0bfcb602ecd0ecb1ce
* Disable camera hal debuggingZiyan2016-02-101-1/+0
| | | | | | Our camera is now "fixed up". Change-Id: Id3177305d6746ec692019303394b1576ea5999dc
* camera: update default zoom in video mode to workaround pink linesZiyan2016-02-103-5/+43
| | | | Change-Id: Ie1001438fb90b8f6a3991a14e0f11968eb2d1ac9
* tuna: fix in call mic mute for toro and toroplusTrulan Martin2016-02-101-2/+21
| | | | | | Adapted from a patch by @MWisBest Change-Id: I1b0cb2db0e5473088eb42b623bfd902332b1ec47
* Use common omap4 CMHW for ColorCalibration/LiveDisplayZiyan2016-02-102-89/+4
| | | | Change-Id: I1a11f31de12768a0a86c9fa8f318a6388d91ef4b
* init, sepolicy: inherit from omap4 hardware repoZiyan2016-02-103-29/+1
| | | | Change-Id: I3bf6cd86fdcdc948431a018043344620ae141775
* ueventd: tighten some permissionsZiyan2016-01-271-3/+3
| | | | Change-Id: Ic099466f0856fbcb1b7e1717ebdf8fade926c525
* Remove persist.sys.usb.config overrideZiyan2016-01-221-4/+0
| | | | | | | | https://android.googlesource.com/device/moto/shamu/+/8de2aa968d333fe3a4ffe330859207566150bce9 Fixes ghost MTP. Change-Id: I455278f7d8d05c9b5860c6e1dd650d20dcdef9bd
* ril: Add 'libsecril-compat'.Kyle Repinski2016-01-226-4/+346
| | | | | | | | | | | | | | While I preferred to just modify the RILs directly, it simply became too tedious trying to fix three things that all have the same problem. libsecril-compat: Log if unimplemented symbols are called. Analysis of the RILs has shown these shouldn't be called, but just in case, we should know if it happens. libsecril-compat: Actually forward the writeString16 symbol. Good thing I added that logging; somehow this IS called.
* Revert "tuna: add CM performance profiles"Ziyan2016-01-172-20/+0
| | | | | | This reverts commit eda0d22836e67db8e5773280209b9bf46ad61c84. Change-Id: I7474e7278710f1011900e31a8566b31673833600
* camera: add Pixel{X,Y}Dimension and Orientation EXIF tagsMichael Gernoth2016-01-172-3/+33
| | | | | | | | These tags are needed by the CM13 camera to not crop images to square when shooting portrait. As the camera HAL already rotated the picture, always set orientation to 0. Change-Id: Id8b6aac5369ae3adfdfec0ec7528edc849bd3b10
* camera: fix build for recent 6.0 releasesZiyan2016-01-171-3/+3
| | | | | | | | Frameworks/native commit e2806cb4456e3815e979f333ed23ec7df591a9ff made SensorManager(const android::String16&) private. Let's use SensorManager& getInstanceForPackage(const String16& packageName) instead.
* camera: fix build for MMZiyan2016-01-172-0/+16
| | | | Change-Id: I1bdd4510dc54517e70b2bc196b6e371520665661
* android-api: add MMZiyan2016-01-171-0/+6
| | | | Change-Id: I0a17b1fd55aa1488e7b8c4cdde4d8aebc02bc6b5
* libsensors: mlsdk: Remove lots of unused cruft.Kyle Repinski2016-01-1737-4046/+433
| | | | This alone was enough to cut 16KB off of the mllite.so size.
* libsensors: Ween MPLSensor off of mlsdk legacy array methods.Kyle Repinski2016-01-171-16/+10
|
* libsensors: Fix up Rotation Vector output, minor organizing.Kyle Repinski2016-01-171-17/+21
|
* libsensors: Big cleanup.Kyle Repinski2016-01-1713-203/+104
| | | | | | | - Some formatting nitpicks. - Removed useless 'dev_name'/'dev_fd' stuff for SensorBase. - Merged sensor structs together. - Added handleToDriver for MPLSensor.
* sensors: Fill in MPL sensor structs by default.Kyle Repinski2016-01-171-53/+22
| | | | | Since we're not checking which sensor models we have, we don't need to dynamically do this.
* sensors: Fix filling in LinearAcceleration res/power/range.Kyle Repinski2016-01-173-46/+33
| | | | While we're at it, make these constants and axe the functions.
* sensors: Merge invensense HAL into main tuna HAL.Kyle Repinski2016-01-1778-184/+105
| | | | | | | Since these are both in our device tree now, there's no need to have them be separated. This saves about 14KB of space as well. Change-Id: Ibfcd7da4b30bb261586ecd9373e6fd4a343e0e06
* Fix building with Clang.Kyle Repinski2016-01-1711-48/+48
|
* Update some hw_device_t structs.Kyle Repinski2016-01-174-19/+20
| | | | | version_major and version_minor are deprecated. Ensure we actually set the sensor api version.
* libsensors/invensense: Clean-up.Kyle Repinski2016-01-176-44/+14
|
* invensense: Remove MPU6050 ifdef stuff.Kyle Repinski2016-01-1717-803/+13
| | | | The header files necessary for those sensors aren't even here anyway.
* libsensors: Cleanup and update sensor struct.Kyle Repinski2016-01-171-25/+14
|
* invensense: Ensure timestamps include time in suspend.Kyle Repinski2016-01-172-2/+2
|
* invensense: Cleanup and update sensor struct.Kyle Repinski2016-01-171-22/+23
|
* dumpstate: Build with -Wall -Werror.Kyle Repinski2016-01-172-2/+4
| | | | Also updates path to asoc stuff.
* invensense: Build with -Wall -Werror.Kyle Repinski2016-01-177-9/+13
|
* libsensors: Build with -Wall -Werror.Kyle Repinski2016-01-174-23/+29
|
* power: Build with -Wall -Werror.Kyle Repinski2016-01-171-0/+1
|
* nfc: Build with -Wall -Werror.Kyle Repinski2016-01-172-6/+8
| | | | Change-Id: I405d9d10a72db8c4ad0328f46d0dd2c82f18f74d
* dumpdcc: Build with -Wall -Werror.Kyle Repinski2016-01-171-0/+1
|
* liblight: Build with -Wall -Werror.Kyle Repinski2016-01-172-4/+7
| | | | Change-Id: I576d40023e7d1981a2da6ce5d6dd999067418c89
* Remove TARGET_NEEDS_BIONIC_MD5.Kyle Repinski2016-01-171-3/+0
| | | | RIL libs have been patched directly now.
* Remove deprecated storage_list.xmlZiyan2016-01-171-32/+0
| | | | | The storage_list.xml resource overlay has been removed and is no longer used by the framework: https://source.android.com/devices/storage/config.html#android_6_0
* invensense: remove support for unused sensorsZiyan2016-01-174-260/+11
|
* Add invensense stuff in-tree.Kyle Repinski2016-01-1775-2/+25203
| | | | | | | Overhauled its .mk files as well as fixed some whitespace problems. Conflicts: libsensors/Android.mk
* libsensors: Build with Clang.Kyle Repinski2016-01-171-0/+1
|