template <typename INTERFACE>

class BnCInterface

Defined at line 205 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_interface_utils.h

implementation of IInterface for server (n = native)

Public Methods

void BnCInterface<INTERFACE> ()

Defined at line 207 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_interface_utils.h

void ~BnCInterface<INTERFACE> ()

Defined at line 208 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_interface_utils.h

bool isRemote ()

Defined at line 212 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_interface_utils.h

std::string makeServiceName (std::string_view instance)

Defined at line 214 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_interface_utils.h

SpAIBinder asBinder ()

Defined at line 352 of file ../../third_party/android/platform/frameworks/native/libs/binder/ndk/include_cpp/android/binder_interface_utils.h

Protected Methods

SpAIBinder createBinder ()

This function should only be called by asBinder. Otherwise, there is a possibility of

multiple AIBinder* objects being created for the same instance of an object.