Searched refs:ConnectionType (Results 1 – 2 of 2) sorted by relevance
260 enum class ConnectionType { enum in android::NativeConnection276 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()
40 static <ConnectionType extends DomainVerificationProxyV1.Connection44 @NonNull DomainVerificationCollector collector, @NonNull ConnectionType connection) { in makeProxy()