Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/internal/
DDeviceSnapshotFeature.java106 String snapshotId = request.getArgsMap().get(SNAPSHOT_ID); in execute() local
109 restoreSnapshot(responseBuilder, connection, user, offset, snapshotId); in execute()
111 snapshot(responseBuilder, connection, user, offset, snapshotId); in execute()
144 String snapshotId) in snapshot() argument
153 CommandResult result = snapshotGce(connection, user, offset, snapshotId); in snapshot()
180 String snapshotId) in restoreSnapshot() argument
187 snapshotId); in restoreSnapshot()
190 CommandResult result = restoreSnapshotGce(connection, user, offset, snapshotId); in restoreSnapshot()
224 AbstractConnection connection, String user, Integer offset, String snapshotId) in snapshotGce() argument
227 return ((AdbSshConnection) connection).snapshotGce(user, offset, snapshotId); in snapshotGce()
[all …]
DDeviceSnapshotHandler.java70 public void snapshotDevice(ITestDevice device, String snapshotId) in snapshotDevice() argument
80 args.put(DeviceSnapshotFeature.SNAPSHOT_ID, snapshotId); in snapshotDevice()
137 public void restoreSnapshotDevice(ITestDevice device, String snapshotId) in restoreSnapshotDevice() argument
148 args.put(DeviceSnapshotFeature.SNAPSHOT_ID, snapshotId); in restoreSnapshotDevice()
156 snapshotId, response.getResponse()); in restoreSnapshotDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DAdbTcpConnection.java90 ITestDevice device, String snapshotId, DeviceNotAvailableException dnae) in recoverVirtualDevice() argument
92 if (Strings.isNullOrEmpty(snapshotId)) { in recoverVirtualDevice()
108 restoreHandler.restoreSnapshotDevice(device, snapshotId); in recoverVirtualDevice()
117 public void snapshotDevice(ITestDevice device, String snapshotId) in snapshotDevice() argument
119 if (!Strings.isNullOrEmpty(snapshotId)) { in snapshotDevice()
120 new DeviceSnapshotHandler().snapshotDevice(device, snapshotId); in snapshotDevice()
DAdbSshConnection.java669 public CommandResult snapshotGce(String user, Integer offset, String snapshotId) in snapshotGce() argument
698 user, snapshotId), in snapshotGce()
708 user, snapshotId), in snapshotGce()
759 public CommandResult restoreSnapshotGce(String user, Integer offset, String snapshotId) in restoreSnapshotGce() argument
779 user, snapshotId), in restoreSnapshotGce()
787 "--snapshot_path=/tmp/%s/snapshots/%s", user, snapshotId), in restoreSnapshotGce()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/connection/
DAbstractConnection.java75 ITestDevice device, String snapshotId, DeviceNotAvailableException dnae) in recoverVirtualDevice() argument
89 public void snapshotDevice(ITestDevice device, String snapshotId) in snapshotDevice() argument
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/
DAdbSshConnectionTest.java550 String snapshotId = "snapshot_user1"; in testSnapshotGce() local
553 String snapshotPath = String.format("/tmp/%s/snapshots/%s", instanceUser, snapshotId); in testSnapshotGce()
668 mConnection.snapshotGce(instanceUser, null, snapshotId); in testSnapshotGce()
671 mConnection.restoreSnapshotGce(instanceUser, null, snapshotId); in testSnapshotGce()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java1167 String snapshotId = null; in checkEndModuleDevice()
1169 snapshotId = in checkEndModuleDevice()
1174 device.getConnection().recoverVirtualDevice(device, snapshotId, e); in checkEndModuleDevice()
1195 String snapshotId = null; in recoverDevice() local
1197 snapshotId = in recoverDevice()
1202 device.getConnection().recoverVirtualDevice(device, snapshotId, e); in recoverDevice()