Home
last modified time | relevance | path

Searched refs:mABvtHelper (Results 1 – 7 of 7) sorted by relevance

/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DSysUIGSATests.java42 private AndroidBvtHelper mABvtHelper = null; field in SysUIGSATests
51 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, mUiAutomation); in setUp()
74 mABvtHelper.SHORT_TIMEOUT)) == null)) { in testGoogleQuickSearchBar()
75 Thread.sleep(mABvtHelper.SHORT_TIMEOUT); in testGoogleQuickSearchBar()
80 mABvtHelper.LONG_TIMEOUT).setText(TextToSearch); in testGoogleQuickSearchBar()
81 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar()
87 QSB_PKG, "search_suggestions_container")), mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar()
91 QSB_PKG, "search_suggestions_web")), mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar()
96 mABvtHelper.LONG_TIMEOUT); in testGoogleQuickSearchBar()
98 By.res(QSB_PKG, "text_1").text("Contacts")), mABvtHelper.LONG_TIMEOUT)); in testGoogleQuickSearchBar()
[all …]
DSysUILockScreenTests.java43 private AndroidBvtHelper mABvtHelper = null; field in SysUILockScreenTests
53 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, in setUp()
77 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testLockScreenPIN()
91 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testLockScreenPwd()
102 if (!mABvtHelper.isTablet()) { in testEmergencyCall()
108 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testEmergencyCall()
138 mDevice.wait(Until.findObject(By.text(mode)), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock()
140 mDevice.wait(Until.findObject(By.text("No thanks")), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock()
142 mABvtHelper.LONG_TIMEOUT); in setScreenLock()
148 mDevice.wait(Until.findObject(By.text("DONE")), mABvtHelper.LONG_TIMEOUT).click(); in setScreenLock()
[all …]
DConnectivityWifiTests.java46 private AndroidBvtHelper mABvtHelper = null; field in ConnectivityWifiTests
55 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, in setUp()
57 mWifiManager = mABvtHelper.getWifiManager(); in setUp()
83 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiConnection()
89 Thread.sleep(mABvtHelper.LONG_TIMEOUT * 2); in testWifiConnection()
101 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiDiscoveredAPShownUI()
104 mABvtHelper.LONG_TIMEOUT)); in testWifiDiscoveredAPShownUI()
107 mABvtHelper.LONG_TIMEOUT) in testWifiDiscoveredAPShownUI()
134 Thread.sleep(mABvtHelper.SHORT_TIMEOUT); in testWifiTetheringDisableEnable()
142 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testWifiTetheringDisableEnable()
[all …]
DSysUIMultiUserTests.java39 private AndroidBvtHelper mABvtHelper = null; field in SysUIMultiUserTests
48 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, mUiAutomation); in setUp()
67 cmdOut = mABvtHelper.executeShellCommand("pm list users"); in testMultiUserCreate()
71 cmdOut = mABvtHelper.executeShellCommand("pm create-user test"); in testMultiUserCreate()
79 Log.i(mABvtHelper.TEST_TAG, String.format("User Name:%s UserId:%d", in testMultiUserCreate()
83 Thread.sleep(mABvtHelper.SHORT_TIMEOUT); in testMultiUserCreate()
86 cmdOut = mABvtHelper.executeShellCommand("pm list users"); in testMultiUserCreate()
101 Thread.sleep(mABvtHelper.SHORT_TIMEOUT); in testMultiUserCreate()
108 Log.i(mABvtHelper.TEST_TAG, "My path is " + myPath); in testMultiUserCreate()
120 cmdOut = mABvtHelper.executeShellCommand("pm remove-user " + secondUserId); in testMultiUserCreate()
[all …]
DSysUIMultiWindowTests.java43 private AndroidBvtHelper mABvtHelper = null; field in SysUIMultiWindowTests
52 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, mUiAutomation); in setUp()
71 Thread.sleep(mABvtHelper.SHORT_TIMEOUT); in testLaunchInMultiwindow()
74 List<String> cmdOut = mABvtHelper.executeShellCommand("am stack list"); in testLaunchInMultiwindow()
87 Thread.sleep(mABvtHelper.SHORT_TIMEOUT * 2); in testLaunchInMultiwindow()
91 Thread.sleep(mABvtHelper.SHORT_TIMEOUT * 2); in testLaunchInMultiwindow()
99 Thread.sleep(mABvtHelper.SHORT_TIMEOUT); in testLaunchInMultiwindow()
107 Thread.sleep(mABvtHelper.SHORT_TIMEOUT * 2); in testLaunchInMultiwindow()
DFrameworkDownloadTests.java47 private AndroidBvtHelper mABvtHelper = null; field in FrameworkDownloadTests
57 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, in setUp()
59 mDownloadManager = mABvtHelper.getDownloadManager(); in setUp()
60 mWifiManager = mABvtHelper.getWifiManager(); in setUp()
83 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testPhotoDownloadSucceed()
98 Thread.sleep(mABvtHelper.LONG_TIMEOUT); in testPhotoDownloadSucceed()
166 mCompleteIds.wait(mABvtHelper.LONG_TIMEOUT); in isDownloadCompleted()
DSysUINotificationShadeTests.java67 private AndroidBvtHelper mABvtHelper = null; field in SysUINotificationShadeTests
91 mABvtHelper = AndroidBvtHelper.getInstance(mDevice, mContext, in setUp()
130 if (!(mABvtHelper.isTablet() && tile.getName().equals("SIM"))) { in testQuickSettings()