ITestsZipInstaller
public
interface
ITestsZipInstaller
com.android.tradefed.targetprep.ITestsZipInstaller |
Installs tests from a tests zip file (as outputted by the build system) on a device.
Summary
Public methods | |
---|---|
abstract
void
|
deleteData(ITestDevice device)
Removes all of the files/directories from |
abstract
void
|
pushTestsZipOntoData(ITestDevice device, IDeviceBuildInfo deviceBuild)
Pushes the contents of the tests.zip file onto the device's data partition. |
abstract
void
|
setDataWipeSkipList(String... skipList)
Sets the list of paths under |
abstract
void
|
setDataWipeSkipList(Collection<String> skipList)
Sets the list of paths under |
Public methods
deleteData
public abstract void deleteData (ITestDevice device)
Removes all of the files/directories from /data
on the specified device, with the
exception of those excluded by the skip list.
Parameters | |
---|---|
device |
ITestDevice : The ITestDevice to act on |
Throws | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |
See also:
pushTestsZipOntoData
public abstract void pushTestsZipOntoData (ITestDevice device, IDeviceBuildInfo deviceBuild)
Pushes the contents of the tests.zip file onto the device's data partition.
Parameters | |
---|---|
device |
ITestDevice : the ITestDevice to flash, assumed to be in adb mode. |
deviceBuild |
IDeviceBuildInfo : the IDeviceBuildInfo that contains the tests zip to flash |
Throws | |
---|---|
|
DeviceNotAvailableException |
TargetSetupError |
|
DeviceNotAvailableException |
setDataWipeSkipList
public abstract void setDataWipeSkipList (String... skipList)
Sets the list of paths under /data
to avoid clearing.
Parameters | |
---|---|
skipList |
String : the list of directories to skip.
Note that the granularity of the skip list is direct children of /data . |
See also:
setDataWipeSkipList
public abstract void setDataWipeSkipList (Collection<String> skipList)
Sets the list of paths under /data
to avoid clearing.
Parameters | |
---|---|
skipList |
Collection : the list of directories to skip.
Note that the granularity of the skip list is direct children of /data . |
See also:
Interfaces
Classes
- AbstractTargetCleaner
- AdditionalFilesInstaller
- AllTestAppsInstallSetup
- AppSetup
- BaseTargetPreparer
- BuildInfoAttributePreparer
- BuildInfoRecorder
- CdmaDeviceFlasher
- ConnectionChecker
- CpuThrottlingWaiter
- CrashCollector
- DefaultTestsZipInstaller
- DeviceBuildInfoInjector
- DeviceCleaner
- DeviceFlashPreparer
- DeviceSetup
- DeviceStorageFiller
- DeviceStringPusher
- DeviceWiper
- EraseUserDataPreparer
- FastbootDeviceFlasher
- FileCleaner
- FlashingResourcesParser
- FlashingResourcesParser.AndroidInfo
- FolderSaver
- InstallAllTestZipAppsSetup
- InstallApkSetup
- InstallBuildEnvApkSetup
- InstrumentationPreparer
- KernelFlashPreparer
- KeyValueConfigPreparer
- LocalSdkAvdPreparer
- NativeLeakCollector
- PreloadedClassesPreparer
- PushFileInvoker
- PushFilePreparer
- PythonVirtualenvPreparer
- RebootTargetPreparer
- RemoveSystemAppPreparer
- RestartSystemServerTargetPreparer
- RootTargetPreparer
- RunCommandTargetPreparer
- RunHostCommandTargetPreparer
- SdkAvdPreparer
- StopServicesSetup
- StubTargetPreparer
- SystemUpdaterDeviceFlasher
- TearDownPassThroughPreparer
- TemperatureThrottlingWaiter
- TestAppInstallSetup
- TestFilePushSetup
- TestSystemAppInstallSetup
- TimeSetterTargetPreparer
- TimeWaster
- WaitForDeviceDatetimePreparer
- WifiPreparer
Enums
Exceptions