/tools/tradefederation/core/src/com/android/tradefed/device/internal/ |
D | DeviceSnapshotFeature.java | 106 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 …]
|
D | DeviceSnapshotHandler.java | 70 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/ |
D | AdbTcpConnection.java | 90 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()
|
D | AdbSshConnection.java | 669 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/ |
D | AbstractConnection.java | 75 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/ |
D | AdbSshConnectionTest.java | 550 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/ |
D | ModuleDefinition.java | 1167 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()
|