Searched refs:saved_apps_file (Results 1 – 1 of 1) sorted by relevance
991 File saved_apps_file(CHRE_APP_SETTINGS, "w"); in saveApps() local995 if ((err = saved_apps_file.initCheck()) != OK) { in saveApps()1021 if ((err = saved_apps_file.write(serializedSettings.c_str(), size)) != (ssize_t)size) { in saveApps()1033 File saved_apps_file(CHRE_APP_SETTINGS, "r"); in restoreApps() local1037 if ((err = saved_apps_file.initCheck()) != OK) { in restoreApps()1044 off64_t size = saved_apps_file.seekTo(0, SEEK_END); in restoreApps()1045 saved_apps_file.seekTo(0, SEEK_SET); in restoreApps()1049 CHECK_EQ(saved_apps_file.read(buf, size), (ssize_t)size); in restoreApps()