Poll the sysfs attributes that represents usb device state in
either of the following states: not attached, powered, default,
addressed, configured.
The information is useful in detecting non compliant USB cable,
which will be supported in later patch sets. This patch lays
the ground work to monitor the sysfs attributes in both device
and host modes.
The thread to poll uevent is re-used to poll sysfs because this
serialize type-C port events and usb device state changes, hence
prevent potential races.
Added a thin abstration layer and a map to keep epoll data so
that it's easier to dynamically add/delete files to epoll, which
is needed for usb devices in host mode.
Bug: 285199434
Test: trigger usb device state changes in device and host mode
Change-Id: Ie5389d051deb28dbb486c2f27319b3cc9e89312f
As part of Treble, enforce that vendor's seapp_contexts can't label apps
using coredomains. Apps installed to system/system_ext/product should be
labeled with platform side sepolicy.
This change marks violating domains that need to be fixed.
Bug: 296512193
Test: build oriole and see build log
Change-Id: I7d5b91014362a64f3d66b3913d4d1bc773d922c8
RCS has a low priority and will not be used in the future, remove it from the system image.
Bug: 295403727
Test: Make sure the TestRcsApp is removed from the system image.
Change-Id: I5bff88e66f4ecf43236dab8c3dbbd836cec9f91b
This change adds do-not-install tags on internal apps that we do not
want to be pre-installed in the private space profile
Test: Tested by manually flashing the changes on the device
Bug: 289017904
Change-Id: Ib8a166e63890fa66b9dec80e6b3dc9cdb89e371f
Grant access to USB sysfs attributes.
Bug: 285199434
Test: no audit log in logcat after command execution
Change-Id: Ic9c61cb5153e06eb9db15f4451a4e6769d688431
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Merged-In: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Change-Id: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Signed-off-by: Ziyi Cui <ziyic@google.com>
(cherry picked from commit eb0c71135f)
Discontinue maintenance and active support of ArmNN on Pixel phones.
Bug: 294459623
Test: Local nnapi_info
Merged-In: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Change-Id: I9b26de65620965a4b0a834f03fb9f34f966b5c5e
Bug: 279486693
Test: Verified the existence of atom and correctness of atom stats
adb shell
cmd stats print-logs && logcat -b all | grep -i 105043
Change-Id: I7b0f7c7226474622f51beb3a6ec9bb0670405b4f
Signed-off-by: Ziyi Cui <ziyic@google.com>
Service isn't enabled on gs101 devices.
Test: Failing tests no longer reported.
Bug: 293172250
Change-Id: Ie05b57baeb255fc171fb191dca0e7137fa35a4a2
Signed-off-by: Mark Chang <changmark@google.com>
Discontinue maintenance and active support of ArmNN on Pixel phones.
Bug: 294459623
Test: Local nnapi_info
Test: Presubmit
Change-Id: I7af79f297ae1c5b041446f4a347c4bfc6c373040
Update thermal makefile path to the new common folder.
Bug: 289146743
Test: Compilation test
Change-Id: I03ab73d3095cbe5718b0842fd9825438cd447df3
Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
In the 'next' release configuration, we don't allow using unfrozen
versions of interfaces, so the previous version is served instead.
Once this interface is frozen, this previous version can be removed from
the FCM.
Test: lunch cheetah-next-userdebug && m
Bug: 290265210
Bug: 294127698
Change-Id: I9a7c219e2e1bf36239aaff886fa24d08e6ce5cea
am skip reason: Merged-In I6caed744d2bba7882f80f8ace229f6c4b4133c65 with SHA-1 b6d74a5196 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2655121
Change-Id: I6220621b9d076188ad92af44fcf864dea05e4755
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6caed744d2bba7882f80f8ace229f6c4b4133c65 with SHA-1 b6d74a5196 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2655121
Change-Id: I678549c77f60a3207be1140b536e405a9d818be2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I6caed744d2bba7882f80f8ace229f6c4b4133c65 with SHA-1 b6d74a5196 is already in history
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/2655121
Change-Id: Id5140ab1edb9f7d9bab4b47b4cf879ab74e80ac4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>