Search in sources :

Example 1 with AroDevices

use of com.att.aro.core.mobiledevice.pojo.AroDevices in project VideoOptimzer by attdevsupport.

the class AROController method getAroDevices.

/**
 * Builds a list of IAroDevices
 *
 * @return a list of IAroDevices
 */
public IAroDevices getAroDevices() {
    // IDevice[] androidDevices = null;
    IAroDevices aroDevices = new AroDevices();
    List<IDataCollector> collectors = getAvailableCollectors();
    if (Util.isMacOS()) {
        getDevices(aroDevices, collectors, DataCollectorType.IOS);
    }
    if (getDevices(aroDevices, collectors, DataCollectorType.ROOTED_ANDROID) == 0) {
        getDevices(aroDevices, collectors, DataCollectorType.NON_ROOTED_ANDROID);
    }
    return aroDevices;
}
Also used : IAroDevices(com.att.aro.core.mobiledevice.pojo.IAroDevices) IDataCollector(com.att.aro.core.datacollector.IDataCollector) IAroDevices(com.att.aro.core.mobiledevice.pojo.IAroDevices) AroDevices(com.att.aro.core.mobiledevice.pojo.AroDevices)

Aggregations

IDataCollector (com.att.aro.core.datacollector.IDataCollector)1 AroDevices (com.att.aro.core.mobiledevice.pojo.AroDevices)1 IAroDevices (com.att.aro.core.mobiledevice.pojo.IAroDevices)1