Home
last modified time | relevance | path

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

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DSystemUpdaterDeviceFlasher.java41 private UserDataFlashOption mFlashOption = UserDataFlashOption.TESTS_ZIP;
77 if (mFlashOption == UserDataFlashOption.TESTS_ZIP) { in flash()
136 public void setUserDataFlashOption(UserDataFlashOption flashOption) { in setUserDataFlashOption()
137 List<UserDataFlashOption> supported = Arrays.asList( in setUserDataFlashOption()
138 UserDataFlashOption.TESTS_ZIP, UserDataFlashOption.RETAIN); in setUserDataFlashOption()
151 public UserDataFlashOption getUserDataFlashOption() { in getUserDataFlashOption()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java27 import com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption;
87 mFlasher.setUserDataFlashOption(UserDataFlashOption.RETAIN); in setUp()
248 mFlasher.setUserDataFlashOption(UserDataFlashOption.TESTS_ZIP); in testFlashUserData_testsZip()
272 mFlasher.setUserDataFlashOption(UserDataFlashOption.WIPE); in testFlashUserData_wipe()
284 mFlasher.setUserDataFlashOption(UserDataFlashOption.FORCE_WIPE); in testFlashUserData_forceWipe()
296 mFlasher.setUserDataFlashOption(UserDataFlashOption.WIPE); in testWipeCache_exists()
345 mFlasher.setUserDataFlashOption(UserDataFlashOption.WIPE); in testWipeCache_not_exists()
371 mFlasher.setUserDataFlashOption(UserDataFlashOption.WIPE); in testWipeCache_not_exists_error()
410 mFlasher.setUserDataFlashOption(UserDataFlashOption.WIPE_RM); in testFlashUserData_wipeRm()
DDeviceFlashPreparerTest.java38 import com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption;
109 mMockFlasher.setUserDataFlashOption(UserDataFlashOption.FLASH); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasher.java61 private UserDataFlashOption mUserDataFlashOption = UserDataFlashOption.FLASH;
95 public void setUserDataFlashOption(UserDataFlashOption flashOption) { in setUserDataFlashOption()
103 public UserDataFlashOption getUserDataFlashOption() { in getUserDataFlashOption()
205 if (UserDataFlashOption.FORCE_WIPE.equals(mUserDataFlashOption) || in handleUserDataFlashing()
206 UserDataFlashOption.WIPE.equals(mUserDataFlashOption)) { in handleUserDataFlashing()
503 if (!mUserDataFlashOption.equals(UserDataFlashOption.RETAIN)) { in wipeCache()
DDeviceFlashPreparer.java32 import com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption;
62 private UserDataFlashOption mUserDataFlashOption = UserDataFlashOption.FLASH;
176 public void setUserDataFlashOption(UserDataFlashOption flashOption) { in setUserDataFlashOption()
451 && mUserDataFlashOption != UserDataFlashOption.RETAIN) { in tearDown()
DIDeviceFlasher.java34 public enum UserDataFlashOption { enum
71 public void setUserDataFlashOption(UserDataFlashOption flashOption); in setUserDataFlashOption()
86 public UserDataFlashOption getUserDataFlashOption(); in getUserDataFlashOption()
DFastbootUpdateBootstrapPreparer.java25 import com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption;
85 setUserDataFlashOption(UserDataFlashOption.WIPE); in setUp()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java34 import com.android.tradefed.targetprep.IDeviceFlasher.UserDataFlashOption;
69 private UserDataFlashOption mUserDataFlashOption = UserDataFlashOption.WIPE;