summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-15gs101: Update sepolicy pathHEADtachibana-mr1Scott Warner
Change-Id: I4bcee50514c02294137ea5ac6e64c64d69308bd4
2023-08-15Add 'sepolicy/' from commit '9c753084b3007cc0036ff78a4f4ed990ff33a042'alk3pInjection
git-subtree-dir: sepolicy git-subtree-mainline: d846925a5617b93b86b475e4367438132e296daf git-subtree-split: 9c753084b3007cc0036ff78a4f4ed990ff33a042
2023-03-30Snap for 9854631 from 50bba290a640f1e7be907c33a8f37477248c0d07 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I52fbf8c20761397b46c78926a393a66ac4f3b92e
2023-03-28gs101: update AIDL IGoogleBattery manifest version to 2Jack Wu
Bug: 274701302 Test: TH Change-Id: Ic737349bdfb9e8342730ceef0da5308e443bfc1e Merged-In: Ic737349bdfb9e8342730ceef0da5308e443bfc1e Signed-off-by: Jack Wu <wjack@google.com> (cherry picked from commit 71043f13f619b36e5a898fe10d1df4b2e75cf738)
2023-03-23Snap for 9803571 from 5fbf2c2647b69163defda67b67995437971dd462 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I6f9204f82c267f586bbd54794939e80f47d85bc2
2023-03-22DO NOT MERGE gps: update gps driver 147.20.23.565105Wayne Lin
- fix issues in SUPL over WiFi test - fix incorrect measurement reporting interval issue - fix optimistic speed accuracy issue Bug: 264216987 Bug: 270094312 Bug: 262351380 Verify test: b/274396440 Test: VtsHalGnssTargetTest pass CtsLocationGnssTestCases pass PtsChreTestCases pass Change-Id: Iea62f6330770d6fb24e1e34fcf8c3c3459dff7f2
2023-03-15Snap for 9752887 from 893d8ddff7f4eb0018c5248384ac42a3c5c9e259 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: Ie77e75df0d51b26332bd87900a22098568d0b497
2023-03-15SSRestarDetector: modify the SELinux policy to allow access files owned by ↵Enzo Liao
system for Whitechapel. It needs to access a file pushed by hosts of test suites (details: http://go/pd-client-for-lab#heading=h.wtp07hbqvwgx) Bug: 234359369 Design: http://go/pd-client-for-lab Test: manual (http://b/271555983#comment3) Change-Id: I1c9544ca2ebe1857c439f00c4589f739aca8e157
2023-02-24Snap for 9647254 from ca61a1318a6e39810d11b8e612f9dce3a0ce3b7a to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: If2a1331637f4ba09305057e9eb80f8fba25f1ee9
2023-02-23Set config_networkAvoidBadWifi overlay on different devices for VerizonJunyu Lai
Currently, config_networkAvoidBadWifi is customized in aosp for only 2 Verizon mccmncs: 310-004 and 311-480. However, from TAM feedback, there are few mccmncs which are not customized yet. Explicitly add them for different devices. Test: manual Bug: 270006176 Change-Id: I46ec45354ae72a6a758aba2c2a31af92f1da4038 (cherry picked from commit cc270214edfe849dc71314455aa28994a7939150)
2023-02-23Set activelyPreferBadwifi config to 1 for different platformsJunyu Lai
This flag will not take effect if the system is configured to avoid bad wifis. Set it to 1 globally. Then it will sprint into effect for all mcc/mncs where config_networkAvoidBadWifi is 0. For carriers that don't need this behavior change but config_networkAvoidBadWifi is 0, set activelyPreferBadwifi to 0 for their mccmncs. Test: manual Bug: 270006176 Change-Id: I4b6fe4964e8fd5d61978f1433dcbbd9e9b10ffc3 (cherry picked from commit 3357b8cf949b9e632d10759ba8bc700b72ac2242)
2023-02-23Snap for 9641457 from dc39b32014fbf19b5bb54b7f95a125a4429ed9b6 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: Ia75a75110194f32ce95bf7794d9fae4b52056b6f
2023-02-18Snap for 9627464 from 3194ab09f9c4efe20b9c8f6f6ed230fa014f22ea to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: Ife181d16537070e8869c848fcd0743bc8e65a1b5
2023-02-17[DO NOT MERGE] hal_health_default: access persist.vendor.shutdown.*Ken Tsou
msg='avc: denied { set } for property=persist.vendor.shutdown.voltage_avg pid=908 uid=1000 gid=1000 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0' Bug: 266181615 Change-Id: Ia87610f0363bbfbe4fe446244b44818c273841f4 Signed-off-by: Ken Tsou <kentsou@google.com>
2023-02-15DO NOT MERGE gps: update gps driver 147.20.23.562029Wayne Lin
- gpsd segmentfault protect code - android.hardware.gnss@2.1-service-brcm segmentfault - AGC field is missing when requested deep indoor - TestGnssMeasurementIntervals_LocationOnAfterMeasurement fix - mismatch between bearing value and fixed location - location jumped in the office and the reported accuracy is much higher - Can't enter duty cycle mode - fix IGnssConfiguration setBlocklist issue Bug: 260300008 Bug: 262632321 Bug: 266760732 Bug: 264597734 Bug: 266343909 Bug: 254357787 Bug: 262829108 Bug: 265106280 Verify test: b/269212862 Test: VtsHalGnssTargetTest pass CtsLocationGnssTestCases pass PtsChreTestCases pass Change-Id: I206fda63e73882fc3e9a1bb92e5b4fbb7b6c94f3
2023-02-07Snap for 9570005 from 519f5c731d35307df3c76656b051aafed8e680a3 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: If06706d646ff13692f960229b4af4a32ab98e60a
2023-02-04Snap for 9562233 from 5dbdb799e85a71bd39119c340b41596799d9e0ce to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I6a3e7d1a57b91a2cc7f01a12e71aa9bb88265941
2023-02-04Snap for 9562233 from 5e713fa131dc314d423f17c774646a10c220c611 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: Ia1866fa20f17b8dce310acca8e18914c19309890
2023-02-03Add "vendor.android.hardware.camera.stream-usecase" featureOwen Kim
Bug: 267637637 Test: adb dumpsys Change-Id: I214234ec09a3cafb68436057c8eea505ef91c703
2023-02-03Merge "[ DO NOT MERGE ] usb: Add sepolicy for extcon access" into tm-qpr-devTreeHugger Robot
2023-02-03[DO NOT MERGE] gs101: usb: provide extcon and gadget state to monitorffsRay Chi
Monitorffs needs to check the state of usb extcon and gadget state to pull up USB gadget. Therefore, this patch provide extcon and gadget state to monitorffs. Bug: 263435622 Test: verified pass Change-Id: Icbfe2a2839b3225b56de35ab949aa1758d27d9a6
2023-02-02[ DO NOT MERGE ] usb: Add sepolicy for extcon accessRay Chi
USB gadget hal will access extcon folder so that this patch will add new rule to allow USB gadget hal to access extcon. Bug: 263435622 Test: verified pass Change-Id: I8c265919f7ae4b18aa304b0a584536d2a0f4b27a
2023-01-19Modify permissions to allow dumpstate process to access decon_counters nodeTaylor Nelms
Bug: 240346564 Test: Build for Oriole device with "user" build, check bugreport for decon_counters content Merged-In: I71883632857e76cfead39b16560b3695e13a6746 Change-Id: I010a9e8809192a5a1ee5842d5ac973d874836cea Signed-off-by: Taylor Nelms <tknelms@google.com>
2023-01-19Modify dumpstate to point to decon_counters in sysfs rather than debugfsTaylor Nelms
Bug: 240346564 Test: Build for Oriole device with "user" build, check bug report for decon_counters content Merged-In: I5ae08064c2c4106b9f54f7823f1e325a6d6978b5 Change-Id: Idd5e2558e00d3c0de4d69129b2e49ea6bbc2b240 Signed-off-by: Taylor Nelms <tknelms@google.com>
2023-01-10Snap for 9470583 from ca047e8607302919ab07d08c5d80fa9b59e225d2 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I80cebed936aaaa9ae6faeaf7d5be3c1b2a1fef53
2023-01-10Snap for 9470583 from a1f4b82a9ea5ec84a56c5b49a32386df9e3a22e0 to ↵Android Build Coastguard Worker
tm-qpr3-release Change-Id: I9b0d7372f0afebb481e7c8e9f3512076836d445b
2022-12-30[DO NOT MERGE] gps: Enable Vzw SUPL OTDOAEdwin Tung
Bug: 263852801 Test: OTDOA pass Change-Id: I2ffb9c251fa2eba33cf1de9ea537c1182927b167
2022-12-19Merge "modem_svc_sit: grant the modem property access" into tm-qpr-devTreeHugger Robot
2022-12-19DO NOT MERGE gps: update gps driver 147.20.23.557990Edwin Tung
- Add more PLMNs for specificed carrier configuration - Add configuration to use full response time in SUPL NI session to benifit accuracy - Fix miscalculate TTFF and RSP problem due to unexpected stop command Bug: 260996867 Bug: 260153806 Bug: 260795209 Verify test: b/262702990 Test: VtsHalGnssTargetTest pass CtsLocationGnssTestCases pass PtsChreTestCases pass Change-Id: I1255a31adbb77e5d476af070046d1f1a12fa1771
2022-12-16Install Vulkan 1.3 device propertiesJörg Wagner
As the latest Mali DDK exposes a Vulkan 1.3 driver also setup the device properties accordingly. Bug: 259507479 Change-Id: I593e4881f3e211b98c641e5546578b6e64036703
2022-12-13init: enable dock-defend by defaultJack Wu
dock-defend is enabled in kernel code. Bug: 262322247 Test: dock-defend is enabled by default Change-Id: Ibbd83fc2442e2a6d68d7f506ccd29d452947931c Signed-off-by: Jack Wu <wjack@google.com>
2022-12-12ignore shell access on wlc am: 1d7352fb4d am: c4c7dd1c1aAdam Shih
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20677863 Change-Id: Ia2fb569bf4a8cae8a8cc51231af9dd055b3e3b1c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12ignore shell access on wlc am: 1d7352fb4dAdam Shih
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/20677863 Change-Id: Ie42a4a9910f006c85ab945ec22486fdbaeb12e6f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09Remove UClamp Threshold settingChungkai Mei
the file node was removed so also remove these dummy setting Bug: 260806701 Change-Id: I23044f7f32cf4b2b2cc93205ec5751525f05ee7f Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-12-08ignore shell access on wlcAdam Shih
Bug: 261804136 Test: boot Change-Id: I09b67ca07d7f9573d77f64686fb818d4dc1753cc Merged-In: I09b67ca07d7f9573d77f64686fb818d4dc1753cc
2022-12-07Import prebuilt kernel modules like fips140.koDaniel Mentz
Add support for copying prebuilt kernel modules like fips140.ko into the vendor ramdisk. These kernel modules are different in the following ways: - They do not appear in vendor_boot.modules.load provided by the kernel build system. - We want to put their names at the very beginning of the output modules.load file to ensure that they are loaded prior to all other modules. We define a new Makefile variable named BOARD_PREBUILT_VENDOR_RAMDISK_KERNEL_MODULES. For every filename on this list, we verify that the file exists in $(KERNEL_MODULE_DIR), and if it does, we include its name in the modules.load for the vendor boot ramdisk. Bug: 194712883 Change-Id: Iff8923c2492296b8eb4d24ec94bbfccc19f4e8f5
2022-12-07Update pixel stability logging maskNicole Lee
- Enable _Normal logs in group GP_CH_COMM, GP_CH_NR GP_CP_COMM, GP_CP_NR, GP_DP_NR_H, GP_DP_NR_L, GP_SMPF_TASK Bug: 261136798 Change-Id: I1da78e487947431769fefc9370257a84de6e4141
2022-12-05Dumpstate.cpp: use new history dir and inc more fileskierancyphus
Modify the logging mask file path to instead point to the new history directory, as well as include more files (right now only logging mask history and logging enabled history). Bug: 259174982 Test: Manually build and inspect bugreport to make sure files are included Change-Id: I1a57e0f4fea66929803fac350547b706d7442b26 Merged-In: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-05DO NOT MERGE gps: update gps driver 147.20.23.556285Edwin Tung
- Fix no GPGSV information in CP LPP session - Implement SIT_IND_GPS_NFW_MODE to make modem request NFW status from gpsd - Fix the high EA issue caused by last known position - Use network PLMN to determine carrier configuration when SIM PLMN is not available Bug: 248476067 Bug: 252972119 Bug: 243358812 Bug: 258355692 Verify test: b/260669367 Test: CTS/VTS/PTS pass Change-Id: I6ffda40cd851b85c3d60221b82ef6bc478f15d23
2022-12-01Merge "[ DO NOT MERGE ] gs101-sepolicy: pixelstats: enable pixelstats access ↵Ziyi Cui
to perf-metrics" into tm-qpr-dev
2022-12-01[DO NOT MERGE] gs101:dumpstate: Dump long irq metrics, resume latency ↵Ziyi Cui
metrics at bugreport At the bugreport, capture long irq metrics and resume latency metrics Bug: 227809911 Bug: 232541623 Test: "adb bugreport" includes metrics capture. Change-Id: Ic60cb29b4e58996e7db1dc8fa406b46840ccd446 Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01gs101: pixelstats: add pixel perf stats pathsZiyi Cui
Add pixel perf metrics paths in sysfs paths list for gs101 Bug: 232541623 Test: Verified the existence of atom and correctness of resume latency, irq stats Signed-off-by: Ziyi Cui <ziyic@google.com> Change-Id: I0c4b363e93a9ee651cedc35e2e1e09a691244828
2022-12-01Merge changes from topic "temp_residency_metrics" into tm-qpr-devZiyi Cui
* changes: gs101-sepolicy:dumpstate: allow dumpstate access sysfs_vendor_metrics [ DO NOT MERGE ] gs101-sepolicy: pixelstats: enable pixelstats access to temp-residency-metrics
2022-12-01[ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreportZiyi Cui
At the bugreport, capture Temperature Residency metrics Bug: 246799997 Test: Test: "adb bugreport" includes temp residency metrics capture. Change-Id: I7dcc42e88c3e24506298b9dc46e0728a3eaba518 Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-12-01gs101: pixelstats: add pixel temperature residency stats pathsZiyi Cui
Add pixel temperature residency metrics paths in sysfs paths list for gs101 Bug: 246799997 Test: Verified the existence of atom and correctness of atom stats Change-Id: I7fbf563aa3da258f72ddac2e4383af732de1c6d8 Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-30[LPA][gs101] Add notification pregrantJinyoung Jeong
refer to b/237497128 Bug: 251705860 Test: manual Change-Id: I4c6609c0e36d7404adc4da23f91f0d0cf47285ad
2022-11-30[ DO NOT MERGE ] gs101-sepolicy: pixelstats: enable pixelstats access to ↵Ziyi Cui
perf-metrics enable pixelstats access to sysfs path, define sysfs_perfmetrics Bug: 227809911 Bug: 232541623 Test: Verified the existence of atom and correctness of resume latency, irq stats Change-Id: Ia0da1afb96b7f364d018d48d5cc8768c7b67f067 Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-30gs101-sepolicy:dumpstate: allow dumpstate access sysfs_vendor_metricsZiyi Cui
Test: "adb bugreport" includes metrics capture. Bug: 246799997 Test: "adb bugreport" includes metrics capture. Change-Id: I48247f8378e52d15b264c37342dee5a938ba90a1 Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-30[ DO NOT MERGE ] gs101-sepolicy: pixelstats: enable pixelstats access to ↵Ziyi Cui
temp-residency-metrics enable pixelstats access to sysfs path Bug: 246799997 Test: Verified the existence of atom and correctness of atom stats Change-Id: If329f2a65ed4cf347bd57150c637d38312f3dcb1 Signed-off-by: Ziyi Cui <ziyic@google.com>
2022-11-23DumpstateDevice: include mask history fileKieran Cyphus
Includes the file `LoggingMaskHistory.csv` when a bug report is triggered. Bug: 241739027 Test: Trigger a bugreport with `adb bugreport` and check to make sure the report contains the `LoggingMaskHistory` file. E.g. after unzipping `cat <bugreport>.txt | grep -a 'LoggingMaskHistory'`. Change-Id: Idfbe759c331a206773bc9dd0647c9016825b17d7