Board tree for Google Tensor G2 devices
Find a file
Roy Luo b97e3d8cc4 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-04 17:25:06 +00:00
conf do not mount the debugfs on userdebug builds 2023-07-26 00:25:54 +00:00
display display: remove boosted mode 2022-04-13 20:48:30 +00:00
dumpstate dump_power_201: update battery fg dump data 2023-05-30 12:00:20 +08:00
factory sched: move sysfs to procfs 2022-03-24 17:44:37 +00:00
fingerprint/fpc1540 Remove unused udfps make files 2023-05-17 08:58:58 +00:00
firmware Remove mfc_fw.bin in original path for gs201 2021-10-26 16:34:00 +00:00
health Update health AIDL HAL to V2 2023-03-02 11:21:07 +08:00
interfaces/boot bootctrl: enforce synchronous write operation 2023-01-06 14:52:47 -08:00
keymaster s/gs101/gs201 2021-05-20 17:54:35 +08:00
location move brcm gps solution to gs-common 2022-10-28 05:33:37 +00:00
modem gs201: exclude GNSS and vcd if BOARD_WITHOUT_RADIO 2022-06-14 21:52:29 +00:00
overlay Replace slowJepg build time overlay with runtime overlay 2023-05-05 19:48:31 +00:00
overlay-factory Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
overlay-vendor/vendor/google/apps Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
pixelstats thermal: Update path reading for temperature residency metrics 2023-05-25 05:28:45 +00:00
powerstats powerstats: change data source to fvp stats for CPU CLx 2023-05-29 03:41:22 +00:00
radio Update pixel stability logging mask 2023-07-05 08:41:34 +00:00
rro_overlays Set config_networkAvoidBadWifi overlay on gs201 devices for Verizon 2023-02-11 17:26:41 +00:00
storage gs201: conf: run ufs ffu script after boot complete 2023-04-17 09:58:11 +00:00
usb Usb: Listen to USB sysfs attribute for device state 2023-08-04 17:25:06 +00:00
vibrator Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
widevine Move Widevine drm to gs-common 2023-04-27 21:21:06 +00:00
wifi wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable 2023-07-10 09:09:29 +00:00
Android.bp Fix gs201 preinstall config module loading on device 2023-02-22 00:24:19 +00:00
Android.mk init gs201 builds 2021-05-19 17:38:25 +08:00
aosp_common.mk Bypass build time check for users-libs 2022-03-28 06:20:42 +00:00
BoardConfig-common.mk Remove settings for old ArmNN HIDL backend 2023-07-20 06:37:06 +00:00
CleanSpec.mk Updat CleanSpec.mk for USB HAL migration to AIDL 2022-04-22 02:50:32 +00:00
compatibility_matrix.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
component-overrides.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
convert_to_ext4.sh gs201: convert_to_ext4: copy .files, fix md5sum 2022-08-01 18:00:49 +00:00
default-permissions.xml Drop the ACCESS_FINE_LOCATION for Restore 2022-11-03 05:29:45 +00:00
device-common.mk [SEPolicy]Change to gs-common. 2023-06-19 06:21:18 +00:00
device-shipping-common.mk Bluetooth: move A2DP capabilities control to each project 2022-01-07 12:16:46 +00:00
device.mk gs201: Enable SkiaVk as RenderEngine backend am: db1a72ccdb am: 5f67534878 2023-07-28 20:17:31 +00:00
device_framework_matrix_product.xml Allow for the previous version of com.google.face.debug 2023-08-02 15:40:30 +00:00
disable_contaminant_detection.sh Disable USB contaminant detection when the disable flag is true 2022-09-30 08:56:59 +00:00
factory_common.mk enforce debugfs constraint on user build 2022-03-24 01:05:18 +00:00
init.display.sh use gs-common insert module script 2022-09-07 23:00:45 +00:00
init.hardware.wlc.rc.userdebug Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
manifest-gralloc3.xml Remove settings for old ArmNN HIDL backend 2023-07-20 06:37:06 +00:00
manifest.xml Remove settings for old ArmNN HIDL backend 2023-07-20 06:37:06 +00:00
manifest_media.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
manifest_media_aosp.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
media_codecs.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
media_codecs_aosp_c2.xml Update same maximum resolution capability for hevc 2023-04-14 02:36:26 +00:00
media_codecs_bo_c2.xml update performance-point for AV1 decoder 2022-10-27 17:22:20 +00:00
media_codecs_performance.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
media_codecs_performance_c2.xml gs201: update media_codecs_performance_c2.xml secure codec 2023-04-25 07:01:00 +00:00
media_profiles.xml Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
NOTICE Create gs201 device folder baseline 2021-05-19 13:35:26 +08:00
OWNERS Add device mk OWNERS 2023-04-25 05:34:53 +00:00
preinstalled-packages-product-gs201-device-debug.xml Prevent preinstallation of AOSP apps on gs201 for clone profile 2022-11-22 13:39:04 +00:00
task_profiles.json Relax cpuset for OTA 2023-04-29 03:27:00 +00:00