summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Revert "tuna: switch to dlmalloc"Ziyan2016-01-171-3/+0
| | | | | | | This reverts commit 9edd01c28d81c271eeee08b4b8b68ebc1b82d3dc. Conflicts: BoardConfig.mk
* tuna: pass androidboot.hardware via kernel cmdlineZiyan2016-01-171-1/+1
| | | | | | In M, init no longer gets the hardware name from /proc/cpuinfo. Change-Id: I722cef8b8091192af68d2463bf19d687511962c9
* libsensors: fix build on MZiyan2016-01-171-0/+1
|
* Update external storage configurationZiyan2016-01-171-20/+2
| | | | Change-Id: I0512a0f7a089b748c199f1a8933c6323cda86a1e
* Drop BOARD_SEPOLICY_UNIONZiyan2016-01-171-10/+0
| | | | Change-Id: Ia6b21b115fe2c4efa8c91ef00c21ec876525febe
* [TEST] audio: Set short period size to 882.Kyle Repinski2016-01-151-1/+4
| | | | Just a hunch, see the comment...
* audio: Fix buffer underrun doing short to long period transition.Kyle Repinski2016-01-151-2/+4
| | | | | This basically halves the long period size. I wish there was a different way to fix this but I don't think there is.
* audio: further tweaking to use_long_periods.Kyle Repinski2016-01-151-19/+29
| | | | | | | | | | Move the detection in start_output_stream_deep_buffer down to allow a call to pcm_set_avail_min now. Did a few micro-optimizations as well. Conflicts: audio/audio_hw.c Change-Id: I90d5663040986ffd597f37ae66334467adacea3b
* audio: Make buffer_frames dependent on OUT_RESAMPLER.Kyle Repinski2016-01-151-3/+3
| | | | (buffer_frames is only used for OUT_RESAMPLER)
* audio: Decide use_long_periods on start_output_stream.Kyle Repinski2016-01-151-2/+7
| | | | | Previously this was corrected on the first write, however that was causing a buffer underrun sometimes when a stream was started. This avoids that.
* audio: Initial work towards a variable sampling rate.Kyle Repinski2016-01-153-5/+82
| | | | | | | Conflicts: audio/policy/audio_policy.default.conf Change-Id: I4d13946e88cacbf5e4ca383d5d0756262442efd2
* audio: Use separate sampling rate for MM-UL (input stream).Kyle Repinski2016-01-151-1/+6
| | | | Fixes MM-UL not working.
* audio: Fix PLAYBACK_PERIOD_COUNT and OUT_RESAMPLER definition detection.Kyle Repinski2016-01-151-19/+19
| | | | By moving this block down, the sampling rates are properly defined for this check.
* audio: Add ability to actually force the out stream sampling rate.Kyle Repinski2016-01-152-1/+17
| | | | | This audio HAL has always required some sort of resampling. THIS. ENDS. NOW.
* audio: Determine whether or not to use out stream resampler automatically.Kyle Repinski2016-01-152-3/+1
|
* audio: Disable output resampling by default.Kyle Repinski2016-01-151-1/+1
| | | | Seems to work OK without it.
* audio: Add ability to disable built-in out stream resample.Kyle Repinski2016-01-152-0/+25
| | | | | | | | | This needs further testing before enabling by default, but so far it's been OK. Conflicts: audio/audio_hw.c Change-Id: Ic4f86440ff4d01ab4d0d9f977bdec22f10f60555
* tuna: Proper 48kHz audio support.Kyle Repinski2016-01-152-3/+3
| | | | | | This fixes a bunch of annoying junk in the logcat about fast path being denied to UI sounds due to them having a 48000Hz sample rate. Also allows playback of 96kHz audio, as Android refuses to resample to anything lower than a divide by two.
* audio: Fix aliasing violation.MWisBest2016-01-151-2/+3
|
* SGX module building: remove unused PLATFORM_VERSION parameterZiyan2016-01-081-1/+1
| | | | Change-Id: I11c251e66072cb73cf24ce520e28735bb37a0cc3
* init: increase read-ahead value to 256 kbZiyan2016-01-081-0/+3
| | | | | | | | | Apps and database file sizes have increased in recent Android versions, which makes it practical to increase our read-ahead value from 128 kb. General user experience seem to have improved a bit. Change-Id: I35788444a8552a8f376c699ead163e951ed06b30
* Revert "Switch back to CFQ as the default I/O scheduler"Ziyan2016-01-081-1/+1
| | | | | | | | | The kernels block subsystem has been updated which seem to have eliminated the lockups we were seeing. This reverts commit 0c982e56af824cfbd621e6b4e8ca3183b87ea5e9. Change-Id: I17b0a0c724fbf1bbbf9f88a54a29447d7f592832
* init: tune vm for zRAMZiyan2016-01-081-0/+6
| | | | | | | | References: https://source.android.com/devices/tech/config/low-ram.html https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1 Change-Id: I8ec35dad3a65c213d1843d01957b308c3ab84a6e
* Increase zRAM size to 256 mbZiyan2016-01-081-1/+1
| | | | | | | With the lz4-backed zRAM we're using, it seems like we can use larger values without noticeable slowdowns. Change-Id: I6a7921d0741c6b54629b456cc5387407956d98d8
* Enable EXTENDED_FONT_FOOTPRINTZiyan2016-01-081-0/+2
| | | | | | Recent changes made enough room on /system to include this. Change-Id: I01422ff52f2ad92da777875be9a39dd9fdbced69
* Remove packages built by defaultZiyan2016-01-081-10/+0
| | | | Change-Id: Icb9afbf59715fe9039c1c03bcce9e5327e31ff57
* Remove touchscreen firmware from userspaceZiyan2016-01-084-17/+0
| | | | | | | It makes more sense to just store it in the kernel, so it doesn't have to wait for the filesystem to get mounted. Change-Id: Ib5893157edd44806018f07ad8dad32ffe3704657
* Use 2 zRAM compression streams (now that our driver can)D. Andrei Măceș2016-01-081-1/+1
| | | | Change-Id: I84f26a40e5b89d100b5a1fd2eab1ba59e5957750
* Add zram information and mount it during bootHashcode2016-01-082-0/+7
| | | | Change-Id: I2a758e866c4518a1cbbd360bd3a06f3d922161f5
* Remove lowram flagsZiyan2016-01-041-5/+0
| | | | | | | Testing shows that only disabling the atlas service results in almost identical memory savings. Change-Id: Icc6c43fae3c1682b545d0dbc217f87b01f330fff