Home
last modified time | relevance | path

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

/device/google/contexthub/sensorhal/
Dhubconnection.cpp399 File saved_settings_file(CONTEXTHUB_SAVED_SETTINGS_PATH, "r"); in loadSensorSettings() local
412 if ((err = saved_settings_file.initCheck()) != OK) { in loadSensorSettings()
418 *saved_settings = readSettings(&saved_settings_file); in loadSensorSettings()
423 File saved_settings_file(CONTEXTHUB_SAVED_SETTINGS_PATH, "w"); in saveSensorSettings() local
427 if ((err = saved_settings_file.initCheck()) != OK) { in saveSensorSettings()
472 if ((err = saved_settings_file.write(serializedSettings.c_str(), size)) != (ssize_t)size) { in saveSensorSettings()