Searched refs:MtpDevice (Results 1 – 15 of 15) sorted by relevance
29 import android.mtp.MtpDevice;59 private final HashMap<String, MtpDevice> mDevices = new HashMap<String, MtpDevice>();71 MtpDevice mtpDevice = mDevices.get(deviceName);118 public void deviceAdded(MtpDevice device); in deviceAdded()125 public void deviceRemoved(MtpDevice device); in deviceRemoved()171 private MtpDevice openDeviceLocked(UsbDevice usbDevice) { in openDeviceLocked()178 MtpDevice mtpDevice = new MtpDevice(usbDevice); in openDeviceLocked()228 public MtpDevice getDevice(String deviceName) { in getDevice()241 public MtpDevice getDevice(int id) { in getDevice()252 public List<MtpDevice> getDeviceList() { in getDeviceList()[all …]
23 import android.mtp.MtpDevice;45 private List<MtpDevice> mDeviceList;83 MtpDevice device = mDeviceList.get(position); in getView()127 public void deviceAdded(MtpDevice device) { in deviceAdded()133 public void deviceRemoved(MtpDevice device) { in deviceRemoved()
22 import android.mtp.MtpDevice;
26 import android.mtp.MtpDevice;
73 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { in open()207 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open()219 MtpDevice::MtpDevice(struct usb_device* device, int interface, in MtpDevice() function in android::MtpDevice245 MtpDevice::~MtpDevice() { in ~MtpDevice()255 void MtpDevice::initialize() { in initialize()271 void MtpDevice::close() { in close()279 void MtpDevice::print() { in print()322 const char* MtpDevice::getDeviceName() { in getDeviceName()329 bool MtpDevice::openSession() { in openSession()350 bool MtpDevice::closeSession() { in closeSession()[all …]
39 class MtpDevice {81 MtpDevice(struct usb_device* device,87 static MtpDevice* open(const char* deviceName, int fd);89 virtual ~MtpDevice();
50 class MtpDevice; variable54 typedef std::vector<MtpDevice*> MtpDeviceList;
24 "MtpDevice.cpp",
133 MtpDevice* get_device_from_object(JNIEnv* env, jobject javaDevice) in get_device_from_object()135 return (MtpDevice*)env->GetLongField(javaDevice, field_context); in get_device_from_object()200 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open()211 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_close()222 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_device_info()289 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_ids()308 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_info()343 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_handles()362 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_info()400 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object()[all …]
40 public final class MtpDevice { class65 public MtpDevice(@NonNull UsbDevice device) { in MtpDevice() method in MtpDevice
4089 android.mtp.MtpDevice
44281 Landroid/mtp/MtpDevice;
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
16850 public final class MtpDevice {16851 ctor public MtpDevice(android.hardware.usb.UsbDevice);
29661 public final class MtpDevice {29662 ctor public MtpDevice(@NonNull android.hardware.usb.UsbDevice);