History log of /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/TestResources.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2965776ba403ef1f6d9a0e870ebf3c44ee5d8373 11-Feb-2016 Daichi Hirono <hirono@google.com> Add error message for locked device.

If the remote MTP device is a smartphone, it does not provide files
until a user unlocks the device. The CL adds specific error message for
the situation.

BUG=26318917

Change-Id: Ic4c34609c55ec9c99b7b8a9143d6dae3835784e3
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/TestResources.java
c18f8076ebdb2cda8842cfda2583897aa2c388e1 10-Feb-2016 Daichi Hirono <hirono@google.com> Show specific error message for busy device.

When MTP device is busy (e.g. used by other application),
MtpDocumentsProvider cannot open the device. The CL introduces specific
error message for the case.

BUG=26694828

Change-Id: Iffee2e1c554e4089601186469ff0eac2fd04decd
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/TestResources.java
f83ccbd7edd32e728785fb7aad44f11886e79645 04-Feb-2016 Daichi Hirono <hirono@google.com> Drop device name from storage document name.

When device has multiple storages, storage are shown as directory under
the device root. In this case, we would not like to add device name to
storage.

Note that we still use "device name + storage name" for root name if the
device has a single storage because we skip storage directory in this
case and shows storage's contents directly under the device.

BUG=26625708

Change-Id: Ie13b044e71ae9b5131c4a01ee9d605023d05f168
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/TestResources.java
b999b0cb0f6cb1e63d4f77dcf87fa05a33960cf2 27-Oct-2015 Daichi Hirono <hirono@google.com> Move TestResources class to the outside of MtpDocumentProviderTest.

TestResources class will be used in MtpDatabaseTest.

BUG=25162822

Change-Id: I4f51b517532bbc111e95e7ebd96787a2e6f0f87a
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/TestResources.java