Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/build/
DDeviceBuildInfo.java19 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
32 BuildInfoFileKey.TESTDIR_IMAGE.getFileKey(),
33 BuildInfoFileKey.HOST_LINKED_DIR.getFileKey(),
34 BuildInfoFileKey.TARGET_LINKED_DIR.getFileKey()
85 return getFile(BuildInfoFileKey.DEVICE_IMAGE); in getDeviceImageFile()
93 return getVersion(BuildInfoFileKey.DEVICE_IMAGE); in getDeviceImageVersion()
101 setFile(BuildInfoFileKey.DEVICE_IMAGE, deviceImageFile, version); in setDeviceImageFile()
109 return getFile(BuildInfoFileKey.USERDATA_IMAGE); in getUserDataImageFile()
117 return getVersion(BuildInfoFileKey.USERDATA_IMAGE); in getUserDataImageVersion()
125 setFile(BuildInfoFileKey.USERDATA_IMAGE, userDataFile, version); in setUserDataImageFile()
[all …]
DIBuildInfo.java18 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
149 public default File getFile(BuildInfoFileKey key) { in getFile()
178 public default VersionedFile getVersionedFile(BuildInfoFileKey key) { in getVersionedFile()
201 public default String getVersion(BuildInfoFileKey key) { in getVersion()
222 public default void setFile(BuildInfoFileKey key, File file, String version) { in setFile()
DBuildInfoKey.java25 public enum BuildInfoFileKey { enum in BuildInfoKey
43 private BuildInfoFileKey(String fileKey) { in BuildInfoFileKey() method in BuildInfoKey.BuildInfoFileKey
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceBuildInfoTest.java24 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
100 mBuildInfo.setFile(BuildInfoFileKey.HOST_LINKED_DIR, mHostLinkedDir, "v1"); in testCloneWithProperties()
113 assertEquals(mHostLinkedDir, copy.getFile(BuildInfoFileKey.HOST_LINKED_DIR)); in testCloneWithProperties()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DPushFilePreparer.java21 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
111 File targetTestCases = deviceBuild.getFile(BuildInfoFileKey.TARGET_LINKED_DIR); in resolveRelativeFilePath()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java23 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
149 EasyMock.expect(buildInfo.getFile(BuildInfoFileKey.TARGET_LINKED_DIR)).andReturn(null); in testResolveRelativeFilePath_withDeviceBuildInfo()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java19 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
526 BuildInfoFileKey.TARGET_LINKED_DIR.getFileKey()); in updateBuild()
531 BuildInfoFileKey.HOST_LINKED_DIR.getFileKey()); in updateBuild()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java22 import com.android.tradefed.build.BuildInfoKey.BuildInfoFileKey;
1722 EasyMock.contains(BuildInfoFileKey.TARGET_LINKED_DIR.getFileKey()), in testInvoke_deviceInfoBuild_withEnv()
1742 .startsWith(BuildInfoFileKey.TARGET_LINKED_DIR.getFileKey())); in testInvoke_deviceInfoBuild_withEnv()