Searched refs:MtpDevice (Results 1 – 17 of 17) sorted by relevance
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 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 …]
|
D | CameraBrowser.java | 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()
|
D | StorageBrowser.java | 22 import android.mtp.MtpDevice;
|
D | ObjectBrowser.java | 26 import android.mtp.MtpDevice;
|
/frameworks/av/media/mtp/ |
D | MtpDevice.cpp | 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::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 …]
|
D | MtpDevice.h | 39 class MtpDevice { 81 MtpDevice(struct usb_device* device, 87 static MtpDevice* open(const char* deviceName, int fd); 89 virtual ~MtpDevice();
|
D | MtpTypes.h | 50 class MtpDevice; variable 54 typedef std::vector<MtpDevice*> MtpDeviceList;
|
D | Android.bp | 41 "MtpDevice.cpp",
|
/frameworks/base/media/jni/ |
D | android_mtp_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 …]
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 40 public final class MtpDevice { class 65 public MtpDevice(@NonNull UsbDevice device) { in MtpDevice() method in MtpDevice
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 32211 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/ |
D | preloaded-classes | 5159 android.mtp.MtpDevice
|
D | boot-image-profile.txt | 27636 Landroid/mtp/MtpDevice;
|
/frameworks/base/config/ |
D | preloaded-classes | 5163 android.mtp.MtpDevice
|
D | boot-image-profile.txt | 37604 Landroid/mtp/MtpDevice;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16850 public final class MtpDevice { 16851 ctor public MtpDevice(android.hardware.usb.UsbDevice);
|
/frameworks/base/core/api/ |
D | current.txt | 26427 public final class MtpDevice { 26428 ctor public MtpDevice(@NonNull android.hardware.usb.UsbDevice);
|