Home
last modified time | relevance | path

Searched refs:MtpServer (Results 1 – 14 of 14) 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()
141 void MtpServer::addStorage(MtpStorage* storage) { in addStorage()
148 void MtpServer::removeStorage(MtpStorage* storage) { in removeStorage()
157 MtpStorage* MtpServer::getStorage(MtpStorageID id) { in getStorage()
167 bool MtpServer::hasStorage(MtpStorageID id) { in hasStorage()
173 void MtpServer::run() { in run()
259 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
264 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
269 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/av/media/mtp/tests/MtpFuzzer/
DREADME.md4 + [mtp_fuzzer](#MtpServer)
15 # <a name="MtpServer"></a> Fuzzer for MtpServer
17 MtpServer supports the following parameters:
Dmtp_fuzzer.cpp66 mMtp = std::make_unique<MtpServer>( in MtpMockServer()
212 std::unique_ptr<MtpServer> mMtp;
/frameworks/base/media/java/android/mtp/
DMtpServer.java33 public class MtpServer implements Runnable { class
49 public MtpServer( in MtpServer() method in MtpServer
DMtpDatabase.java108 private MtpServer mServer;
318 public void setServer(MtpServer server) { in setServer()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt32193 Landroid/mtp/MtpDatabase;->mServer:Landroid/mtp/MtpServer;
32208 Landroid/mtp/MtpDatabase;->setServer(Landroid/mtp/MtpServer;)V
32308 Landroid/mtp/MtpServer;-><init>(Landroid/mtp/MtpDatabase;Ljava/io/FileDescriptor;ZLjava/lang/Runnab…
32309 Landroid/mtp/MtpServer;->addStorage(Landroid/mtp/MtpStorage;)V
32310 Landroid/mtp/MtpServer;->configure(Z)V
32311 Landroid/mtp/MtpServer;->mDatabase:Landroid/mtp/MtpDatabase;
32312 Landroid/mtp/MtpServer;->mNativeContext:J
32313 Landroid/mtp/MtpServer;->mOnTerminate:Ljava/lang/Runnable;
32314 Landroid/mtp/MtpServer;->native_add_storage(Landroid/mtp/MtpStorage;)V
32315 Landroid/mtp/MtpServer;->native_cleanup()V
[all …]
/frameworks/base/boot/
Dpreloaded-classes5596 android.mtp.MtpServer
Dboot-image-profile.txt27992 Landroid/mtp/MtpServer;
/frameworks/base/config/
Dpreloaded-classes5600 android.mtp.MtpServer
Dboot-image-profile.txt38126 Landroid/mtp/MtpServer;