Searched refs:controlFd (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_handle_fuzzer.cpp | 112 int32_t controlFd = mFdp.ConsumeBool() in invokeWriteDescriptor() local 115 std::unique_ptr<MtpFfsHandle> handle(new MtpFfsHandle(controlFd)); in invokeWriteDescriptor() 118 close(controlFd); in invokeWriteDescriptor() 125 int32_t controlFd = open(kFuzzerTestFile.c_str(), O_CREAT | O_RDWR | O_NONBLOCK); in invokeMtpFfsHandle() local 126 writeInputFile(controlFd); in invokeMtpFfsHandle() 130 std::unique_ptr<IMtpHandle> mtpCompactHandle(new MtpFfsCompatHandle(controlFd)); in invokeMtpFfsHandle() 133 std::unique_ptr<IMtpHandle> mtpHandle(new MtpFfsHandle(controlFd)); in invokeMtpFfsHandle() 188 close(controlFd); in invokeMtpFfsHandle()
|
D | mtp_fuzzer.cpp | 53 int controlFd = -1; in MtpMockServer() local 67 mDatabase.get(), controlFd, mFdp.ConsumeBool() /* ptp */, in MtpMockServer()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpServer.java | 51 FileDescriptor controlFd, in MtpServer() argument 93 controlFd, in MtpServer() 149 FileDescriptor controlFd, in native_setup() argument
|
/frameworks/av/media/mtp/ |
D | MtpFfsCompatHandle.h | 47 MtpFfsCompatHandle(int controlFd);
|
D | MtpFfsCompatHandle.cpp | 64 MtpFfsCompatHandle::MtpFfsCompatHandle(int controlFd) : in MtpFfsCompatHandle() argument 65 MtpFfsHandle(controlFd), in MtpFfsCompatHandle()
|
D | MtpFfsHandle.h | 105 MtpFfsHandle(int controlFd);
|
D | MtpServer.h | 104 MtpServer(IMtpDatabase* database, int controlFd, bool ptp,
|
D | MtpFfsHandle.cpp | 75 MtpFfsHandle::MtpFfsHandle(int controlFd) { in MtpFfsHandle() argument 76 mControl.reset(controlFd); in MtpFfsHandle()
|
D | MtpServer.cpp | 107 MtpServer::MtpServer(IMtpDatabase* database, int controlFd, bool ptp, in MtpServer() argument 128 mHandle = aio_compat ? new MtpFfsCompatHandle(controlFd) : new MtpFfsHandle(controlFd); in MtpServer()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpServer.cpp | 91 int controlFd = dup(jniGetFDFromFileDescriptor(env, jControlFd)); in android_mtp_MtpServer_setup() local 92 MtpServer* server = new MtpServer(getMtpDatabase(env, javaDatabase), controlFd, in android_mtp_MtpServer_setup()
|