Home
last modified time | relevance | path

Searched refs:transport (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTransportTest.java67 WebViewTransport transport = webView.new WebViewTransport(); in testAccessWebView() local
69 assertNull(transport.getWebView()); in testAccessWebView()
71 transport.setWebView(webView); in testAccessWebView()
72 assertSame(webView, transport.getWebView()); in testAccessWebView()
DWebChromeClientTest.java574 WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj; in onCreateWindow() local
576 transport.setWebView(null); in onCreateWindow()
582 transport.setWebView(mChildWebView); in onCreateWindow()
DWebViewClientTest.java200 WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj; in testShouldOverrideUrlLoadingOnCreateWindow()
203 transport.setWebView(childWebView); in testShouldOverrideUrlLoadingOnCreateWindow()
DWebSettingsTest.java504 WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj; in testAccessJavaScriptCanOpenWindowsAutomatically()
505 transport.setWebView(childWebView); in testAccessJavaScriptCanOpenWindowsAutomatically()
DWebViewTest.java819 WebView.WebViewTransport transport = in testJavascriptInterfaceForClientPopup()
821 transport.setWebView(childWebView); in testJavascriptInterfaceForClientPopup()
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupPreparer.java131 private void waitForTransport(String transport) throws TargetSetupError { in waitForTransport() argument
136 lastTry -> uncheck(() -> hasBackupTransport(transport, lastTry))); in waitForTransport()
143 private boolean hasBackupTransport(String transport, boolean logIfFail) in hasBackupTransport() argument
147 if (transport.equals(t.trim())) { in hasBackupTransport()
153 transport + " not available. bmgr list transports: " + output, in hasBackupTransport()
200 private String setBackupTransport(String transport) throws DeviceNotAvailableException { in setBackupTransport() argument
201 String output = mDevice.executeShellCommand("bmgr transport " + transport); in setBackupTransport()
DBaseMultiUserBackupHostSideTest.java160 String transport, int userId) throws DeviceNotAvailableException { in userHasBackupTransport() argument
163 if (transport.equals(t.replace("*", "").trim())) { in userHasBackupTransport()
171 void clearBackupDataInTransportForUser(String packageName, String transport, int userId) in clearBackupDataInTransportForUser() argument
174 String.format("bmgr --user %d wipe %s %s", userId, transport, packageName)); in clearBackupDataInTransportForUser()
DRestoreSessionHostSideTest.java208 private String setBackupTransport(String transport) throws IOException { in setBackupTransport() argument
209 return mBackupUtils.setBackupTransportForUser(transport, USER_SYSTEM); in setBackupTransport()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java79 static String setBackupTransport(String transport, UiAutomation uiAutomation) throws Exception { in setBackupTransport() argument
80 String output = executeShellCommand("bmgr transport " + transport, uiAutomation); in setBackupTransport()
106 static boolean hasBackupTransport(String transport, UiAutomation uiAutomation) in hasBackupTransport() argument
113 } else if (Objects.equals(transport, t)) { in hasBackupTransport()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipDelegateManagerTest.java135 public TestSipTransport transport; field in SipDelegateManagerTest.TransportInterfaces
153 transport = sServiceConnector.getCarrierService().getSipTransport(); in connect()
158 transport, deniedTags, mDelegateIndex); in connect()
460 ifaces.transport.getDelegates().size()); in testSipDialogStateChanges()
828 ifaces.transport.getDelegates().size()); in testCreateDelegateBasicUseCases()
890 ifaces.transport.getDelegates().size()); in testCreateDelegateTestInvalidSipMessages()
934 ifaces.transport.getDelegates().size()); in testDelegateRegistrationChanges()
996 ifaces.transport.getDelegates().size()); in testDelegateRegistrationChangesCompatDisabled()
1118 verifySipDelegateDestroyed(ifaces.transport, ifaces.delegate); in testCreateDelegateMessagingAppChangesAwayFromApp()
1126 ifaces.transport.getDelegates().size()); in testCreateDelegateMessagingAppChangesAwayFromApp()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DSessionChannel.kt42 constructor(transport: RemoteCallback) : this({}) { in <lambda>()
43 this.remote.value = transport in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java735 boolean isExpectedTransportForActiveNetwork(int transport) { in isExpectedTransportForActiveNetwork() argument
741 return activeNetworkCapabilities.hasTransport(transport) in isExpectedTransportForActiveNetwork()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java106 .filter((x) -> x.transport().name().equals("dt_socket")) in getDebuggerConnection()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java933 private void doGenerateNetworkTraffic(@NonNull Context context, int transport) in doGenerateNetworkTraffic() argument
937 NetworkCapabilities.NET_CAPABILITY_INTERNET).addTransportType(transport).build(); in doGenerateNetworkTraffic()
946 throw new IllegalStateException("network with transport " + transport in doGenerateNetworkTraffic()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6425 field public static final String CATEGORY_TRANSPORT = "transport";