Commit graph

6 commits

Author SHA1 Message Date
Aaron Ding
aa420345a9 do not mount the debugfs on userdebug builds
Bug: 186500818
Change-Id: Ic22af74fa850b1072c3dc781a3b49ae95a9156ba
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-04 04:00:00 +00:00
Peter Csaszar
9cd8c6e58f init.gs101.rc: Change owner/group of SJTAG files
On userdebug & eng builds, change the owner/group of SJTAG sysfs files
that need to be written to 'system'. This became necessary after these
files were migrated out of DebugFS, as write access to the world is no
longer supported.

Bug: 188817349

Test: Ensure that the writable files in the following directories have
'system' as their owner & group:

  /sys/devices/platform/sjtag_ap/interface/
  /sys/devices/platform/sjtag_gsa/interface/

Signed-off-by: Peter Csaszar <pcsaszar@google.com>

Change-Id: I4420fccd92522a48f44b80bd0a19f4a20eb32442
2021-05-21 14:42:51 -07:00
jonerlin
c2e1e46e2b bthal: Bluetooth owns its logbuffer device nodes
This changes the owner of specific logbuffer device node
dev/logbuffer_btlpm and dev/logbuffer_tty16 to Bluetooth,
so Bluetooth HAL is able to access them in userdebug rom

Bug: 177794127
Test: Manually Test
Change-Id: I17db3e3b8df521946d4358d191695c09ac2c2c3a
2021-05-12 07:06:43 +00:00
Aaron Ding
254e03a21c do not mount the debugfs on user builds
keep debugfs on userdebug and factory builds

Bug: 184801854
Change-Id: I6b4b7428b011a87a93d48af63f8dafc2c5d96e23
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-04-30 00:56:07 +00:00
Dmitri Plotnikov
546f53ca1a Implement triggers on the power.battery_input.suspended property
See analogous CLs for coral: ag/12464994; redbull: ag/12990696

Bug: 167636754

Test: adb shell setprop power.battery_input.suspended true to disable charging
Test: adb shell setprop power.battery_input.suspended false to reenable charging
Change-Id: Ie413251451683de7c22b44c6c86a2a8590998b7b
2021-04-13 19:36:29 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00