* If we want to override anything in particular, e.g.
PID/VIDs we will create a seperate script named
'init.oplus.usb.rc'.
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
ro.boot.hardware.revision is used in fastbootd UI, getvar hw-revision
output and Settings app.
Set based on the RF version so external tools can use it to flash
the correct firmware variant and show the HW variant in Settings.
Change-Id: Ib92b080ace4d14fc2f13b5b3705249a15f1671c8
* Also allow devices to override ro.product.vendor.model
in cases where it's not really suitable for UX facing
stuff, e.g. on OnePlus 8T our model is KB2003.
This is not a suitable model to show users.
Change-Id: Ica487b993c215ad258cfc44062daffe868a65556
Supports to enable/disable USB data signaling
Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
This change lets us use gc5035 camera, which was blocked by OnePlus long
time ago after people discovered its *magic* capabilities. By default
only `com.oem.autotest` can use it, however if we replace the first
character with a NULL byte, then strncmp returns 0, and thus we pass the
check and allow everyone to use it.
You can see the logs below that led me to discover that behavior.
[DEBUG ] JIANJIA.cpp:89 PretendOpenCamera() logicalCameraId 4, m_ClientPackageName 0
[DEBUG ] STELLA.cpp:1445 informKernel() force: -1 value: 6 buf: 5
[DEBUG ] chxextensionmodule.cpp:1005 ExtendOpen() You shall not pass 0
[DEBUG ] chxextensioninterface.cpp:298 chi_extend_open() [OP_EXT] OPEN_CAMERA X
[ERROR][HAL ] camxhal3module.cpp:772 ProcessCameraOpen() Camera Open failed with error status = CamxResultEInvalidArg
Change-Id: I9b3e4e55f07cef40886e09941f7ed0523cdf8cfa
instantnoodle is a contrarian that has a 90Hz display, so unfortunately,
we have to set the refresh rate and peak refresh rate values for each
device instead.
Change-Id: I868d84352a46eed19b2433c6aff32a4d9c0b9d03
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.
Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.
Command used:
$ SigScan -p "1F 0A 00 94" -P "1F 20 03 D5" -f vendor.qti.hardware.camera.postproc@1.0-service-impl.so
Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Change-Id: Iedbbcc5086c09f549e91e73ece7311563c378347
Populates a new feature flag to record the level of OpenGL ES dEQP
test support. Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.
Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
The pinner now asks the runtime for these files.
Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.
Bug: 176197656
Test: adb shell dumpsys pinner (coral)
- shows that /system/bin/surfaceflinger is successfully pinned
adb logcat | grep PinnerService (coral)
- no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460