summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
|