blob: ceee286de88392372ea132f30dc29c3c260180a8 [file] [log] [blame]
Steven Moreland37aed802017-04-06 09:16:42 -07001#pragma once
2
3#include <string>
4#include <vintf/Transport.h>
5
6namespace android {
7namespace hardware {
8
9// Get transport method from vendor interface manifest.
10// interfaceName has the format "android.hardware.foo@1.0::IFoo"
11// instanceName is "default", "ashmem", etc.
12// If it starts with "android.hidl.", a static map is looked up instead.
13vintf::Transport getTransport(const std::string &interfaceName,
14 const std::string &instanceName);
15
16} // hardware
17} // android