Home
last modified time | relevance | path

Searched refs:storageHelper (Results 1 – 2 of 2) sorted by relevance

/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/
DPortableStorageTests.java37 private ExternalStorageHelper storageHelper; field in PortableStorageTests
45 storageHelper = ExternalStorageHelper.getInstance(mDevice, mContext, mUiAutomation, in setUp()
56 storageHelper.executeShellCommand(String.format( in testAdoptAsPortableViaUI()
57 "sm partition %s %s", storageHelper.getAdoptionDisk(), "public")); in testAdoptAsPortableViaUI()
58 Thread.sleep(storageHelper.TIMEOUT); in testAdoptAsPortableViaUI()
59 storageHelper.setupAsPortableUiFlow(); in testAdoptAsPortableViaUI()
60 storageHelper.executeShellCommand(String.format("sm forget all")); in testAdoptAsPortableViaUI()
61 Thread.sleep(storageHelper.TIMEOUT); in testAdoptAsPortableViaUI()
70 storageHelper.createFiles(2, in testCopyFromPortable()
71 String.format("/storage/%s", storageHelper.getAdoptionVolumeUuid("public"))); in testCopyFromPortable()
[all …]
DAdoptableStorageTests.java37 private ExternalStorageHelper storageHelper; field in AdoptableStorageTests
45 storageHelper = ExternalStorageHelper.getInstance(mDevice, mContext, mUiAutomation, in setUp()
56 storageHelper.partitionDisk("public"); in testAdoptAsAdoptableMoveDataLaterUIFlow()
59 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).click(); in testAdoptAsAdoptableMoveDataLaterUIFlow()
61 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testAdoptAsAdoptableMoveDataLaterUIFlow()
62 Until.newWindow(), storageHelper.TIMEOUT); in testAdoptAsAdoptableMoveDataLaterUIFlow()
64 mDevice.wait(Until.findObject(By.text(pattern)), storageHelper.TIMEOUT).clickAndWait( in testAdoptAsAdoptableMoveDataLaterUIFlow()
65 Until.newWindow(), storageHelper.TIMEOUT); in testAdoptAsAdoptableMoveDataLaterUIFlow()
66 assertNotNull(storageHelper.getAdoptionVolumeId("private")); in testAdoptAsAdoptableMoveDataLaterUIFlow()
71 mDevice.wait(Until.findObject(By.textContains("SD card")), 2 * storageHelper.TIMEOUT) in testAdoptAsAdoptableMoveDataLaterUIFlow()
[all …]