Home
last modified time | relevance | path

Searched refs:strData (Results 1 – 5 of 5) sorted by relevance

/device/google/marlin/health/
DLearnedCapacityBackupRestore.cpp67 char strData[kBuffSize]; in SaveToStorage() local
69 snprintf(strData, kBuffSize, "%d", sw_cap_); in SaveToStorage()
71 LOG(INFO) << "Save to Storage: " << strData; in SaveToStorage()
73 if (!android::base::WriteStringToFile(strData, std::string(kSysCFPersistFile))) in SaveToStorage()
94 char strData[kBuffSize]; in SaveToSRAM() local
96 snprintf(strData, kBuffSize, "%d", hw_cap_); in SaveToSRAM()
98 LOG(INFO) << "Save to SRAM: " << strData; in SaveToSRAM()
100 if (!android::base::WriteStringToFile(strData, std::string(kChgFullFile))) in SaveToSRAM()
DCycleCountBackupRestore.cpp63 char strData[kBuffSize]; in SaveToStorage() local
65 snprintf(strData, kBuffSize, "%d %d %d %d %d %d %d %d", in SaveToStorage()
69 LOG(INFO) << "Save to Storage: " << strData; in SaveToStorage()
71 if (!android::base::WriteStringToFile(strData, std::string(kSysPersistFile))) in SaveToStorage()
97 char strData[kBuffSize]; in SaveToSRAM() local
99 snprintf(strData, kBuffSize, "%d %d %d %d %d %d %d %d", in SaveToSRAM()
103 LOG(INFO) << "Save to SRAM: " << strData ; in SaveToSRAM()
105 if (!android::base::WriteStringToFile(strData, std::string(kCycCntFile))) in SaveToSRAM()
/device/google/wahoo/health/
DLearnedCapacityBackupRestore.cpp67 char strData[kBuffSize]; in SaveToStorage() local
69 snprintf(strData, kBuffSize, "%d", sw_cap_); in SaveToStorage()
71 LOG(INFO) << "Save to Storage: " << strData; in SaveToStorage()
73 if (!android::base::WriteStringToFile(strData, std::string(kSysCFPersistFile))) in SaveToStorage()
94 char strData[kBuffSize]; in SaveToSRAM() local
96 snprintf(strData, kBuffSize, "%d", hw_cap_); in SaveToSRAM()
98 LOG(INFO) << "Save to SRAM: " << strData; in SaveToSRAM()
100 if (!android::base::WriteStringToFile(strData, std::string(kChgFullFile))) in SaveToSRAM()
DCycleCountBackupRestore.cpp63 char strData[kBuffSize]; in SaveToStorage() local
65 snprintf(strData, kBuffSize, "%d %d %d %d %d %d %d %d", in SaveToStorage()
69 LOG(INFO) << "Save to Storage: " << strData; in SaveToStorage()
71 if (!android::base::WriteStringToFile(strData, std::string(kSysPersistFile))) in SaveToStorage()
97 char strData[kBuffSize]; in SaveToSRAM() local
99 snprintf(strData, kBuffSize, "%d %d %d %d %d %d %d %d", in SaveToSRAM()
103 LOG(INFO) << "Save to SRAM: " << strData ; in SaveToSRAM()
105 if (!android::base::WriteStringToFile(strData, std::string(kCycCntFile))) in SaveToSRAM()
/device/google/bonito/health/
DLearnedCapacityBackupRestore.cpp58 char strData[kBuffSize]; in SaveToStorage() local
60 snprintf(strData, kBuffSize, "%d", sw_cap_); in SaveToStorage()
62 LOG(INFO) << "Save to Storage: " << strData; in SaveToStorage()
64 if (!android::base::WriteStringToFile(strData, std::string(kSysCFPersistFile))) in SaveToStorage()
101 char strData[kBuffSize]; in SaveToSRAM() local
103 snprintf(strData, kBuffSize, "%d", hw_cap_); in SaveToSRAM()
105 LOG(INFO) << "Save to SRAM: " << strData; in SaveToSRAM()
107 if (!android::base::WriteStringToFile(strData, std::string(kChgFullFile))) in SaveToSRAM()