Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.cpp98 MtpServer::MtpServer(int fd, MtpDatabase* database, bool ptp, in MtpServer() function in android::MtpServer
114 MtpServer::~MtpServer() { in ~MtpServer()
117 void MtpServer::addStorage(MtpStorage* storage) { in addStorage()
124 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage()
136 MtpStorage* MtpServer::getStorage(MtpStorageID id) { in getStorage()
147 bool MtpServer::hasStorage(MtpStorageID id) { in hasStorage()
153 void MtpServer::run() { in run()
244 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
249 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
254 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->GetIntField(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_add_storage()
157 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
31 public MtpServer(MtpDatabase database, boolean usePtp) { in MtpServer() method in MtpServer