Home
last modified time | relevance | path

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

/external/r8/src/main/java/com/android/tools/r8/bisect/
DBisectOptions.java26 public final File stateFile; field in BisectOptions
37 OptionSpec<String> stateFile; field in BisectOptions.ParserSpec
53 stateFile = parser.accepts(STATE_FLAG, "Bisection state.") in init()
61 .requiredUnless(stateFile) in init()
79 private BisectOptions(File goodBuild, File badBuild, File stateFile, File command, File output, in BisectOptions() argument
83 this.stateFile = stateFile; in BisectOptions()
98 File stateFile = null; in parse() local
99 if (options.valueOf(parser.stateFile) != null) { in parse()
100 stateFile = exists(options.valueOf(parser.stateFile), STATE_FLAG); in parse()
121 return new BisectOptions(goodBuild, badBuild, stateFile, command, output, result); in parse()
DBisectState.java149 private final File stateFile; field in BisectState
156 public BisectState(DexApplication goodApp, DexApplication badApp, File stateFile) { in BisectState() argument
159 this.stateFile = stateFile; in BisectState()
174 if (stateFile == null) { in read()
178 try (BufferedReader reader = new BufferedReader(new FileReader(stateFile))) { in read()
306 if (stateFile == null) { in write()
309 try (FileWriter writer = new FileWriter(stateFile, false)) { in write()
DBisect.java108 File stateFile = options.stateFile != null in run() local
109 ? options.stateFile in run()
113 BisectState state = new BisectState(goodApp, badApp, stateFile); in run()
114 if (options.stateFile != null) { in run()
/external/libbackup/src/com/google/android/libraries/backup/
DPersistentBackupAgentHelper.java157 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor stateFile) in onRestore() argument
159 super.onRestore(data, appVersionCode, stateFile); in onRestore()