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
Specifications |
|
Platforms |
|
Supported Releases |
|
Expected run time (in minutes) | 5 |
Category | Development |
Timeout (in minutes) | 300 |
Requires reboot | false |
Requires special configuration | false |
Type | automatic |
Additional documentation
Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):
Running the test
Before you run the test, complete the test setup as described in the test requirements: Device.Portable Testing Prerequisites.
Troubleshooting
For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.
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:
StorageID
ObjectFormat
ProtectionStatus
ObjectSize
ObjectFileName
ParentObject
PersistentUniqueObjectIdentifier
Name
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\ |
Parameters
Parameter name | Parameter description |
---|---|
WDKDeviceID | |
WpdTestDir | |
TaefTestFile | |
TaefParameters | |
TestParameters | |
TestSelect |