Loading drm/1.0/default/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ LOCAL_SHARED_LIBRARIES := \ libhardware \ liblog \ libutils \ libbinder \ LOCAL_C_INCLUDES := \ hardware/interfaces/drm Loading drm/1.0/default/service.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ #include <hidl/HidlTransportSupport.h> #include <hidl/LegacySupport.h> #include <binder/ProcessState.h> using android::hardware::configureRpcThreadpool; using android::hardware::joinRpcThreadpool; using android::hardware::registerPassthroughServiceImplementation; Loading @@ -30,6 +32,11 @@ using android::hardware::drm::V1_0::IDrmFactory; int main() { ALOGD("android.hardware.drm@1.0-service starting..."); // The DRM HAL may communicate to other vendor components via // /dev/vndbinder android::ProcessState::initWithDriver("/dev/vndbinder"); configureRpcThreadpool(8, true /* callerWillJoin */); android::status_t status = registerPassthroughServiceImplementation<IDrmFactory>(); Loading Loading
drm/1.0/default/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ LOCAL_SHARED_LIBRARIES := \ libhardware \ liblog \ libutils \ libbinder \ LOCAL_C_INCLUDES := \ hardware/interfaces/drm Loading
drm/1.0/default/service.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ #include <hidl/HidlTransportSupport.h> #include <hidl/LegacySupport.h> #include <binder/ProcessState.h> using android::hardware::configureRpcThreadpool; using android::hardware::joinRpcThreadpool; using android::hardware::registerPassthroughServiceImplementation; Loading @@ -30,6 +32,11 @@ using android::hardware::drm::V1_0::IDrmFactory; int main() { ALOGD("android.hardware.drm@1.0-service starting..."); // The DRM HAL may communicate to other vendor components via // /dev/vndbinder android::ProcessState::initWithDriver("/dev/vndbinder"); configureRpcThreadpool(8, true /* callerWillJoin */); android::status_t status = registerPassthroughServiceImplementation<IDrmFactory>(); Loading