use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getAndroidBridgeFailedToStart.
public static ErrorCode getAndroidBridgeFailedToStart() {
ErrorCode error = new ErrorCode();
error.setCode(200);
error.setName("Android Debug Bridge failed to start");
error.setDescription(ApplicationConfig.getInstance().getAppName() + " Collector tried to start Android Debug Bridge service. The service was not started successfully.");
sendGAErrorCode(error);
return error;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getFailToInstallTcpdump.
public static ErrorCode getFailToInstallTcpdump() {
ErrorCode err = new ErrorCode();
err.setCode(209);
err.setName("Failed to install tcpdump");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " failed to install tcpdump on Emulator. Tcpdump is required to capture packet");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getDeviceHasNoSpace.
/**
* device does not have any space in sdcard to collect trace
*
* @return
*/
public static ErrorCode getDeviceHasNoSpace() {
ErrorCode err = new ErrorCode();
err.setCode(205);
err.setName("Device has no space");
err.setDescription("Device does not have any space for saving trace");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getCollectorAlreadyRunning.
public static ErrorCode getCollectorAlreadyRunning() {
ErrorCode err = new ErrorCode();
err.setCode(206);
err.setName(ApplicationConfig.getInstance().getAppName() + " Rooted Android collector already running");
err.setDescription("There is already an " + ApplicationConfig.getInstance().getAppName() + " collector running on this device. Stop it first before running another one.");
sendGAErrorCode(err);
return err;
}
use of com.att.aro.core.pojo.ErrorCode in project VideoOptimzer by attdevsupport.
the class ErrorCodeRegistry method getProblemAccessingDevice.
public static ErrorCode getProblemAccessingDevice(String message) {
ErrorCode err = new ErrorCode();
err.setCode(215);
err.setName("Problem accessing device");
err.setDescription(ApplicationConfig.getInstance().getAppName() + " failed to access device :" + message);
sendGAErrorCode(err);
return err;
}
Aggregations