Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.cpp107 MtpServer::MtpServer(IMtpDatabase* database, int controlFd, bool ptp, in MtpServer() function in android::MtpServer
134 MtpServer::~MtpServer() { in ~MtpServer()
137 void MtpServer::addStorage(MtpStorage* storage) { in addStorage()
144 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage()
153 MtpStorage* MtpServer::getStorage(MtpStorageID id) { in getStorage()
163 bool MtpServer::hasStorage(MtpStorageID id) { in hasStorage()
169 void MtpServer::run() { in run()
255 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
260 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
265 void MtpServer::sendObjectInfoChanged(MtpObjectHandle handle) { in sendObjectInfoChanged()
[all …]
DMtpServer.h39 class MtpServer {
104 MtpServer(IMtpDatabase* database, int controlFd, bool ptp,
109 virtual ~MtpServer();
DAndroid.bp51 "MtpServer.cpp",
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp75 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { in getMtpServer()
77 return (MtpServer*)env->GetLongField(thiz, field_MtpServer_nativeContext); in getMtpServer()
92 MtpServer* server = new MtpServer(getMtpDatabase(env, javaDatabase), controlFd, in android_mtp_MtpServer_setup()
116 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_run()
128 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_cleanup()
142 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_added()
154 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_removed()
166 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_object_info_changed()
178 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_send_device_property_changed()
190 MtpServer* server = getMtpServer(env, thiz); in android_mtp_MtpServer_add_storage()
[all …]
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpDatabaseTest.java101 @NonNull final MtpServer server;
104 ServerHolder(@NonNull MtpServer server, @NonNull MtpDatabase database) { in ServerHolder()
141 final MtpServer server = in setUp()
142 new MtpServer(mMtpDatabase, null, false, in setUp()
/frameworks/base/media/java/android/mtp/
DMtpServer.java33 public class MtpServer implements Runnable { class
49 public MtpServer( in MtpServer() method in MtpServer
DMtpDatabase.java107 private MtpServer mServer;
317 public void setServer(MtpServer server) { in setServer()
/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_fuzzer.cpp46 std::unique_ptr<MtpServer> mMtp;
65 mMtp = std::make_unique<MtpServer>(mDatabase.get(), controlFd, ptp, manu, model, version, in MtpMockServer()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35071 Landroid/mtp/MtpDatabase;->mServer:Landroid/mtp/MtpServer;
35086 Landroid/mtp/MtpDatabase;->setServer(Landroid/mtp/MtpServer;)V
35186 Landroid/mtp/MtpServer;-><init>(Landroid/mtp/MtpDatabase;Ljava/io/FileDescriptor;ZLjava/lang/Runnab…
35187 Landroid/mtp/MtpServer;->addStorage(Landroid/mtp/MtpStorage;)V
35188 Landroid/mtp/MtpServer;->configure(Z)V
35189 Landroid/mtp/MtpServer;->mDatabase:Landroid/mtp/MtpDatabase;
35190 Landroid/mtp/MtpServer;->mNativeContext:J
35191 Landroid/mtp/MtpServer;->mOnTerminate:Ljava/lang/Runnable;
35192 Landroid/mtp/MtpServer;->native_add_storage(Landroid/mtp/MtpStorage;)V
35193 Landroid/mtp/MtpServer;->native_cleanup()V
[all …]
/frameworks/base/boot/
Dpreloaded-classes4909 android.mtp.MtpServer
Dboot-image-profile.txt28152 Landroid/mtp/MtpServer;
/frameworks/base/config/
Dpreloaded-classes4907 android.mtp.MtpServer
Dboot-image-profile.txt37789 Landroid/mtp/MtpServer;