Loading drm/1.0/default/service.cpp +9 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,14 @@ using android::hardware::drm::V1_0::IDrmFactory; int main() { ALOGD("android.hardware.drm@1.0-service starting..."); configureRpcThreadpool(8, true /* callerWillJoin */); android::status_t status = registerPassthroughServiceImplementation<IDrmFactory>("drm"); registerPassthroughServiceImplementation<ICryptoFactory>("crypto"); LOG_ALWAYS_FATAL_IF( status != android::OK, "Error while registering drm service: %d", status); status = registerPassthroughServiceImplementation<ICryptoFactory>("crypto"); LOG_ALWAYS_FATAL_IF( status != android::OK, "Error while registering crypto service: %d", status); joinRpcThreadpool(); } Loading
drm/1.0/default/service.cpp +9 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,14 @@ using android::hardware::drm::V1_0::IDrmFactory; int main() { ALOGD("android.hardware.drm@1.0-service starting..."); configureRpcThreadpool(8, true /* callerWillJoin */); android::status_t status = registerPassthroughServiceImplementation<IDrmFactory>("drm"); registerPassthroughServiceImplementation<ICryptoFactory>("crypto"); LOG_ALWAYS_FATAL_IF( status != android::OK, "Error while registering drm service: %d", status); status = registerPassthroughServiceImplementation<ICryptoFactory>("crypto"); LOG_ALWAYS_FATAL_IF( status != android::OK, "Error while registering crypto service: %d", status); joinRpcThreadpool(); }