Package com.aelitis.azureus.core.devices

Examples of com.aelitis.azureus.core.devices.Device


         
          if (isWritableUSB) {
            addDevice(name, id, root, new File(root, "videos"), true);
          } else {
            //Fixup old bug where we were adding Samsung hard drives as devices
            Device existingDevice = getDeviceMediaRendererByClassification(id);
            if (existingDevice != null) {
              existingDevice.remove();
            }
          }
          return;
        } else if (isWritableUSB && sVendor.toLowerCase().equals("rim")) {
          String name = sVendor;
View Full Code Here


    if ( auto ){
     
      throw( new DeviceManagerException( "Device can't be added manually" ));
    }
   
    Device res = manager.createDevice( Device.DT_MEDIA_RENDERER, uid, classification, name, manual );
   
    return( res );
  }
View Full Code Here

    TranscodeFile tf = (TranscodeFile) cell.getDataSource();
    if (tf == null) {
      return;
    }
   
    Device d = tf.getDevice();
   
    String value = null;
   
    if ( d instanceof DeviceMediaRenderer ){
     
View Full Code Here

         
          for ( DeviceTemplate template: templates ){
           
            if ( !template.isAuto()){
         
              Device device = template.createInstance( template.getName() + " test!" );
         
              device.requestAttention();
             
              break;
            }
          }
         
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.core.devices.Device

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.