Searched refs:MtpDevice (Results 1 – 20 of 20) 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;
41 "MtpDevice.cpp",
226 MtpDevice* get_device_from_object(JNIEnv* env, jobject javaDevice) in get_device_from_object()233 return (MtpDevice*)env->GetLongField(javaDevice, field_context); in get_device_from_object()298 MtpDevice* device = MtpDevice::open(deviceNameStr, fd); in android_mtp_MtpDevice_open()311 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_close()322 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_device_info()406 MtpDevice* const device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_set_device_property_init_version()439 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_ids()458 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_storage_info()493 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_handles()512 MtpDevice* device = get_device_from_object(env, thiz); in android_mtp_MtpDevice_get_object_info()[all …]
9 + [mtp_device_fuzzer](#MtpDevice)110 # <a name="MtpDevice"></a> Fuzzer for MtpDevice112 MtpDevice supports the following parameters:
81 MtpDevice mtpDevice(device, fdp.ConsumeIntegral<int32_t>(), &descriptor.ep[0], in LLVMFuzzerTestOneInput()190 [&]() { MtpDevice::open(deviceName.c_str(), fd); }, in LLVMFuzzerTestOneInput()
40 public final class MtpDevice { class65 public MtpDevice(@NonNull UsbDevice device) { in MtpDevice() method in MtpDevice
32211 Landroid/mtp/MtpDevice;->getObjectSizeLong(II)J32212 Landroid/mtp/MtpDevice;->mCloseGuard:Ldalvik/system/CloseGuard;32213 Landroid/mtp/MtpDevice;->mConnection:Landroid/hardware/usb/UsbDeviceConnection;32214 Landroid/mtp/MtpDevice;->mDevice:Landroid/hardware/usb/UsbDevice;32215 Landroid/mtp/MtpDevice;->mLock:Ljava/lang/Object;32216 Landroid/mtp/MtpDevice;->mNativeContext:J32217 Landroid/mtp/MtpDevice;->native_close()V32218 Landroid/mtp/MtpDevice;->native_delete_object(I)Z32219 Landroid/mtp/MtpDevice;->native_discard_event_request(I)V32220 Landroid/mtp/MtpDevice;->native_get_device_info()Landroid/mtp/MtpDeviceInfo;[all …]
5590 android.mtp.MtpDevice
27986 Landroid/mtp/MtpDevice;
5594 android.mtp.MtpDevice
38120 Landroid/mtp/MtpDevice;
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
16850 public final class MtpDevice {16851 ctor public MtpDevice(android.hardware.usb.UsbDevice);
28563 public final class MtpDevice {28564 ctor public MtpDevice(@NonNull android.hardware.usb.UsbDevice);