Home
last modified time | relevance | path

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

/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTests.java33 import com.android.functional.downloadapp.DownloadAppTestHelper.UIViewType;
40 private DownloadAppTestHelper mDLAppHelper = null;
49 mDLAppHelper = DownloadAppTestHelper.getInstance(mDevice, mContext); in setUp()
61 String.format("%s.pdf", DownloadAppTestHelper.randomWord(random.nextInt(8) + 2)), in testAddCompletedDownload()
62 String.format("%s Desc", DownloadAppTestHelper.randomWord(random.nextInt(9) + 4)), in testAddCompletedDownload()
64 DownloadAppTestHelper.FILE_TYPES[random.nextInt( in testAddCompletedDownload()
65 DownloadAppTestHelper.FILE_TYPES.length)], in testAddCompletedDownload()
78 mDLAppHelper.launchApp(DownloadAppTestHelper.PACKAGE_NAME, DownloadAppTestHelper.APP_NAME); in testScroll()
91 mDLAppHelper.launchApp(DownloadAppTestHelper.PACKAGE_NAME, DownloadAppTestHelper.APP_NAME); in testSortByName()
100 mDLAppHelper.launchApp(DownloadAppTestHelper.PACKAGE_NAME, DownloadAppTestHelper.APP_NAME); in testSortBySize()
[all …]
DDownloadAppTestHelper.java44 public class DownloadAppTestHelper { class
45 private static DownloadAppTestHelper mInstance = null;
62 private DownloadAppTestHelper(UiDevice device, Context context) { in DownloadAppTestHelper() method in DownloadAppTestHelper
68 public static DownloadAppTestHelper getInstance(UiDevice device, Context context) { in getInstance()
70 mInstance = new DownloadAppTestHelper(device, context); in getInstance()
153 DownloadAppTestHelper.PACKAGE_NAME,view.toString()))),200)) == null in verifyDownloadViewType()
180 DownloadAppTestHelper.randomWord(random.nextInt(8) + MIN_FILENAME_LEN), in populateContentInDLApp()
181 DownloadAppTestHelper.FILE_TYPES[random.nextInt(FILE_TYPES.length)]); in populateContentInDLApp()
191 DownloadAppTestHelper.randomWord(random.nextInt(8) + MIN_FILENAME_LEN)), in populateContentInDLApp()
193 DownloadAppTestHelper.FILE_TYPES[random.nextInt(FILE_TYPES.length)], in populateContentInDLApp()