OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mtpDevice
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
MtpClient.java
29
import android.mtp.
MtpDevice
;
59
private final HashMap<String,
MtpDevice
> mDevices = new HashMap<String,
MtpDevice
>();
71
MtpDevice
mtpDevice
= mDevices.get(deviceName);
74
if (
mtpDevice
== null) {
75
mtpDevice
= openDeviceLocked(usbDevice);
77
if (
mtpDevice
!= null) {
79
listener.deviceAdded(
mtpDevice
);
83
if (
mtpDevice
!= null)
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
MtpClient.java
30
import android.mtp.
MtpDevice
;
60
private final HashMap<String,
MtpDevice
> mDevices = new HashMap<String,
MtpDevice
>();
79
MtpDevice
mtpDevice
= mDevices.get(deviceName);
82
if (
mtpDevice
== null) {
83
mtpDevice
= openDeviceLocked(usbDevice);
85
if (
mtpDevice
!= null) {
87
listener.deviceAdded(
mtpDevice
);
91
if (
mtpDevice
!= null)
[
all
...]
/frameworks/av/media/mtp/
MtpDevice.cpp
17
#define LOG_TAG "
MtpDevice
"
20
#include "
MtpDevice
.h"
53
MtpDevice
*
MtpDevice
::open(const char* deviceName, int fd) {
163
MtpDevice
*
mtpDevice
= new
MtpDevice
(device, interface->bInterfaceNumber,
165
mtpDevice
->initialize();
166
return
mtpDevice
;
175
MtpDevice
::MtpDevice(struct usb_device* device, int interface
[
all
...]
Completed in 130 milliseconds