Home
last modified time | relevance | path

Searched refs:MtpDevice (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java29 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 …]
DCameraBrowser.java23 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()
DStorageBrowser.java22 import android.mtp.MtpDevice;
DObjectBrowser.java26 import android.mtp.MtpDevice;
/frameworks/av/media/mtp/
DMtpDevice.cpp73 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::MtpDevice
245 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 …]
DMtpDevice.h39 class MtpDevice {
81 MtpDevice(struct usb_device* device,
87 static MtpDevice* open(const char* deviceName, int fd);
89 virtual ~MtpDevice();
DMtpTypes.h50 class MtpDevice; variable
54 typedef std::vector<MtpDevice*> MtpDeviceList;
DAndroid.bp41 "MtpDevice.cpp",
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp226 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 …]
/frameworks/base/media/java/android/mtp/
DMtpDevice.java40 public final class MtpDevice { class
65 public MtpDevice(@NonNull UsbDevice device) { in MtpDevice() method in MtpDevice
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32211 Landroid/mtp/MtpDevice;->getObjectSizeLong(II)J
32212 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:J
32217 Landroid/mtp/MtpDevice;->native_close()V
32218 Landroid/mtp/MtpDevice;->native_delete_object(I)Z
32219 Landroid/mtp/MtpDevice;->native_discard_event_request(I)V
32220 Landroid/mtp/MtpDevice;->native_get_device_info()Landroid/mtp/MtpDeviceInfo;
[all …]
/frameworks/base/boot/
Dpreloaded-classes5159 android.mtp.MtpDevice
Dboot-image-profile.txt27636 Landroid/mtp/MtpDevice;
/frameworks/base/config/
Dpreloaded-classes5163 android.mtp.MtpDevice
Dboot-image-profile.txt37604 Landroid/mtp/MtpDevice;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16850 public final class MtpDevice {
16851 ctor public MtpDevice(android.hardware.usb.UsbDevice);
/frameworks/base/core/api/
Dcurrent.txt26427 public final class MtpDevice {
26428 ctor public MtpDevice(@NonNull android.hardware.usb.UsbDevice);