summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* smdk4412-common: fix additional PRODUCT_PACKAGESsbrissen2014-11-211-1/+1
| | | | Change-Id: Iae86aa442053d5ee2476ad2a1a234c646e09250b
* media: add google codec.Howard Su2014-11-182-20/+8
| | | | Change-Id: I8542d1db999dd08ad4c2cb36cc65c3d9f5a22406
* wifi: include wifi components.Howard Su2014-11-181-0/+8
| | | | Change-Id: I1ba6b7de87d0c66dfb775708c6edd7bda4fd539e
* LPM: KitKat bootloader compatibility fixKetut Putu Kumajaya2014-09-281-10/+8
| | | | | | Should still compatible to JB bootloader Change-Id: I9fff2896331483903259a49f9aef8c581362e93c
* Video snapshot & OptimizationsDheeraj CVR2014-08-012-1223/+411
| | | | Change-Id: Ifb001b5854bb47c5af74a9b5d0e63b224aa901aa
* Add audio.r_submix.default for castingBen Edmunds2014-07-312-1/+20
| | | | Change-Id: Ia4c0022881b1850d85459a7117e71b8048a0a55b
* CleanupUtkarsh Gupta2014-07-0758-1605/+382
| | | | Change-Id: I5072f23827b7ec6471d0ba0cb873506b81ceaf85
* KitKat BlobsUtkarsh Gupta2014-07-073-55/+46
| | | | Change-Id: I4cb0782fe4f95a6ff20351d2cc29220db4542d9a
* Merge "smdk4412-common: cypresstouchkey permissions for keydisabler" into ↵sbrissen2014-06-261-0/+2
|\ | | | | | | cm-11.0
| * smdk4412-common: cypresstouchkey permissions for keydisablersbrissen2014-03-281-0/+2
| | | | | | | | Change-Id: I1d1ca1a42352fbeba6b895ad79cccf7eca366277
* | Enable use of FFMPEG codecs for extended formatsSteve Kondik2014-05-191-0/+23
| | | | | | | | Change-Id: I1dc66749b6b5548c3617cbbfff389abc3d319562
* | Merge "Revert "smdk4412-common: audio: remove old workaround for call audio ↵Ricardo Cerqueira2014-05-183-1/+9
|\ \ | | | | | | | | | issues"" into cm-11.0
| * | Revert "smdk4412-common: audio: remove old workaround for call audio issues"Ricardo Cerqueira2014-05-183-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 32ed0f56bc77bf5817e5cdc9d40f7a4082cc9544. There are reports of cases in which this still is happening. Change-Id: I0e49a3ff8476ef6212233a38f0d96642710e991e
* | | Revert "camera: Fix loss of focus mode between shots"Dheeraj CVR2014-05-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 40279ba1fd2d4f02d889699df1eccf3d3a01df55. V4L2_CID_CAMERA_FOCUS_MODE has the side effect of resetting the sensor AF position. Hence, the focus is lost each time SetParameters is called and this happens during a snapshot resulting in out of focus pictures. Change-Id: Ia644b62e3752196c0637053150af7899155d6a47
* | | smdk4412-common: Update recovery_keysAndrew Jiang2014-04-221-27/+9
| | | | | | | | | | | | | | | | | | Cleanup and update, see: http://review.cyanogenmod.org/62724 Change-Id: Ic7d16dddb56fe7773556572fc0021a00829f6a6c
* | | media_profiles: Remove unused profilesRicardo Cerqueira2014-04-171-115/+9
| |/ |/| | | | | | | | | | | Fixup the table to pass media testing (and get better compatibility with 3rd party apps) Change-Id: I312ffe1b64043a00a9a89ec6b985e9213fb05c26
* | smdk4412: update batteryCurrentNowPathmarkcs2014-03-261-1/+1
| | | | | | | | Change-Id: I6fe405b67a9b5478cd42014f1892ab8187dbcc0f
* | smdk4412-common: camera: Proper recording memory releasePaul Kocialkowski2014-03-241-0/+8
|/ | | | Change-Id: I4cb029f64564a6e5e41b36af6bdb3f35ac1fc464
* smdk4412-common: audio: remove old workaround for call audio issuesDheeraj CVR2014-03-243-9/+1
| | | | | | | Recent commits to audio routing have fixed the first call microphone issues and this hacky workaround is no longer required. Change-Id: I90ae0f20b4f7f734135fb3fae41eae0fe3289aa5
* smdk4412-common: camera: release face detection memory when capture stopsDheeraj CVR2014-03-241-0/+10
| | | | Change-Id: I6724ce6dde3c4b6242a06b73808905a6de094d4a
* smdk4412-common: camera: Don't set focus to FOCUS_MODE_TOUCH after taking a ↵Javier Ferrer2014-03-231-2/+6
| | | | | | | | | | picture After picture has been taken in stock camera app, FocusAreas is resetted to the center of the preview screen, causing the HAL to detect the non (0,0,0,0,0) as a tap in the screen. Change-Id: Id41d108c6bb59a05a0a98efbaef51d14f50741fd
* Proper battery pathsDavid Ferguson2014-02-113-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 4.4 introduces a new daemon, healthd, that handles battery status - resides in: /system/core/healthd - BatteryMonitor.cpp iterates through all the *directories* under /sys/class/power_supply looking for a file called 'type' - if the type == Battery, it assumes this is the location for the battery stats for the device. Only the first directory that matches this criteria is used. - on msm8660/d2/jf/s2 kernels, this search results in: /sys/class/power_supply/fuelgauge. - To determine capacity, healthd looks at the contents of the 'capacity' file under this discovered base path. This results in /sys/class/power_supply/fuelgauge/capacity on msm8660/d2/jf/s2 kernels. - Unfortunately, this is the wrong path. The capacity file at this location returns a large negative number. - Other paths like status, voltage_now, and present are also incorrectly determined. * For comparison, in 4.3 battery statistics gathering was handled by frameworks/base/services/jni/com_android_server_BatteryService.cpp - BatteryService does a similar search for a file called 'type' with the contents of 'Battery' - But the search logic is different here: it takes the *last* path that matches the criteria. - This results in the correct /sys/class/power_supply/battery * This patch overrides the discovery mechanism for battery status completely. Change-Id: I4579c92bba5596eef4dac67b8c0687be50a1d2f5
* Merge "smdk4412-common: camera: properly enable touch to focus mode" into ↵Ricardo Cerqueira2014-02-031-20/+25
|\ | | | | | | cm-11.0
| * smdk4412-common: camera: properly enable touch to focus modeDheeraj CVR2014-02-011-20/+25
| | | | | | | | | | | | | | | | | | Touch to focus is not properly enforced unless the focus mode is set to FOCUS_MODE_TOUCH. https://github.com/CyanogenMod/android_kernel_samsung_smdk4412/blob/cm-11.0/drivers/media/video/s5c73m3.c#L1857 Change-Id: I67236ae7ae687fbc0b7450102d744472a81def99
* | media_codecs: Don't try to use absent VP8 decoderRicardo Cerqueira2014-02-021-1/+0
|/ | | | Change-Id: Ie4882b2e7dc675fda1b1cc4295f2a95d7d7c4482
* Camera2: Don't reset the focus mode when using TTFRicardo Cerqueira2014-01-291-0/+1
| | | | | | | The mode switch makes the previous focus result go away at snapshot time, and we don't want that. Change-Id: I5a3c9e6e945b095f5bbcd724ef32222c77c53c23
* smdk4412-common: rename Gallery2 -> Camera2sbrissen2014-01-291-9/+0
| | | | Change-Id: Id8d11bb4a864060d0bc49fd9da28c4ca09c851d6
* camera: Hold 25 msec between preview cycles on restartRicardo Cerqueira2014-01-271-0/+2
| | | | | | | | | If doing a preview restart with an active listener, give said listener a bit of time to clean up before starting up the preview again. This should be sufficient to prevent shutdown/start race conditions during externally triggered restarts. Change-Id: Id4a722c472eeffb50a332b0dabc29d9e23062883
* Merge "smdk4412-common: camera: implement CAMERA_MSG_FOCUS_MOVE to report ↵Ricardo Cerqueira2014-01-252-9/+59
|\ | | | | | | CAF" into cm-11.0
| * smdk4412-common: camera: implement CAMERA_MSG_FOCUS_MOVE to report CAFDheeraj CVR2014-01-122-9/+59
| | | | | | | | | | | | | | | | | | | | | | Since we are querying the status of CAF in real time, implement CAMERA_MSG_FOCUS_MOVE to report the CAF status. Also monitor the state of AutoFocus and report success or failure only when AutoFocus has started. This prevents reporting false AutoFocus status which relates to the previous AutoFocus result. Change-Id: Icb151dca150f932b42b276c45ec392e3dae413cc
* | smdk4412: remove unused overlaysbrissen2014-01-211-27/+0
| | | | | | | | Change-Id: Idd80804431926df507914c4a1d53a05770429ea4
* | Remove uncommon stuff from init.smdk4x12.rcSimon Polack2014-01-171-11/+0
| | | | | | | | Change-Id: I74cff4414e4e0ad4c89230524a31b62f1e1d1325
* | Merge "smdk4412-common: Don't build torch for devices without flash" into ↵sbrissen2014-01-131-2/+6
|\ \ | |/ |/| | | cm-11.0
| * smdk4412-common: Don't build torch for devices without flashsbrissen2014-01-101-2/+6
| | | | | | | | | | | | For devices without a flash set TARGET_HAS_CAM_FLASH := false Change-Id: I8fb1648f443abadd8677fd6780ba95a40c613cf0
* | smdk4412-common: Add support for Tab 3 8.0Ketut Putu Kumajaya2014-01-091-1/+1
|/ | | | | | Includes: SM-T310, SM-T311, and SM-T315 Change-Id: I2c235ba5297d9ff3fd3c400b0a7dde4bce89465e
* Make it n8020 compatible (same as i925, with gsm and w/o cdma stuff).Simon Polack2014-01-061-1/+1
| | | | Change-Id: I4b5f37938a9a60857c53c74db4f52b6d9d721929
* Merge "smdk4412-common: camera: don't defer picture if CAF is in progress" ↵Daniel Hillenbrand2014-01-042-13/+5
|\ | | | | | | into cm-11.0
| * smdk4412-common: camera: don't defer picture if CAF is in progressDheeraj CVR2013-12-292-13/+5
| | | | | | | | | | | | | | | | | | | | | | CAF is considerably slower than Auto or Touch Focus and since we are deferring the picture while CAF is in progress, there are delays while taking the picture and these delays are sometimes huge. Disregard the CAF state since we could Touch to Focus if required. Change-Id: If981f6402cc97e0781060dc48fa7d8e44288168f
* | smdk4412: Enable camera message managementSteve Kondik2014-01-031-0/+1
| | | | | | | | | | | | * Fixes the deadlocks seen with back-to-back shots Change-Id: I539b2618187fa4598556359f9dbce61f729cd909
* | camera: Fix loss of focus mode between shotsRicardo Cerqueira2014-01-021-25/+21
|/ | | | | | | | | | | | exynos_camera->focus_mode can't be relied upon to verify the previous state, since a snapshot will reset the focus state. This was causing any mode besides auto-focus (enum 0) to fail after the first photo was taken, including the default continuous-picture. Always make sure the focus-mode is up to date when set_params is called Change-Id: I8e6f52093ad897bcf04bc5047bb1fcd4f109dc55
* Merge "init: Update wpa_supplicant service parameters" into cm-11.0Ricardo Cerqueira2013-12-211-3/+9
|\
| * init: Update wpa_supplicant service parametersthdDude2013-11-161-3/+9
| | | | | | | | | | | | This fixes WiFi for n7100. Change-Id: If9327ceb2cc81a1a19f0059089fe20c8ca317e1e
* | Merge "smdk4412: update media_codecs for KK" into cm-11.0Ricardo Cerqueira2013-12-151-1/+3
|\ \
| * | smdk4412: update media_codecs for KKsbrissen2013-12-131-1/+3
| | | | | | | | | | | | Change-Id: Ic545a4514f6bb9a5b1efd540cc5ca1067b66f772
* | | smdk4412-common: camera: squashed updates from cm-10.2Dheeraj CVR2013-12-144-300/+494
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smdk4412-common: camera: fix EXIF attributes for S5C73M3 sensor S5C73M3 sensor which is the back camera, doesn't return the EXIF attributes using V4L2 IOCTL. This sensor interleaves YUV and JPEG frames along with Metadata which contains the EXIF information. This patch does the following: Manually extract the EXIF information from the interleaved metadata and implement ISO, Flash, Exposure, Exposure Time and Exposure Bias EXIF attributes for S5C73M3. Fix incorrect Exposure EXIF attribute that was reporting as 1'. Change-Id: Id9faa64af498645099cccc9cbf28f2dbdfecd254 smdk4412-common: camera: fix scene mode snapshot capture crashes Few Scene Modes (like Night, High Sensitivity) if set as default, after the camera opens, require the scene mode to be set when the stream is turned on inorder to properly take effect. Not doing so will result in crashes while trying to capture the snapshot. Change-Id: I9e6b67c59699495da6922ac737232f58d98c2b40 smdk4412-common: camera: reorganize camera parameters Few Scene modes require Flash and few don't. However all of the scene modes require the focus to be AUTO. Reorganize the camera parameters to set the Flash and Focus modes based on the scene mode. Changes adapted from Exynos5 Camera HAL. Change-Id: If3ab62a1d8aecf84d2a04d1e899f71d4315a66ea Conflicts: camera/exynos_camera.c smdk4412-common: camera: several fixes for autofocus Setting the AutoFocus off using V4L2_CID_CAMERA_SET_AUTO_FOCUS will reset the AF position of the sensor and this was done whenever autofocus was completed. This totally defeated the purpose of touch to focus since the sensor AF position was being reset after focus and had to be refocussed while taking the snapshot. This also led to several issues with third party applications since this kind of focus behaviour was not intended. S5C73M3 Back camera Interleaves YUV and JPEG along with metadata. This metadata contains the AutoFocus result. Hence we could parse the autofocus result instead of using V4L2 IOCTL, which is more efficient. Also, the sensor exhibits issues when AutoExposure and AutoWhite Balance locks are used with Flash ON. Improper locking could lead to freezing of the sensor while taking a snapshot. Hence, only lock AEAWB when flash is OFF and unlock them after AutoFocus finishes. Change-Id: Ief28005dcacd0f8f04990ef8eafebff4a2f109d5 smdk4412-common: camera: enable ZSL mode on front camera We are querying FIMC2 for the capture output and hence we have no reason to restart the preview to have the preview resolution match the capture resolution, which is not how Zero Shutter Lag works. We could have different resolutions for the preview and capture, hence don't stop the preview for resizing. Change-Id: Iaf2b4d0c51dbedb9516b7c3cdde09aa18cd95f73 smdk4412-common: camera: fix incorrect jpeg thumbnail height Change-Id: I139823883d91ddaa48e2516511539ff5fe150e25 smdk4412-common: camera: fix heap corruption Change-Id: I0111615b9d4552a7880598a83bc98060fa900b13 smdk4412-common: camera: include support for face detection Change-Id: I1d176bdf17abdcf0c593fceb01808348b87b75ce
* | Bring back the SECONDARY_STORAGE variablemadmack2013-12-111-0/+1
| | | | | | | | | | | | | | | | This variable is a requirement in KK as newly introduced APIs such as Context.getExternalFilesDirs uses it to retrieve secondary storage locations on the device. Change-Id: I17708c93498da5979c5742cad32232a34490bf5f
* | exynos_camera: update sports scene namemcampbellsmith2013-12-061-2/+2
|/ | | | | | | The 'sports' scene mode has been renamed to 'action' scene mode to match the 4.4 camera configuration Change-Id: I1efcd57f137ee0d73f22ab20031832c7f283381c
* Merge "smdk4412-common: init: remove duplicate socket contexts for wpa" into ↵Ricardo Cerqueira2013-11-141-2/+2
|\ | | | | | | cm-11.0
| * smdk4412-common: init: remove duplicate socket contexts for wpaDheeraj CVR2013-11-141-2/+2
| | | | | | | | | | | | | | Already set from the global file_contexts for /dev/socket/wpa_wlan[0-9], they have no effect here Change-Id: I7056ef311ee6636327a980f26b93f9fbfbd44b27
* | smdk4412-common: fix camera crashUtkarshGupta2013-11-131-1/+1
| | | | | | | | | | | | This fixes the camera crash the first time it is launched Change-Id: Id4af8a4d02ddf7c049a69e261790f26165820fb2