Allow to thermalhal to update trip points for neutral_therm which is the
triggering sensor of virtual skin sensor for o6 proto.
Bug: 193373779
Test: neutral_therm can be updated to the correct threshold
Change-Id: I16dcd44ce9e69f456df322664756dc74357bf50b
Launcher prop needs to be accessed in system partition only,
hence move the related prop to /system/build.prop
Bug: 192621663
Test: ro.launcher.blur.appLaunch prop is set correctly,
and Blurs are disabled on App launch.
Change-Id: I6721d59498c5d35dfd560f429b8aed7a01ac29fc
* Latest is determined by alphabetical order
* To find the .cpa file, unzip the bug report and run `tar -xvf dumpstate_board.bin`
* The .cpa file can then be found under the `camera/` directory
* This can be disabled with the prop `vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport`
Bug: 191169822
Test: `adb bugreport`, unzip, `tar -xvf dumpstate_board.bin`, find expected .cpa file
Change-Id: Ie05e8d446588cebea46492b267491065161915a1
init.usb.configfs.rc has the same trigger condition of midi function.
Rename the config name to "charger" to avoid triggerring twice of the
midi function.
Bug: 188744218
Test: USB enumerated in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Ica112fb4be66356901f6d5f21b79b9e648d49f35
During Tuscany runs, the Camera HAL is requesting a CAMERA_LAUNCH power
hint, which runs big and small CPU clusters at FMAX for 1 second. This is
overkill for Tuscany, so we are requesting that the hint be removed.
Tuscany should only boost during the computationally expensive image
processing, and should stop boosting as soon as a decision is reached.
This CL adds a new power hint for Tuscany. The other CLs in this topic
use this hint to boost CPU frequency during the critical section of
Tuscany by adding a call from the FaceHAL to the PowerHAL.
Running camera open and camera close without CAMERA_LAUNCH hint saves a
measured ~1W of power. The common case for this boost in Tuscany will be
a few frames at ~60ms per frame, so much less than 1 second of boost.
The worst case scenario is falsing - no attempted unlock. We will allow
the hint to time out after 1 second in that case, but that case is less
common.
Measured latency improvement per-frame from running the CPU at FMAX is
~15ms per frame. Power measurements can be found at go/tuscany-power.
NOTE: This change will _reduce_ the power/battery impact of Tuscany by
boosting for a more precise window of time.
Bug: 190755782
Test: E2E testing, validating frequency in systrace.
Change-Id: Ibca2687d2dffa4e3d2d23a9a588a2eae0b225952
All devices use gralloc4 now, so this code is unused.
Bug: 174998182
Test: builds for the affected devices
Change-Id: Icff36a0204f7f9fd10ae7269248aef8a08c5fc1e
Setting backend thread affinity with higher uclamp value can cause
governor to clock little cores to max. Disable explicit affinity for
driver backend threads.
Fixes: 192486236
Test: build, see SF's backend threads on mid cores in gpu comp.
Change-Id: Id1b17d9783fc65f2d2541fa9c6166d771494cd42
Add powerhint configuration to use CPU 4-7 when CAMERA_LAUNCH
Bug: 188369995
Test: 1. Check camera daemon move to CPU 4-7 when camera launch
2. P21 Camera Test Checklist done
Change-Id: I6ddc9ce664166c5b78c9a5bc427c800f0714b6ea
This among other things greatly increases tethering performance.
Bug: 185092876
Test: TreeHugger, built and booted on an oriole, enabled tethering
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic9f0b4bef05250bb38c91dc1e046366098d98dc0
CAMERA_STREAMING has the setting "TAPreferHighCap=1". GCA_CAMERA_SHOT should set "TAPreferHighCap=1" as well in case user leaves the viewfinder.
We could get better performance with "HighCapacityStartCpu=6".
Bug: 192534118
Test: manual R4
Change-Id: I85c77ac1ccc2176312b54a6acdd37df55a658f04
Add MIF, INT boost powerhint configuration for CAMERA_BACKEND_BOOST to
improve stability
Bug: 168654554
Test: 1. Check clock freq related file when camera start
2. Check face id function work correctly
3. P21 Camera Test Checklist done
Change-Id: Ia39acd531063bcf93c2db9971d783f6da8006502
This variable helps the EdgeTPU components to build different
targets per target chip accordingly.
Bug: 192096682
Test: tested on local Oriole.
Change-Id: I3de4082148392b184ed7e7e40de3fa93cbfe845d
This library is hooked into the recovery code via
hardware/google/pixel/recovery and contains routines specific to the
GS101-based hardware.
Bug: 182508814
Test: did master reset on device with keys, verified no keys present after reset
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I18357f5ac8db7a765a5464fd3366af3d14928ce6
This is to expose a common path to runtime.
Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044
Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I11865108931443d96389640c89b6cc29aee3a634
Revert submission 14993383-IDR_SYNC_FRAME
Reason for revert: Causes crash while stopping camera recording.
bug: 192362037
Reverted Changes:
Ia9d94fc58:videocodec: ExynosVideoApi: clean up MFC flags
I6f7d808e6:enc, videocodec: change to set SYNC_FRAME when it ...
I3f83c9a8a:firmware: update MFC F/W(21/06/14)
Change-Id: I7ae15be42830af91a8bdf6f65b5336212e661953
Revert "recovery: enable support for device-specific WipeSe impl..."
Revert "clear secure element of Digital Car Keys during factory ..."
Revert submission 14983788-clear_keys
Reason for revert: b/192373955
Reverted Changes:
Ia8fc29e6c:add gs101-specific recovery library
Icc1eabfd4:clear secure element of Digital Car Keys during fa...
I943d97b26:recovery: enable support for device-specific WipeS...
I15c7fbd7f:allow recovery and fastboot to access secure elmen...
Change-Id: I545698bc7da1aa12f520c0190775358dae70de61
This library is hooked into the recovery code via
hardware/google/pixel/recovery and contains routines specific to the
GS101-based hardware.
Bug: 182508814
Test: did master reset on device with keys, verified no keys present after reset
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Change-Id: Ia8fc29e6c043c58c09f189ac5dc91c4093cf64b6
- Modified HEVC decoder error handling which copy the nearest reference frame
to current frame when error is detected.
- Implemented so that SBWC can be off/on during decoding when SBWC is enabled.
- Fix the max I frame size calculation bug when RC mode is CBR_VT. (RC_MODE = 3)
- Modified so that H.264/HEVC decoder can consumed AUD NAL type stream
when AUD is added at the end of frame.
Bug: 189759631
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Change-Id: I3f83c9a8adae6bbcb1fb74b86c777811993b8c27
clock when camera lauch and secure camera is not used
Add mem, mid CPU cluster power hint configuration when CAMERA_LAUCH
Bug: 168654554
Test: 1. Check clock freq related file when camera start
2. Check perfetto to make sure CPU clock setting does not reset by
BACKEN boost power hint
3. P21 camera checklist
Change-Id: Iadc7058c605533f8bd394dff1d9711bb7aca6897
Wireless ptmc uevent is not supported,
replace it with reading file node
Bug: 171853251
Test: manually, do wirelees charge, check logcat
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I8d4bbff09826fb76b0bce4321e9b5081a1487435
It needs a USB function in charger mode to set the charging current to
500mA/900mA.
Bug: 188744218
Test: charging at 900mA in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I95c98ecec30dd4394228f7290412c303771a3158
They are use by the GOogle Play Store to filter devices
that might need low latency feature.
Bug: 189793763
Test: Build and check the files
Change-Id: Ibf71147b971bfc4fe4e769772851e604203395b8
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Bug: 191646246
Test: Boot test
Change-Id: I7e5e12c4422aa516cd9d8c63b1e5be37b6aa80bf
Make CP report velocity measurement if requested
Make ellipsoidPointWithUncertaintyEllipse location type supported.
Add min Horizontal EA check to comply with VTS test
Fixed SIGSEGV at BrcmLppeHalSensors::OnMessage() while VZW AGPS E911 testing
Fixed issue that endTransaction is set to false for final ProvideLocationInformation in EarlyFix SUPL testing
Added EarlyFix support to Control Plane
Added guard time (CpEarlyFixGuardTimeSec, defalut = 0) for EarlyFix Control Plane
Bug: 190780462
Bug: 187244665
Bug: 191215893
Bug: 190459104
Sanity test: 191727022
Test: build pass
Change-Id: I3ebf15d7c451df635e1757ceea280e2d31dce450