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/database/
DContentObserver.java30 private Transport mTransport; // guarded by mLock
51 mTransport = new Transport(this); in getContentObserver()
66 final Transport oldTransport = mTransport; in releaseContentObserver()
222 private static final class Transport extends IContentObserver.Stub { class in ContentObserver
225 public Transport(ContentObserver contentObserver) { in Transport() method in ContentObserver.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/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/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.cpp53 using android::vintf::Transport;
110 MOCK_METHOD2(getTransport, R<IServiceManager::Transport>(String, String));
444 vintf::TransportArch hwbinder{Transport::HWBINDER, Arch::ARCH_64}; in TEST_F()
445 vintf::TransportArch passthrough{Transport::PASSTHROUGH, Arch::ARCH_32}; in TEST_F()
460 .serverPid = transport == Transport::HWBINDER ? id : NO_PID, in TEST_F()
462 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadUsage : 0, in TEST_F()
464 transport == Transport::HWBINDER ? getPidInfoFromId(id).threadCount : 0, in TEST_F()
466 .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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java217 .thenReturn(IServiceManager.Transport.EMPTY); in setUp()
280 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_1()
293 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_2()
297 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_2()
310 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_remoteExceptionFailureV1_1()
323 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_nullInterfaceFailureV1_1()
353 .thenReturn(IServiceManager.Transport.HWBINDER); in testDuplicateSetupIfaceV1_1_Fails()
1699 .thenReturn(IServiceManager.Transport.HWBINDER); in testStartDaemonV1_1()
1725 .thenReturn(IServiceManager.Transport.HWBINDER); in testTerminateV1_1()
1754 .thenReturn(IServiceManager.Transport.HWBINDER); in testGetKeyMgmtCapabilitiesOldHal()
[all …]
DHostapdHalTest.java128 .thenReturn(IServiceManager.Transport.EMPTY); in setUp()
172 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_successV1_1()
183 .thenReturn(IServiceManager.Transport.HWBINDER); in testInitialize_registerCallbackFailureV1_1()
473 .thenReturn(IServiceManager.Transport.HWBINDER); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
628 .thenReturn(IServiceManager.Transport.HWBINDER); in testOnFailureCallbackHandling()
/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.java139 private Transport mTransport = new Transport();
200 if (abstractInterface instanceof Transport) { in coerceToLocalContentProvider()
201 return ((Transport)abstractInterface).getContentProvider(); in coerceToLocalContentProvider()
211 class Transport extends ContentProviderNative { class in ContentProvider
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java160 != IServiceManager.Transport.EMPTY); in isV1_1()
DSupplicantStaIfaceHal.java772 != IServiceManager.Transport.EMPTY); in checkHalVersionByInterfaceName()
/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/base/proto/src/
Dwifi.proto643 // EAP with Transport Layer Security
646 // EAP with Tunneled Transport Layer Security
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java944 nriProto.transport = TelephonyServiceState.Transport.TRANSPORT_WWAN; in toServiceStateProto()

12