Lines Matching refs:createFile
77 const char* createFile(const char* path, const char* content) { in createFile() function
123 config->batteryStatusPath = createFile("/data/local/tmp/batteryStatus", "Not charging"); in healthd_board_init()
124 config->batteryHealthPath = createFile("/data/local/tmp/batteryHealth", "Unspecified failure"); in healthd_board_init()
125 config->batteryPresentPath = createFile("/data/local/tmp/batteryPresent", "1"); in healthd_board_init()
126 config->batteryCapacityPath = createFile("/data/local/tmp/batteryCapacity", "47"); in healthd_board_init()
127 config->batteryVoltagePath = createFile("/data/local/tmp/batteryVoltage", "45000"); in healthd_board_init()
128 config->batteryTemperaturePath = createFile("/data/local/tmp/batteryTemperature", "987"); in healthd_board_init()
129 config->batteryTechnologyPath = createFile("/data/local/tmp/batteryTechnology", "NiCd"); in healthd_board_init()
130 config->batteryCurrentNowPath = createFile("/data/local/tmp/batteryCurrentNow", "99000"); in healthd_board_init()
131 config->batteryCurrentAvgPath = createFile("/data/local/tmp/batteryCurrentAvg", "98000"); in healthd_board_init()
132 config->batteryChargeCounterPath = createFile("/data/local/tmp/batteryChargeCounter", "600"); in healthd_board_init()
133 config->batteryFullChargePath = createFile("/data/local/tmp/batteryFullCharge", "3515547"); in healthd_board_init()
134 config->batteryCycleCountPath = createFile("/data/local/tmp/batteryCycleCount", "77"); in healthd_board_init()