Home
last modified time | relevance | path

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

/development/samples/BackupRestore/src/com/example/android/backuprestore/
DExampleAgent.java86 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
107 boolean doBackup = (oldState == null); in onBackup()
109 doBackup = compareStateFile(oldState); in onBackup()
145 boolean compareStateFile(ParcelFileDescriptor oldState) { in compareStateFile() argument
146 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in compareStateFile()
DFileHelperExampleAgent.java77 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
81 super.onBackup(oldState, data, newState); in onBackup()
DMultiRecordExampleAgent.java62 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, in onBackup() argument
78 boolean forceBackup = (oldState == null); in onBackup()
87 FileInputStream instream = new FileInputStream(oldState.getFileDescriptor()); in onBackup()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java363 private void checkState(int oldState, int newState) { in checkState() argument
364 if (mState != oldState) { in checkState()