@Provides @Singleton
  public TotpClock providesTotpClock(@ApplicationContext Context applicationContext, Clock clock) {
    return new TotpClock(applicationContext, clock);
  }
Dagger module for the otp package.
java/com/google/android/apps/authenticator/otp/OtpModule.java