aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes If3a9b57f,I5aae6d83,Ic444c7c6,I0cf4de50,I49376259 into r11.1HEADr11.1Jeferson Rodrigo de Oliveira2022-05-044-9/+3
|\ | | | | | | | | | | | | | | | | * changes: victara: rootdir: Remove unused chmod victara: init: Resolve vendor HALs for early bootanimation start victara: rootdir: Add vendor prefix to gralloc-2-0 victara: rootdir: Clean remnants of module hashes victara: sepolicy: Allow to take kernel logs
| * victara: rootdir: Remove unused chmodAlex Damaratski2022-05-041-4/+0
| | | | | | | | | | | | | | | | I init : Command 'chmod 0755 /system/bin/ip' action=boot (/vendor/etc/init/hw/init.qcom.rc:161) took 0ms and failed: fchmodat() failed: Read-only file system Signed-off-by: Alex Damaratski <alexeydomoratsky1@gmail.com> Change-Id: If3a9b57f0e23f2fc36cf328c522033f5353747a1
| * victara: init: Resolve vendor HALs for early bootanimation startAdrian DC2022-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | * Adapt the service from configstore-hal-1-0 service to vendor.configstore-hal for AOSP P * Resolves surfaceflinger first launch crash due to configstore not being running earlier enough Change-Id: I5aae6d8357ce71933e7c6673e9e4d37adb55a6af
| * victara: rootdir: Add vendor prefix to gralloc-2-0Ashwin R C2022-05-041-1/+1
| | | | | | | | | | | | | | * init: Command 'start gralloc-2-0' action=late-fs (/vendor/etc/init/hw/init.qcom.rc:55) took 0ms and failed: service gralloc-2-0 not found Signed-off-by: Ashwin R C <ashwin2001achu@gmail.com> Change-Id: Ic444c7c683ab94b9a37e7d100cde19485db651b9
| * victara: rootdir: Clean remnants of module hashesJeferson2022-05-041-3/+0
| | | | | | | | | | | | init: Command 'copy /module_hashes /sys/kernel/module_whitelist' action=init (/vendor/etc/init/hw/init.mmi.rc:9) took 0ms and failed: Could not read input file '/module_hashes': open() failed: No such file or director Change-Id: I0cf4de50e0b25c1c23c217cbb278c2744a49c048
| * victara: sepolicy: Allow to take kernel logsJeferson2022-05-041-0/+1
| | | | | | | | | | | | I auditd: type=1400 audit(0.0:5): avc: denied { write } for uid=0 comm="init" name="dmesg_restrict" dev="proc" ino=5528 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc_security:s0 tclass=file permissive=0 Change-Id: I493762595d81016ff07c2443d764f79726dab273
* | Merge "victara: Remove useless debugging writes" into r11.1Jeferson Rodrigo de Oliveira2022-05-041-2/+0
|\ \ | |/ |/|
| * victara: Remove useless debugging writesLuK13372022-05-041-2/+0
| | | | | | | | | | | | | | * We don't set those: init: write: cannot expand '${persist.sys.ssr.enable_debug}' Change-Id: I64bfe89618744dd33a8173eaab1a4613208fc74b
* | victara: init.rc: Remove /data/hostapd/ folder creation from init.qcom.rcAnurag Das2022-05-041-3/+0
| | | | | | | | | | | | | | | | | | | | | | Hostapd directory is already present in vendor location as /data/vendor/wifi/hostapd/ and this directory is not required. This commit removes the creation of /data/hostapd in init.qcom.rc file. CRs-Fixed: 2338923 Change-Id: Idb978ed1abedc13800d56832c77ea60ea516d1e8
* | victara: gps: Fix cannot locate symbol "EXIT_ERROR_TAG"danile712022-05-041-0/+11
| | | | | | | | | | | | Symbol referenced by "/system/vendor/lib/libflp.so" Change-Id: I1acd60c971e32b9cc65a940df3f597248cf1ad9f
* | victara: sepolicy: Grant system server acces to some servicesJeferson2022-05-041-0/+2
| | | | | | | | | | | | | | E SELinux: avc: denied { find } for pid=1595 uid=1000 name=media.camera_bgproc scontext=u:r:system_app:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0 W com.android.settings: type=1400 audit(0.0:8): avc: denied { call } for uid=1000 comm=4173796E635461736B202331 scontext=u:r:system_app:s0 tcontext=u:r:hal_power_default:s0 tclass=binder permissive=0 Change-Id: Id08c65b9e16158de13a9ecb24253a38613d5ef8f
* | victara: sepolicy: Allow system_app to access zram sysfs nodesKevin F. Haggerty2022-05-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avc: denied { search } for name=zram0 dev=sysfs ino=20744 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir permissive=0 avc: denied { open } for name=mem_used_total dev=sysfs ino=20804 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file permissive=0 avc: denied { read } for name=mem_used_total dev=sysfs ino=20804 scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file permissive=0 Change-Id: Ide9b1a9488b26fa69e7a2c8e73a8e657c8b28beb
* | victara: sepolicy: allow system_server to get app_zygote pgidChenyang Zhong2022-05-041-0/+1
|/ | | | | | | | avc: denied { getpgid } for scontext=u:r:system_server:s0 tcontext=u:r:app_zygote:s0:c512,c768 tclass=process permissive=0 Appeared during UiBench. Change-Id: Ic79e9f56b3470155060b5ca91759f83c3722234f
* victara: Enable Wi-Fi DisplayNolen Johnson2021-09-101-0/+3
| | | | | | * AOSP Wi-Fi display is back in aicp Change-Id: I7958fc6869a22d66ad2955f80c4ea1867bdc23fd
* victara: Remove explicit inclusion of charger_res_imagesNolen Johnson2021-08-171-4/+0
| | | | | | | * Included globaly @ vendor/lineage/config/common_mobile.mk. * Plus this has been mis-spelled for ages lol. Change-Id: I896cefcc0b415ca1b6d13f76874962313149b479
* victara: Remove PRODUCT_RELEASE_NAMEMarc Bourgoin2021-08-171-1/+0
| | | | | | * aicp vendor uses PRODUCT_DEVICE instead Change-Id: I3f47524713965a2658ac1f738e91e2136680028a
* Partially revert "victara: overlay: sync overlays with latest stock"Nolen Johnson2021-08-171-28/+4
| | | | | | * These caused long-press vibration effects to fail. Change-Id: Ifd1364641a17a12db61e60c640795c64553fb0fe
* victara: Force triple frame buffersSultan Alsawaf2021-08-171-0/+1
| | | | | | | This yields significantly reduced jitter and doesn't have any measurable impact on latency. Change-Id: I1c82d32e2fefd73779773edfc75265e992c0dad2
* victara: Enable GL comp backpressureAdy Abraham2021-08-171-0/+1
| | | | | | | | | | | Enable backpressure for client composition to avoid jank due to HWC queue stuffing. Test: 1. Open Camera 2. Swipe horizontally to go back to previous app. Bug: 138083790 Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
* victara: properties.mk: disable debug.sf.latch_unsignaledAndrew Hexen2021-08-171-1/+1
| | | | | | | | | * Disabling this helps reduces notification flicker, UI performance is not impacted. (per: change https://android.googlesource.com/platform/frameworks/native/+/c5da271) Signed-off-by: Andrew Hexen <SyberHexen@gmail.com> Change-Id: I8b7aed9bc5ff03bd8d1cd05f70c8568c1faf971c
* victara: libshims: Adress compiler warningsJeferson2021-08-171-1/+1
| | | | Change-Id: Ib6a560c94edd982156fb8b997e7891d4a406a1f4
* victara: libqsap: Include necessary headers explicitlyPrema Chand Alugu2021-08-171-0/+1
| | | | | | | | device/motorola/victara/libshims/libqsap_shim.c: 57:5: error: implicitly declaring library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration] strlcpy(wrq.ifr_name, iface, sizeof(wrq.ifr_name)); ^ device/motorola/victara/libshims/libqsap_shim.c: 57:5: note: include the header <string.h> or explicitly provide a declaration for 'strlcpy' Change-Id: I663edbb2ac09363dcac9dec3acf4289349af46d2
* victara: gps: Fix missing-field-initializers warningsArne Coucheron2021-08-171-3/+3
| | | | Change-Id: I465de75779df5eed7044b1e94ea5395e5a708e90
* victara: camera: Address unused-parameter compilation warningsBruno Martins2021-08-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Compile and observe that the following warnings are gone: device/motorola/victara/camera/CameraWrapper.cpp:212:75: warning: unused parameter 'user' [-Wunused-parameter] void camera_notify_cb(int32_t msg_type, int32_t ext1, int32_t ext2, void *user) { ^ device/motorola/victara/camera/CameraWrapper.cpp:217:50: warning: unused parameter 'user' [-Wunused-parameter] camera_frame_metadata_t *metadata, void *user) { ^ device/motorola/victara/camera/CameraWrapper.cpp:222:60: warning: unused parameter 'user' [-Wunused-parameter] const camera_memory_t *data, unsigned index, void *user) { ^ device/motorola/victara/camera/CameraWrapper.cpp:227:32: warning: unused parameter 'user' [-Wunused-parameter] uint_t num_bufs, void *user) { ^ 4 warnings generated. device/motorola/victara/camera/CameraWrapper.cpp:116:41: warning: unused parameter 'id' [-Wunused-parameter] static char *camera_fixup_getparams(int id, const char *settings) ^ device/motorola/victara/camera/CameraWrapper.cpp:436:57: warning: unused parameter 'device' [-Wunused-parameter] static void camera_put_parameters(struct camera_device *device, char *params) 2 warnings generated. Change-Id: I2d2de0cb6e6f7c0c6b197896844c20314482a4db
* victara: remove vendor from depsMichele Bono2021-06-271-4/+0
| | | | Change-Id: I1a7ce49e7ef7a52dfe0185f658e37998a831e8bd
* Merge "victara: overlay: Set black theme as default dark theme" into r11.1Jeferson Rodrigo de Oliveira2021-05-301-0/+22
|\
| * victara: overlay: Set black theme as default dark themeJyotiraditya2021-05-301-0/+22
| | | | | | | | | | Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com> Change-Id: I1d9fce7110d7daadc581699c2a7ea3c2e6821730
* | Merge "Revert "victara: Add libsensor on camera make file"" into r11.1Jeferson Rodrigo de Oliveira2021-05-301-1/+1
|\ \ | |/ |/|
| * Revert "victara: Add libsensor on camera make file"Jeferson Rodrigo de Oliveira2021-05-301-1/+1
| | | | | | | | | | | | | | | | This reverts commit 95c08dac8ad324e9ed3193ce9769224485abee3b. Reason for revert: uneeded Change-Id: I60e288ec76d8bfe4ea4f5c9942747b2dcb93b9e0
* | victara: Trigger media and camera restartsJeferson Oliveira2021-05-302-5/+3
| | | | | | | | Change-Id: I48c0ceabc99a858747145fc633d6cef699f1a796
* | Merge "Revert "victara: Force build scudo free 32 bit variant of libc"" into ↵Jeferson Rodrigo de Oliveira2021-05-301-1/+0
|\ \ | | | | | | | | | r11.1
| * | Revert "victara: Force build scudo free 32 bit variant of libc"Jeferson Rodrigo de Oliveira2021-05-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c586d87626fc65ee6ba25a119cdbf43b566aea27. Reason for revert: more bugs than helps Change-Id: I0ef95364998efbc802c841d48601e2c6c11c6ca1
* | | victara: media: Update opus omx codec rankingSujin Panicker2021-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | | Update opus omx codec ranking to give c2 implementation higher priority. Change-Id: Id6f1064483980e5fb9079ef19163ada083f6de60
* | | victara: camera: restart preview on pic takencodeworkx2021-05-291-0/+28
|/ / | | | | | | Change-Id: I1ac815fc1d21d03cc8286ae6b292182bf6953213
* | victara: sepolicy: Fix isolated_app denialElektroschmock2021-05-241-0/+1
| | | | | | | | | | | | | | | | avc: denied { setattr } for comm="CrUtilityMain" name="commands.json" dev="mmcblk0p42" ino=1251111 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0 avc: denied { setattr } for comm="CrUtilityMain" name="commands.json" dev="mmcblk0p42" ino=1251111 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0 avc: denied { setattr } for comm="CrUtilityMain" name="f2" dev="mmcblk0p42" ino=1251128 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0 avc: denied { setattr } for comm="CrUtilityMain" name="f2" dev="mmcblk0p42" ino=1251128 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c153,c256,c512,c768 tclass=file permissive=0 Change-Id: I9a70417149c3239b89cc4266942cb3de4da34a4f
* | victara: Force build scudo free 32 bit variant of libcQuallenauge2021-05-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have issues with camera blobs which doesn't play well with scudo allocation/deallocation tracking. Scudo reports corrupted header when stopping a video recording. Because we aren't alone with this (also upstream seems to have trouble with camera modules) use the 32 libc which is used only by a few components, like camera and audio. Because docs states, that libc with the svelte take less RSS, but is a little bit slower. https://android.googlesource.com/platform/bionic/+/master/docs/native_allocator.md This is the reason to not enable this target wide. Change-Id: Ic0d950817238a227218f59b95e5fd2ffd66e786a
* | victara: override product info for safetynetAli B2021-05-241-0/+9
| | | | | | | | Change-Id: I9cd28522330b18a52ecc469c3f5da37c0f260f18
* | victara: rootdir: minor clean upAndrea2021-05-042-10/+3
| | | | | | | | | | | | | | | | * adjust spacing * move things were they should be * remove unused cruft Change-Id: I6fa99943fedd282b5a32fe054e2180723beb995e
* | victara: proprietary-files: move thermal blobs to its own sub-categoryAndrea2021-04-121-2/+4
| | | | | | | | Change-Id: I6ea1340af66a5893901c607ef17d2b6f2d257c5b
* | victara: overlay: sync overlays with latest stockAndrea2021-04-122-24/+37
| | | | | | | | | | | | * from MPES24.49-18-7-7 Change-Id: I69a27aaab9ec7fc9aac54943c9f8606c746ccfa1
* | victara: Add vibrator HAL and enable different vibration strengthschrmhoffmann2021-04-129-3/+330
| | | | | | | | | | | | * Vibrator HAL code kanged from Shamu with slight modifications Change-Id: Id502737cc377a7d3ca12840feecf0861cef70f28
* | victara: camera: enable face-detection & denoise optionsAndrea2021-04-121-0/+3
| | | | | | | | Change-Id: I8d8c493adf3e8aae5cf21736b2efa4c8869632dd
* | victara: sepolicy: address hal_wifi_default denialsAndrea2021-04-091-0/+2
| | | | | | | | Change-Id: I1da2a7c6465f9a949392d3828d975a8857b5794a
* | victara: sepolicy: address mpdecision denialsAndrea2021-04-091-0/+1
| | | | | | | | | | | | avc: denied { read append } for uid=0 comm="mpdecision" name="default_values" dev="mmcblk0p39" ino=361514 scontext=u:r:mpdecision:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 mpdecision: type=1400 audit(0.0:7): avc: denied { read append } for uid=0 name="default_values" dev="mmcblk0p39" ino=361514 scontext=u:r:mpdecision:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0 Change-Id: I13eb721745e79a23848d0b308d0e1e0979a39b5e
* | Revert "victara: Enable workaround for old MCC/MNC format"Nolen Johnson2021-04-091-3/+0
| | | | | | | | | | | | | | | | * This, weirdly, was breaking manual network selection on 18.1. This reverts commit a481b45c0b8a33b5b5fbfe570e73ccb5eb1494c4. Change-Id: Ia9a58e9eb8095394f4da279d214bbde6e4f9cfe0
* | victara: Silence clang warnings during kernel compileArne Coucheron2021-04-071-0/+3
| | | | | | | | | | | | | | clang-11: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] Change-Id: I66a629f3573e3fad8aa085ea115475f02d60a7ea
* | victara: Build vndservicemanager explicitlynojick2021-04-061-1/+2
| | | | | | | | | | | | | | Fixes: W processState: Not able to get context object on /dev/vndbinder. E Service Manager: Waiting 1s on context object on /dev/vndbinder. Change-Id: I11802643e2b7af4ef689a72ac88e86210b532118
* | victara: gps: Correct week rollover timestampsjlask2021-04-061-0/+5
|/ | | | | | | This adjustment will help with applications checking the time coming from gps. Some applictions will consider times in the far past as an error. Change-Id: I69d6971249c4898ac3895f725e46f268cdb2b00d
* victara: Add libsensor on camera make fileKhalvat-M2021-04-061-1/+1
| | | | Change-Id: I3e94d7788f5a3fcc2a2e8087b3a16022d356d3b0
* victara: seccomp: Allow socket syscallArne Coucheron2021-04-061-0/+1
| | | | Change-Id: Ifdd434087db6350f9e6d15a3b1e9c465042323c7