Lines Matching refs:MtpServer
32 #include "MtpServer.h"
37 // MtpServer fields
55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) {
56 return (MtpServer*)env->GetIntField(thiz, field_MtpServer_nativeContext);
64 MtpServer* server = new MtpServer(fd, getMtpDatabase(env, javaDatabase),
75 MtpServer* server = getMtpServer(env, thiz);
87 MtpServer* server = getMtpServer(env, thiz);
101 MtpServer* server = getMtpServer(env, thiz);
113 MtpServer* server = getMtpServer(env, thiz);
125 MtpServer* server = getMtpServer(env, thiz);
157 MtpServer* server = getMtpServer(env, thiz);
182 static const char* const kClassPathName = "android/mtp/MtpServer";
224 clazz = env->FindClass("android/mtp/MtpServer");
226 ALOGE("Can't find android/mtp/MtpServer");
231 ALOGE("Can't find MtpServer.mNativeContext");
236 "android/mtp/MtpServer", gMethods, NELEM(gMethods));