Issue: Release_recording() can be called with any Imemory pointer
sent earlier. HAL cannot use this pointer to recognize video frame
to match before release this buffer to kernel.
Fix: Buffer identity is introduced to every video buffer and released
buffer can be found by comparing identity.
CRs-Fixed: 1026840
Change-Id: I287d1276fbf2241a2fc6d470e887a91e1daeca4d
Batch mode video processing was broken on latest builds. Batch mode
enabled and verified with media extension now.
CRs-Fixed: 1013704
Change-Id: Ifb34a9c201f39591ab5d6a8aa70125ca7cad3f4f
Issue:
Type of refreshrate is different in different android versions
and if same camera code is used across the versions then
dereferencing the hardcoded int pointer to float resulting a zero.
Fix:
Update Max fps as per the type of(MetaData_t->refreshrate)
Change-Id: Ifced28cdc56252151be4f41e3e652be41af510a0
CRs-Fixed: 1018231
In video metadata mode, framework allocates native handle
resource and needs to be freed in release recording.
This change is to free framework resources in case of media
extension use cases.
Change-Id: I1bac10740130d506d71ec1275dd7d75f66c263c8
Incase framework updates camera native_handle pointer, we need
to use cached native_handle to update for every timestamp
callback. This change is excecuted only if media extension flag
is enabled for the target.
Issue:
Use case introduced in video to overwrites camera native handle
pointer.
Fix:
Change is to cache camera native handle and restore when video
release camera buffer.
Change-Id: I0bdc01b3f2b51d7bba66320cc8ef1ab019136d4e
* They are not required after commits:
land: Update ril-daemon service
Grant netmgrd proper unix perms
Change-Id: I721a9935764f5003cf597095bbe3493dc8a6b0d1
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.
avc: denied { dac_override } for pid=2664 comm="rmt_storage" capability=1 scontext=u:r:rmt_storage:s0 tcontext=u:r:rmt_storage:s0 tclass=capability permissive=0
Change-Id: Ib02b4aedab479f5ad8aca3a2100b5c489397002a
Do not grant DAC override permission which would allow this daemon
unix permissions to everything.
avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability
Adding
wifi group to access
/data/misc/net/rt_tables
-rw-r--r-- 1 system wifi 130 2016-05-11 09:58 rt_tables
wakelock group to access:
/sys/power/wake_lock
-rw-rw---- 1 radio wakelock 4096 1970-01-19 15:03 wake_lock
radio/inet groups to access
/dev/socket/netmgr/netmgr_connect_socket
srw-rw---- 1 radio inet 0 1970-01-19 15:03 netmgr_connect_socket
Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b
Tells Qualcomm GPS hardware to:
1) Use https
2) Use the more secture version 3 file
3) Check that the
XTRA file version downloaded matches the version
expected - i.e. the more secure (signed) version 3
Test: On device, via adb push/pull, watched
Xtra download logs and confirmed GPS acted as if Xtra
assisted
Bug: 31470303
Change-Id: Ib2a1b9ec9be32f842a158c05fa2ba04cb0262b76
With the OSS camera HAL, the camera preview freezes every time
a picture is taken. Restart the preview to unfreeze it.
Change-Id: If0fd6a1fcb01eccc4cf7f1abc548dcb92e9546b1
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
Check if power off alarm is set, then set alarm's properties
Adapted from Mao Jinlong <c_jmao@codeaurora.org> patch in init.qcom.early_boot.sh
Change-Id: Ib86584d1c09aba07c47435ac8bed39aac79a80f7
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This was missed out from init.qcom.early_boot.sh.
Change-Id: Iab5b0d7782a53b97315d2aa9d0c301ed7725e01d
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
* As per latest MIUI Global Beta.
* Thanks to danielstuart14.
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
Signed-off-by: charansai612 <charansai612@gmail.com>
* When a device with hundreds of apps is booted up, hundreds of
apps will spawn their BOOT_COMPLETED receivers which start
up their background initialization services. Since only one
core is allowed for these processes, the time for all these
services to complete is extremely long.
* To improve this, allow three cores for background processes,
keeping the fourth for idle wakeups. This ends up producing
a better thermal profile for the device as well, since the
small cores are not the aggressor on this SoC.
Change-Id: I98bbf8bf565bd77066ff7726014e6fa5730a4e09