Home
last modified time | relevance | path

Searched refs:Transport (Results 1 – 18 of 18) sorted by relevance

/packages/modules/DnsResolver/
DDnsTlsDispatcher.cpp70 if (const Transport* xport = getTransport(key); xport != nullptr) { in getOrderedAndUsableServerList()
171 Transport* xport; in query()
234 DnsTlsTransport::Result DnsTlsDispatcher::queryInternal(Transport& xport, in queryInternal()
292 DnsTlsDispatcher::Transport* DnsTlsDispatcher::addTransport(const DnsTlsServer& server, in addTransport()
295 Transport* ret = getTransport(key); in addTransport()
300 instance->getFlag("dot_revalidation_threshold", Transport::kDotRevalidationThreshold); in addTransport()
302 Transport::kDotXportUnusableThreshold); in addTransport()
303 int queryTimeout = instance->getFlag("dot_query_timeout_ms", Transport::kDotQueryTimeoutMs); in addTransport()
320 ret = new Transport(server, mark, netId, mFactory.get(), revalidationEnabled, triggerThr, in addTransport()
331 DnsTlsDispatcher::Transport* DnsTlsDispatcher::getTransport(const Key& key) { in getTransport()
[all …]
DDnsTlsDispatcher.h83 struct Transport { struct
84 Transport(const DnsTlsServer& server, unsigned mark, unsigned netId, in Transport() function
146 Transport* _Nullable addTransport(const DnsTlsServer& server, unsigned mark, unsigned netId) argument
148 Transport* _Nullable getTransport(const Key& key) REQUIRES(sLock);
152 std::map<Key, std::unique_ptr<Transport>> mStore GUARDED_BY(sLock);
158 DnsTlsTransport::Result queryInternal(Transport& transport, const netdutils::Slice query)
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanNetworkServiceTest.java119 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.WIFI); in testRequestNetworkRegistrationInfo()
139 false, IwlanNetworkService.Transport.UNSPECIFIED_NETWORK); in testRequestNetworkRegistrationInfo()
170 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.MOBILE); in testNetworkRegistrationInfoForCellularAndCstDisabled()
192 false, IwlanNetworkService.Transport.UNSPECIFIED_NETWORK); in testNetworkRegistrationInfoForCellularAndCstDisabled()
223 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.MOBILE); in testNetworkRegistrationInfoForCellularAndCstEnabled()
243 false, IwlanNetworkService.Transport.UNSPECIFIED_NETWORK); in testNetworkRegistrationInfoForCellularAndCstEnabled()
274 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.WIFI); in testNetworkRegistrationInfoForWiFiAndCstEnabled()
294 false, IwlanNetworkService.Transport.UNSPECIFIED_NETWORK); in testNetworkRegistrationInfoForWiFiAndCstEnabled()
325 mIwlanNetworkService.setNetworkConnected(true, IwlanNetworkService.Transport.WIFI); in testNetworkRegistrationInfoForWiFiAndCstDisabled()
345 false, IwlanNetworkService.Transport.UNSPECIFIED_NETWORK); in testNetworkRegistrationInfoForWiFiAndCstDisabled()
DIwlanDataServiceTest.java351 false, mMockNetwork, IwlanDataService.Transport.UNSPECIFIED_NETWORK); in testIwlanSetupDataCallWithIllegalState()
387 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanSetupDataCallWithBringUpTunnel()
422 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testSliceInfoInclusionInDataCallResponse()
566 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testDnsPrefetching()
650 true, mMockNetwork, IwlanDataService.Transport.MOBILE); in testIwlanSetupDataCallWithCellularAndCstDisabled()
685 false, mMockNetwork, IwlanDataService.Transport.UNSPECIFIED_NETWORK); in testIwlanSetupDataCallWithCellularAndCstEnabled()
689 true, mMockNetwork, IwlanDataService.Transport.MOBILE); in testIwlanSetupDataCallWithCellularAndCstEnabled()
732 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanTunnelStatsFailureCounts()
753 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanTunnelStatsUnsolDownCounts()
772 mIwlanDataService.setNetworkConnected(true, mMockNetwork, IwlanDataService.Transport.WIFI); in testIwlanTunnelStats()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanNetworkService.java58 enum Transport { enum in IwlanNetworkService
64 private static Transport sDefaultDataTransport = Transport.UNSPECIFIED_NETWORK;
92 IwlanNetworkService.setNetworkConnected(false, Transport.UNSPECIFIED_NETWORK); in onLost()
117 true, IwlanNetworkService.Transport.MOBILE); in onCapabilitiesChanged()
120 true, IwlanNetworkService.Transport.WIFI); in onCapabilitiesChanged()
326 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected()
330 public static void setNetworkConnected(boolean connected, Transport transport) { in setNetworkConnected()
334 if (connected && (transport == IwlanNetworkService.Transport.UNSPECIFIED_NETWORK)) { in setNetworkConnected()
DIwlanDataService.java85 enum Transport { enum in IwlanDataService
91 private static Transport sDefaultDataTransport = Transport.UNSPECIFIED_NETWORK;
131 IwlanDataService.setNetworkConnected(false, network, Transport.UNSPECIFIED_NETWORK); in onLost()
161 IwlanDataService.setNetworkConnected(true, network, Transport.MOBILE); in onCapabilitiesChanged()
164 IwlanDataService.setNetworkConnected(true, network, Transport.WIFI); in onCapabilitiesChanged()
1127 return ((sDefaultDataTransport == Transport.WIFI) && sNetworkConnected); in isNetworkConnected()
1137 boolean networkConnected, Network network, Transport transport) { in setNetworkConnected()
1152 if (networkConnected && transport == Transport.UNSPECIFIED_NETWORK) { in setNetworkConnected()
1200 if (transport == Transport.WIFI && hasNetworkConnectedChanged) { in setNetworkConnected()
1371 if (sDefaultDataTransport == Transport.MOBILE) { in dump()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java182 .thenReturn(IServiceManager.Transport.EMPTY); in setUp()
227 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_1()
239 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_registerCallbackFailureV1_1()
532 .thenReturn(IServiceManager.Transport.HWBINDER); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
678 .thenReturn(IServiceManager.Transport.HWBINDER); in testOnFailureCallbackHandling()
898 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectSuccess()
913 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectFailureDueToInvalidArg()
933 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectFailure()
951 .thenReturn(IServiceManager.Transport.HWBINDER); in testforceClientDisconnectRemoteException()
979 .thenReturn(IServiceManager.Transport.HWBINDER); in testSetLogLevel()
[all …]
DSupplicantStaIfaceHalTest.java283 .thenReturn(IServiceManager.Transport.EMPTY); in setUp()
3023 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_1()
3031 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_2()
3039 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_3()
3047 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_4()
/packages/modules/adb/
DREADME.md9 …ing Daemons (as USB devices or TCP emulator). Communication with a device is done with a Transport.
15 +----------+ | | Transport+-------------+ (DEVICE) |
20 +----------+ ^ | (TCP/IP) Transport+-------------+ (DEVICE) |
23 | DDMLIB | | | Transport+--+ +----------+
36Transport. adb initially targeted devices connecting over USB, which is restricted to a fixed numb…
62 … and amessage constructs exist only to wrap data while it transits on a Transport. An asocket hand…
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java882 public @interface Transport { } annotation in NetworkCapabilities
938 public static boolean isValidTransport(@Transport int transportType) { in isValidTransport()
977 public @NonNull NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType()
991 public @NonNull NetworkCapabilities removeTransportType(@Transport int transportType) { in removeTransportType()
1004 public @NonNull NetworkCapabilities setTransportType(@Transport int transportType, in setTransportType()
1021 @NonNull public @Transport int[] getTransportTypes() { in getTransportTypes()
1031 public void setTransportTypes(@Transport int[] transportTypes) { in setTransportTypes()
1041 public boolean hasTransport(@Transport int transportType) { in hasTransport()
2149 public static @NonNull String transportNamesOf(@Nullable @Transport int[] types) { in transportNamesOf()
2162 public static @NonNull String transportNameOf(@Transport int transport) { in transportNameOf()
[all …]
DNetworkRequest.java43 import android.net.NetworkCapabilities.Transport;
374 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType()
385 public Builder removeTransportType(@NetworkCapabilities.Transport int transportType) { in removeTransportType()
659 public boolean hasTransport(@Transport int transportType) { in hasTransport()
748 public @Transport int[] getTransportTypes() { in getTransportTypes()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
Dstats.proto90 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..)
118 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..)
143 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..)
169 // Transport type (WIFI, CELLULAR, BLUETOOTH, ..)
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java113 Transport(R.string.transport, R.string.default_transport, NA), enumConstant
435 .setProtocol(PreferenceKey.Transport.getValue()) in createSipProfile()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHal.java190 != IServiceManager.Transport.EMPTY); in checkHalVersionByInterfaceName()
DSupplicantStaIfaceHal.java917 != IServiceManager.Transport.EMPTY); in checkHalVersionByInterfaceName()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto838 // EAP with Transport Layer Security
841 // EAP with Tunneled Transport Layer Security
/packages/inputmethods/LatinIME/dictionaries/
Dnb_wordlist.combined.gz
Dde_wordlist.combined.gz