Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert "tuna: add CM performance profiles" | Ziyan | 2016-01-17 | 2 | -20/+0 | |
| | | | | | | This reverts commit eda0d22836e67db8e5773280209b9bf46ad61c84. Change-Id: I7474e7278710f1011900e31a8566b31673833600 | |||||
* | camera: add Pixel{X,Y}Dimension and Orientation EXIF tags | Michael Gernoth | 2016-01-17 | 2 | -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 releases | Ziyan | 2016-01-17 | 1 | -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 MM | Ziyan | 2016-01-17 | 2 | -0/+16 | |
| | | | | Change-Id: I1bdd4510dc54517e70b2bc196b6e371520665661 | |||||
* | android-api: add MM | Ziyan | 2016-01-17 | 1 | -0/+6 | |
| | | | | Change-Id: I0a17b1fd55aa1488e7b8c4cdde4d8aebc02bc6b5 | |||||
* | libsensors: mlsdk: Remove lots of unused cruft. | Kyle Repinski | 2016-01-17 | 37 | -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 Repinski | 2016-01-17 | 1 | -16/+10 | |
| | ||||||
* | libsensors: Fix up Rotation Vector output, minor organizing. | Kyle Repinski | 2016-01-17 | 1 | -17/+21 | |
| | ||||||
* | libsensors: Big cleanup. | Kyle Repinski | 2016-01-17 | 13 | -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 Repinski | 2016-01-17 | 1 | -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 Repinski | 2016-01-17 | 3 | -46/+33 | |
| | | | | While we're at it, make these constants and axe the functions. | |||||
* | sensors: Merge invensense HAL into main tuna HAL. | Kyle Repinski | 2016-01-17 | 78 | -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 Repinski | 2016-01-17 | 11 | -48/+48 | |
| | ||||||
* | Update some hw_device_t structs. | Kyle Repinski | 2016-01-17 | 4 | -19/+20 | |
| | | | | | version_major and version_minor are deprecated. Ensure we actually set the sensor api version. | |||||
* | libsensors/invensense: Clean-up. | Kyle Repinski | 2016-01-17 | 6 | -44/+14 | |
| | ||||||
* | invensense: Remove MPU6050 ifdef stuff. | Kyle Repinski | 2016-01-17 | 17 | -803/+13 | |
| | | | | The header files necessary for those sensors aren't even here anyway. | |||||
* | libsensors: Cleanup and update sensor struct. | Kyle Repinski | 2016-01-17 | 1 | -25/+14 | |
| | ||||||
* | invensense: Ensure timestamps include time in suspend. | Kyle Repinski | 2016-01-17 | 2 | -2/+2 | |
| | ||||||
* | invensense: Cleanup and update sensor struct. | Kyle Repinski | 2016-01-17 | 1 | -22/+23 | |
| | ||||||
* | dumpstate: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 2 | -2/+4 | |
| | | | | Also updates path to asoc stuff. | |||||
* | invensense: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 7 | -9/+13 | |
| | ||||||
* | libsensors: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 4 | -23/+29 | |
| | ||||||
* | power: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 1 | -0/+1 | |
| | ||||||
* | nfc: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 2 | -6/+8 | |
| | | | | Change-Id: I405d9d10a72db8c4ad0328f46d0dd2c82f18f74d | |||||
* | dumpdcc: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 1 | -0/+1 | |
| | ||||||
* | liblight: Build with -Wall -Werror. | Kyle Repinski | 2016-01-17 | 2 | -4/+7 | |
| | | | | Change-Id: I576d40023e7d1981a2da6ce5d6dd999067418c89 | |||||
* | Remove TARGET_NEEDS_BIONIC_MD5. | Kyle Repinski | 2016-01-17 | 1 | -3/+0 | |
| | | | | RIL libs have been patched directly now. | |||||
* | Remove deprecated storage_list.xml | Ziyan | 2016-01-17 | 1 | -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 sensors | Ziyan | 2016-01-17 | 4 | -260/+11 | |
| | ||||||
* | Add invensense stuff in-tree. | Kyle Repinski | 2016-01-17 | 75 | -2/+25203 | |
| | | | | | | | Overhauled its .mk files as well as fixed some whitespace problems. Conflicts: libsensors/Android.mk | |||||
* | libsensors: Build with Clang. | Kyle Repinski | 2016-01-17 | 1 | -0/+1 | |
| | ||||||
* | Revert "tuna: switch to dlmalloc" | Ziyan | 2016-01-17 | 1 | -3/+0 | |
| | | | | | | | This reverts commit 9edd01c28d81c271eeee08b4b8b68ebc1b82d3dc. Conflicts: BoardConfig.mk | |||||
* | tuna: pass androidboot.hardware via kernel cmdline | Ziyan | 2016-01-17 | 1 | -1/+1 | |
| | | | | | | In M, init no longer gets the hardware name from /proc/cpuinfo. Change-Id: I722cef8b8091192af68d2463bf19d687511962c9 | |||||
* | libsensors: fix build on M | Ziyan | 2016-01-17 | 1 | -0/+1 | |
| | ||||||
* | Update external storage configuration | Ziyan | 2016-01-17 | 1 | -20/+2 | |
| | | | | Change-Id: I0512a0f7a089b748c199f1a8933c6323cda86a1e | |||||
* | Drop BOARD_SEPOLICY_UNION | Ziyan | 2016-01-17 | 1 | -10/+0 | |
| | | | | Change-Id: Ia6b21b115fe2c4efa8c91ef00c21ec876525febe | |||||
* | [TEST] audio: Set short period size to 882. | Kyle Repinski | 2016-01-15 | 1 | -1/+4 | |
| | | | | Just a hunch, see the comment... | |||||
* | audio: Fix buffer underrun doing short to long period transition. | Kyle Repinski | 2016-01-15 | 1 | -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 Repinski | 2016-01-15 | 1 | -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 Repinski | 2016-01-15 | 1 | -3/+3 | |
| | | | | (buffer_frames is only used for OUT_RESAMPLER) | |||||
* | audio: Decide use_long_periods on start_output_stream. | Kyle Repinski | 2016-01-15 | 1 | -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 Repinski | 2016-01-15 | 3 | -5/+82 | |
| | | | | | | | Conflicts: audio/policy/audio_policy.default.conf Change-Id: I4d13946e88cacbf5e4ca383d5d0756262442efd2 | |||||
* | audio: Use separate sampling rate for MM-UL (input stream). | Kyle Repinski | 2016-01-15 | 1 | -1/+6 | |
| | | | | Fixes MM-UL not working. | |||||
* | audio: Fix PLAYBACK_PERIOD_COUNT and OUT_RESAMPLER definition detection. | Kyle Repinski | 2016-01-15 | 1 | -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 Repinski | 2016-01-15 | 2 | -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 Repinski | 2016-01-15 | 2 | -3/+1 | |
| | ||||||
* | audio: Disable output resampling by default. | Kyle Repinski | 2016-01-15 | 1 | -1/+1 | |
| | | | | Seems to work OK without it. | |||||
* | audio: Add ability to disable built-in out stream resample. | Kyle Repinski | 2016-01-15 | 2 | -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 Repinski | 2016-01-15 | 2 | -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. | MWisBest | 2016-01-15 | 1 | -2/+3 | |
| |