config: device_framework_matrix: Add vendor.lineage.health
Change-Id: I91ee2a15ee2f68947f220ab6e885b9049936acb2
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
health: Initial Lineage Health AIDL interface
Change-Id: Ieea3568aba55b195d1712c439dec83c0b7da2831
health: Add default implementation
Change-Id: I331689824877c30150c8b8fc2462ab41ab291333
health: Check access() return value
access() returns 0 when it succeeds.
Change-Id: I794457f4b0bb6de889c79a2b353549830b87c493
health: Wait for required paths indefinitely
It might take a while until paths become available, thus let's just wait
for them.
Change-Id: I9d66f402ec5c062d42dde512b269c5402935a973
health: Only select node with RW permission
Change-Id: Ic963decdc4fa6baa2defe5c31610d61d8e758164
fixup! health: Wait for required paths indefinitely
Change-Id: I2c5b3bb343d4b6270aceaf83b60a576771e00a53
health: Only dump charging enabled status if toggle is supported
Change-Id: Ib0aeb3391407ceb6fc0a41efaf98939b5bd428fd
health: Add battery_charging_enabled node to ChargingControl node list
Compared to charging_enabled node, this one is intended to disable
only charging to the battery, even though power input to the board
still remains (verified by measuring USB current).
This node is commonly found on devices that uses QPNP SMBCHG or
QPNP SMB5 charger, for example.
Change-Id: I7aecc713028293253d3efaa8e5b7bf8a665bc5af
soong: Add TARGET_HEALTH_CHARGING_CONTROL related configs
Change-Id: I837d7b66ddc705aef3642cbc460f5636feb2b26a
Co-authored-by: Fazil Sheik <fazil.sheik96@gmail.com>
Change-Id: Ied7e1653ae18a0bd81c02ef24fc2aa33f9ac58f1