protected static class DeviceController.SyncProgressMonitorImpl extends Object implements com.android.ddmlib.SyncService.ISyncProgressMonitor
| Modifier and Type | Field and Description |
|---|---|
protected static MessageFormat |
PROGRESS_DONE_FORMAT |
protected static MessageFormat |
PROGRESS_FORMAT |
protected static MessageFormat |
PROGRESS_START_FORMAT |
| Constructor and Description |
|---|
SyncProgressMonitorImpl(DeviceController.Environment environment,
String from) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(int work) |
protected String |
getDeviceStringFor(com.android.ddmlib.IDevice device) |
protected int |
getTotalWork() |
boolean |
isCanceled() |
void |
start(int totalWork) |
void |
startSubTask(String name) |
void |
stop() |
@Nonnull protected static final MessageFormat PROGRESS_START_FORMAT
@Nonnull protected static final MessageFormat PROGRESS_FORMAT
@Nonnull protected static final MessageFormat PROGRESS_DONE_FORMAT
public SyncProgressMonitorImpl(@Nonnull DeviceController.Environment environment, @Nonnull String from)
public void start(int totalWork)
start in interface com.android.ddmlib.SyncService.ISyncProgressMonitorpublic void stop()
stop in interface com.android.ddmlib.SyncService.ISyncProgressMonitorpublic void advance(@Nonnegative int work)
advance in interface com.android.ddmlib.SyncService.ISyncProgressMonitor@Nonnull protected String getDeviceStringFor(@Nonnull com.android.ddmlib.IDevice device)
@Nonnegative protected int getTotalWork()
public void startSubTask(String name)
startSubTask in interface com.android.ddmlib.SyncService.ISyncProgressMonitorpublic boolean isCanceled()
isCanceled in interface com.android.ddmlib.SyncService.ISyncProgressMonitorCopyright © 2016 echocat. All rights reserved.