Home
last modified time | relevance | path

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

12

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DService.java19 import com.android.accessorydisplay.common.Transport;
33 public abstract class Service implements Transport.Callback {
35 private final Transport mTransport;
38 public Service(Context context, Transport transport, int serviceId) { in Service()
52 public Transport getTransport() { in getTransport()
DTransport.java35 public abstract class Transport { class
58 public Transport(Logger logger, int maxPacketSize) { in Transport() method in Transport
/frameworks/base/core/java/android/os/
DCancellationSignal.java178 return new Transport(); in createTransport()
190 if (transport instanceof Transport) { in fromTransport()
191 return ((Transport)transport).mCancellationSignal; in fromTransport()
206 private static final class Transport extends ICancellationSignal.Stub { class in CancellationSignal
/frameworks/av/media/libaudiohal/
DFactoryHalHidl.cpp82 using Transport = IServiceManager::Transport; in hasHalService() typedef
85 Return<Transport> transport = sm->getTransport(fqName, instance); in hasHalService()
91 return transport != Transport::EMPTY; in hasHalService()
/frameworks/base/core/java/android/database/
DContentObserver.java53 private Transport mTransport; // guarded by mLock
74 mTransport = new Transport(this); in getContentObserver()
89 final Transport oldTransport = mTransport; in releaseContentObserver()
287 private static final class Transport extends IContentObserver.Stub { class in ContentObserver
290 public Transport(ContentObserver contentObserver) { in Transport() method in ContentObserver.Transport
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DUsbAccessoryStreamTransport.java20 import com.android.accessorydisplay.common.Transport;
32 public class UsbAccessoryStreamTransport extends Transport {
DDisplaySourceService.java21 import com.android.accessorydisplay.common.Transport;
58 public DisplaySourceService(Context context, Transport transport, Callbacks callbacks) { in DisplaySourceService()
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbAccessoryBulkTransport.java20 import com.android.accessorydisplay.common.Transport;
32 public class UsbAccessoryBulkTransport extends Transport {
DDisplaySinkService.java21 import com.android.accessorydisplay.common.Transport;
55 public DisplaySinkService(Context context, Transport transport, int densityDpi) { in DisplaySinkService()
/frameworks/base/core/java/android/net/
DNetworkRequest.java25 import android.net.NetworkCapabilities.Transport;
266 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType()
277 public Builder removeTransportType(@NetworkCapabilities.Transport int transportType) { in removeTransportType()
484 public boolean hasTransport(@Transport int transportType) { in hasTransport()
DNetworkCapabilities.java724 public @interface Transport { } annotation in NetworkCapabilities
775 public static boolean isValidTransport(@Transport int transportType) { in isValidTransport()
810 public @NonNull NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType()
824 public @NonNull NetworkCapabilities removeTransportType(@Transport int transportType) { in removeTransportType()
837 public @NonNull NetworkCapabilities setTransportType(@Transport int transportType, in setTransportType()
855 @NonNull public @Transport int[] getTransportTypes() { in getTransportTypes()
865 public void setTransportTypes(@Transport int[] transportTypes) { in setTransportTypes()
875 public boolean hasTransport(@Transport int transportType) { in hasTransport()
1925 public static @NonNull String transportNamesOf(@Nullable @Transport int[] types) { in transportNamesOf()
1938 public static @NonNull String transportNameOf(@Transport int transport) { in transportNameOf()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java158 .thenReturn(IServiceManager.Transport.EMPTY); in setUp()
203 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_1()
215 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_registerCallbackFailureV1_1()
508 .thenReturn(IServiceManager.Transport.HWBINDER); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
654 .thenReturn(IServiceManager.Transport.HWBINDER); in testOnFailureCallbackHandling()
819 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectSuccess()
834 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectFailureDueToInvalidArg()
854 .thenReturn(IServiceManager.Transport.HWBINDER); in testForceClientDisconnectFailure()
872 .thenReturn(IServiceManager.Transport.HWBINDER); in testforceClientDisconnectRemoteException()
900 .thenReturn(IServiceManager.Transport.HWBINDER); in testSetLogLevel()
[all …]
DSupplicantStaIfaceHalTest.java251 .thenReturn(IServiceManager.Transport.EMPTY); in setUp()
2546 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_1()
2554 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_2()
2562 .thenReturn(IServiceManager.Transport.HWBINDER); in setupMocksForHalV1_3()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags122 2821 backup_start (Transport|3)
127 2826 backup_reset (Transport|3)
131 2830 restore_start (Transport|3),(Source|2|5)
145 2850 backup_transport_lifecycle (Transport|3),(Bound|1|1)
146 2851 backup_transport_connection (Transport|3),(Connected|1|1)
/frameworks/native/cmds/lshal/
DTableEntry.h77 vintf::Transport transport{vintf::Transport::EMPTY};
Dtest.cpp52 using android::vintf::Transport;
105 MOCK_METHOD2(getTransport, R<IServiceManager::Transport>(String, String));
417 vintf::TransportArch hwbinder{Transport::HWBINDER, Arch::ARCH_64}; in TEST_F()
418 vintf::TransportArch passthrough{Transport::PASSTHROUGH, Arch::ARCH_32}; in TEST_F()
433 .serverPid = transport == Transport::HWBINDER ? id : NO_PID, in TEST_F()
435 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadUsage : 0, in TEST_F()
437 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadCount : 0, in TEST_F()
439 .serverObjectAddress = transport == Transport::HWBINDER ? getPtr(id) : NO_PTR, in TEST_F()
DListCommand.cpp150 (ta.transport == vintf::Transport::HWBINDER || in match()
426 if (entry.transport == vintf::Transport::HWBINDER) { in addEntryWithInstance()
428 } else if (entry.transport == vintf::Transport::PASSTHROUGH) { in addEntryWithInstance()
608 .transport = vintf::Transport::PASSTHROUGH, in fetchAllLibraries()
640 .transport = vintf::Transport::PASSTHROUGH, in fetchPassthrough()
660 const vintf::Transport mode = vintf::Transport::HWBINDER; in fetchBinderized()
829 if (manifestEntry.transport == vintf::Transport::HWBINDER) { in fetchLazyHals()
835 if (manifestEntry.transport == vintf::Transport::PASSTHROUGH) { in fetchLazyHals()
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java152 private class Transport extends IAccountAuthenticator.Stub { class in AbstractAccountAuthenticator
519 private Transport mTransport = new Transport();
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto31 enum Transport { enum
47 repeated Transport transports = 1;
/frameworks/base/core/java/android/content/
DContentProvider.java146 private Transport mTransport = new Transport();
207 if (abstractInterface instanceof Transport) { in coerceToLocalContentProvider()
208 return ((Transport)abstractInterface).getContentProvider(); in coerceToLocalContentProvider()
218 class Transport extends ContentProviderNative { class in ContentProvider
/frameworks/opt/telephony/proto/src/
Dtelephony.proto250 optional Transport transport = 2;
328 enum Transport { enum
332 // Transport type for Wireless Wide Area Networks (i.e. Cellular)
335 // Transport type for Wireless Local Area Networks (i.e. Wifi)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java180 != IServiceManager.Transport.EMPTY); in checkHalVersionByInterfaceName()
DSupplicantStaIfaceHal.java868 != IServiceManager.Transport.EMPTY); in checkHalVersionByInterfaceName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java964 nriProto.transport = TelephonyServiceState.Transport.TRANSPORT_WWAN; in toServiceStateProto()
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto804 // EAP with Transport Layer Security
807 // EAP with Tunneled Transport Layer Security

12