Home
last modified time | relevance | path

Searched refs:MtpServer (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/mtp/
DMtpServer.cpp100 MtpServer::MtpServer(int fd, MtpDatabase* database, bool ptp, in MtpServer() function in android::MtpServer
116 MtpServer::~MtpServer() { in ~MtpServer()
119 void MtpServer::addStorage(MtpStorage* storage) { in addStorage()
126 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage()
138 MtpStorage* MtpServer::getStorage(MtpStorageID id) { in getStorage()
149 bool MtpServer::hasStorage(MtpStorageID id) { in hasStorage()
155 void MtpServer::run() { in run()
247 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
252 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
257 void MtpServer::sendStoreAdded(MtpStorageID id) { in sendStoreAdded()
[all …]
DMtpServer.h34 class MtpServer {
93 MtpServer(int fd, MtpDatabase* database, bool ptp,
95 virtual ~MtpServer();
DAndroid.mk32 MtpServer.cpp \
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { in getMtpServer()
56 return (MtpServer*)env->GetLongField(thiz, field_MtpServer_nativeContext); in getMtpServer()
64 MtpServer* server = new MtpServer(fd, getMtpDatabase(env, javaDatabase), in android_mtp_MtpServer_setup()
75 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_run()
87 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_cleanup()
101 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_added()
113 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_removed()
125 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_device_property_changed()
137 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_add_storage()
169 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_remove_storage()
/frameworks/base/media/java/android/mtp/
DMtpServer.java23 public class MtpServer implements Runnable { class
32 public MtpServer(MtpDatabase database, boolean usePtp) { in MtpServer() method in MtpServer
DMtpDatabase.java130 private MtpServer mServer;
202 public void setServer(MtpServer server) { in setServer()
/frameworks/base/
Dpreloaded-classes1482 android.mtp.MtpServer
Dcompiled-classes-phone2634 android.mtp.MtpServer