Loading keymaster/3.0/default/service.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -26,10 +26,8 @@ using android::hardware::configureRpcThreadpool; using android::hardware::joinRpcThreadpool; using android::hardware::keymaster::V3_0::IKeymasterDevice; using android::hardware::registerPassthroughServiceImplementation; using android::hardware::defaultPassthroughServiceImplementation; int main() { configureRpcThreadpool(1, true /*callerWillJoin*/); registerPassthroughServiceImplementation<IKeymasterDevice>("keymaster"); joinRpcThreadpool(); return defaultPassthroughServiceImplementation<IKeymasterDevice>("keymaster", 1); } Loading
keymaster/3.0/default/service.cpp +2 −4 Original line number Diff line number Diff line Loading @@ -26,10 +26,8 @@ using android::hardware::configureRpcThreadpool; using android::hardware::joinRpcThreadpool; using android::hardware::keymaster::V3_0::IKeymasterDevice; using android::hardware::registerPassthroughServiceImplementation; using android::hardware::defaultPassthroughServiceImplementation; int main() { configureRpcThreadpool(1, true /*callerWillJoin*/); registerPassthroughServiceImplementation<IKeymasterDevice>("keymaster"); joinRpcThreadpool(); return defaultPassthroughServiceImplementation<IKeymasterDevice>("keymaster", 1); }