OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MtpDevice
(Results
1 - 23
of
23
) 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
...]
CameraBrowser.java
23
import android.mtp.
MtpDevice
;
45
private List<
MtpDevice
> mDeviceList;
83
MtpDevice
device = mDeviceList.get(position);
127
public void deviceAdded(
MtpDevice
device) {
133
public void deviceRemoved(
MtpDevice
device) {
StorageBrowser.java
22
import android.mtp.
MtpDevice
;
ObjectBrowser.java
26
import android.mtp.
MtpDevice
;
/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.h
37
class
MtpDevice
{
63
MtpDevice
(struct usb_device* device, int interface,
68
static
MtpDevice
* open(const char* deviceName, int fd);
70
virtual ~
MtpDevice
();
Android.mk
24
MtpDevice
.cpp \
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
...]
MtpTypes.h
51
class
MtpDevice
;
55
typedef Vector<
MtpDevice
*> MtpDeviceList;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
MtpBitmapFetch.java
22
import android.mtp.
MtpDevice
;
39
public static Bitmap getThumbnail(
MtpDevice
device, MtpObjectInfo info) {
65
public static BitmapWithMetadata getFullsize(
MtpDevice
device, MtpObjectInfo info) {
69
public static BitmapWithMetadata getFullsize(
MtpDevice
device, MtpObjectInfo info, int maxSide) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
ImportTask.java
20
import android.mtp.
MtpDevice
;
45
private
MtpDevice
mDevice;
48
public ImportTask(
MtpDevice
device, Collection<MtpObjectInfo> objectsToImport,
IngestService.java
26
import android.mtp.
MtpDevice
;
62
private
MtpDevice
mDevice;
90
List<
MtpDevice
> devices = sClient.getDeviceList();
109
private void setDevice(
MtpDevice
device) {
194
public void deviceAdded(
MtpDevice
device) {
203
public void deviceRemoved(
MtpDevice
device) {
MtpDeviceIndex.java
20
import android.mtp.
MtpDevice
;
109
private
MtpDevice
mDevice;
133
synchronized public
MtpDevice
getDevice() {
138
* Sets the
MtpDevice
that should be indexed and initializes state, but does
142
* @param device The
MtpDevice
that should be indexed
144
synchronized public void setDevice(
MtpDevice
device) {
152
* been correctly initialized (by calling {@link #setDevice(
MtpDevice
)}) and
432
private
MtpDevice
mDevice;
437
public IndexRunnable(
MtpDevice
device) {
/frameworks/base/media/jni/
android_mtp_MtpDevice.cpp
35
#include "
MtpDevice
.h"
89
MtpDevice
* get_device_from_object(JNIEnv* env, jobject javaDevice)
91
return (
MtpDevice
*)env->GetIntField(javaDevice, field_context);
112
MtpDevice
* device =
MtpDevice
::open(deviceNameStr, fd);
123
MtpDevice
* device = get_device_from_object(env, thiz);
134
MtpDevice
* device = get_device_from_object(env, thiz);
171
MtpDevice
* device = get_device_from_object(env, thiz);
190
MtpDevice
* device = get_device_from_object(env, thiz);
225
MtpDevice
* device = get_device_from_object(env, thiz)
[
all
...]
/frameworks/base/media/java/android/mtp/
MtpDevice.java
30
public final class
MtpDevice
{
32
private static final String TAG = "
MtpDevice
";
45
public
MtpDevice
(UsbDevice device) {
67
* Closes all resources related to the
MtpDevice
object.
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
MtpThumbnailTileView.java
23
import android.mtp.
MtpDevice
;
65
protected Object fetchMtpImageDataFromDevice(
MtpDevice
device, MtpObjectInfo info) {
MtpImageView.java
23
import android.mtp.
MtpDevice
;
50
private
MtpDevice
mFetchDevice;
81
public void setMtpDeviceAndObjectInfo(
MtpDevice
device, MtpObjectInfo object, int gen) {
105
protected Object fetchMtpImageDataFromDevice(
MtpDevice
device, MtpObjectInfo info) {
246
MtpDevice
device;
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 792 milliseconds