Home
last modified time | relevance | path

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

/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java52 private enum WriteAction { enum in AtomicFileTest
72 public WriteAction mWriteAction;
91 { "none + finish = new", null, WriteAction.FINISH, NEW_BYTES }, in data()
92 { "none + fail = none", null, WriteAction.FAIL, null }, in data()
93 { "none + abort = none", null, WriteAction.ABORT, null }, in data()
95 { "base + finish = new", new String[] { BASE_NAME }, WriteAction.FINISH, in data()
97 { "base + fail = base", new String[] { BASE_NAME }, WriteAction.FAIL, BASE_BYTES }, in data()
98 { "base + abort = base", new String[] { BASE_NAME }, WriteAction.ABORT, in data()
101 { "new + finish = new", new String[] { NEW_NAME }, WriteAction.FINISH, NEW_BYTES }, in data()
102 { "new + fail = none", new String[] { NEW_NAME }, WriteAction.FAIL, null }, in data()
[all …]