Home
last modified time | relevance | path

Searched refs:TestHelper (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java87 final TestHelper helper = new TestHelper(); in testCreateIme1()
108 final TestHelper helper = new TestHelper(); in testSwitchToNextInputMethod()
134 final TestHelper helper = new TestHelper(); in switchToPreviousInputMethod()
162 final TestHelper helper = new TestHelper(); in testSwitchToHandwritingInputMethod()
236 final TestHelper helper = new TestHelper(); in testInputUnbindsOnImeStopped()
273 final TestHelper helper = new TestHelper(); in testInputUnbindsOnAppStopped()
303 final TestHelper helper = new TestHelper(); in testImeSwitchingWithoutWindowFocusAfterDisplayOffOn()
362 private static void turnScreenOn(TestHelper helper) throws Exception { in turnScreenOn()
379 private static void turnScreenOff(TestHelper helper) throws Exception { in turnScreenOff()
387 private static void showInputMethodPicker(TestHelper helper) throws Exception { in showInputMethodPicker()
DTestHelper.java50 final class TestHelper { class
86 TestHelper() { in TestHelper() method in TestHelper
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java88 private static TestHelper sTestHelper;
107 sTestHelper = new TestHelper(sContext, sUiDevice); in setUpClass()
160 TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 2); in setUp()
227 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToOemPaidSuggestionWhenConnectedToInternetNetwork()
249 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToInternetNetworkWhenConnectedToOemPaidSuggestion()
279 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToOemPrivateSuggestionWhenConnectedToInternetNetwork()
301 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToInternetNetworkWhenConnectedToOemPrivateSuggestion()
333 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToOemPaidSuggestionFailureWhenConnectedToInternetNetwork()
361 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToOemPrivateSuggestionFailureWhenConnectedToInternetNetwork()
390 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToSuggestionFailureWithOemPaidNetCapabilityWhenConnectedToInternetNetwork()
[all …]
DWifiNetworkSuggestionTest.java122 private static TestHelper sTestHelper;
144 sTestHelper = new TestHelper(sContext, sUiDevice); in setUpClass()
176 List<WifiConfiguration> networks = TestHelper.findMatchingSavedNetworksWithBssid( in setUpClass()
1153 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToSuggestionThenRemoveWithImmediateDisconnect()
1159 TestHelper.TestNetworkCallback callback = (TestHelper.TestNetworkCallback) in testConnectToSuggestionThenRemoveWithImmediateDisconnect()
1177 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToSuggestionThenRemoveWithLingering()
1183 TestHelper.TestNetworkCallback callback = (TestHelper.TestNetworkCallback) in testConnectToSuggestionThenRemoveWithLingering()
1206 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToRestrictedSuggestion()
1224 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToOemPaidSuggestion()
1240 TestHelper.createSuggestionBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToOemPaidAndOemPrivateSuggestion()
[all …]
DMultiStaConcurrencyWifiNetworkSpecifierTest.java88 private TestHelper mTestHelper;
154 mTestHelper = new TestHelper(mContext, mUiDevice); in setUp()
184 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks, 2); in setUp()
258 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToPeerPeerNetworkWhenConnectedToInternetNetwork()
279 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectToInternetNetworkWhenConnectedToPeerPeerNetwork()
308 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetworkWithBssid( in testPeerToPeerConnectionRejectWhenConnectedToInternetNetwork()
DWifiNetworkSpecifierTest.java193 private static TestHelper sTestHelper;
201 sTestHelper = new TestHelper(sContext, uiDevice); in setUpClass()
237 sTestNetwork = TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 2) in setUpClass()
327 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetwork( in testConnectionWithSpecificSsid()
350 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetwork(sTestNetwork, true) in testConnectionWithSsidPattern()
365 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectionWithSpecificBssid()
380 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetworkWithBssid( in testConnectionWithBssidPattern()
394 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetwork( in testUserRejectionWithSpecificSsid()
422 results.offer(new Pair(band, TestHelper.getBandFromFrequency( in testWifiBandInNetworkCallback()
466 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetwork( in testEnsureAutoConnectToInternetConnectionOnRelease()
[all …]
DMultiStaConcurrencyMultiInternetWifiNetworkTest.java94 private TestHelper mTestHelper;
188 mTestHelper = new TestHelper(mContext, mUiDevice); in setUp()
207 TestHelper.findMatchingSavedNetworksWithBssidByBand(mWifiManager, savedNetworks, in setUp()
DConnectedNetworkScorerTest.java106 private static TestHelper sTestHelper;
158 sTestHelper = new TestHelper(sContext, sUiDevice); in setUpClass()
824 TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 1) in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
883 TestHelper.createSpecifierBuilderWithCredentialFromSavedNetwork( in testSetWifiConnectedNetworkScorerForSpecifierConnection()
898 TestHelper in testSetWifiConnectedNetworkScorerForRestrictedSuggestionConnection()
DScanResultTest.java79 private static TestHelper sTestHelper;
160 sTestHelper = new TestHelper(InstrumentationRegistry.getInstrumentation().getContext(), in setUpClass()
DTestHelper.java82 public class TestHelper { class
97 public TestHelper(@NonNull Context context, @NonNull UiDevice uiDevice) { in TestHelper() method in TestHelper
DWifiManagerTest.java7097 wifi7Network = TestHelper.findFirstAvailableSavedNetwork(sWifiManager, in testEnableWifi7()
7098 savedNetworks, TestHelper.AP_CAPABILITY_BIT_WIFI7); in testEnableWifi7()
7235 WifiConfiguration twtNetwork = TestHelper.findFirstAvailableSavedNetwork(sWifiManager, in testTwt()
7236 savedNetworks, TestHelper.AP_CAPABILITY_BIT_TWT_RESPONDER); in testTwt()
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java33 import android.net.wifi.cts.TestHelper;
95 private static TestHelper sTestHelper;
144 sTestHelper = new TestHelper(sContext, sUiDevice); in setupClass()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java94 protected TestHelper testHelper;
105 testHelper = new TestHelper(mContext, mActivity); in setUp()
122 protected TestHelper getHelper() { in getHelper()
591 class TestHelper { class in DecodeAccuracyTestBase
593 private final String TAG = TestHelper.class.getSimpleName();
599 public TestHelper(Context context, Activity activity) { in TestHelper() method in DecodeAccuracyTestBase.TestHelper