Searched refs:mPtpMode (Results 1 – 1 of 1) sorted by relevance
76 if (mUnlocked && (volume.isPrimary() || !mPtpMode)) {107 private boolean mPtpMode; field in MtpService139 mPtpMode = intent.getBooleanExtra(UsbManager.USB_FUNCTION_PTP, false); in onStartCommand()147 if (mPtpMode) { in onStartCommand()178 Log.d(TAG, "starting MTP server in " + (mPtpMode ? "PTP mode" : "MTP mode") + in startServer()187 mPtpMode ? UsbManager.FUNCTION_PTP : UsbManager.FUNCTION_MTP); in startServer()199 new MtpServer(database, fd, mPtpMode, in startServer()