health: fix missing path
Add kDiskStatsFile and kUFSName Bug: 146843956 Test: Build and boot to home Change-Id: I0623d06861f894a4b243c5e065e805c9f61ba7ef Signed-off-by: Ocean Chen <oceanchen@google.com>
This commit is contained in:
parent
0897a147e1
commit
2f9d30a162
|
@ -55,6 +55,9 @@ constexpr char kUfsHealthEol[]{UFS_DIR "/health_descriptor/eol_info"};
|
|||
constexpr char kUfsHealthLifetimeA[]{UFS_DIR "/health_descriptor/life_time_estimation_a"};
|
||||
constexpr char kUfsHealthLifetimeB[]{UFS_DIR "/health_descriptor/life_time_estimation_b"};
|
||||
|
||||
constexpr char kDiskStatsFile[]{"/sys/block/sda/stat"};
|
||||
constexpr char kUFSName[]{"UFS0"};
|
||||
|
||||
constexpr char kTCPMPSYName[]{"tcpm-source-psy-usbpd0"};
|
||||
|
||||
std::ifstream assert_open(const std::string &path) {
|
||||
|
|
Loading…
Reference in New Issue