summaryrefslogtreecommitdiff
path: root/device-common.mk
AgeCommit message (Collapse)Author
2020-12-08Revert "Enable improved user separation for bonito+sargo."Alan Stokes
This reverts commit 827cc777a5016b652ef742ad6ee5e14490c81133. Reason for revert: On by default since commit 763393644a0a6e361f26dfe26f6dc0021579f011. Bug: 171462631 Change-Id: I80fcfb148d4f76a2d3b56349b25b3a86b929fcbb
2020-10-29Enable improved user separation for bonito+sargo.Alan Stokes
I'm doing this on a device-by-device basis as it depends on device-specific sepolicy changes (see b/170622707). Enabling now to prevent the policy regressing, and to get field experience. Previously enabled for crosshatch+blueline in commit 8266b7418d5dc5a743bc0216ac5e17f36fb917d4. Bug: 141677108 Test: presubmits Change-Id: I6c2534ec620471737f9750ceae3a8d2624145102
2020-06-01Disable userspace rebootNikita Ioffe
Test: builds Test: build vendor/build.prop Test: grep 'init.userspace_reboot' ${OUT}/vendor/build.prop Bug: 157884323 Change-Id: I1c85ee4a30f572a0822df81d7c29fb4f78fbda2d
2020-03-10Remove lmkd properties to enable new lmkd kill strategyMartin Liu
With new strategy default values for lmkd properties should work and no property overrides are necessary. Bug: 132642304 Test: lmkd_unit_test Change-Id: I59e47beed12083c1e96e40d5d3ba4466504335b0
2020-01-29Inherit userspace_reboot.mkNikita Ioffe
Test: Checked that userspace_reboot.mk is included in device makefiles Bug: 135984674 Change-Id: If910e2a6baf8acaafc8bafdf8193ba7237f66f1a
2019-09-10Merge "Enable thermal warm reset" into qt-qpr1-devWei Wang
am: 94dcf6d648 Change-Id: I212dacbbfa8f2d6ad975c518a05cbc895e6b2af6
2019-09-06Enable thermal warm resetWei Wang
Bug: 137982557 Test: thermal shutdown Change-Id: I6d38533ecf6e4a7a79e0d9d8f1f124ff93e37fbc
2019-07-02Bonito/Sargo supports updatable APEXJiyong Park
Before, updatable_apex.mk was inherited indirectly from mainline_system.mk. Since mainline_system.mk no longer inherits updatable_apex.mk, updatable_apex.mk is inherited directly from device-specific mk file. Bug: 132664085 Test: choosecombo to bonito and sargo; get_build_var TARGET_FLATTEN_APEX shows false Change-Id: I0a0923da157ec87bd139883e14a948466a134554 Merged-In: I0a0923da157ec87bd139883e14a948466a134554 (cherry picked from commit 38b571e78693f7cc7703ddb8a592ae3ca0bdd32b)
2019-06-24Set BOOT_SECURITY_PATCH during buildGarret Kelly
This property is now used during boot to provide the TEE-backed keymaster with the correct boot SPL. Set it to the platform SPL until it diverges as part of an update. Bug: 119549677 Test: verified boot.img has property using avbtool Change-Id: Ice8e7747059492fc8729128e99119d8678fe5562
2019-05-27Disable configs for wide-colormillerliang
There is janky in Photos one-up activity with WCG even we boost GPU as the maximum frequency. So we need to disable this config. Bug: 130030334 Test: 1. Launch Photos to enter the one-up view Repeat to click home key and then Photos There is no jank during window transition 2. Check Youtube HDR, it still works fine. Change-Id: I9929cf8cf3e58fced619735ee23edfbb2e7c8ab5
2019-05-02Turn on GPU protected composition.Peiyong Lin
BUG: b/130435822, b/130442144 Test: Verified with Youtube Change-Id: Ie343951d1aa8f5ad0ff8542c25b9fb1c086dafce
2019-04-22Disable protected contents.Peiyong Lin
Due to flickering issues, disable protected contents for now. BUG: 130435822 Test: Build, boot. Change-Id: I5cc733eeea220957e70b6a424c947126450597f9
2019-04-05Turn on GPU protected contents.Peiyong Lin
BUG: 130028057 Test: Verify with Youtube and ExoDefault Change-Id: I65f7a7b7b60cde581523b1de22a00eda1c3d192b
2019-03-01Merge "Change to system properties"TreeHugger Robot
2019-02-28device-common.mk: Set VENDOR_SECURITY_PATCH to platformChris Fries
Set the VENDOR_SECURITY_PATCH level to match the platform security patch level. These are functionally the same. Bug: 125914443 Change-Id: Ib77ab115d6faabd21958c34e2dae49ec96421fdd
2019-02-22Change to system propertiesSundong Ahn
The build configs which are using in configstore 1.2 are changed to system properties. Since configstore 1.2 will be deleted. Bug: 124531214 Test: build & boot Test: adb shell lshal | grep configstore & check configstore 1.2 Change-Id: I86aa1d2cd45d67b551dc88f78a17c2aee56b12bf
2019-01-16Enable dynamic partitions for B4S4Hridya Valsaraju
Bug: 122115286 Test: fastboot flashall Change-Id: I595335375a99e6a8cf55e4f5646a6b1e40b066d8
2019-01-09Merge "Revert "b4s4: device-common.mk: remove the ro.lmk.kill_timeout_ms"" ↵Martin Liu
into pi-dev am: d01f953753 am: dee8fe08fc Change-Id: I3381b429b21047569c5df9e233996a1e18795513
2019-01-09Merge "Revert "b4s4: device-common.mk: remove the ro.lmk.kill_timeout_ms"" ↵TreeHugger Robot
into pi-dev
2019-01-09Revert "b4s4: device-common.mk: remove the ro.lmk.kill_timeout_ms"Martin Liu
This reverts commit 454cdb978a85588406375ce6fae5aadb3e090715. Reason for revert: might cause overkill. Bug: 120763475 Test: boot Change-Id: Ia3de32a7c00f863dd95e0c3d08f4e45ee84b83f2
2019-01-02Merge changes I397473cb,I678d345c into pi-dev am: 91cb6abe3fWen Chang Liu
am: e853da927d Change-Id: Idf413c403d23b684646e101527a20394217b03af
2019-01-02Merge changes I397473cb,I678d345c into pi-devWen Chang Liu
* changes: media: add OMX aliases for Codec2 components media: enable HW Codec 2.0 as default
2019-01-02media: enable HW Codec 2.0 as defaultCarson Chen
Default property: debug.stagefright.ccodec=4 debug.stagefright.omx_default_rank=512 Test : Checked Video HW Codec run in QC2 Bug: 112336022 Change-Id: I678d345cf02f106b28124c4817e60d99cf340654
2018-12-25Merge "b4s4: device-common.mk: remove the ro.lmk.kill_timeout_ms" into ↵Kyle Lin
pi-dev am: 7ad2588c36 am: a352953762 Change-Id: I93d35d33485fd727802a601c8eb431b2d75c3d53
2018-12-25b4s4: device-common.mk: remove the ro.lmk.kill_timeout_msKyle Lin
Bug: 120763475 Test: 1. manually test and check ro.lmk.kill_timeout_ms exist or not 2. launch much apps, such as Chrome/Maps/Spotify/Camera/Android Auto etc, raising the memory pressure then check Spotify isn't killed and Camera won't lose picture. 3. Applied the patch to my daily using phone and test over night, it looks good. Spotify play well even it's in background. Change-Id: I5323ac4dcf0698ddb81fa99b79c1ea07d02f80af
2018-12-19Bulk migrate /system sysprops to /productAnton Hansson
This moves all the properties defined in this device-specific makefile off /system. It's likely not the right place for many of these. - as some of these properties are added to mainline /system, they can be deleted from here - some of these should likely be moved to /vendor in followups Bug: 119911662 Test: diff adb shell getprop before and after on a blueline Change-Id: Id880de677638a5fd40672f8f0f400c9c3c6432eb
2018-10-30Adding VENDOR_SECURITY_PATCH level definition.Max Bires
This will fix failing CTS tests for bonito/sargo. Bug: 116295107 Note: 80210450 Test: CTS tests pass Change-Id: I0d923d4eb67ddef3be81409676472fe520bbacf5
2018-10-09bonito: Revert "set video C2 HW codec as default"Jerry Huang
Due to the high fail rate via camera recording. Roll back to OMX video components. Bug: 116174324 Test: playback/recording pass Change-Id: I375dd8f6e3abbeeca62b8277f5366fd9525b1429
2018-09-13Merge "Relocate mixer_path and audio_platform_info XML files" into pi-devTreeHugger Robot
2018-09-13bonito: Enable Codec 2.0 and set video C2 HW codec as defaultJerry Huang
1. Enable Codec 2.0 service and set video codec [c2.qti.*] as default. 2. Add OMX component to media_codecs_c2.xml in order to dynamically switch between different components for debugging purpose. Bug: 112336022 Bug: 113141229 Bug: 114163096 Test: Video playback/recording/IMS VT/Chromecast can work well. Change-Id: I9146dad0c88b0a2472a17655f83b4c0e155a70ea
2018-09-13Relocate mixer_path and audio_platform_info XML filesYung Ti Su
Bug: 112018755 Bug: 115454678 Test: Build PASS and files copied Change-Id: I3a151010c279fa2700b90688f77544ac579acf9b Signed-off-by: Yung Ti Su <andysu@google.com>
2018-08-27Change fluencetype prop to conform to treble vendor specChengYou Ho
and remove redundant properties Bug: 112819790 Change-Id: I8182eb2483938559da45b8552eca63f1539c7ea4
2018-08-10bonito: temporary remove c2 codecvincenttew
this patch is to prevent audioservice get stuck will loading soundpool, since c2 codec is not ready, temporary remove it Test: build pass, audio path switch Bug: 112347306 Bug: 112078401 Change-Id: I6aacd34eeff75a26a7ea8240032d649f38a6fa11 Signed-off-by: vincenttew <vincenttew@google.com>
2018-07-21Change PRODUCT_PLATFORM to sdm670Robin Peng
androidboot.hardware.platform = ro.boot.hardware.platform = sdm670 Bug: 111163725 Change-Id: I215051aceb136cda9eff3e3bf800cda6d5584c70
2018-07-12bonito and sargo: initial device supportRoger Liao
Bug: 111163725 Change-Id: I00af3102379676cedf818caa2e86c5e1593a48da Signed-off-by: Roger Liao <rogerliao@google.com>
2018-05-30Pixel 2018: Re-enable Bluetooth A2DP hardware offloadPetri Gynther
Bug: 80165176 Test: Bluetooth A2DP regression testing Change-Id: I1b71363927f1570aabcea9d77325748477c871aa
2018-05-24Revert "Pixel 2018: Enable Bluetooth A2DP hardware offload"Mekala Natarajan
This reverts commit 860fd344629567d0245b0641333e8da25d0a1268. Reason for revert: See several "no audio" reports since A2DP HW offload is enabled (Master bug: b/80165176) Change-Id: I371c2d844b5a1aca3957f01849be418934efb8f1
2018-05-20Pixel 2018: Enable Bluetooth A2DP hardware offloadUgo Yu
Bug: 63932139 Test: Manual test Change-Id: I90abf6f7cc7933d53ca4c4c457e488f73caea069
2018-04-23Merge changes from topic "b1c1-audioeffects-move" into pi-devTreeHugger Robot
* changes: audio: Add audio_effects.xml for AOSP builds Revert "audio: switch to use libfmas for downmix"
2018-04-20audio: Add audio_effects.xml for AOSP buildsDavid Lin
Bug: 78285813 Test: manual Change-Id: I449bb6303a5cc02721495285cce9e41d4f531b4d Signed-off-by: David Lin <dtwlin@google.com>
2018-04-20Configure crosshatch for audio latency and feature flagsGlenn Kasten
Bug: 77867216 Test: Loopback Change-Id: Icbaae8be84be79779ee82f27f7ee68aedc2fd228
2018-04-20A2DP offload: switch to new properties + swap audio XML filesPetri Gynther
Bug: 63932139 Bug: 76201991 Test: Manual A2DP testing (A2DP offload enabled and disabled) Change-Id: Id90a4ba45e5bbec4e60ace113fd4037127f40f29
2018-04-18audio: enable MMAP modeEric Laurent
This will allow AAudio to route audio data through a new service that uses ALSA MMAP/NOIRQ mode Bug: 78242936 Test: Verify MMAP capture and playback with Native Oboe tester Change-Id: I83fb2e3646345a1fe432279dc47ad7266f2ff33b
2018-04-18audio: sort out mixer path and platform info filesEric Laurent
Remove obsolete files: mixer_paths_tavil.xml, audio_platform_info_tavil.xml. Only copy relevent files to C1 or B1 variant: - Blueline: mixer_paths_tavil_b1.xml, audio_platform_info_tavil_b1xml - Crosshatch: mixer_paths_tavil_c1.xml, audio_platform_info_tavil_c1xml Bug: 78243072 Test: manual Change-Id: If8f874e30e2e4b133a6ea511074b46912d91efd8
2018-04-14crosshatch: Switch lmkd to use minfree levels for kill decisionsSuren Baghdasaryan
Enable ro.lmk.use_minfree_levels flag to use minfree levels to decide when lmkd should kill. This makes lmkd work the same way lowmemorykiller kernel driver used to work. Bug: 77299493 Bug: 75322373 Test: lmkd_unit_test Change-Id: Ic29d7fd21af1cb6af3a7d2a175d210775a09987e Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-04-04crosshatch: Increase ro.lmk.medium to prevent kills at medium vmpressureSuren Baghdasaryan
Setting ro.lmk.medium to 800 to prevent important processes from being killed at medium vmpressure levels. Bug: 77299493 Test: lmkd_unit_test Merged-In: I37e1651a0a2b148a852e5bde86501024d4f87bbf Change-Id: I37e1651a0a2b148a852e5bde86501024d4f87bbf Signed-off-by: Suren Baghdasaryan <surenb@google.com> (cherry picked from commit c954ec2eb318518cfa5c6f64a688fd8c809e91c5)
2018-04-02Clean up non-whitelisted propertiesJaekyun Seok
- moved ro.lmk.log_stats to system partition because it isn't specific to SoC vendors - removed ro.hwui.* because they are deprecated. Bug: 74266614 Test: succeeded building and tested with blueline Change-Id: I233915c0c5a104fc2e7e8ab1b038d4452fbaf9bc
2018-03-23B1/C1: Add support for A2DP offloadAniket Kumar Lata
Add audio policy configuration to support routing to the primary HAL for audio output to A2DP sink devices. Bug: 63932139 Bug: 68824150 Test: A2DP offload verified on supported codecs Change-Id: Icd0a7bad77ab81fe42eb3a3e58819798364e03dd (cherry picked from commit aae7945a7d00cdcdd13221ef3b6fc6ac71bd9e8b)
2018-03-09Move product-specific properties into system partitionJaekyun Seok
The following properties aren't specific to SoC vendors, but to OEM. - masterclear.allow_retain_esim_profiles_after_fdr - ro.sys.sdcardfs - ro.lmk.* Bug: 74266614 Test: succeeded building and tested on a blueline device Change-Id: If1556f43951d65eaadc878805f42f776cb058e57
2018-03-02audio: rename sound card nameDavid Lin
This patch updates that sound card name to follow the <soc>-<board>-<formfactor>-snd-card convention. Also ran xmllint on the xml files. Bug: 73728452 Change-Id: I6e7a087f50d779e66ffbd7d55631218c82e78733 Signed-off-by: David Lin <dtwlin@google.com>