Board tree for Google Tensor G3 devices
Find a file
Roy Luo a6462edbe3 Usb: Listen to USB sysfs attribute for device state
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
2023-08-08 23:14:37 +00:00
conf do not mount the debugfs on userdebug builds am: d5f885d7ce 2023-07-26 01:23:19 +00:00
display zuma: update adaptive LUT 2023-06-15 13:01:40 -07:00
dumpstate Merge "dumpstate: add GSA logs to bugreport" into udc-d1-dev 2023-05-22 05:14:11 +00:00
factory factory: disable gestures wake up and lock screen 2023-04-06 08:35:21 +00:00
fingerprint/fpc1540 Remove unused udfps make files 2023-05-15 10:31:37 +00:00
firmware Branch zuma from gs201 2022-04-19 12:45:55 +08:00
health health: add suspend support for charger mode 2023-05-18 01:30:28 +00:00
interfaces/boot zuma:interfaces:boot: add aidl interface support 2023-07-20 07:34:32 +00:00
keymaster Create device Ripcurrent on Zuma platform 2022-04-19 12:55:56 +08:00
modem Branch zuma from gs201 2022-04-19 12:45:55 +08:00
modem_ml Modem ML: Disable model timer 2023-04-11 06:29:17 +00:00
overlay Handle the network selection restoring in modem side 2023-03-29 09:12:27 +00:00
overlay-factory Branch zuma from gs201 2022-04-19 12:45:55 +08:00
overlay-vendor/vendor/google/apps Branch zuma from gs201 2022-04-19 12:45:55 +08:00
pixelstats [Audio Metric] pixelstats: add cca_rate sysfs for VendorAudioHardwareStatsReported on Zuma 2023-07-12 08:59:01 +00:00
powerstats Merge "powerstats: update TPU energy consumer stats" into udc-d1-dev am: f5ac9c0c06 am: a0b7dad09a 2023-06-19 02:53:30 +00:00
radio zuma: add Pixel_stability modem log mask 2023-06-28 07:41:35 +00:00
rro_overlays Create device Ripcurrent on Zuma platform 2022-04-19 12:55:56 +08:00
storage conf: run ufs ffu script after boot complete 2023-01-03 13:04:10 +08:00
usb Usb: Listen to USB sysfs attribute for device state 2023-08-08 23:14:37 +00:00
vibrator Branch zuma from gs201 2022-04-19 12:45:55 +08:00
widevine Move Widevine drm to gs-common 2023-04-27 22:11:00 +00:00
wifi wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable 2023-06-27 11:59:27 +08:00
Android.bp Disable USB contaminant detection when the disable flag is true 2023-05-23 07:01:33 +00:00
Android.mk Create device Ripcurrent on Zuma platform 2022-04-19 12:55:56 +08:00
aosp_common.mk Create device Ripcurrent on Zuma platform 2022-04-19 12:55:56 +08:00
BoardConfig-common.mk Remove settings for old ArmNN HIDL backend 2023-07-14 12:32:55 +00:00
CleanSpec.mk Create device Ripcurrent on Zuma platform 2022-04-19 12:55:56 +08:00
compatibility_matrix.xml Branch zuma from gs201 2022-04-19 12:45:55 +08:00
component-overrides.xml Branch zuma from gs201 2022-04-19 12:45:55 +08:00
default-permissions.xml Merge "Add missing android.permission.POST_NOTIFICATIONS" into udc-d1-dev 2023-07-17 03:16:46 +00:00
device-common.mk Merge "Disable MTE in system_server." into udc-d1-dev 2023-06-19 20:19:18 +00:00
device-shipping-common.mk Create device Ripcurrent on Zuma platform 2022-04-19 12:55:56 +08:00
device.mk Merge "zuma: Enable SkiaVk as RenderEngine backend" into udc-qpr-dev am: 3e8d91bae2 am: 63dac9c00a 2023-07-28 10:08:05 +00:00
device_framework_matrix_product.xml zuma: update manifest HAL android.hardware.boot from hidl 1.2 to aidl am: c9cc7c3c68 am: 47d9508973 am: f5a8ee7f53 2023-07-25 20:39:13 +00:00
disable_contaminant_detection.sh Disable USB contaminant detection when the disable flag is true 2023-05-23 07:01:33 +00:00
factory_common.mk camera: disable scene detection for factory build 2022-12-12 12:30:43 +08:00
init.hardware.wlc.rc.userdebug Branch zuma from gs201 2022-04-19 12:45:55 +08:00
manifest.xml zuma: update manifest HAL android.hardware.boot from hidl 1.2 to aidl am: c9cc7c3c68 am: 47d9508973 am: f5a8ee7f53 2023-07-25 20:39:13 +00:00
manifest_media.xml uses Codec2 HIDL 1.2 service 2022-08-22 06:50:37 +00:00
manifest_media_aosp.xml uses Codec2 HIDL 1.2 service 2022-08-22 06:50:37 +00:00
media_codecs.xml Branch zuma from gs201 2022-04-19 12:45:55 +08:00
media_codecs_aosp_c2.xml advertise performance points for 1080p resolution 2023-07-07 02:44:27 +00:00
media_codecs_bo_c2.xml Add 1080p 120FPS standard performace point for BW AV1 Encoder 2023-05-30 20:29:58 +00:00
media_codecs_performance.xml Branch zuma from gs201 2022-04-19 12:45:55 +08:00
media_codecs_performance_c2.xml Update media_codecs_performance_c2.xml for meet device performance 2023-07-27 00:56:57 +00:00
media_profiles.xml Branch zuma from gs201 2022-04-19 12:45:55 +08:00
NOTICE Branch zuma from gs201 2022-04-19 12:45:55 +08:00
OWNERS Add device mk OWNERS 2023-04-20 18:46:23 +08:00
task_profiles.json Relax cpuset for OTA 2023-04-27 15:34:02 +00:00
vendor.prop Update ro.soc.model 2023-04-18 07:30:27 +00:00