Home
last modified time | relevance | path

Searched refs:ConnectionType (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_tv_TvUinputBridge.cpp260 enum class ConnectionType { enum in android::NativeConnection
276 ConnectionType getType() const { return mType; } in getType()
278 bool IsGamepad() const { return getType() == ConnectionType::kGamepadDevice; } in IsGamepad()
280 bool IsRemote() const { return getType() == ConnectionType::kRemoteDevice; } in IsRemote()
283 NativeConnection(int fd, int32_t maxPointers, ConnectionType type);
287 const ConnectionType mType;
290 NativeConnection::NativeConnection(int fd, int32_t maxPointers, ConnectionType type) in NativeConnection()
320 return new NativeConnection(descriptor.Detach(), maxPointers, ConnectionType::kRemoteDevice); in open()
350 return new NativeConnection(descriptor.Detach(), 0, ConnectionType::kGamepadDevice); in openGamepad()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/
H A DDomainVerificationProxy.java40 static <ConnectionType extends DomainVerificationProxyV1.Connection
44 @NonNull DomainVerificationCollector collector, @NonNull ConnectionType connection) { in makeProxy()