• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #pragma once
2 
3 #include <string>
4 #include <vintf/Transport.h>
5 
6 namespace android {
7 namespace 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.
13 vintf::Transport getTransport(const std::string &interfaceName,
14                               const std::string &instanceName);
15 
16 }  // hardware
17 }  // android
18