* This has not been mandated by Google since S and since they fixed
density scaling, UI looks better with properly scaling interface.
Change-Id: Id1eb10b3f0c2b03ac6401bdfb00ba68036de91ef
* CTC's 2018 u-boot is more feature-complete for nx for now.
* We may revisit this later.
* This remediates issues with RAM carveout, clocks
(on erista models), mod chip issues (on mariko models),
and brings us almost in-line with L4t releases for nx.
Change-Id: I622cc67acb543b6ac54c8ee7a585d88e8066606c
* Reduce crashing and other issues resulting from density
disagreements. Also, AAPT should not be set as per cuttlefish
and newer Pixel devices.
Change-Id: Ibca27b4a77c84f2e57a534da10c278c7d0f0cf91
* We will use existing disable infra instead of idc disable. In the
future we will do this based on vid/pid, but AOSP ignored the
change and no one cares enough to port it.
Change-Id: Ic09688a180502274aa5c56065b8e943227753cc3
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.
Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
* This is a strange case, it never shipped Android to begin with,
so we need a tighter control over the ecosystem here to make
things seamless.
* Candidly, we're either going to set this up here or from Hekate,
and this is far cleaner.
Change-Id: Ic60d3a78a74655f51b5acc84e6166a018733fece
* Normally, this would normally be a platform decision, to build,
or not to build an non-controller navigable app on ATV builds.
* But we are the weird-ass edge case (as always), in that we are
an ATV device with touch-input, meaning this application will work
on this device.
Change-Id: I2f32ba14d522f0dc81db13ef76e8f52a0b151770
The build system enables this for shipping API level >=29
but we also want it to pass the vintf runtime checks.
Change-Id: Ie2147893a1551b736880913334a3c134a17ca91c
Currently results in no change to the target image, but this allows
updates to the target in one place instead of each device tree.
Change-Id: I13d095307ed1dcb2375ae7193b9abc3be30b3bdf
Currently results in no change to the target image, but this allows
updates to the target in one place instead of each device tree.
Change-Id: I9dbc06b6a64604c46851f3c4aef3f189c83f042d
This reverts commit 525c9b6d18.
Reason: We now have enough space for full GMS with dynamic partitions.
Change-Id: I7c3ab4c187b7284f5d03471531cd57238e6fd953
(cherry picked from commit 0bf0c81a31bf64c11b58be5b27ed3a57add2c9d6)
* We are aren't launched with Android at all to, but
our partitions were origianlly set up to match
foster, as it is our closest hardware counterpart.
* Those partition sizes are now to small to fit
almost any form of GMS.
* The fact that users have to exploit their console,
run a custom first stage bootloader (Hekate), and
applications bootloader (u-boot) that we control
means that instead of retrofitting dynamic partitions
we can just _launch with them_ (as we have yet to ship
this device).
* Treat this device as if it has always had dynamic
partitions and let Hekate set us up to reflect that.
* Do away with SAR in the process, as Hekate can turn
that off.
* Nuke MDA, we don't support hardware backed encryption
anyway, so it doesn't make any sense to house.
Reference: https://github.com/CTCaer/hekate/pull/922
Change-Id: I1e5d8c309d08559873ea3c93ac5b4b6e197b528e
Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]
SHEILD Android TV was launched with Lollipop (API level 21), so
schedtune and task groups are completely broken. Since the system
also checks /vendor/etc for vendor profiles, make a copy of
cgroups_28.json and task_profiles_28.json and ship them to
/vendor/etc. Profiles for previous API levels are all the same
anyway.
Test: boot and check /dev/stune/
[1] system/core/libprocessgroup/profiles/
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I65fe622a804a720a97b43d8092cc8a37703f4b64
Based on xml parsing code in NVIDIA power HAL. This allows
JoyCon proper sleep functionality to work.
Change-Id: If4d50b43ac592a22dfc02d3a13a711ac68c0b227
Set up in polling mode--trigger and event mode will need testing. Will
also require testing for generalized calib profile for max range.
Change-Id: I8e58cac0288ba8b53f3451c239c15c0a906db8d4
The small ~7" 16:9 displays need smaller, higher res elements,
without making TVs look terrible when docked (without forcing
wm-based dpi changes). Use 214 (~tvdpi) for density and use tvdpi
assets on atv and xhdpi assets on mobile.
Change-Id: I1d5847ef5dbb11a83e403788f4f8d757b0ec55cd
* Inputs are duplicated because the CEC HAL directly processes them while
the RC device is handled as a standard input device. This disables the
latter to stop the duplication.
Change-Id: Ifa07683b4f0509e8027630a15af6e0dbd1636452
* Again, we do not plan to support vali display hacks for the
time being. If so, we will add env and do it that way.
* filter-out CEC for vali because common trees assume that unified
devices will all support CEC or none.
Change-Id: I1df0d895de870a3ebd76825fe278997e83435922
This is a squash of the following loosely kept history:
```
Rename device settings, override the common version, and build it
Change-Id: Ifff795f77ccc299d284eed56b050dfd59c8563a3
Set display resolution, disable HW overlays and unlock screen automatically when docked
devicesettings: Add power profiles support and cleanup scaling
Code cleanup and fix docked display size setting
devicesettings: Add DPI scaling
Always disable HW Overlays
Properly handle multiple external displays rather than hardcoding ID
devicesettings: Add fan profile support
Remove internal display dpi scaling
Add nice devicesettings icon
devicesettings: Fix atv scaling by restoring past resolution on undock
devicesettings: Fix icon colour and reset power profile on unlock
Expose DeviceSettings in leanback launcher
In the future a leanback variant should be made.
DockService: Updates to support ATV display handling
devicesettings: Add HWC wake rotation workaround
Remove HW overlays workaround from DockService and use prop instead
devicesettings: Add fan coefficient setting for perf profiles
Change-Id: Idf524a50ac96e1adc299b109be9319f6cc161cd9
Cleanup DockService
dockservice: update log statements
- Adds log statement on entering HDMI disconnected block
- Changes display index logging from error to information
```
Co-authored-by: Thomas Makin <halorocker89@gmail.com>
Co-authored-by: CTCaer <ctcaer@gmail.com>
Co-authored-by: Billy Laws <blaws05@gmail.com>
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Change-Id: I0013b598431c7ec28e95de92343f4aa25b9ee5e5
* We don't need `update_js_touch_fw.sh` which is the only
thing housed in `init.loki_e_common.rc`.
Change-Id: I0025fc0fd7297af276964a73e54195cd30513be6