Share via


MTP Compliance Test - Requirements - Mobile Phone

This test validates compliance with the Media Transfer Protocol (MTP), Revision 1.0.

This suite of tests makes sure that devices that use the Windows MTP class driver comply by using the MTP implementation standards. This test is directed at mobile phone devices that connect by using the MTP protocol. This test validates compliance with defined protocols based on requirements that are documented in the Windows Certification Program.

Note  

This test does not cover these items:

  • Digital rights management (DRM) validation

  • Devices that are not PTP or MTP-based

  • Devices that use proprietary (third-party) drivers that work with the Windows Portable Device (WPD) driver stack

 

Test details

Associated requirements

Device.Portable.MobilePhone.MTP

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86

Expected run time

~5 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Device.Portable Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Portable Testing.

More information

This test requires that a MTP-compatible device is installed. The test is fully automated with Pass/Fail results for each requirement.

This test is divided into the following functional categories:

  • Device Capabilities tests

  • Operations tests

  • Device Properties

  • Object Property tests

Each of the functional categories mentioned above contain child test cases, testing the sub components that fall under the corresponding category.

The test will validate that the following Operations are supported by the device:

  • OpenSession

  • CloseSession

  • GetDeviceInfo

  • GetStorageIDs

  • GetStorageInfo

  • GetObject

  • GetDevicePropDesc

  • GetDevicePropValue

  • SetDevicePropValue

  • DeleteObject

  • SendObject

  • GetNumObjects

  • GetObjectHandles

  • GetObjectInfo

  • SendObjectInfo

  • GetPartialObject

  • GetObjectPropsSupported

  • GetObjectPropDesc

  • GetObjectPropValue

  • SetObjectPropValue

  • GetObjectReferences

  • SetObjectReferences

The test validates that the following device properties are supported:

  • Synchronization Partner

  • Device Friendly Name

The test validates that the following formats are supported:

  • Undefined

  • Association

  • AbstractAudioAlbum

  • AbstractAudioVideoPlaylist

For AbstractAudioAlbum, the following properties are verified:

  • Genre

  • AlbumArtist

The test validates that the following Object Properties are supported for each supported format:

  1. StorageID

  2. ObjectFormat

  3. ProtectionStatus

  4. ObjectSize

  5. ObjectFileName

  6. ParentObject

  7. PersistentUniqueObjectIdentifier

  8. Name

  9. Non-Consumable

For supported Image formats, the test looks for these additional Object Properties:

  • Width

  • Height

For supported Video formats, the test looks for these additional Object Properties:

  • Width

  • Height

  • SampleRate

  • NumberOfChannels

  • ScanType

  • Audio WAVE CODEC

  • AudioBitRate

  • VideoFourCCCodec

  • VideoBitrate

  • Frames PerThousand Second

  • Encoding Profile

For supported Audio formats, the test looks for these additional Object Properties:

  • Artist

  • Track

  • AlbumName

  • AlbumArtist

  • SampleRate

  • NumberOfChannels

  • AudioBitRate

  • AudioWaveCodec

All other supported operations, device properties, and object properties are considered optional and therefore will be validated according to implementation details defined in the Picture Transfer Protocol (PTP) for Digital Still Photography Devices, Version 1.0 (PIMA15740) and Media Transfer Protocol (MTP), Revision 1.0.

Run time:

Test duration depends on the number of supported capabilities, formats, and operations. Run time can vary up to 2 hours.

Log file:

WTTTestLog.xml

System restart required:

No

Test category:

Cellular Handset

Program:

MtpTest.exe

 

Command syntax

Command

Description

te.exe /p:”BVT=TRUE” MtpTest.dll /select(@name='@CapabilitiesTests*') /p “DeviceProfile=MtpCellPhone.xml”

With no options, launches the GUI.

 

File list

File Location

Mtptest.dll

<testbinroot>\mtp\

MtpCellPhone.xml

<testbinroot>\mtp\

 

 

 

Send comments about this topic to Microsoft