SYMBOL INDEX (7296 symbols across 1001 files) FILE: api-doc/src/main/java/org/signal/openapi/OpenApiExtension.java class OpenApiExtension (line 38) | public class OpenApiExtension extends AbstractOpenAPIExtension { method extractParameters (line 50) | @Override method isOptionalOfType (line 86) | private static boolean isOptionalOfType(final SimpleType simpleType, f... FILE: api-doc/src/main/java/org/signal/openapi/OpenApiReader.java class OpenApiReader (line 35) | public class OpenApiReader extends Reader { method getParameters (line 44) | @Override FILE: integration-tests/src/main/java/org/signal/integration/Codecs.java class Codecs (line 19) | public final class Codecs { method Codecs (line 21) | private Codecs() { type CheckedFunction (line 25) | @FunctionalInterface method apply (line 27) | R apply(T t) throws Exception; class Base64BasedSerializer (line 30) | public static class Base64BasedSerializer extends JsonSerializer { method Base64BasedSerializer (line 34) | public Base64BasedSerializer(final CheckedFunction mapper) { method serialize (line 38) | @Override class Base64BasedDeserializer (line 48) | public static class Base64BasedDeserializer extends JsonDeserialize... method Base64BasedDeserializer (line 52) | public Base64BasedDeserializer(final CheckedFunction mapp... method deserialize (line 56) | @Override class ByteArraySerializer (line 66) | public static class ByteArraySerializer extends Base64BasedSerializer<... method ByteArraySerializer (line 67) | public ByteArraySerializer() { class ByteArrayDeserializer (line 72) | public static class ByteArrayDeserializer extends Base64BasedDeseriali... method ByteArrayDeserializer (line 73) | public ByteArrayDeserializer() { class ECPublicKeySerializer (line 78) | public static class ECPublicKeySerializer extends Base64BasedSerialize... method ECPublicKeySerializer (line 79) | public ECPublicKeySerializer() { class ECPublicKeyDeserializer (line 84) | public static class ECPublicKeyDeserializer extends Base64BasedDeseria... method ECPublicKeyDeserializer (line 85) | public ECPublicKeyDeserializer() { class IdentityKeySerializer (line 90) | public static class IdentityKeySerializer extends Base64BasedSerialize... method IdentityKeySerializer (line 91) | public IdentityKeySerializer() { class IdentityKeyDeserializer (line 96) | public static class IdentityKeyDeserializer extends Base64BasedDeseria... method IdentityKeyDeserializer (line 97) | public IdentityKeyDeserializer() { FILE: integration-tests/src/main/java/org/signal/integration/IntegrationTools.java class IntegrationTools (line 26) | public class IntegrationTools { method create (line 35) | public static IntegrationTools create(final Config config) { method IntegrationTools (line 54) | private IntegrationTools( method populateRecoveryPassword (line 63) | public CompletableFuture populateRecoveryPassword(final String p... method peekVerificationSessionPushChallenge (line 70) | public CompletableFuture> peekVerificationSessionPush... FILE: integration-tests/src/main/java/org/signal/integration/Operations.java class Operations (line 56) | public final class Operations { method Operations (line 69) | private Operations() { method newRegisteredUser (line 73) | public static TestUser newRegisteredUser(final String number) { method prescribedVerificationNumber (line 109) | public static PrescribedVerificationNumber prescribedVerificationNumbe... method deleteUser (line 115) | public static void deleteUser(final TestUser user) { method peekVerificationSessionPushChallenge (line 119) | public static String peekVerificationSessionPushChallenge(final String... method populateRandomRecoveryPassword (line 124) | public static byte[] populateRandomRecoveryPassword(final String numbe... method sendEmptyRequestAuthenticated (line 131) | public static T sendEmptyRequestAuthenticated( method randomBytes (line 169) | private static byte[] randomBytes(int numBytes) { method apiGet (line 175) | public static RequestBuilder apiGet(final String endpoint) { method apiDelete (line 179) | public static RequestBuilder apiDelete(final String endpoint) { method apiPost (line 183) | public static RequestBuilder apiPost(final String endpoint, final ... method apiPut (line 187) | public static RequestBuilder apiPut(final String endpoint, final R... method apiPatch (line 191) | public static RequestBuilder apiPatch(final String endpoint, final... method serverUri (line 195) | private static URI serverUri(final String endpoint, final List... class RequestBuilder (line 202) | public static class RequestBuilder { method RequestBuilder (line 211) | private RequestBuilder(final HttpRequest.Builder builder, final Stri... method withJsonBody (line 216) | private static RequestBuilder withJsonBody(final String endpoint... method authorized (line 227) | public RequestBuilder authorized(final TestUser user) { method authorized (line 231) | public RequestBuilder authorized(final TestUser user, final byte dev... method authorized (line 236) | public RequestBuilder authorized(final String username, final String... method queryParam (line 241) | public RequestBuilder queryParam(final String key, final String valu... method header (line 246) | public RequestBuilder header(final String name, final String value) { method execute (line 251) | public Pair execute() { method executeExpectSuccess (line 255) | public Pair executeExpectSuccess() { method executeExpectSuccess (line 264) | public T executeExpectSuccess(final Class expectedType) { method executeExpectStatusCode (line 273) | public void executeExpectStatusCode(final int expectedStatusCode) { method execute (line 282) | public Pair execute(final Class expectedType) { method buildClient (line 306) | private static FaultTolerantHttpClient buildClient() { method loadConfigFromClasspath (line 316) | private static Config loadConfigFromClasspath(final String filename) { method generateSignedECPreKey (line 333) | public static ECSignedPreKey generateSignedECPreKey(final long id, fin... method generateSignedKEMPreKey (line 339) | public static KEMSignedPreKey generateSignedKEMPreKey(final long id, f... FILE: integration-tests/src/main/java/org/signal/integration/TestDevice.java class TestDevice (line 15) | public class TestDevice { method create (line 22) | public static TestDevice create( method TestDevice (line 32) | public TestDevice(final byte deviceId) { method deviceId (line 36) | public byte deviceId() { method latestSignedPreKey (line 40) | public SignedPreKeyRecord latestSignedPreKey(final IdentityKeyPair ide... method addSignedPreKey (line 50) | public SignedPreKeyRecord addSignedPreKey(final IdentityKeyPair identi... FILE: integration-tests/src/main/java/org/signal/integration/TestUser.java class TestUser (line 31) | public class TestUser { method create (line 56) | public static TestUser create(final String phoneNumber, final String a... method TestUser (line 79) | public TestUser( method registrationId (line 99) | public int registrationId() { method aciIdentityKey (line 103) | public IdentityKeyPair aciIdentityKey() { method phoneNumber (line 107) | public String phoneNumber() { method pniIdentityKey (line 111) | public IdentityKeyPair pniIdentityKey() { method accountPassword (line 115) | public String accountPassword() { method registrationPassword (line 119) | public byte[] registrationPassword() { method aciUuid (line 123) | public UUID aciUuid() { method pniUuid (line 127) | public UUID pniUuid() { method accountAttributes (line 131) | public AccountAttributes accountAttributes() { method setAciUuid (line 138) | public void setAciUuid(final UUID aciUuid) { method setPniUuid (line 142) | public void setPniUuid(final UUID pniUuid) { method setPhoneNumber (line 146) | public void setPhoneNumber(final String phoneNumber) { method setPniIdentityKey (line 150) | public void setPniIdentityKey(final IdentityKeyPair pniIdentityKey) { method setAccountPassword (line 154) | public void setAccountPassword(final String accountPassword) { method setRegistrationPassword (line 158) | public void setRegistrationPassword(final byte[] registrationPassword) { method preKeys (line 162) | public PreKeySetPublicView preKeys(final byte deviceId, final boolean ... FILE: integration-tests/src/test/java/org/signal/integration/AccountTest.java class AccountTest (line 33) | public class AccountTest { method testCreateAccount (line 35) | @Test method changePhoneNumber (line 48) | @Test method testUsernameOperations (line 75) | @Test method verifyFullUsernameLifecycle (line 87) | private static void verifyFullUsernameLifecycle(final TestUser user) t... FILE: integration-tests/src/test/java/org/signal/integration/MessagingTest.java class MessagingTest (line 20) | public class MessagingTest { method testSendMessageUnsealed (line 22) | @Test FILE: integration-tests/src/test/java/org/signal/integration/RegistrationTest.java class RegistrationTest (line 17) | public class RegistrationTest { method testRegistration (line 19) | @Test FILE: service/src/main/java-templates/org/whispersystems/textsecuregcm/WhisperServerVersion.java class WhisperServerVersion (line 8) | public class WhisperServerVersion { method getServerVersion (line 12) | public static String getServerVersion() { FILE: service/src/main/java-templates/org/whispersystems/textsecuregcm/storage/FoundationDbVersion.java class FoundationDbVersion (line 8) | public class FoundationDbVersion { method getFoundationDbVersion (line 13) | public static String getFoundationDbVersion() { method getFoundationDbApiVersion (line 17) | public static int getFoundationDbApiVersion() { FILE: service/src/main/java/org/signal/i18n/HeaderControlledResourceBundleLookup.java class HeaderControlledResourceBundleLookup (line 17) | public class HeaderControlledResourceBundleLookup { method HeaderControlledResourceBundleLookup (line 23) | public HeaderControlledResourceBundleLookup() { method HeaderControlledResourceBundleLookup (line 27) | @VisibleForTesting method getAcceptableLocales (line 33) | @Nonnull method getResourceBundle (line 38) | @Nonnull FILE: service/src/main/java/org/signal/i18n/ResourceBundleFactory.java type ResourceBundleFactory (line 11) | public interface ResourceBundleFactory { method createBundle (line 12) | ResourceBundle createBundle(String baseName, Locale locale, ResourceBu... FILE: service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerConfiguration.java class WhisperServerConfiguration (line 73) | public class WhisperServerConfiguration extends Configuration { method getTlsKeyStoreConfiguration (line 367) | public TlsKeyStoreConfiguration getTlsKeyStoreConfiguration() { method getAwsCredentialsConfiguration (line 371) | public AwsCredentialsProviderFactory getAwsCredentialsConfiguration() { method getStripe (line 375) | public StripeConfiguration getStripe() { method getBraintree (line 379) | public BraintreeConfiguration getBraintree() { method getGooglePlayBilling (line 383) | public GooglePlayBillingConfiguration getGooglePlayBilling() { method getAppleAppStore (line 387) | public AppleAppStoreConfiguration getAppleAppStore() { method getAppleDeviceCheck (line 391) | public AppleDeviceCheckConfiguration getAppleDeviceCheck() { method getDeviceCheck (line 395) | public DeviceCheckConfiguration getDeviceCheck() { method getDynamoDbClientConfiguration (line 399) | public DynamoDbClientFactory getDynamoDbClientConfiguration() { method getDynamoDbTables (line 403) | public DynamoDbTables getDynamoDbTables() { method getShortCodeRetrieverConfiguration (line 407) | public ShortCodeExpanderConfiguration getShortCodeRetrieverConfigurati... method getWebSocketConfiguration (line 411) | public WebSocketConfiguration getWebSocketConfiguration() { method getGcpAttachmentsConfiguration (line 415) | public GcpAttachmentsConfiguration getGcpAttachmentsConfiguration() { method getCacheClusterConfiguration (line 419) | public FaultTolerantRedisClusterFactory getCacheClusterConfiguration() { method getRedisPubSubConfiguration (line 423) | public FaultTolerantRedisClientFactory getRedisPubSubConfiguration() { method getSvr2Configuration (line 427) | public SecureValueRecoveryConfiguration getSvr2Configuration() { method getSvrbConfiguration (line 431) | public SecureValueRecoveryConfiguration getSvrbConfiguration() { method getDirectoryV2Configuration (line 435) | public DirectoryV2Configuration getDirectoryV2Configuration() { method getSecureStorageServiceConfiguration (line 439) | public SecureStorageServiceConfiguration getSecureStorageServiceConfig... method getMessageCacheConfiguration (line 443) | public MessageCacheConfiguration getMessageCacheConfiguration() { method getPushSchedulerCluster (line 447) | public FaultTolerantRedisClusterFactory getPushSchedulerCluster() { method getRateLimitersCluster (line 451) | public FaultTolerantRedisClusterFactory getRateLimitersCluster() { method getFcmConfiguration (line 455) | public FcmConfiguration getFcmConfiguration() { method getApnConfiguration (line 459) | public ApnConfiguration getApnConfiguration() { method getCdnConfiguration (line 463) | public CdnConfiguration getCdnConfiguration() { method getCdn3StorageManagerConfiguration (line 467) | public Cdn3StorageManagerConfiguration getCdn3StorageManagerConfigurat... method getOpenTelemetryConfiguration (line 471) | public OpenTelemetryConfiguration getOpenTelemetryConfiguration() { method getDeliveryCertificate (line 475) | public UnidentifiedDeliveryConfiguration getDeliveryCertificate() { method getMaxDevices (line 479) | public Map getMaxDevices() { method getPaymentsServiceConfiguration (line 490) | public PaymentsServiceConfiguration getPaymentsServiceConfiguration() { method getZkConfig (line 494) | public ZkConfig getZkConfig() { method getCallingZkConfig (line 498) | public GenericZkConfig getCallingZkConfig() { method getBackupsZkConfig (line 502) | public GenericZkConfig getBackupsZkConfig() { method getRemoteConfigConfiguration (line 506) | public RemoteConfigConfiguration getRemoteConfigConfiguration() { method getDynamicConfig (line 510) | public S3ObjectMonitorFactory getDynamicConfig() { method getBadges (line 514) | public BadgesConfiguration getBadges() { method getSubscription (line 518) | public SubscriptionConfiguration getSubscription() { method getOneTimeDonations (line 522) | public OneTimeDonationConfiguration getOneTimeDonations() { method getPagedSingleUseKEMPreKeyStore (line 526) | public PagedSingleUseKEMPreKeyStoreConfiguration getPagedSingleUseKEMP... method getReportMessageConfiguration (line 530) | public ReportMessageConfiguration getReportMessageConfiguration() { method getSpamFilterConfiguration (line 534) | public SpamFilterConfiguration getSpamFilterConfiguration() { method getRegistrationServiceConfiguration (line 538) | public RegistrationServiceClientFactory getRegistrationServiceConfigur... method getTurnConfiguration (line 542) | public TurnConfiguration getTurnConfiguration() { method getTus (line 546) | public TusConfiguration getTus() { method getClientReleaseConfiguration (line 550) | public ClientReleaseConfiguration getClientReleaseConfiguration() { method getMessageByteLimitCardinalityEstimator (line 554) | public MessageByteLimitCardinalityEstimatorConfiguration getMessageByt... method getLinkDeviceSecretConfiguration (line 558) | public LinkDeviceSecretConfiguration getLinkDeviceSecretConfiguration() { method getVirtualThreadConfiguration (line 562) | public VirtualThreadConfiguration getVirtualThreadConfiguration() { method getExternalRequestFilterConfiguration (line 566) | public ExternalRequestFilterConfiguration getExternalRequestFilterConf... method getKeyTransparencyServiceConfiguration (line 570) | public KeyTransparencyServiceConfiguration getKeyTransparencyServiceCo... method logMessageDeliveryLoops (line 574) | public boolean logMessageDeliveryLoops() { method idlePrimaryDeviceReminderConfiguration (line 578) | public IdlePrimaryDeviceReminderConfiguration idlePrimaryDeviceReminde... method getCircuitBreakerConfigurations (line 582) | public Map getCircuitBreakerConfi... method getRetryConfigurations (line 586) | public Map getRetryConfigurations() { method getGeneralRedisRetryConfiguration (line 590) | public RetryConfiguration getGeneralRedisRetryConfiguration() { method getGrpc (line 594) | public GrpcConfiguration getGrpc() { method getGrpcAllowList (line 598) | public DynamicGrpcAllowListConfiguration getGrpcAllowList() { method getAsnTableConfiguration (line 602) | public S3ObjectMonitorFactory getAsnTableConfiguration() { method getCallQualitySurveyConfiguration (line 606) | public CallQualitySurveyConfiguration getCallQualitySurveyConfiguratio... method getHlrLookupConfiguration (line 610) | public HlrLookupConfiguration getHlrLookupConfiguration() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java class WhisperServerService (line 315) | public class WhisperServerService extends Application lookup(@Nonnull String ipString); FILE: service/src/main/java/org/whispersystems/textsecuregcm/asn/AsnInfoProviderImpl.java class AsnInfoProviderImpl (line 37) | public class AsnInfoProviderImpl implements AsnInfoProvider { method fromTsvGz (line 52) | @Nonnull method fromTsv (line 66) | @Nonnull method AsnInfoProviderImpl (line 115) | public AsnInfoProviderImpl( method lookup (line 122) | @Nonnull method ip4BytesToLong (line 143) | @VisibleForTesting method ip6BytesToBigInteger (line 150) | @VisibleForTesting method lookupInMap (line 157) | @Nonnull FILE: service/src/main/java/org/whispersystems/textsecuregcm/asn/AsnRange.java method contains (line 23) | boolean contains(@Nonnull final T element) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/attachments/AttachmentGenerator.java type AttachmentGenerator (line 9) | public interface AttachmentGenerator { method generateAttachment (line 13) | Descriptor generateAttachment(final String key); FILE: service/src/main/java/org/whispersystems/textsecuregcm/attachments/AttachmentUtil.java class AttachmentUtil (line 10) | public class AttachmentUtil { method AttachmentUtil (line 13) | private AttachmentUtil() {} method generateAttachmentKey (line 15) | public static String generateAttachmentKey(final SecureRandom secureRa... FILE: service/src/main/java/org/whispersystems/textsecuregcm/attachments/GcsAttachmentGenerator.java class GcsAttachmentGenerator (line 19) | public class GcsAttachmentGenerator implements AttachmentGenerator { method GcsAttachmentGenerator (line 26) | public GcsAttachmentGenerator(@Nonnull String domain, @Nonnull String ... method generateAttachment (line 33) | @Override method getSignedUploadLocation (line 40) | private String getSignedUploadLocation(@Nonnull CanonicalRequest canon... method getHeaderMap (line 46) | private static Map getHeaderMap(@Nonnull CanonicalRequ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/attachments/TusAttachmentGenerator.java class TusAttachmentGenerator (line 17) | public class TusAttachmentGenerator implements AttachmentGenerator { method TusAttachmentGenerator (line 24) | public TusAttachmentGenerator(final TusConfiguration cfg) { method credentialsGenerator (line 29) | private static ExternalServiceCredentialsGenerator credentialsGenerato... method generateAttachment (line 37) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/AccountAuthenticator.java class AccountAuthenticator (line 30) | public class AccountAuthenticator implements Authenticator getIdentifierAndDeviceId(final String basicU... method authenticate (line 75) | @Override method updateLastSeen (line 137) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/Anonymous.java class Anonymous (line 12) | public class Anonymous { method Anonymous (line 16) | public Anonymous(String header) { method getAccessKey (line 24) | public byte[] getAccessKey() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthenticatedDevice.java method getName (line 16) | @Override method implies (line 21) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/BasicAuthorizationHeader.java class BasicAuthorizationHeader (line 11) | public class BasicAuthorizationHeader { method BasicAuthorizationHeader (line 17) | private BasicAuthorizationHeader(final String username, final byte dev... method fromString (line 23) | public static BasicAuthorizationHeader fromString(final String header)... method getUsername (line 83) | public String getUsername() { method getDeviceId (line 87) | public long getDeviceId() { method getPassword (line 91) | public String getPassword() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/CertificateGenerator.java class CertificateGenerator (line 18) | public class CertificateGenerator { method CertificateGenerator (line 26) | public CertificateGenerator(byte[] serverCertificate, ECPrivateKey pri... method createFor (line 37) | public byte[] createFor(final Account account, final byte deviceId, bo... FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/CloudflareTurnCredentialsManager.java class CloudflareTurnCredentialsManager (line 29) | public class CloudflareTurnCredentialsManager { method CloudflareTurnCredentialsManager (line 54) | public CloudflareTurnCredentialsManager(final String cloudflareTurnApi... method retrieveFromCloudflare (line 98) | public TurnToken retrieveFromCloudflare() throws IOException { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/CombinedUnidentifiedSenderAccessKeys.java class CombinedUnidentifiedSenderAccessKeys (line 13) | public class CombinedUnidentifiedSenderAccessKeys { method CombinedUnidentifiedSenderAccessKeys (line 16) | public CombinedUnidentifiedSenderAccessKeys(String header) { method getAccessKeys (line 27) | public byte[] getAccessKeys() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/DisconnectionRequestListener.java type DisconnectionRequestListener (line 12) | public interface DisconnectionRequestListener { method handleDisconnectionRequest (line 18) | void handleDisconnectionRequest(); FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/DisconnectionRequestManager.java class DisconnectionRequestManager (line 45) | public class DisconnectionRequestManager extends RedisPubSubAdapter requestDisconnection(final Account accoun... method requestDisconnection (line 180) | public CompletionStage requestDisconnection(final UUID accountId... method message (line 193) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialsGenerator.java class ExternalServiceCredentialsGenerator (line 23) | public class ExternalServiceCredentialsGenerator { method builder (line 46) | public static ExternalServiceCredentialsGenerator.Builder builder(fina... method builder (line 50) | @VisibleForTesting method ExternalServiceCredentialsGenerator (line 55) | private ExternalServiceCredentialsGenerator( method generateForUuid (line 83) | public ExternalServiceCredentials generateForUuid(final UUID uuid) { method generateFor (line 92) | public ExternalServiceCredentials generateFor(final String identity) { method generateWithTimestampAsUsername (line 104) | public ExternalServiceCredentials generateWithTimestampAsUsername() { method generate (line 113) | private ExternalServiceCredentials generate(final String identity) { method identityFromSignature (line 138) | public Optional identityFromSignature(final String password) { method validateAndGetTimestamp (line 162) | public Optional validateAndGetTimestamp(final ExternalServiceCre... method isCredentialExpired (line 195) | @VisibleForTesting method shouldDeriveUsername (line 200) | private boolean shouldDeriveUsername() { method hasUsernameTimestampPrefix (line 204) | private boolean hasUsernameTimestampPrefix() { method hasUsernameTimestampTruncator (line 208) | private boolean hasUsernameTimestampTruncator() { method usernameIsTimestamp (line 212) | private boolean usernameIsTimestamp() { method currentTimeSeconds (line 216) | private long currentTimeSeconds() { class Builder (line 220) | public static class Builder { method Builder (line 239) | private Builder(final byte[] key) { method withUserDerivationKey (line 243) | public Builder withUserDerivationKey(final SecretBytes userDerivatio... method withUserDerivationKey (line 247) | public Builder withUserDerivationKey(final byte[] userDerivationKey) { method withClock (line 253) | public Builder withClock(final Clock clock) { method withDerivedUsernameTruncateLength (line 258) | public Builder withDerivedUsernameTruncateLength(int truncateLength) { method prependUsername (line 264) | public Builder prependUsername(final boolean prependUsername) { method truncateSignature (line 269) | public Builder truncateSignature(final boolean truncateSignature) { method withUsernameTimestampTruncatorAndPrefix (line 274) | public Builder withUsernameTimestampTruncatorAndPrefix(final Functio... method build (line 280) | public ExternalServiceCredentialsGenerator build() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialsSelector.java class ExternalServiceCredentialsSelector (line 14) | public class ExternalServiceCredentialsSelector { method ExternalServiceCredentialsSelector (line 16) | private ExternalServiceCredentialsSelector() {} type CredentialStatus (line 18) | public enum CredentialStatus { method replaced (line 33) | private CredentialInfo replaced() { method valid (line 37) | public boolean valid() { method check (line 52) | public static List check( FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/GroupSendTokenHeader.java method valueOf (line 16) | public static GroupSendTokenHeader valueOf(String header) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilter.java class IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilter (line 21) | public class IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilter implem... method IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilter (line 37) | public IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilter(final Dura... method handleAuthentication (line 42) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/InvalidAuthorizationHeaderException.java class InvalidAuthorizationHeaderException (line 11) | public class InvalidAuthorizationHeaderException extends WebApplicationE... method InvalidAuthorizationHeaderException (line 12) | public InvalidAuthorizationHeaderException(String s) { method InvalidAuthorizationHeaderException (line 16) | public InvalidAuthorizationHeaderException(Exception e) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/OptionalAccess.java class OptionalAccess (line 19) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method verify (line 24) | public static void verify(Optional requestAccount, method verify (line 53) | public static void verify(Optional requestAccount, FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/PhoneVerificationTokenManager.java class PhoneVerificationTokenManager (line 31) | public class PhoneVerificationTokenManager { method PhoneVerificationTokenManager (line 43) | public PhoneVerificationTokenManager(final PhoneNumberIdentifiers phon... method verify (line 68) | public PhoneVerificationRequest.VerificationType verify(final Containe... method verifyBySessionId (line 80) | private void verifyBySessionId(final String number, final byte[] sessi... method verifyByRecoveryPassword (line 111) | private void verifyByRecoveryPassword(final ContainerRequestContext re... FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/RedemptionRange.java class RedemptionRange (line 19) | public class RedemptionRange implements Iterable { method RedemptionRange (line 29) | private RedemptionRange(final LocalDate from, final LocalDate end) { method inclusive (line 49) | public static RedemptionRange inclusive(Clock clock, Instant redemptio... method iterator (line 80) | @Override method equals (line 90) | @Override method hashCode (line 99) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/RegistrationLockVerificationManager.java class RegistrationLockVerificationManager (line 35) | public class RegistrationLockVerificationManager { type Flow (line 36) | public enum Flow { method RegistrationLockVerificationManager (line 62) | public RegistrationLockVerificationManager( method verifyRegistrationLock (line 85) | public void verifyRegistrationLock(final Account account, @Nullable fi... method svr2FailureCredentials (line 178) | private @Nullable ExternalServiceCredentials svr2FailureCredentials(fi... FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/SaltedTokenHash.java type Version (line 16) | public enum Version { method generateFor (line 32) | public static SaltedTokenHash generateFor(final String token) { method getVersion (line 38) | public Version getVersion() { method verify (line 42) | public boolean verify(final String token) { method generateSalt (line 52) | private static String generateSalt() { method calculateV1Hash (line 58) | private static String calculateV1Hash(final String salt, final String to... method calculateV2Hash (line 67) | private static String calculateV2Hash(final String salt, final String to... FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredRegistrationLock.java class StoredRegistrationLock (line 16) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") type Status (line 18) | public enum Status { method timeSinceLastSeen (line 36) | private long timeSinceLastSeen() { method hasLockAndSalt (line 43) | private boolean hasLockAndSalt() { method isPresent (line 47) | public boolean isPresent() { method StoredRegistrationLock (line 51) | public StoredRegistrationLock(Optional registrationLock, Optio... method getStatus (line 57) | public Status getStatus() { method needsFailureCredentials (line 67) | public boolean needsFailureCredentials() { method getTimeRemaining (line 71) | public Duration getTimeRemaining() { method verify (line 75) | public boolean verify(@Nullable String clientRegistrationLock) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessChecksum.java class UnidentifiedAccessChecksum (line 13) | public class UnidentifiedAccessChecksum { method generateFor (line 15) | public static byte[] generateFor(byte[] unidentifiedAccessKey) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessUtil.java class UnidentifiedAccessUtil (line 14) | public class UnidentifiedAccessUtil { method UnidentifiedAccessUtil (line 18) | private UnidentifiedAccessUtil() { method checkUnidentifiedAccess (line 31) | public static boolean checkUnidentifiedAccess(final Account targetAcco... method checkUnidentifiedAccess (line 48) | public static boolean checkUnidentifiedAccess(final Collection> getBackupAuthCreden... method redeemReceipt (line 243) | public void redeemReceipt( method extendBackupVoucher (line 283) | public void extendBackupVoucher(final Account account, final Account.B... method merge (line 295) | private static Account.BackupVoucher merge(@Nullable final Account.Bac... method hasActiveVoucher (line 316) | private boolean hasActiveVoucher(final Account account) { method hasExpiredVoucher (line 320) | private boolean hasExpiredVoucher(final Account account) { method storedBackupLevel (line 331) | private Optional storedBackupLevel(final Account account,... method configuredBackupLevel (line 345) | private BackupLevel configuredBackupLevel(final Account account) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupBadReceiptException.java class BackupBadReceiptException (line 7) | public class BackupBadReceiptException extends BackupException { method BackupBadReceiptException (line 9) | public BackupBadReceiptException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupException.java class BackupException (line 7) | public class BackupException extends Exception { method BackupException (line 9) | public BackupException() { method BackupException (line 13) | public BackupException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupFailedZkAuthenticationException.java class BackupFailedZkAuthenticationException (line 7) | public class BackupFailedZkAuthenticationException extends BackupExcepti... method BackupFailedZkAuthenticationException (line 9) | public BackupFailedZkAuthenticationException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupInvalidArgumentException.java class BackupInvalidArgumentException (line 7) | public class BackupInvalidArgumentException extends BackupException { method BackupInvalidArgumentException (line 8) | public BackupInvalidArgumentException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupLevelUtil.java class BackupLevelUtil (line 9) | public class BackupLevelUtil { method fromReceiptLevel (line 10) | public static BackupLevel fromReceiptLevel(long receiptLevel) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupManager.java class BackupManager (line 61) | public class BackupManager { method BackupManager (line 97) | public BackupManager( method setPublicKey (line 132) | public void setPublicKey( method createMessageBackupUploadDescriptor (line 165) | public BackupUploadDescriptor createMessageBackupUploadDescriptor( method createTemporaryAttachmentUploadDescriptor (line 175) | public BackupUploadDescriptor createTemporaryAttachmentUploadDescripto... method ttlRefresh (line 192) | public void ttlRefresh(final AuthenticatedBackupUser backupUser) throw... method backupInfo (line 232) | public BackupInfo backupInfo(final AuthenticatedBackupUser backupUser)... method copyToBackup (line 257) | public Flux copyToBackup(final CopyQuota copyQuota) { method copyToBackup (line 295) | private Mono copyToBackup(final AuthenticatedBackupUser ba... method create (line 316) | private static CopyQuota create(AuthenticatedBackupUser backupUser, fi... method getCopyQuota (line 333) | public CopyQuota getCopyQuota( method recalculateQuota (line 379) | public CompletionStage> recalculateQuota... method indexWhereTotalExceeds (line 394) | private static int indexWhereTotalExceeds(List ts, Function generateReadAuth(final AuthenticatedBackupU... method generateSvrbAuth (line 436) | public ExternalServiceCredentials generateSvrbAuth(final Authenticated... method svrbIdentifier (line 444) | private static String svrbIdentifier(final AuthenticatedBackupUser bac... method svrbIdentifier (line 448) | private static String svrbIdentifier(final byte[] hashedBackupId) { method list (line 469) | public ListMediaResult list( method deleteEntireBackup (line 488) | public void deleteEntireBackup(final AuthenticatedBackupUser backupUse... method deleteMedia (line 513) | public Flux deleteMedia(final AuthenticatedBackupUs... class UsageBatcher (line 572) | private static class UsageBatcher { method UsageBatcher (line 578) | UsageBatcher(int usageCheckpointCount) { method update (line 591) | boolean update(long bytesDelta) { method getAndReset (line 601) | UsageUpdate getAndReset() { method authenticateBackupUser (line 625) | public AuthenticatedBackupUser authenticateBackupUser( method listBackupAttributes (line 665) | public Flux listBackupAttributes(final int seg... method getExpiredBackups (line 679) | public Flux getExpiredBackups(final int segments, final... method expireBackup (line 690) | public CompletableFuture expireBackup(final ExpiredBackup expire... method deletePrefix (line 709) | private CompletableFuture deletePrefix(final String prefixToDele... type PresentationSignatureVerifier (line 735) | interface PresentationSignatureVerifier { method verifySignature (line 737) | Pair verifySignature(byte[] signa... method verifyPresentation (line 746) | private PresentationSignatureVerifier verifyPresentation(final BackupA... method checkBackupLevel (line 776) | @VisibleForTesting method checkBackupCredentialType (line 797) | @VisibleForTesting method encodeMediaIdForCdn (line 808) | @VisibleForTesting method decodeMediaIdFromCdn (line 813) | private static byte[] decodeMediaIdFromCdn(final String base64) { method cdnMessageBackupName (line 817) | private static String cdnMessageBackupName(final AuthenticatedBackupUs... method cdnMediaDirectory (line 821) | private static String cdnMediaDirectory(final String backupDir, final ... method cdnMediaDirectory (line 825) | private static String cdnMediaDirectory(final AuthenticatedBackupUser ... method cdnMediaPath (line 829) | private static String cdnMediaPath(final AuthenticatedBackupUser backu... method rateLimitKey (line 833) | static String rateLimitKey(final AuthenticatedBackupUser backupUser) { method parseUserAgent (line 837) | private static @Nullable UserAgent parseUserAgent(final String userAge... FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupMissingIdCommitmentException.java class BackupMissingIdCommitmentException (line 7) | public class BackupMissingIdCommitmentException extends BackupException { method BackupMissingIdCommitmentException (line 8) | public BackupMissingIdCommitmentException() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupNotFoundException.java class BackupNotFoundException (line 7) | public class BackupNotFoundException extends BackupException { method BackupNotFoundException (line 9) | public BackupNotFoundException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupPermissionException.java class BackupPermissionException (line 7) | public class BackupPermissionException extends BackupException { method BackupPermissionException (line 8) | public BackupPermissionException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupPublicKeyConflictException.java class BackupPublicKeyConflictException (line 7) | public class BackupPublicKeyConflictException extends BackupException { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupWrongCredentialTypeException.java class BackupWrongCredentialTypeException (line 7) | public class BackupWrongCredentialTypeException extends BackupException { method BackupWrongCredentialTypeException (line 8) | public BackupWrongCredentialTypeException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/BackupsDb.java class BackupsDb (line 70) | public class BackupsDb { method BackupsDb (line 113) | public BackupsDb( method setPublicKey (line 132) | CompletableFuture setPublicKey( method retrieveAuthenticationData (line 165) | CompletableFuture> retrieveAuthentication... method getDirName (line 184) | private static String getDirName(final Map ite... method extractStoredPublicKey (line 191) | private static Optional extractStoredPublicKey(final Map<... method deserializeStoredPublicKey (line 198) | private static ECPublicKey deserializeStoredPublicKey(final byte[] pub... method trackMedia (line 215) | CompletableFuture trackMedia(final AuthenticatedBackupUser backu... method ttlRefresh (line 234) | CompletableFuture ttlRefresh(final Authenticat... method addMessageBackup (line 252) | CompletableFuture addMessageBackup(final Authe... class PendingDeletionException (line 269) | static class PendingDeletionException extends IOException {} method scheduleBackupDeletion (line 285) | CompletableFuture scheduleBackupDeletion(final AuthenticatedBack... method describeBackup (line 324) | CompletableFuture describeBackup(final Authenticate... method getMediaUsage (line 350) | CompletableFuture getMediaUsage(final Authentica... method setMediaUsage (line 371) | CompletableFuture setMediaUsage(final AuthenticatedBackupUser ba... method setMediaUsage (line 375) | CompletableFuture setMediaUsage(final StoredBackupAttributes bac... method setMediaUsage (line 379) | private CompletableFuture setMediaUsage(final UpdateBuilder upda... method startExpiration (line 407) | CompletableFuture startExpiration(final ExpiredBackup expiredBac... method finishExpiration (line 435) | CompletableFuture finishExpiration(final ExpiredBackup expiredBa... method listBackupAttributes (line 456) | Flux listBackupAttributes(final int segments) { method fromItem (line 483) | private static StoredBackupAttributes fromItem(Map getExpiredBackups(final int segments, final Schedu... method isValid (line 572) | private static boolean isValid(final ExpiredBackup expiredBackup) { class UpdateBuilder (line 585) | private static class UpdateBuilder { method forUser (line 597) | static UpdateBuilder forUser(String tableName, AuthenticatedBackupUs... method UpdateBuilder (line 601) | UpdateBuilder(String tableName, BackupLevel backupLevel, byte[] hash... method addAttrValue (line 607) | private void addAttrValue(Map.Entry attrValu... method addAttrName (line 614) | private void addAttrName(Map.Entry attrName) { method addAttrs (line 621) | private void addAttrs(final Map.Entry attrName, fina... method addSetExpression (line 626) | UpdateBuilder addSetExpression( method addSetExpression (line 635) | UpdateBuilder addSetExpression(final String update) { method addRemoveExpression (line 640) | UpdateBuilder addRemoveExpression(final Map.Entry at... method withConditionExpression (line 646) | UpdateBuilder withConditionExpression(final String conditionExpressi... method withConditionExpression (line 651) | UpdateBuilder withConditionExpression( method setCdn (line 660) | UpdateBuilder setCdn(final int cdn) { method incrementMediaCount (line 667) | UpdateBuilder incrementMediaCount(long delta) { method incrementMediaBytes (line 675) | UpdateBuilder incrementMediaBytes(long delta) { method clearMediaUsage (line 683) | UpdateBuilder clearMediaUsage(final Clock clock) { method setDirectoryNamesIfMissing (line 696) | UpdateBuilder setDirectoryNamesIfMissing(final SecureRandom secureRa... method expireDirectoryNames (line 709) | UpdateBuilder expireDirectoryNames( method setRefreshTimes (line 729) | UpdateBuilder setRefreshTimes(final Clock clock) { method setRefreshTimes (line 739) | UpdateBuilder setRefreshTimes(final Instant refreshTime) { method updateExpression (line 756) | private String updateExpression() { method updateItemBuilder (line 774) | UpdateItemRequest.Builder updateItemBuilder() { method transactItemBuilder (line 794) | Update.Builder transactItemBuilder() { method generateDirName (line 808) | static String generateDirName(final SecureRandom secureRandom) { method hashedBackupId (line 814) | private static byte[] hashedBackupId(final AuthenticatedBackupUser bac... method hashedBackupId (line 818) | static byte[] hashedBackupId(final byte[] backupId) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/Cdn3BackupCredentialGenerator.java class Cdn3BackupCredentialGenerator (line 19) | public class Cdn3BackupCredentialGenerator { method Cdn3BackupCredentialGenerator (line 38) | public Cdn3BackupCredentialGenerator(final TusConfiguration cfg) { method credentialsGenerator (line 43) | private static ExternalServiceCredentialsGenerator credentialsGenerato... method generateUpload (line 52) | public BackupUploadDescriptor generateUpload(final String key) { method readHeaders (line 70) | public Map readHeaders(final String hashedBackupId) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/Cdn3RemoteStorageManager.java class Cdn3RemoteStorageManager (line 36) | public class Cdn3RemoteStorageManager implements RemoteStorageManager { method Cdn3RemoteStorageManager (line 59) | public Cdn3RemoteStorageManager( method cdnNumber (line 80) | @Override method copy (line 85) | @Override method Cdn3CopyRequest (line 138) | Cdn3CopyRequest(MediaEncryptionParameters parameters, SourceDescriptor... method json (line 147) | String json() { method list (line 156) | @Override method parseListResponse (line 198) | private static ListResult parseListResponse(final HttpResponse delete(final String key) { method parseDeleteResponse (line 291) | private long parseDeleteResponse(final HttpResponse httpD... method deleteUrl (line 298) | private String deleteUrl(final String key) { method usageUrl (line 302) | private String usageUrl() { method listUrl (line 306) | private String listUrl() { method copyUrl (line 310) | private String copyUrl() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/CopyParameters.java method destinationObjectSize (line 26) | long destinationObjectSize() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/CopyResult.java type Outcome (line 22) | public enum Outcome { method fromCopyError (line 36) | static Optional fromCopyError(final Throwable throwable, fin... FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/ExpiredBackup.java type ExpirationType (line 23) | public enum ExpirationType { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/InvalidLengthException.java class InvalidLengthException (line 5) | public class InvalidLengthException extends IOException { method InvalidLengthException (line 7) | public InvalidLengthException(String s) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/MediaEncryptionParameters.java method MediaEncryptionParameters (line 9) | public MediaEncryptionParameters(byte[] encryptionKey, byte[] macKey) { method outputSize (line 15) | public int outputSize(final int inputSize) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/RemoteStorageManager.java type RemoteStorageManager (line 10) | public interface RemoteStorageManager { method cdnNumber (line 15) | int cdnNumber(); method copy (line 35) | CompletionStage copy( method list (line 69) | CompletionStage list(final String prefix, final Optional calculateBytesUsed(final String prefix); method delete (line 85) | CompletionStage delete(final String key); FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/SecureValueRecoveryBCredentialsGeneratorFactory.java class SecureValueRecoveryBCredentialsGeneratorFactory (line 13) | public class SecureValueRecoveryBCredentialsGeneratorFactory { method SecureValueRecoveryBCredentialsGeneratorFactory (line 14) | private SecureValueRecoveryBCredentialsGeneratorFactory() {} method svrbCredentialsGenerator (line 17) | @VisibleForTesting method svrbCredentialsGenerator (line 30) | public static ExternalServiceCredentialsGenerator svrbCredentialsGener... FILE: service/src/main/java/org/whispersystems/textsecuregcm/backup/SourceObjectNotFoundException.java class SourceObjectNotFoundException (line 10) | public class SourceObjectNotFoundException extends IOException { method SourceObjectNotFoundException (line 11) | public SourceObjectNotFoundException() { method SourceObjectNotFoundException (line 14) | public SourceObjectNotFoundException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/badges/BadgeTranslator.java type BadgeTranslator (line 12) | public interface BadgeTranslator { method translate (line 13) | Badge translate(List acceptableLanguages, String badgeId); FILE: service/src/main/java/org/whispersystems/textsecuregcm/badges/ConfiguredProfileBadgeConverter.java class ConfiguredProfileBadgeConverter (line 27) | public class ConfiguredProfileBadgeConverter implements ProfileBadgeConv... method ConfiguredProfileBadgeConverter (line 37) | public ConfiguredProfileBadgeConverter( method translate (line 48) | @Override method convert (line 66) | @Override method newBadge (line 114) | private Badge newBadge( FILE: service/src/main/java/org/whispersystems/textsecuregcm/badges/LevelTranslator.java type LevelTranslator (line 11) | public interface LevelTranslator { method translate (line 12) | String translate(List acceptableLanguages, String badgeId); FILE: service/src/main/java/org/whispersystems/textsecuregcm/badges/ProfileBadgeConverter.java type ProfileBadgeConverter (line 13) | public interface ProfileBadgeConverter { method convert (line 19) | List convert(List acceptableLanguages, List parse(final String action) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/captcha/AssessmentResult.java class AssessmentResult (line 11) | public class AssessmentResult { method AssessmentResult (line 26) | private AssessmentResult(boolean solved, float actualScore, float defa... method fromScore (line 39) | public static AssessmentResult fromScore(float actualScore, float defa... method invalid (line 49) | public static AssessmentResult invalid() { method alwaysValid (line 56) | public static AssessmentResult alwaysValid() { method isValid (line 65) | public boolean isValid() { method isValid (line 75) | public boolean isValid(Optional scoreThreshold) { method normalizedIntScore (line 84) | private static int normalizedIntScore(final float score) { method getScoreString (line 88) | public String getScoreString() { method getScore (line 92) | public float getScore() { method scoreString (line 100) | private static String scoreString(final float score) { method equals (line 105) | @Override method hashCode (line 117) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/captcha/CaptchaChecker.java class CaptchaChecker (line 22) | public class CaptchaChecker { method CaptchaChecker (line 36) | public CaptchaChecker( method verify (line 58) | public AssessmentResult verify( FILE: service/src/main/java/org/whispersystems/textsecuregcm/captcha/CaptchaClient.java type CaptchaClient (line 13) | public interface CaptchaClient { method scheme (line 19) | String scheme(); method validSiteKeys (line 25) | Set validSiteKeys(final Action action); method verify (line 39) | AssessmentResult verify( method noop (line 47) | static CaptchaClient noop() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/captcha/RegistrationCaptchaManager.java class RegistrationCaptchaManager (line 12) | public class RegistrationCaptchaManager { method RegistrationCaptchaManager (line 16) | public RegistrationCaptchaManager(final CaptchaChecker captchaChecker) { method assessCaptcha (line 20) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") FILE: service/src/main/java/org/whispersystems/textsecuregcm/captcha/ShortCodeExpander.java class ShortCodeExpander (line 21) | public class ShortCodeExpander { method ShortCodeExpander (line 27) | public ShortCodeExpander(final HttpClient client, final String shorten... method retrieve (line 32) | public Optional retrieve(final String shortCode) throws IOExce... FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/AccountsTableConfiguration.java class AccountsTableConfiguration (line 8) | public class AccountsTableConfiguration extends Table { method AccountsTableConfiguration (line 15) | @JsonCreator method getPhoneNumberTableName (line 31) | @NotBlank method getPhoneNumberIdentifierTableName (line 36) | @NotBlank method getUsernamesTableName (line 41) | @NotBlank method getUsedLinkDeviceTokensTableName (line 46) | @NotBlank FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/AwsCredentialsProviderFactory.java type AwsCredentialsProviderFactory (line 12) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method build (line 15) | AwsCredentialsProvider build(); FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/BadgeConfiguration.java class BadgeConfiguration (line 16) | public class BadgeConfiguration { method BadgeConfiguration (line 25) | @JsonCreator method getId (line 39) | @NotEmpty method getCategory (line 44) | @NotEmpty method getSprites (line 49) | @NotNull method getSvg (line 55) | @NotEmpty method getSvgs (line 60) | @NotNull method isTestBadge (line 65) | public boolean isTestBadge() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/BadgesConfiguration.java class BadgesConfiguration (line 22) | public class BadgesConfiguration { method BadgesConfiguration (line 27) | @JsonCreator method getBadges (line 37) | @Valid method getBadgeIdsEnabledForAll (line 43) | @Valid method getReceiptLevels (line 49) | @Valid method isAllReceiptLevelsConfigured (line 55) | @JsonIgnore FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/CircuitBreakerConfiguration.java class CircuitBreakerConfiguration (line 19) | public class CircuitBreakerConfiguration { method getFailureRateThreshold (line 50) | public int getFailureRateThreshold() { method getPermittedNumberOfCallsInHalfOpenState (line 54) | public int getPermittedNumberOfCallsInHalfOpenState() { method getSlidingWindowSize (line 58) | public int getSlidingWindowSize() { method getSlidingWindowMinimumNumberOfCalls (line 62) | public int getSlidingWindowMinimumNumberOfCalls() { method getWaitDurationInOpenState (line 66) | public Duration getWaitDurationInOpenState() { method getIgnoredExceptions (line 70) | public List> getIgnoredExceptions() { method setFailureRateThreshold (line 82) | @VisibleForTesting method setSlidingWindowSize (line 87) | @VisibleForTesting method setSlidingWindowMinimumNumberOfCalls (line 92) | @VisibleForTesting method setPermittedNumberOfCallsInHalfOpenState (line 97) | @VisibleForTesting method setWaitDurationInOpenState (line 102) | @VisibleForTesting method setIgnoredExceptions (line 107) | @VisibleForTesting method toCircuitBreakerConfig (line 112) | public CircuitBreakerConfig toCircuitBreakerConfig() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/CloudflareTurnConfiguration.java method isClientTtlShorterThanRequestedTtl (line 50) | @AssertTrue FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/DefaultAwsCredentialsFactory.java method build (line 15) | public AwsCredentialsProvider build() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/DefaultPubSubPublisherFactory.java method build (line 28) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryV2Configuration.java class DirectoryV2Configuration (line 11) | public class DirectoryV2Configuration { method DirectoryV2Configuration (line 15) | @JsonCreator method getDirectoryV2ClientConfiguration (line 20) | @Valid FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/DynamoDbClientConfiguration.java method buildSyncClient (line 42) | @Override method buildAsyncClient (line 57) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/DynamoDbClientFactory.java type DynamoDbClientFactory (line 15) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method buildSyncClient (line 18) | DynamoDbClient buildSyncClient(AwsCredentialsProvider awsCredentialsPr... method buildAsyncClient (line 20) | DynamoDbAsyncClient buildAsyncClient(AwsCredentialsProvider awsCredent... FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/DynamoDbTables.java class DynamoDbTables (line 15) | public class DynamoDbTables { class Table (line 17) | public static class Table { method Table (line 20) | @JsonCreator method getTableName (line 26) | @NotEmpty class TableWithExpiration (line 32) | public static class TableWithExpiration extends Table { method TableWithExpiration (line 35) | @JsonCreator method getExpiration (line 43) | @NotNull method DynamoDbTables (line 77) | public DynamoDbTables( method getAccounts (line 133) | @NotNull method getAppleDeviceChecks (line 139) | @NotNull method getAppleDeviceCheckPublicKeys (line 145) | @NotNull method getBackups (line 151) | @NotNull method getClientPublicKeys (line 157) | @NotNull method getClientReleases (line 163) | @NotNull method getDeletedAccounts (line 169) | @NotNull method getDeletedAccountsLock (line 175) | @NotNull method getIssuedReceipts (line 181) | @NotNull method getEcKeys (line 187) | @NotNull method getEcSignedPreKeys (line 193) | @NotNull method getPagedKemKeys (line 199) | @NotNull method getKemLastResortKeys (line 205) | @NotNull method getMessages (line 211) | @NotNull method getOnetimeDonations (line 217) | @NotNull method getPhoneNumberIdentifiers (line 223) | @NotNull method getProfiles (line 229) | @NotNull method getPushChallenge (line 235) | @NotNull method getPushNotificationExperimentSamples (line 241) | @NotNull method getRedeemedReceipts (line 247) | @NotNull method getRegistrationRecovery (line 253) | @NotNull method getRemoteConfig (line 259) | @NotNull method getReportMessage (line 265) | @NotNull method getScheduledJobs (line 271) | @NotNull method getSubscriptions (line 277) | @NotNull method getVerificationSessions (line 283) | @NotNull FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/FaultTolerantRedisClientFactory.java type FaultTolerantRedisClientFactory (line 13) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method build (line 16) | FaultTolerantRedisClient build(String name, ClientResources clientReso... FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/FaultTolerantRedisClusterFactory.java type FaultTolerantRedisClusterFactory (line 13) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method build (line 16) | FaultTolerantRedisClusterClient build(String name, ClientResources.Bui... FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcpAttachmentsConfiguration.java method isPathPrefixValid (line 20) | @SuppressWarnings("unused") FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/IssuedReceiptsTableConfiguration.java class IssuedReceiptsTableConfiguration (line 16) | public class IssuedReceiptsTableConfiguration extends DynamoDbTables.Tab... method IssuedReceiptsTableConfiguration (line 25) | public IssuedReceiptsTableConfiguration( method getGenerator (line 35) | @NotEmpty method getmaxIssuedReceiptsPerPaymentId (line 40) | public EnumMap getmaxIssuedReceiptsPerPaymen... FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/MaxDeviceConfiguration.java class MaxDeviceConfiguration (line 12) | public class MaxDeviceConfiguration { method getNumber (line 22) | public String getNumber() { method getCount (line 26) | public int getCount() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/MessageCacheConfiguration.java class MessageCacheConfiguration (line 12) | public class MessageCacheConfiguration { method getRedisClusterConfiguration (line 22) | public FaultTolerantRedisClusterFactory getRedisClusterConfiguration() { method getPersistDelayMinutes (line 26) | public int getPersistDelayMinutes() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/MonitoredS3ObjectConfiguration.java method build (line 38) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/OpenTelemetryConfiguration.java method get (line 24) | @Override method maxBucketsPerMeter (line 29) | @Override method histogramFlavor (line 37) | @Override method shutdownWaitDuration (line 42) | public Duration shutdownWaitDuration() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/PaymentsServiceClientsConfiguration.java method buildFixerClient (line 24) | @Override method buildCoinGeckoClient (line 29) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/PaymentsServiceClientsFactory.java type PaymentsServiceClientsFactory (line 14) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method buildFixerClient (line 17) | FixerClient buildFixerClient(final HttpClient httpClient); method buildCoinGeckoClient (line 19) | CoinGeckoClient buildCoinGeckoClient(HttpClient httpClient); FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/PubSubPublisherFactory.java type PubSubPublisherFactory (line 13) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method build (line 16) | PublisherInterface build() throws IOException; FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisClusterConfiguration.java class RedisClusterConfiguration (line 18) | @JsonTypeName("default") method setConfigurationUri (line 33) | @VisibleForTesting method getConfigurationUri (line 38) | public String getConfigurationUri() { method getTimeout (line 42) | public Duration getTimeout() { method getCircuitBreakerConfigurationName (line 46) | @Nullable public String getCircuitBreakerConfigurationName() { method build (line 50) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisConfiguration.java class RedisConfiguration (line 18) | @JsonTypeName("default") method getUri (line 33) | public String getUri() { method setUri (line 37) | @VisibleForTesting method getTimeout (line 42) | public Duration getTimeout() { method getCircuitBreakerConfigurationName (line 46) | @Nullable public String getCircuitBreakerConfigurationName() { method build (line 50) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/RegistrationServiceClientFactory.java type RegistrationServiceClientFactory (line 15) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method build (line 18) | RegistrationServiceClient build(Environment environment, Executor call... FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/RegistrationServiceConfiguration.java method build (line 23) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/ReportMessageConfiguration.java class ReportMessageConfiguration (line 12) | public class ReportMessageConfiguration { method getReportTtl (line 22) | public Duration getReportTtl() { method getCounterTtl (line 26) | public Duration getCounterTtl() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/RetryConfiguration.java class RetryConfiguration (line 13) | public class RetryConfiguration { method getMaxAttempts (line 23) | public int getMaxAttempts() { method setMaxAttempts (line 27) | public void setMaxAttempts(final int maxAttempts) { method getWaitDuration (line 31) | public long getWaitDuration() { method setWaitDuration (line 35) | public void setWaitDuration(final long waitDuration) { method toRetryConfigBuilder (line 39) | public RetryConfig.Builder toRetryConfigBuilder() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/S3ObjectMonitorFactory.java type S3ObjectMonitorFactory (line 14) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl... method build (line 17) | S3ObjectMonitor build(AwsCredentialsProvider awsCredentialsProvider, FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/SpamFilterConfiguration.java class SpamFilterConfiguration (line 12) | public class SpamFilterConfiguration { method SpamFilterConfiguration (line 18) | @JsonCreator method getEnvironment (line 23) | public String getEnvironment() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/StaticAwsCredentialsFactory.java method build (line 22) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/SubscriptionConfiguration.java class SubscriptionConfiguration (line 24) | public class SubscriptionConfiguration { method SubscriptionConfiguration (line 35) | @JsonCreator method getBadgeGracePeriod (line 53) | public Duration getBadgeGracePeriod() { method getBadgeExpiration (line 58) | public Duration getBadgeExpiration() { method getBackupExpiration (line 62) | public Duration getBackupExpiration() { method getBackupGracePeriod (line 66) | public Duration getBackupGracePeriod() { method getSubscriptionLevel (line 70) | public SubscriptionLevelConfiguration getSubscriptionLevel(long level) { method getDonationLevels (line 76) | public Map getDonationL... method getBackupLevels (line 80) | public Map getBackupLevel... method areLevelConstraintsSatisfied (line 84) | @JsonIgnore method isCurrencyListSameAcrossAllLevels (line 102) | @JsonIgnore method isCurrencyListSameAccrossLevelConfigurations (line 109) | private static boolean isCurrencyListSameAccrossLevelConfigurations( method getbackupFreeTierMediaDuration (line 120) | public Duration getbackupFreeTierMediaDuration() { method isValidBackupLevel (line 124) | private static boolean isValidBackupLevel(final long receiptLevel) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/SubscriptionLevelConfiguration.java type SubscriptionLevelConfiguration (line 15) | public sealed interface SubscriptionLevelConfiguration permits method prices (line 18) | Map prices(); type Type (line 20) | enum Type { method type (line 25) | default Type type() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/TurnUriConfiguration.java class TurnUriConfiguration (line 11) | public class TurnUriConfiguration { method getUris (line 29) | public List getUris() { method getWeight (line 33) | public long getWeight() { method getEnrolledAcis (line 37) | public Set getEnrolledAcis() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/URLSerializationConverter.java class URLSerializationConverter (line 11) | final class URLSerializationConverter extends StdConverter { method convert (line 13) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/UnidentifiedDeliveryConfiguration.java method ecPrivateKey (line 19) | public ECPrivateKey ecPrivateKey() throws InvalidKeyException { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/VirtualThreadConfiguration.java method VirtualThreadConfiguration (line 13) | public VirtualThreadConfiguration() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicBackupConfiguration.java method DynamicBackupConfiguration (line 45) | public DynamicBackupConfiguration() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicCaptchaConfiguration.java class DynamicCaptchaConfiguration (line 19) | public class DynamicCaptchaConfiguration { method getScoreFloor (line 38) | public BigDecimal getScoreFloor() { method isAllowHCaptcha (line 42) | public boolean isAllowHCaptcha() { method getScoreFloorByAction (line 46) | public Map getScoreFloorByAction() { method setAllowHCaptcha (line 50) | @VisibleForTesting method setScoreFloor (line 55) | @VisibleForTesting method getHCaptchaSiteKeys (line 60) | public Map> getHCaptchaSiteKeys() { method setHCaptchaSiteKeys (line 64) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicCarrierDataLookupConfiguration.java method DynamicCarrierDataLookupConfiguration (line 15) | public DynamicCarrierDataLookupConfiguration() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicConfiguration.java class DynamicConfiguration (line 17) | public class DynamicConfiguration { method getExperimentEnrollmentConfiguration (line 79) | public Optional getExperimen... method getE164ExperimentEnrollmentConfiguration (line 84) | public Optional getE164E... method getLimits (line 89) | public Map getLimits() { method getRemoteDeprecationConfiguration (line 93) | public DynamicRemoteDeprecationConfiguration getRemoteDeprecationConfi... method getPaymentsConfiguration (line 97) | public DynamicPaymentsConfiguration getPaymentsConfiguration() { method getCaptchaConfiguration (line 101) | public DynamicCaptchaConfiguration getCaptchaConfiguration() { method getMessagePersisterConfiguration (line 105) | public DynamicMessagePersisterConfiguration getMessagePersisterConfigu... method getRegistrationConfiguration (line 109) | public DynamicRegistrationConfiguration getRegistrationConfiguration() { method getMetricsConfiguration (line 113) | public DynamicMetricsConfiguration getMetricsConfiguration() { method getSvr2StatusCodesToIgnoreForAccountDeletion (line 117) | public List getSvr2StatusCodesToIgnoreForAccountDeletion() { method getSvrbStatusCodesToIgnoreForAccountDeletion (line 121) | public List getSvrbStatusCodesToIgnoreForAccountDeletion() { method restDeprecation (line 125) | public DynamicRestDeprecationConfiguration restDeprecation() { method getBackupConfiguration (line 129) | public DynamicBackupConfiguration getBackupConfiguration() { method getCarrierDataLookupConfiguration (line 133) | public DynamicCarrierDataLookupConfiguration getCarrierDataLookupConfi... method getGrpcAllowList (line 137) | public DynamicGrpcAllowListConfiguration getGrpcAllowList() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicE164ExperimentEnrollmentConfiguration.java class DynamicE164ExperimentEnrollmentConfiguration (line 15) | public class DynamicE164ExperimentEnrollmentConfiguration { method getEnrolledE164s (line 39) | public Set getEnrolledE164s() { method getExcludedE164s (line 43) | public Set getExcludedE164s() { method getIncludedCountryCodes (line 47) | public Set getIncludedCountryCodes() { method getExcludedCountryCodes (line 51) | public Set getExcludedCountryCodes() { method getEnrollmentPercentage (line 55) | public int getEnrollmentPercentage() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicExperimentEnrollmentConfiguration.java class DynamicExperimentEnrollmentConfiguration (line 17) | public class DynamicExperimentEnrollmentConfiguration { class UuidSelector (line 19) | public static class UuidSelector { method getUuids (line 38) | public Set getUuids() { method getUuidEnrollmentPercentage (line 42) | public int getUuidEnrollmentPercentage() { method getEnrollmentPercentage (line 71) | public int getEnrollmentPercentage() { method getUuidSelector (line 75) | public UuidSelector getUuidSelector() { method getExcludedUuids (line 79) | public Set getExcludedUuids() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicGrpcAllowListConfiguration.java method DynamicGrpcAllowListConfiguration (line 34) | public DynamicGrpcAllowListConfiguration() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicMessagePersisterConfiguration.java class DynamicMessagePersisterConfiguration (line 12) | public class DynamicMessagePersisterConfiguration { method DynamicMessagePersisterConfiguration (line 29) | public DynamicMessagePersisterConfiguration() {} method DynamicMessagePersisterConfiguration (line 31) | @VisibleForTesting method isPersistenceEnabled (line 43) | public boolean isPersistenceEnabled() { method getTrimOversizedQueueExtraRoomRatio (line 47) | public double getTrimOversizedQueueExtraRoomRatio() { method getNodeClaimTtl (line 51) | public Duration getNodeClaimTtl() { method getSleepBetweenNodes (line 55) | public Duration getSleepBetweenNodes() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicPaymentsConfiguration.java class DynamicPaymentsConfiguration (line 12) | public class DynamicPaymentsConfiguration { method getDisallowedPrefixes (line 17) | public List getDisallowedPrefixes() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicRemoteDeprecationConfiguration.java class DynamicRemoteDeprecationConfiguration (line 17) | public class DynamicRemoteDeprecationConfiguration { method setMinimumVersions (line 34) | @VisibleForTesting method getMinimumVersions (line 39) | public Map getMinimumVersions() { method setVersionsPendingDeprecation (line 43) | @VisibleForTesting method getVersionsPendingDeprecation (line 48) | public Map getVersionsPendingDeprecation() { method setUnrecognizedUserAgentAllowed (line 52) | @VisibleForTesting method isUnrecognizedUserAgentAllowed (line 57) | public boolean isUnrecognizedUserAgentAllowed() { method setBlockedVersions (line 61) | @VisibleForTesting method getBlockedVersions (line 66) | public Map> getBlockedVersions() { method setVersionsPendingBlock (line 70) | @VisibleForTesting method getVersionsPendingBlock (line 75) | public Map> getVersionsPendingBlock() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/BaseSecretValidator.java class BaseSecretValidator (line 14) | public abstract class BaseSecretValidator validato... method initialize (line 23) | @Override method isValid (line 28) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/Secret.java class Secret (line 8) | public class Secret { method Secret (line 13) | public Secret(final T value) { method value (line 17) | public T value() { method toString (line 21) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretBytes.java class SecretBytes (line 10) | public class SecretBytes extends Secret { method SecretBytes (line 12) | public SecretBytes(final byte[] value) { method requireNotEmpty (line 16) | private static byte[] requireNotEmpty(final byte[] value) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretBytesList.java class SecretBytesList (line 14) | public class SecretBytesList extends Secret> { class ValidatorNotEmpty (line 16) | @SuppressWarnings("rawtypes") method ValidatorNotEmpty (line 18) | public ValidatorNotEmpty() { method SecretBytesList (line 23) | public SecretBytesList(final List value) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretStore.java class SecretStore (line 18) | public class SecretStore { method fromYamlFileSecretsBundle (line 23) | public static SecretStore fromYamlFileSecretsBundle(final String filen... method SecretStore (line 35) | public SecretStore(final Map> secrets) { method secretString (line 39) | public SecretString secretString(final String reference) { method secretBytesFromBase64String (line 43) | public SecretBytes secretBytesFromBase64String(final String reference) { method secretStringList (line 48) | public SecretStringList secretStringList(final String reference) { method secretBytesListFromBase64Strings (line 52) | public SecretBytesList secretBytesListFromBase64Strings(final String r... method fromStore (line 58) | private > T fromStore(final String name, final Cla... method fromYamlStringSecretsBundle (line 70) | @VisibleForTesting method fromSecretsBundle (line 81) | private static SecretStore fromSecretsBundle(final Map... method decodeBase64 (line 103) | private static byte[] decodeBase64(final String str) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretString.java class SecretString (line 10) | public class SecretString extends Secret { method SecretString (line 11) | public SecretString(final String value) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretStringList.java class SecretStringList (line 14) | public class SecretStringList extends Secret> { class ValidatorNotEmpty (line 16) | @SuppressWarnings("rawtypes") method ValidatorNotEmpty (line 18) | public ValidatorNotEmpty() { method SecretStringList (line 23) | public SecretStringList(final List value) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretsModule.java class SecretsModule (line 19) | public class SecretsModule extends SimpleModule { method SecretsModule (line 28) | private SecretsModule() { method setSecretStore (line 35) | public void setSecretStore(final SecretStore secretStore) { method createDeserializer (line 39) | private JsonDeserializer createDeserializer(final BiFunction parseDeviceId(String deviceId, Account account) { method getPreKeysLimiterKey (line 412) | private String getPreKeysLimiterKey( FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/MessageController.java class MessageController (line 113) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method MessageController (line 173) | public MessageController( method sendMessage (line 208) | @Path("/{destination}") method sendIdentifiedSenderIndividualMessage (line 297) | private void sendIdentifiedSenderIndividualMessage(final Authenticated... method sendSyncMessage (line 317) | private void sendSyncMessage(final AuthenticatedDevice source, method sendSealedSenderMessage (line 337) | private void sendSealedSenderMessage(final ServiceIdentifier destinati... method sendStoryMessage (line 367) | private void sendStoryMessage(final ServiceIdentifier destinationIdent... method sendIndividualMessage (line 389) | private void sendIndividualMessage(final Account destination, method sendMultiRecipientMessage (line 477) | @Path("/multi_recipient") method sendMultiRecipientMessage (line 563) | private SendMultiRecipientMessageResponse sendMultiRecipientMessage(fi... method sendMultiRecipientStoryMessage (line 621) | @SuppressWarnings("SameReturnValue") method sendMultiRecipientMessage (line 664) | private void sendMultiRecipientMessage(final SealedSenderMultiRecipien... method checkGroupSendToken (line 730) | private void checkGroupSendToken(final Collection recipient... method checkGroupSendToken (line 734) | private void checkGroupSendToken(final Collection recipient... method checkAccessKeys (line 744) | private void checkAccessKeys( method getPendingMessages (line 765) | @GET method estimateMessageListSizeBytes (line 832) | private static long estimateMessageListSizeBytes(final OutgoingMessage... method reportSpamMessage (line 843) | @POST FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/MismatchedDevicesException.java class MismatchedDevicesException (line 8) | public class MismatchedDevicesException extends Exception { method MismatchedDevicesException (line 12) | public MismatchedDevicesException(final MismatchedDevices mismatchedDe... method getMismatchedDevices (line 16) | public MismatchedDevices getMismatchedDevices() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/MultiRecipientMismatchedDevicesException.java class MultiRecipientMismatchedDevicesException (line 11) | public class MultiRecipientMismatchedDevicesException extends Exception { method MultiRecipientMismatchedDevicesException (line 15) | public MultiRecipientMismatchedDevicesException( method getMismatchedDevicesByServiceIdentifier (line 25) | public Map getMismatchedDevicesB... FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/OneTimeDonationController.java class OneTimeDonationController (line 83) | @Path("/v1/subscription/boost") method OneTimeDonationController (line 100) | public OneTimeDonationController( class CreateBoostRequest (line 119) | public static class CreateBoostRequest { method createBoostPaymentIntent (line 141) | @POST method validateRequestCurrencyAmount (line 206) | private void validateRequestCurrencyAmount(CreateBoostRequest request,... class CreatePayPalBoostRequest (line 237) | public static class CreatePayPalBoostRequest extends CreateBoostRequest { method CreatePayPalBoostRequest (line 244) | public CreatePayPalBoostRequest() { method createPayPalBoost (line 251) | @POST class ConfirmPayPalBoostRequest (line 295) | public static class ConfirmPayPalBoostRequest extends CreateBoostReque... method confirmPayPalBoost (line 307) | @POST class CreateBoostReceiptCredentialsRequest (line 333) | public static class CreateBoostReceiptCredentialsRequest { method createBoostReceiptCredentials (line 353) | @POST method getClientPlatform (line 441) | @Nullable FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/PaymentsController.java class PaymentsController (line 21) | @Path("/v1/payments") method credentialsGenerator (line 29) | public static ExternalServiceCredentialsGenerator credentialsGenerator... method PaymentsController (line 36) | public PaymentsController(final CurrencyConversionManager currencyMana... method getAuth (line 42) | @GET method getConversions (line 49) | @GET FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProfileController.java class ProfileController (line 102) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method ProfileController (line 126) | public ProfileController( method setProfile (line 154) | @PUT method getProfile (line 231) | @GET method getProfile (line 266) | @GET method getUnversionedProfile (line 313) | @GET method runBatchIdentityCheck (line 363) | @POST method checkFingerprintAndAdd (line 408) | private void checkFingerprintAndAdd(BatchIdentityCheckRequest.Element ... method buildExpiringProfileKeyCredentialProfileResponse (line 430) | private ExpiringProfileKeyCredentialProfileResponse buildExpiringProfi... method buildVersionedProfileResponse (line 455) | private VersionedProfileResponse buildVersionedProfileResponse(final A... method buildBaseProfileResponseForAccountIdentity (line 492) | private BaseProfileResponse buildBaseProfileResponseForAccountIdentity... method buildBaseProfileResponseForPhoneNumberIdentity (line 507) | private BaseProfileResponse buildBaseProfileResponseForPhoneNumberIden... method verifyPermissionToReceiveProfile (line 530) | private Account verifyPermissionToReceiveProfile(final Optional getAccountCapabilities(final Accou... FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProvisioningController.java class ProvisioningController (line 48) | @Path("/v1/provisioning") method ProvisioningController (line 61) | public ProvisioningController(RateLimiters rateLimiters, ProvisioningM... method sendProvisioningMessage (line 66) | @Path("/{destination}") FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/RateLimitExceededException.java class RateLimitExceededException (line 14) | public class RateLimitExceededException extends Exception implements Con... method RateLimitExceededException (line 24) | public RateLimitExceededException(@Nullable final Duration retryDurati... method getRetryDuration (line 29) | public Optional getRetryDuration() { method toStatusRuntimeException (line 33) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/RegistrationController.java class RegistrationController (line 54) | @Path("/v1/registration") method RegistrationController (line 73) | public RegistrationController(final AccountsManager accounts, method register (line 84) | @POST FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/RemoteConfigController.java class RemoteConfigController (line 52) | @Path("/v2/config") method RemoteConfigController (line 64) | public RemoteConfigController(RemoteConfigsManager remoteConfigsManager, method getAll (line 71) | @GET method platformPrefix (line 134) | private static String platformPrefix(final String userAgent) { method isInBucket (line 142) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureStorageController.java class SecureStorageController (line 21) | @Path("/v1/storage") method credentialsGenerator (line 27) | public static ExternalServiceCredentialsGenerator credentialsGenerator... method SecureStorageController (line 34) | public SecureStorageController(ExternalServiceCredentialsGenerator sto... method getAuth (line 38) | @GET FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureValueRecovery2Controller.java class SecureValueRecovery2Controller (line 49) | @Path("/v2/{name: backup|svr}") method credentialsGenerator (line 59) | public static ExternalServiceCredentialsGenerator credentialsGenerator... method credentialsGenerator (line 63) | @VisibleForTesting method SecureValueRecovery2Controller (line 77) | public SecureValueRecovery2Controller(final ExternalServiceCredentials... method getAuth (line 83) | @GET method authCheck (line 100) | @POST FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/ServerRejectedException.java class ServerRejectedException (line 8) | public class ServerRejectedException extends Exception { FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/StickerController.java class StickerController (line 32) | @Path("/v1/sticker") method StickerController (line 40) | public StickerController(RateLimiters rateLimiters, String accessKey, ... method getStickersForm (line 46) | @GET method generatePackId (line 79) | private String generatePackId() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/SubscriptionController.java class SubscriptionController (line 99) | @Path("/v1/subscription") method SubscriptionController (line 119) | public SubscriptionController( method buildCurrencyConfiguration (line 144) | private Map buildCurrencyConfiguration() { method buildGetSubscriptionConfigurationResponse (line 184) | @VisibleForTesting method deleteSubscriber (line 230) | @DELETE method updateSubscriber (line 256) | @PUT method createPaymentMethod (line 284) | @POST method createPayPalPaymentMethod (line 321) | @POST method getCustomerAwareProcessor (line 352) | private CustomerAwareSubscriptionPaymentProcessor getCustomerAwareProc... method setDefaultPaymentMethodWithProcessor (line 360) | @POST type Type (line 386) | public enum Type { method setSubscriptionLevel (line 399) | @PUT method subscriptionsAreSameType (line 448) | public boolean subscriptionsAreSameType(long level1, long level2) { method setAppStoreSubscription (line 453) | @POST method setPlayStoreSubscription (line 489) | @POST method getConfiguration (line 583) | @GET method getBankMandate (line 598) | @GET method getSubscriptionInformation (line 657) | @GET method createSubscriptionReceiptCredentials (line 710) | @POST method setDefaultPaymentMethodForIdeal (line 786) | @POST method setDefaultPaymentMethod (line 802) | private void setDefaultPaymentMethod(final CustomerAwareSubscriptionPa... method receiptExpirationWithGracePeriod (line 822) | private Instant receiptExpirationWithGracePeriod(CustomerAwareSubscrip... method getSubscriptionTemplateId (line 835) | private String getSubscriptionTemplateId(long level, String currency, ... method getClientPlatform (line 854) | @Nullable FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/VerificationController.java class VerificationController (line 109) | @Path("/v1/verification") method VerificationController (line 148) | public VerificationController(final RegistrationServiceClient registra... method createSession (line 174) | @POST method updateSession (line 262) | @PATCH method storeVerificationSession (line 336) | private void storeVerificationSession(final VerificationSession verifi... method updateStoredVerificationSession (line 342) | private void updateStoredVerificationSession(final VerificationSession... method handlePushToken (line 353) | private VerificationSession handlePushToken( method handlePushChallenge (line 393) | private VerificationSession handlePushChallenge( method handleCaptcha (line 465) | private VerificationSession handleCaptcha( method getSession (line 531) | @GET method requestVerificationCode (line 551) | @POST method verifyCode (line 705) | @PUT method buildResponseForRateLimitExceeded (line 824) | private Response buildResponseForRateLimitExceeded(final VerificationS... method retrieveRegistrationServiceSession (line 842) | private RegistrationServiceSession retrieveRegistrationServiceSession(... method retrieveVerificationSession (line 878) | private VerificationSession retrieveVerificationSession(final Registra... method validateAndExtractPushToken (line 888) | private Pair validateAndExtractPus... method buildResponse (line 907) | private VerificationSessionResponse buildResponse(final RegistrationSe... method decodeSessionId (line 916) | public static byte[] decodeSessionId(final String sessionId) { method generatePushChallenge (line 920) | private static String generatePushChallenge() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/controllers/VerificationSessionRateLimitExceededException.java class VerificationSessionRateLimitExceededException (line 12) | public class VerificationSessionRateLimitExceededException extends RateL... method VerificationSessionRateLimitExceededException (line 24) | public VerificationSessionRateLimitExceededException( method getRegistrationSession (line 31) | public RegistrationServiceSession getRegistrationSession() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/currency/CoinGeckoClient.java class CoinGeckoClient (line 24) | public class CoinGeckoClient { method CoinGeckoClient (line 34) | public CoinGeckoClient(final HttpClient httpClient, final String apiKe... method getSpotPrice (line 40) | public BigDecimal getSpotPrice(final String currency, final String bas... method parseResponse (line 70) | @VisibleForTesting method extractConversionRate (line 75) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/currency/CurrencyConversionManager.java class CurrencyConversionManager (line 35) | public class CurrencyConversionManager implements Managed { method CurrencyConversionManager (line 75) | public CurrencyConversionManager( method getCurrencyConversions (line 90) | public Optional getCurrencyConversions() { method start (line 94) | @Override method stop (line 106) | @Override method update (line 113) | @VisibleForTesting method updateEntity (line 120) | private void updateEntity() { method updateFixerCacheIfNecessary (line 139) | private void updateFixerCacheIfNecessary() throws IOException { method updateCoinGeckoCacheIfNecessary (line 162) | private void updateCoinGeckoCacheIfNecessary() throws IOException { method getCachedData (line 190) | private Map getCachedData(final String cacheKey) { method shouldUpdateSharedCache (line 201) | private boolean shouldUpdateSharedCache(final String cacheKey, final D... method updateCachedData (line 206) | private void updateCachedData(final String cacheKey, final Map convertToUsd(final BigDecimal amount, fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/currency/FixerClient.java class FixerClient (line 19) | public class FixerClient { method FixerClient (line 24) | public FixerClient(HttpClient client, String apiKey) { method getConversionsForBase (line 29) | public Map getConversionsForBase(String base) thro... class FixerResponse (line 56) | private static class FixerResponse { class FixerException (line 75) | public static class FixerException extends IOException { method FixerException (line 76) | public FixerException(String message) { method FixerException (line 80) | public FixerException(Exception exception) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountAttributes.java class AccountAttributes (line 25) | public class AccountAttributes { method AccountAttributes (line 68) | public AccountAttributes() { method AccountAttributes (line 71) | @VisibleForTesting method getFetchesMessages (line 89) | public boolean getFetchesMessages() { method getRegistrationId (line 93) | public int getRegistrationId() { method getPhoneNumberIdentityRegistrationId (line 97) | public int getPhoneNumberIdentityRegistrationId() { method getName (line 101) | public byte[] getName() { method getRegistrationLock (line 105) | public String getRegistrationLock() { method getUnidentifiedAccessKey (line 109) | public byte[] getUnidentifiedAccessKey() { method isUnrestrictedUnidentifiedAccess (line 113) | public boolean isUnrestrictedUnidentifiedAccess() { method getCapabilities (line 117) | @Nullable method isDiscoverableByPhoneNumber (line 122) | public boolean isDiscoverableByPhoneNumber() { method recoveryPassword (line 126) | public Optional recoveryPassword() { method withUnidentifiedAccessKey (line 130) | @VisibleForTesting method withRecoveryPassword (line 136) | @VisibleForTesting method isEachRegistrationIdValid (line 142) | @AssertTrue FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountDataReportResponse.java method text (line 29) | @JsonProperty method BadgeDataReport (line 116) | public BadgeDataReport(AccountBadge badge) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AnswerCaptchaChallengeRequest.java class AnswerCaptchaChallengeRequest (line 11) | public class AnswerCaptchaChallengeRequest extends AnswerChallengeRequest { method getToken (line 23) | public String getToken() { method getCaptcha (line 27) | public String getCaptcha() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AnswerChallengeRequest.java class AnswerChallengeRequest (line 11) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type") FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AnswerPushChallengeRequest.java class AnswerPushChallengeRequest (line 11) | public class AnswerPushChallengeRequest extends AnswerChallengeRequest { method getChallenge (line 17) | public String getChallenge() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AuthCheckResponseV2.java type Result (line 16) | public enum Result { method Result (line 23) | Result(final String clientCode) { method clientCode (line 27) | @JsonValue FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/AvatarChange.java type AvatarChange (line 3) | public enum AvatarChange { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/Badge.java class Badge (line 14) | public class Badge { method Badge (line 23) | @JsonCreator method getId (line 47) | public String getId() { method getCategory (line 51) | public String getCategory() { method getName (line 55) | public String getName() { method getDescription (line 59) | public String getDescription() { method getSprites6 (line 63) | public List getSprites6() { method getSvg (line 67) | public String getSvg() { method getSvgs (line 71) | public List getSvgs() { method getImageUrl (line 78) | @Deprecated method equals (line 84) | @Override method hashCode (line 102) | @Override method toString (line 107) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/BadgeSvg.java class BadgeSvg (line 14) | public class BadgeSvg { method BadgeSvg (line 18) | @JsonCreator method getLight (line 32) | @NotEmpty method getDark (line 37) | @NotEmpty method equals (line 42) | @Override method hashCode (line 55) | @Override method toString (line 60) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/BaseProfileResponse.java class BaseProfileResponse (line 21) | @Schema(description = "Unversioned profile containing basic information") method BaseProfileResponse (line 54) | public BaseProfileResponse() { method BaseProfileResponse (line 57) | public BaseProfileResponse(final IdentityKey identityKey, method getIdentityKey (line 72) | public IdentityKey getIdentityKey() { method getUnidentifiedAccess (line 76) | public byte[] getUnidentifiedAccess() { method isUnrestrictedUnidentifiedAccess (line 80) | public boolean isUnrestrictedUnidentifiedAccess() { method getCapabilities (line 84) | public Map getCapabilities() { method getBadges (line 88) | public List getBadges() { method getUuid (line 92) | public ServiceIdentifier getUuid() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/ChangeNumberRequest.java method isSignatureValidOnEachSignedPreKey (line 71) | public boolean isSignatureValidOnEachSignedPreKey(@Nullable final String... method isEachPniRegistrationIdValid (line 78) | @AssertTrue FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/CreateProfileRequest.java type AvatarChange (line 85) | public enum AvatarChange { method getAvatarChange (line 91) | public AvatarChange getAvatarChange() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/CurrencyConversionEntity.java class CurrencyConversionEntity (line 8) | public class CurrencyConversionEntity { method CurrencyConversionEntity (line 16) | public CurrencyConversionEntity(String base, Map c... method CurrencyConversionEntity (line 21) | public CurrencyConversionEntity() {} method getBase (line 23) | public String getBase() { method getConversions (line 27) | public Map getConversions() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/CurrencyConversionEntityList.java class CurrencyConversionEntityList (line 7) | public class CurrencyConversionEntityList { method CurrencyConversionEntityList (line 15) | public CurrencyConversionEntityList(List cur... method CurrencyConversionEntityList (line 20) | public CurrencyConversionEntityList() {} method getCurrencies (line 22) | public List getCurrencies() { method getTimestamp (line 26) | public long getTimestamp() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/DeliveryCertificate.java class DeliveryCertificate (line 11) | public class DeliveryCertificate { method DeliveryCertificate (line 15) | @JsonCreator method getCertificate (line 21) | public byte[] getCertificate() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfo.java method forDevice (line 35) | public static DeviceInfo forDevice(final Device device) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/ECPreKey.java method serializedPublicKey (line 33) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/ECSignedPreKey.java method serializedPublicKey (line 43) | @Override method equals (line 48) | @Override method hashCode (line 58) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/EncryptedUsername.java method EncryptedUsername (line 31) | public EncryptedUsername(final byte[] usernameLinkEncryptedValue) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/ExpiringProfileKeyCredentialProfileResponse.java class ExpiringProfileKeyCredentialProfileResponse (line 16) | @Schema(description = "Profile response with an expiring profile key cre... method ExpiringProfileKeyCredentialProfileResponse (line 29) | public ExpiringProfileKeyCredentialProfileResponse() { method ExpiringProfileKeyCredentialProfileResponse (line 32) | public ExpiringProfileKeyCredentialProfileResponse(final VersionedProf... method getCredential (line 39) | @Nullable method getVersionedProfileResponse (line 44) | public VersionedProfileResponse getVersionedProfileResponse() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/ExpiringProfileKeyCredentialResponseAdapter.java class ExpiringProfileKeyCredentialResponseAdapter (line 19) | public class ExpiringProfileKeyCredentialResponseAdapter { class Serializing (line 21) | public static class Serializing extends JsonSerializer { method keyId (line 10) | long keyId(); method publicKey (line 12) | K publicKey(); method serializedPublicKey (line 14) | byte[] serializedPublicKey(); FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyCount.java class PreKeyCount (line 11) | public class PreKeyCount { method PreKeyCount (line 21) | public PreKeyCount(int ecCount, int pqCount) { method PreKeyCount (line 26) | public PreKeyCount() {} method getCount (line 28) | public int getCount() { method getPqCount (line 32) | public int getPqCount() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponse.java class PreKeyResponse (line 17) | public class PreKeyResponse { method PreKeyResponse (line 29) | public PreKeyResponse() {} method PreKeyResponse (line 31) | public PreKeyResponse(IdentityKey identityKey, List { method BaseRateLimiters (line 29) | protected BaseRateLimiters( method forDescriptor (line 43) | public RateLimiter forDescriptor(final T handle) { method defaultScript (line 47) | public static ClusterLuaScript defaultScript(final FaultTolerantRedisC... method createForDescriptor (line 56) | private static RateLimiter createForDescriptor( FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/CardinalityEstimator.java class CardinalityEstimator (line 23) | public class CardinalityEstimator { method CardinalityEstimator (line 30) | public CardinalityEstimator(final FaultTolerantRedisClusterClient redi... method add (line 41) | public void add(final String element) { method addAsync (line 45) | public CompletionStage addAsync(final String element) { method estimate (line 62) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/LeakyBucketRateLimiter.java class LeakyBucketRateLimiter (line 27) | public class LeakyBucketRateLimiter implements RateLimiter { method LeakyBucketRateLimiter (line 43) | public LeakyBucketRateLimiter( method LeakyBucketRateLimiter (line 54) | public LeakyBucketRateLimiter( method validate (line 70) | @Override method validateAsync (line 92) | @Override method hasAvailablePermits (line 119) | @Override method hasAvailablePermitsAsync (line 134) | @Override method clear (line 147) | @Override method clearAsync (line 153) | @Override method config (line 160) | @Override method executeValidateScript (line 165) | private long executeValidateScript(final RateLimiterConfig config, fin... method executeValidateScriptAsync (line 177) | private CompletionStage executeValidateScriptAsync(final RateLim... method bucketName (line 189) | private static String bucketName(final String name, final String key) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/MessageDeliveryLoopMonitor.java type MessageDeliveryLoopMonitor (line 5) | public interface MessageDeliveryLoopMonitor { method recordDeliveryAttempt (line 19) | void recordDeliveryAttempt(UUID accountIdentifier, byte deviceId, UUID... FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/NoopMessageDeliveryLoopMonitor.java class NoopMessageDeliveryLoopMonitor (line 5) | public class NoopMessageDeliveryLoopMonitor implements MessageDeliveryLo... method NoopMessageDeliveryLoopMonitor (line 7) | public NoopMessageDeliveryLoopMonitor() { method recordDeliveryAttempt (line 10) | public void recordDeliveryAttempt(final UUID accountIdentifier, final ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/PushChallengeManager.java class PushChallengeManager (line 23) | public class PushChallengeManager { method PushChallengeManager (line 40) | public PushChallengeManager(final PushNotificationManager pushNotifica... method sendChallenge (line 47) | public void sendChallenge(final Account account) throws NotPushRegiste... method answerChallenge (line 81) | public boolean answerChallenge(final Account account, final String cha... FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimitByIpFilter.java class RateLimitByIpFilter (line 30) | public class RateLimitByIpFilter implements ContainerRequestFilter { method RateLimitByIpFilter (line 44) | public RateLimitByIpFilter(final RateLimiters rateLimiters) { method filter (line 48) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimitChallengeManager.java class RateLimitChallengeManager (line 26) | public class RateLimitChallengeManager { method RateLimitChallengeManager (line 41) | public RateLimitChallengeManager( method answerPushChallenge (line 53) | public void answerPushChallenge(final Account account, final String ch... method answerCaptchaChallenge (line 64) | public boolean answerCaptchaChallenge(final Account account, final Str... method resetRateLimits (line 87) | private void resetRateLimits(final Account account, final ChallengeTyp... method sendPushChallenge (line 100) | public void sendPushChallenge(final Account account) throws NotPushReg... FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimitChallengeOption.java type RateLimitChallengeOption (line 8) | public enum RateLimitChallengeOption { method RateLimitChallengeOption (line 14) | RateLimitChallengeOption(final String apiName) { method getApiName (line 18) | public String getApiName() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimitChallengeOptionManager.java class RateLimitChallengeOptionManager (line 12) | public class RateLimitChallengeOptionManager { method RateLimitChallengeOptionManager (line 16) | public RateLimitChallengeOptionManager(final RateLimiters rateLimiters) { method getChallengeOptions (line 20) | public List getChallengeOptions(final Accoun... FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiter.java type RateLimiter (line 14) | public interface RateLimiter { method validate (line 16) | void validate(String key, long amount) throws RateLimitExceededException; method validateAsync (line 18) | CompletionStage validateAsync(String key, long amount); method hasAvailablePermits (line 20) | boolean hasAvailablePermits(String key, long permits); method hasAvailablePermitsAsync (line 22) | CompletionStage hasAvailablePermitsAsync(String key, long amo... method clear (line 24) | void clear(String key); method clearAsync (line 26) | CompletionStage clearAsync(String key); method config (line 28) | RateLimiterConfig config(); method validate (line 30) | default void validate(final String key) throws RateLimitExceededExcept... method validate (line 34) | default void validate(final UUID accountUuid) throws RateLimitExceeded... method validate (line 38) | default void validate(final UUID accountUuid, final long permits) thro... method validate (line 42) | default void validate(final UUID srcAccountUuid, final UUID dstAccount... method validateAsync (line 46) | default CompletionStage validateAsync(final String key) { method validateAsync (line 50) | default CompletionStage validateAsync(final UUID accountUuid) { method validateAsync (line 54) | default CompletionStage validateAsync(final UUID srcAccountUuid,... method validateReactive (line 58) | default Mono validateReactive(final String key) { method validateReactive (line 62) | default Mono validateReactive(final UUID accountUuid) { method hasAvailablePermits (line 66) | default boolean hasAvailablePermits(final UUID accountUuid, final long... method hasAvailablePermitsAsync (line 70) | default CompletionStage hasAvailablePermitsAsync(final UUID a... method clear (line 74) | default void clear(final UUID accountUuid) { method clearAsync (line 78) | default CompletionStage clearAsync(final UUID accountUuid) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiterConfig.java method leakRatePerMillis (line 14) | public double leakRatePerMillis() { method isPositiveRegenerationRate (line 18) | @AssertTrue FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiterDescriptor.java type RateLimiterDescriptor (line 11) | public interface RateLimiterDescriptor { method id (line 16) | String id(); method defaultConfig (line 22) | RateLimiterConfig defaultConfig(); FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiters.java class RateLimiters (line 16) | public class RateLimiters extends BaseRateLimiters { type For (line 18) | public enum For implements RateLimiterDescriptor { method For (line 66) | For(final String id, final RateLimiterConfig defaultConfig) { method id (line 71) | public String id() { method defaultConfig (line 75) | public RateLimiterConfig defaultConfig() { method create (line 80) | public static RateLimiters create( method RateLimiters (line 88) | @VisibleForTesting method getAllocateDeviceLimiter (line 98) | public RateLimiter getAllocateDeviceLimiter() { method getVerifyDeviceLimiter (line 102) | public RateLimiter getVerifyDeviceLimiter() { method getMessagesLimiter (line 106) | public RateLimiter getMessagesLimiter() { method getPreKeysLimiter (line 110) | public RateLimiter getPreKeysLimiter() { method getAttachmentLimiter (line 114) | public RateLimiter getAttachmentLimiter() { method getPinLimiter (line 118) | public RateLimiter getPinLimiter() { method getProfileLimiter (line 122) | public RateLimiter getProfileLimiter() { method getStickerPackLimiter (line 126) | public RateLimiter getStickerPackLimiter() { method getUsernameLookupLimiter (line 130) | public RateLimiter getUsernameLookupLimiter() { method getUsernameLinkLookupLimiter (line 134) | public RateLimiter getUsernameLinkLookupLimiter() { method getUsernameLinkOperationLimiter (line 138) | public RateLimiter getUsernameLinkOperationLimiter() { method getUsernameSetLimiter (line 142) | public RateLimiter getUsernameSetLimiter() { method getUsernameReserveLimiter (line 146) | public RateLimiter getUsernameReserveLimiter() { method getCheckAccountExistenceLimiter (line 150) | public RateLimiter getCheckAccountExistenceLimiter() { method getRegistrationLimiter (line 154) | public RateLimiter getRegistrationLimiter() { method getRateLimitResetLimiter (line 158) | public RateLimiter getRateLimitResetLimiter() { method getCaptchaChallengeAttemptLimiter (line 162) | public RateLimiter getCaptchaChallengeAttemptLimiter() { method getCaptchaChallengeSuccessLimiter (line 166) | public RateLimiter getCaptchaChallengeSuccessLimiter() { method getPushChallengeAttemptLimiter (line 170) | public RateLimiter getPushChallengeAttemptLimiter() { method getPushChallengeSuccessLimiter (line 174) | public RateLimiter getPushChallengeSuccessLimiter() { method getVerificationPushChallengeLimiter (line 178) | public RateLimiter getVerificationPushChallengeLimiter() { method getVerificationCaptchaLimiter (line 182) | public RateLimiter getVerificationCaptchaLimiter() { method getCreateCallLinkLimiter (line 186) | public RateLimiter getCreateCallLinkLimiter() { method getCallEndpointLimiter (line 190) | public RateLimiter getCallEndpointLimiter() { method getInboundMessageBytes (line 194) | public RateLimiter getInboundMessageBytes() { method getStoriesLimiter (line 198) | public RateLimiter getStoriesLimiter() { method getWaitForLinkedDeviceLimiter (line 202) | public RateLimiter getWaitForLinkedDeviceLimiter() { method getUploadTransferArchiveLimiter (line 206) | public RateLimiter getUploadTransferArchiveLimiter() { method getWaitForTransferArchiveLimiter (line 210) | public RateLimiter getWaitForTransferArchiveLimiter() { method getKeyTransparencySearchLimiter (line 214) | public RateLimiter getKeyTransparencySearchLimiter() { method getKeyTransparencyDistinguishedLimiter (line 218) | public RateLimiter getKeyTransparencyDistinguishedLimiter() { method getKeyTransparencyMonitorLimiter (line 222) | public RateLimiter getKeyTransparencyMonitorLimiter() { method getSubmitCallQualitySurveyLimiter (line 226) | public RateLimiter getSubmitCallQualitySurveyLimiter() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/limits/RedisMessageDeliveryLoopMonitor.java class RedisMessageDeliveryLoopMonitor (line 16) | public class RedisMessageDeliveryLoopMonitor implements MessageDeliveryL... method RedisMessageDeliveryLoopMonitor (line 25) | public RedisMessageDeliveryLoopMonitor(final FaultTolerantRedisCluster... method recordDeliveryAttempt (line 47) | public void recordDeliveryAttempt(final UUID accountIdentifier, method incrementDeliveryAttemptCount (line 62) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/mappers/BackupExceptionMapper.java class BackupExceptionMapper (line 22) | public class BackupExceptionMapper implements ExceptionMapper getField() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/CallQualitySurveyManager.java class CallQualitySurveyManager (line 28) | public class CallQualitySurveyManager { method CallQualitySurveyManager (line 39) | public CallQualitySurveyManager(final Supplier asnInf... method submitCallQualitySurvey (line 50) | public void submitCallQualitySurvey(final SubmitCallQualitySurveyReque... method validateRequest (line 154) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/DevicePlatformUtil.java class DevicePlatformUtil (line 13) | public class DevicePlatformUtil { method DevicePlatformUtil (line 15) | private DevicePlatformUtil() { method getDevicePlatform (line 25) | public static Optional getDevicePlatform(final Device ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/GarbageCollectionGauges.java class GarbageCollectionGauges (line 16) | public class GarbageCollectionGauges { method GarbageCollectionGauges (line 18) | private GarbageCollectionGauges() { method registerMetrics (line 21) | public static void registerMetrics() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/LogstashTcpSocketAppenderFactory.java class LogstashTcpSocketAppenderFactory (line 33) | @JsonTypeName("logstashtcpsocket") method getDestination (line 49) | @JsonProperty method getKeepAlive (line 55) | @JsonProperty method getApiKey (line 60) | @JsonProperty method getEnvironment (line 65) | @JsonProperty method build (line 71) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MessageMetrics.java class MessageMetrics (line 27) | public final class MessageMetrics { method MessageMetrics (line 37) | @VisibleForTesting method MessageMetrics (line 42) | public MessageMetrics() { method measureAccountOutgoingMessageUuidMismatches (line 46) | public void measureAccountOutgoingMessageUuidMismatches(final Account ... method measureAccountEnvelopeUuidMismatches (line 51) | public void measureAccountEnvelopeUuidMismatches(final Account account, method measureAccountDestinationUuidMismatches (line 62) | private void measureAccountDestinationUuidMismatches(final Account acc... method measureOutgoingMessageLatency (line 71) | public void measureOutgoingMessageLatency(final long serverTimestamp, FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsApplicationEventListener.java class MetricsApplicationEventListener (line 20) | public class MetricsApplicationEventListener implements ApplicationEvent... method MetricsApplicationEventListener (line 24) | public MetricsApplicationEventListener(final TrafficSource trafficSour... method onEvent (line 31) | @Override method onRequest (line 35) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListener.java class MetricsHttpChannelListener (line 49) | public class MetricsHttpChannelListener implements HttpChannel.Listener,... method MetricsHttpChannelListener (line 85) | public MetricsHttpChannelListener(final ClientReleaseManager clientRel... method MetricsHttpChannelListener (line 89) | @VisibleForTesting method configure (line 97) | public void configure(final Environment environment) { method onRequestFailure (line 105) | @Override method onResponseFailure (line 119) | @Override method onComplete (line 136) | @Override method beanAdded (line 178) | @Override method beanRemoved (line 185) | @Override method filter (line 190) | @Override method getRequestInfo (line 196) | private RequestInfo getRequestInfo(Request request) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsRequestEventListener.java class MetricsRequestEventListener (line 36) | public class MetricsRequestEventListener implements RequestEventListener { method MetricsRequestEventListener (line 68) | public MetricsRequestEventListener(final TrafficSource trafficSource, ... method MetricsRequestEventListener (line 76) | @VisibleForTesting method onEvent (line 86) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MetricsUtil.java class MetricsUtil (line 38) | public class MetricsUtil { method name (line 47) | public static String name(Class clazz, String... parts) { method name (line 51) | private static String name(String name, String... parts) { method configureRegistries (line 60) | public static void configureRegistries(final WhisperServerConfiguratio... method configureLogging (line 93) | public static void configureLogging(final WhisperServerConfiguration c... method configureMeterFilters (line 131) | @VisibleForTesting method registerSystemResourceMetrics (line 167) | static void registerSystemResourceMetrics() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MicrometerAwsSdkMetricPublisher.java class MicrometerAwsSdkMetricPublisher (line 26) | public class MicrometerAwsSdkMetricPublisher implements MetricPublisher { method MicrometerAwsSdkMetricPublisher (line 95) | public MicrometerAwsSdkMetricPublisher(final ExecutorService recordMet... method publish (line 104) | @Override method recordApiCallMetrics (line 115) | private void recordApiCallMetrics(final MetricCollection apiCallMetric... method recordAttemptMetrics (line 160) | private void recordAttemptMetrics(final MetricCollection apiCallAttemp... method toMetricMap (line 198) | private static Map> toMetricMap(final MetricCo... method close (line 203) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/MicrometerRegistryManager.java class MicrometerRegistryManager (line 14) | public class MicrometerRegistryManager implements LifeCycle.Listener { method MicrometerRegistryManager (line 21) | public MicrometerRegistryManager(final MeterRegistry meterRegistry, fi... method lifeCycleStopped (line 26) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/NoopAwsSdkMetricPublisher.java class NoopAwsSdkMetricPublisher (line 6) | public class NoopAwsSdkMetricPublisher implements MetricPublisher { method publish (line 8) | @Override method close (line 12) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/OpenTelemetryAppenderFactory.java class OpenTelemetryAppenderFactory (line 19) | @JsonTypeName("otlp") method build (line 25) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/OpenWebSocketCounter.java class OpenWebSocketCounter (line 24) | public class OpenWebSocketCounter { method OpenWebSocketCounter (line 45) | public OpenWebSocketCounter(final String webSocketType, method countOpenWebSocket (line 58) | public void countOpenWebSocket(final WebSocketSessionContext context) { method getCounter (line 121) | private Optional getCounter(final Tags tags) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/ReportedMessageMetricsListener.java class ReportedMessageMetricsListener (line 21) | public class ReportedMessageMetricsListener implements ReportedMessageLi... method ReportedMessageMetricsListener (line 33) | public ReportedMessageMetricsListener(final AccountsManager accountsMa... method handleMessageReported (line 37) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/TlsCertificateExpirationUtil.java class TlsCertificateExpirationUtil (line 29) | public class TlsCertificateExpirationUtil { method configureMetrics (line 36) | public static void configureMetrics(final String keyStorePath, final S... method getIdentifiersAndExpirations (line 57) | @VisibleForTesting method getName (line 90) | private static String getName(X509Certificate x509Certificate) throws ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/TrafficSource.java type TrafficSource (line 8) | public enum TrafficSource { FILE: service/src/main/java/org/whispersystems/textsecuregcm/metrics/UserAgentTagUtil.java class UserAgentTagUtil (line 27) | public class UserAgentTagUtil { method UserAgentTagUtil (line 41) | private UserAgentTagUtil() { method getPlatformTag (line 44) | public static Tag getPlatformTag(final ContainerRequestContext contain... method getPlatformTag (line 48) | public static Tag getPlatformTag(@Nullable final String userAgentStrin... method getPlatformTag (line 64) | public static Tag getPlatformTag(@Nullable final UserAgent userAgent) { method getClientVersionTag (line 68) | public static Optional getClientVersionTag(@Nullable final String... method getClientVersionTag (line 78) | public static Optional getClientVersionTag(@Nullable final UserAg... method getAdditionalSpecifierTags (line 90) | public static Tags getAdditionalSpecifierTags(@Nullable final String u... method getAdditionalSpecifierTags (line 101) | public static Tags getAdditionalSpecifierTags(@Nullable final UserAgen... FILE: service/src/main/java/org/whispersystems/textsecuregcm/providers/MultiRecipientMessageProvider.java class MultiRecipientMessageProvider (line 29) | @Provider method isReadable (line 41) | @Override method readFrom (line 46) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/APNSender.java class APNSender (line 31) | public class APNSender implements Managed, PushNotificationSender { method APNSender (line 55) | public APNSender(ExecutorService executor, ApnConfiguration configurat... method APNSender (line 68) | @VisibleForTesting method sendNotification (line 75) | @Override method start (line 150) | @Override method stop (line 154) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/FcmSender.java class FcmSender (line 35) | public class FcmSender implements PushNotificationSender { method FcmSender (line 44) | public FcmSender(ExecutorService executor, String credentials) throws ... method FcmSender (line 73) | @VisibleForTesting method sendNotification (line 79) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/IdleDeviceNotificationScheduler.java class IdleDeviceNotificationScheduler (line 22) | public class IdleDeviceNotificationScheduler extends JobScheduler { method IdleDeviceNotificationScheduler (line 31) | public IdleDeviceNotificationScheduler(final AccountsManager accountsM... method getSchedulerName (line 45) | @Override method processJob (line 50) | @Override method scheduleNotification (line 79) | public CompletableFuture scheduleNotification(final Account acco... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/MessageAvailabilityListener.java type MessageAvailabilityListener (line 16) | public interface MessageAvailabilityListener { method handleNewMessageAvailable (line 21) | void handleNewMessageAvailable(); method handleMessagesPersisted (line 26) | void handleMessagesPersisted(); method handleConflictingMessageConsumer (line 32) | void handleConflictingMessageConsumer(); FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/MessageSender.java class MessageSender (line 53) | public class MessageSender { method MessageSender (line 83) | public MessageSender(final MessagesManager messagesManager, final Push... method addMessageDeliveryListener (line 88) | public void addMessageDeliveryListener(final MessageDeliveryListener m... method sendMessages (line 110) | public void sendMessages(final Account destination, method sendMultiRecipientMessage (line 186) | public CompletableFuture sendMultiRecipientMessage(final SealedS... method validateIndividualMessageBundle (line 280) | public static void validateIndividualMessageBundle(final Account desti... method validateIndividualMessageBundle (line 295) | private static void validateIndividualMessageBundle(final Account dest... method validateContentLength (line 340) | @VisibleForTesting method getMismatchedDevices (line 377) | @VisibleForTesting method validateIndividualMessageContentLength (line 416) | private static void validateIndividualMessageContentLength(final Itera... method validateMultiRecipientMessageContentLength (line 429) | private static void validateMultiRecipientMessageContentLength(final S... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/MessageTooLargeException.java class MessageTooLargeException (line 10) | public class MessageTooLargeException extends NoStackTraceException { FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/MessageUtil.java class MessageUtil (line 22) | public class MessageUtil { method MessageUtil (line 26) | private MessageUtil() { method resolveRecipients (line 41) | public static Map getUnresolvedRecipients( method hasDuplicateDevices (line 106) | public static boolean hasDuplicateDevices(final SealedSenderMultiRecip... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/NotPushRegisteredException.java class NotPushRegisteredException (line 8) | public class NotPushRegisteredException extends Exception { method NotPushRegisteredException (line 9) | public NotPushRegisteredException() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/ProvisioningManager.java class ProvisioningManager (line 28) | public class ProvisioningManager extends RedisPubSubAdapter> sendNew... method sendRegistrationChallengeNotification (line 57) | public CompletableFuture sendRegistrationC... method sendRateLimitChallengeNotification (line 62) | public CompletableFuture sendRateLimitChal... method sendAttemptLoginNotification (line 73) | public CompletableFuture sendAttemptLoginN... method handleMessagesRetrieved (line 83) | public void handleMessagesRetrieved(final Account account, final Devic... method getToken (line 87) | @VisibleForTesting method sendNotification (line 102) | @VisibleForTesting method logErrors (line 153) | private static BiConsumer logErrors() { method handleDeviceUnregistered (line 161) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method clearPushToken (line 186) | private void clearPushToken(final Account account, final Device device... method getPushToken (line 209) | private static String getPushToken(final Device device, final PushNoti... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/PushNotificationScheduler.java class PushNotificationScheduler (line 44) | public class PushNotificationScheduler implements Managed { class NotificationWorker (line 84) | class NotificationWorker implements Runnable { method NotificationWorker (line 88) | NotificationWorker(final int maxConcurrency) { method run (line 92) | @Override method processNextSlot (line 112) | private long processNextSlot() { method processScheduledBackgroundNotifications (line 121) | @VisibleForTesting method processScheduledDelayedNotifications (line 128) | @VisibleForTesting method processScheduledNotifications (line 134) | private long processScheduledNotifications(final String queueKey, method PushNotificationScheduler (line 157) | public PushNotificationScheduler(final FaultTolerantRedisClusterClient... method PushNotificationScheduler (line 175) | @VisibleForTesting method scheduleBackgroundNotification (line 209) | public CompletionStage scheduleBackgroundNotification(final Push... method scheduleDelayedNotification (line 236) | public CompletableFuture scheduleDelayedNotification(final Accou... method cancelScheduledNotifications (line 255) | public CompletionStage cancelScheduledNotifications(Account acco... method cancelBackgroundNotifications (line 262) | @VisibleForTesting method cancelDelayedNotifications (line 270) | @VisibleForTesting method start (line 279) | @Override method stop (line 288) | @Override method sendBackgroundNotification (line 297) | @VisibleForTesting method sendDelayedNotification (line 321) | @VisibleForTesting method encodeAciAndDeviceId (line 347) | @VisibleForTesting method decodeAciAndDeviceId (line 356) | static Pair decodeAciAndDeviceId(final String encoded) { method getAccountAndDeviceFromPairString (line 373) | @VisibleForTesting method getPendingBackgroundNotificationQueueKey (line 382) | @VisibleForTesting method getPendingBackgroundNotificationQueueKey (line 387) | private static String getPendingBackgroundNotificationQueueKey(final P... method getLastBackgroundNotificationTimestampKey (line 395) | private static String getLastBackgroundNotificationTimestampKey(final ... method getDelayedNotificationQueueKey (line 399) | @VisibleForTesting method getDelayedNotificationQueueKey (line 404) | private static String getDelayedNotificationQueueKey(final int slot) { method getLastBackgroundApnsNotificationTimestamp (line 408) | @VisibleForTesting method getNextScheduledBackgroundNotificationTimestamp (line 416) | @VisibleForTesting method getNextScheduledDelayedNotificationTimestamp (line 425) | @VisibleForTesting method getTokenType (line 434) | private static String getTokenType(final Device device) { method getPushToken (line 444) | private static String getPushToken(final PushNotification.TokenType to... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/PushNotificationSender.java type PushNotificationSender (line 10) | public interface PushNotificationSender { method sendNotification (line 12) | CompletableFuture sendNotification(PushNot... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/ReceiptSender.java class ReceiptSender (line 21) | public class ReceiptSender { method ReceiptSender (line 29) | public ReceiptSender(final AccountsManager accountManager, final Messa... method sendReceipt (line 36) | public void sendReceipt(ServiceIdentifier sourceIdentifier, byte sourc... FILE: service/src/main/java/org/whispersystems/textsecuregcm/push/RedisMessageAvailabilityManager.java class RedisMessageAvailabilityManager (line 56) | public class RedisMessageAvailabilityManager extends RedisClusterPubSubA... method RedisMessageAvailabilityManager (line 100) | public RedisMessageAvailabilityManager(final FaultTolerantRedisCluster... method start (line 112) | @Override method stop (line 120) | @Override method handleClientConnected (line 146) | public CompletionStage handleClientConnected(final UUID accountI... method handleClientDisconnected (line 203) | public CompletionStage handleClientDisconnected(final UUID accou... method isLocallyPresent (line 246) | public boolean isLocallyPresent(final UUID accountUuid, final byte dev... method resubscribe (line 250) | @VisibleForTesting method unsubscribeIfMissingListener (line 283) | void unsubscribeIfMissingListener(final AccountAndDeviceIdentifier acc... method smessage (line 297) | @Override method getClientEventChannel (line 340) | public static byte[] getClientEventChannel(final UUID accountIdentifie... method parseClientEventChannel (line 344) | private static AccountAndDeviceIdentifier parseClientEventChannel(fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/AbstractFaultTolerantPubSubConnection.java class AbstractFaultTolerantPubSubConnection (line 17) | abstract class AbstractFaultTolerantPubSubConnection consumer) { method withPubSubConnection (line 47) | public T withPubSubConnection(final Function function) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/ClusterLuaScript.java class ClusterLuaScript (line 25) | public class ClusterLuaScript { method fromResource (line 37) | public static ClusterLuaScript fromResource(final FaultTolerantRedisCl... method ClusterLuaScript (line 52) | @VisibleForTesting method getSha (line 69) | @VisibleForTesting method execute (line 74) | public Object execute(final List keys, final List args) { method executeAsync (line 79) | public CompletableFuture executeAsync(final List keys,... method executeReactive (line 84) | public Flux executeReactive(final List keys, final Lis... method executeBinary (line 89) | public Object executeBinary(final List keys, final List executeBinaryAsync(final List... method executeBinaryReactive (line 99) | public Flux executeBinaryReactive(final List keys, fin... method execute (line 104) | private Object execute(final StatefulRedisClusterConnection ... method executeAsync (line 117) | private CompletableFuture executeAsync(final StatefulRedis... method executeReactive (line 131) | private Flux executeReactive(final StatefulRedisClusterCon... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/ConnectionEventLogger.java class ConnectionEventLogger (line 17) | public class ConnectionEventLogger { method logConnectionEvents (line 23) | public static void logConnectionEvents(final ClientResources clientRes... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantPubSubClusterConnection.java class FaultTolerantPubSubClusterConnection (line 16) | public class FaultTolerantPubSubClusterConnection extends Abstract... method FaultTolerantPubSubClusterConnection (line 23) | protected FaultTolerantPubSubClusterConnection(final String name, method subscribeToClusterTopologyChangedEvents (line 36) | public void subscribeToClusterTopologyChangedEvents(final Consumer extends AbstractFaultTo... method FaultTolerantPubSubConnection (line 12) | protected FaultTolerantPubSubConnection(final String name, FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClient.java class FaultTolerantRedisClient (line 22) | public class FaultTolerantRedisClient { method FaultTolerantRedisClient (line 35) | public FaultTolerantRedisClient(final String name, method getCircuitBreakerName (line 47) | private static String getCircuitBreakerName(final String name) { method FaultTolerantRedisClient (line 51) | @VisibleForTesting method shutdown (line 90) | public void shutdown() { method getName (line 100) | public String getName() { method useConnection (line 104) | public void useConnection(final Consumer T withConnection(final Function T withBinaryConnection(final Function void useConnection(final StatefulRedisConnection ... method withConnection (line 133) | private T withConnection(final StatefulRedisConnection... method createPubSubConnection (line 146) | public FaultTolerantPubSubConnection createPubSubConne... method createBinaryPubSubConnection (line 153) | public FaultTolerantPubSubConnection createBinaryPubSu... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClusterClient.java class FaultTolerantRedisClusterClient (line 38) | public class FaultTolerantRedisClusterClient { method FaultTolerantRedisClusterClient (line 52) | public FaultTolerantRedisClusterClient(final String name, method FaultTolerantRedisClusterClient (line 64) | FaultTolerantRedisClusterClient(final String name, method shutdown (line 125) | public void shutdown() { method getName (line 136) | public String getName() { method useCluster (line 140) | public void useCluster(final Consumer T withCluster(final Function T withBinaryCluster(final Function void useConnection(final StatefulRedisClusterConnection... method withConnection (line 169) | private T withConnection(final StatefulRedisClusterConnectio... method createPubSubConnection (line 182) | public FaultTolerantPubSubClusterConnection createPubS... method createBinaryPubSubConnection (line 190) | public FaultTolerantPubSubClusterConnection createBina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/LettuceShardCircuitBreaker.java class LettuceShardCircuitBreaker (line 44) | public class LettuceShardCircuitBreaker implements NettyCustomizer { method LettuceShardCircuitBreaker (line 52) | public LettuceShardCircuitBreaker(final String clusterName, @Nullable ... method afterChannelInitialized (line 57) | @Override class ChannelCircuitBreakerHandler (line 70) | static final class ChannelCircuitBreakerHandler extends ChannelOutboun... method ChannelCircuitBreakerHandler (line 85) | public ChannelCircuitBreakerHandler(final String name, @Nullable fin... method connect (line 90) | @Override method write (line 114) | @Override method instrumentCommand (line 158) | private void instrumentCommand(final CompleteableCommand command)... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/NettyUtil.java class NettyUtil (line 13) | public class NettyUtil { method setSocketTimeoutsIfApplicable (line 18) | static void setSocketTimeoutsIfApplicable(final ClientOptions.Builder ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisOperation.java class RedisOperation (line 12) | public class RedisOperation { method unchecked (line 22) | public static void unchecked(final Runnable runnable) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisUriUtil.java class RedisUriUtil (line 11) | public class RedisUriUtil { method createRedisUriWithTimeout (line 13) | public static RedisURI createRedisUriWithTimeout(final String uri, fin... FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/ClientType.java type ClientType (line 8) | public enum ClientType { FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/IdentityTokenCallCredentials.java class IdentityTokenCallCredentials (line 31) | public class IdentityTokenCallCredentials extends CallCredentials implem... method IdentityTokenCallCredentials (line 47) | IdentityTokenCallCredentials( method fromCredentialConfig (line 61) | public static IdentityTokenCallCredentials fromCredentialConfig( method refreshIdentityToken (line 86) | @VisibleForTesting method applyRequestMetadata (line 107) | @Override method stop (line 127) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/MessageTransport.java type MessageTransport (line 11) | public enum MessageTransport { FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/RegistrationFraudException.java class RegistrationFraudException (line 8) | public class RegistrationFraudException extends Exception { method RegistrationFraudException (line 9) | public RegistrationFraudException(final RegistrationServiceSenderExcep... FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/RegistrationServiceClient.java class RegistrationServiceClient (line 41) | public class RegistrationServiceClient implements Managed { method convertNumeralE164ToString (line 55) | static String convertNumeralE164ToString(long from) { method RegistrationServiceClient (line 67) | public RegistrationServiceClient(final String host, method createRegistrationSession (line 96) | public CompletableFuture createRegistratio... method sendVerificationCode (line 136) | public CompletableFuture sendVerificationC... method checkVerificationCode (line 196) | public CompletableFuture checkVerification... method getSession (line 233) | public CompletableFuture> getSess... method buildSessionResponseFromMetadata (line 252) | private static RegistrationServiceSession buildSessionResponseFromMeta... method toDeadline (line 258) | private static Deadline toDeadline(final Duration timeout) { method getRpcClientType (line 262) | private static org.signal.registration.rpc.ClientType getRpcClientType... method getRpcMessageTransport (line 271) | private static org.signal.registration.rpc.MessageTransport getRpcMess... method start (line 278) | @Override method stop (line 282) | @Override method hmac (line 289) | private String hmac(String sourceHost) { method getInitializedMac (line 296) | private Mac getInitializedMac() { method getInitializedMac (line 305) | private static Mac getInitializedMac(byte[] key) throws InvalidKeyExce... FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/RegistrationServiceException.java class RegistrationServiceException (line 15) | public class RegistrationServiceException extends Exception { method RegistrationServiceException (line 19) | public RegistrationServiceException(final RegistrationServiceSession r... method getRegistrationSession (line 27) | public Optional getRegistrationSession() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/RegistrationServiceSenderException.java class RegistrationServiceSenderException (line 14) | public class RegistrationServiceSenderException extends Exception { method illegalArgument (line 19) | public static RegistrationServiceSenderException illegalArgument(final... method rejected (line 23) | public static RegistrationServiceSenderException rejected(final boolea... method unknown (line 27) | public static RegistrationServiceSenderException unknown(final boolean... method RegistrationServiceSenderException (line 31) | private RegistrationServiceSenderException(final Reason reason, final ... method getReason (line 37) | public Reason getReason() { method isPermanent (line 41) | public boolean isPermanent() { type Reason (line 45) | public enum Reason { FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/TransportNotAllowedException.java class TransportNotAllowedException (line 9) | public class TransportNotAllowedException extends RegistrationServiceExc... method TransportNotAllowedException (line 11) | public TransportNotAllowedException(RegistrationServiceSession registr... FILE: service/src/main/java/org/whispersystems/textsecuregcm/registration/VerificationSession.java method getExpirationEpochSeconds (line 52) | @Override type Information (line 57) | public enum Information { FILE: service/src/main/java/org/whispersystems/textsecuregcm/s3/ManagedSupplier.java type ManagedSupplier (line 11) | public interface ManagedSupplier extends Supplier, Managed { method start (line 13) | @Override method stop (line 18) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/s3/PolicySigner.java class PolicySigner (line 18) | public class PolicySigner { method PolicySigner (line 25) | public PolicySigner(final String awsAccessSecret, final String region) { method getSignature (line 31) | public String getSignature(final ZonedDateTime now, final String polic... method toHmacKey (line 61) | private static Key toHmacKey(final byte[] bytes) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/s3/PostPolicyGenerator.java class PostPolicyGenerator (line 14) | public class PostPolicyGenerator { method PostPolicyGenerator (line 23) | public PostPolicyGenerator(final String region, final String bucket, f... method createFor (line 29) | public Pair createFor(final ZonedDateTime now, final S... FILE: service/src/main/java/org/whispersystems/textsecuregcm/s3/S3MonitoringSupplier.java class S3MonitoringSupplier (line 25) | public class S3MonitoringSupplier implements ManagedSupplier { method S3MonitoringSupplier (line 40) | public S3MonitoringSupplier( method get (line 54) | @Override method start (line 59) | @Override method stop (line 64) | @Override method handleObjectChange (line 69) | private void handleObjectChange(final InputStream inputStream) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/s3/S3ObjectMonitor.java class S3ObjectMonitor (line 36) | public class S3ObjectMonitor { method S3ObjectMonitor (line 52) | public S3ObjectMonitor( method S3ObjectMonitor (line 73) | public S3ObjectMonitor(final AwsCredentialsProvider awsCredentialsProv... method S3ObjectMonitor (line 95) | @VisibleForTesting method start (line 113) | public synchronized void start(final Consumer changeListe... method stop (line 127) | public synchronized void stop() { method getObject (line 139) | @VisibleForTesting method refresh (line 162) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/scheduler/JobScheduler.java class JobScheduler (line 34) | public abstract class JobScheduler { method JobScheduler (line 67) | protected JobScheduler(final DynamoDbAsyncClient dynamoDbAsyncClient, method getSchedulerName (line 83) | public abstract String getSchedulerName(); method processJob (line 93) | protected abstract CompletableFuture processJob(@Nullable byte... method scheduleJob (line 104) | protected CompletableFuture scheduleJob(final Instant runAt, @Nu... method scheduleJob (line 111) | @VisibleForTesting method processAvailableJobs (line 139) | public Mono processAvailableJobs() { method deleteJob (line 170) | private CompletableFuture deleteJob(final AttributeValue schedul... method buildRunAtAttribute (line 192) | AttributeValue buildRunAtAttribute(final Instant runAt) { method buildRunAtAttribute (line 196) | @VisibleForTesting method buildMaxRunAtAttribute (line 214) | static AttributeValue buildMaxRunAtAttribute(final Instant runAt) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/scheduler/SchedulingUtil.java class SchedulingUtil (line 25) | public class SchedulingUtil { method getNextRecommendedNotificationTime (line 43) | public static Instant getNextRecommendedNotificationTime(final Account... method getZoneId (line 66) | @VisibleForTesting method isUnknownTimeZone (line 117) | static boolean isUnknownTimeZone(final List timeZonesForNumber) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/securestorage/SecureStorageClient.java class SecureStorageClient (line 31) | public class SecureStorageClient { method SecureStorageClient (line 40) | public SecureStorageClient(final ExternalServiceCredentialsGenerator s... method deleteStoredData (line 57) | public CompletableFuture deleteStoredData(final UUID accountUuid) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/securestorage/SecureStorageException.java class SecureStorageException (line 8) | public class SecureStorageException extends RuntimeException { method SecureStorageException (line 10) | public SecureStorageException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/securevaluerecovery/SecureValueRecoveryClient.java class SecureValueRecoveryClient (line 35) | public class SecureValueRecoveryClient { method SecureValueRecoveryClient (line 47) | public SecureValueRecoveryClient( method removeData (line 67) | public CompletableFuture removeData(final UUID accountUuid) { method removeData (line 71) | public CompletableFuture removeData(final String userIdentifier) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/securevaluerecovery/SecureValueRecoveryException.java class SecureValueRecoveryException (line 8) | public class SecureValueRecoveryException extends RuntimeException { method SecureValueRecoveryException (line 11) | public SecureValueRecoveryException(final String message, final String... method getStatusCode (line 16) | public String getStatusCode() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/spam/ChallengeConstraintChecker.java type ChallengeConstraintChecker (line 11) | public interface ChallengeConstraintChecker { method challengeConstraints (line 21) | ChallengeConstraints challengeConstraints(ContainerRequestContext requ... method noop (line 23) | static ChallengeConstraintChecker noop() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/spam/ChallengeType.java type ChallengeType (line 8) | public enum ChallengeType { FILE: service/src/main/java/org/whispersystems/textsecuregcm/spam/GrpcChallengeResponse.java class GrpcChallengeResponse (line 14) | public class GrpcChallengeResponse { method GrpcChallengeResponse (line 22) | private GrpcChallengeResponse(final @Nullable StatusRuntimeException s... method withStatusException (line 35) | public static GrpcChallengeResponse withStatusException(final StatusRu... method withResponse (line 43) | public static GrpcChallengeResponse withResponse(final ChallengeRequir... method getResponseOrThrowStatus (line 52) | public ChallengeRequired getResponseOrThrowStatus() throws StatusRunti... method throwStatusOr (line 65) | public void throwStatusOr(Function checkForMultiRecipientSpamHttp( method checkForIndividualRecipientSpamGrpc (line 55) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method checkForMultiRecipientSpamGrpc (line 69) | SpamCheckResult checkForMultiRecipientSpamGrpc(... method noop (line 72) | static SpamChecker noop() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/spam/SpamFilter.java type SpamFilter (line 27) | public interface SpamFilter extends Managed { method configure (line 39) | void configure(String environmentName, Validator validator) throws IOE... method getCommands (line 47) | Collection> getCommands(); method getMessageDeliveryListener (line 54) | MessageDeliveryListener getMessageDeliveryListener(); method getReportedMessageListener (line 62) | ReportedMessageListener getReportedMessageListener(); method getRateLimitChallengeListener (line 70) | RateLimitChallengeListener getRateLimitChallengeListener(); method getSpamChecker (line 79) | SpamChecker getSpamChecker(); method getRegistrationFraudChecker (line 86) | RegistrationFraudChecker getRegistrationFraudChecker(); method getChallengeConstraintChecker (line 94) | ChallengeConstraintChecker getChallengeConstraintChecker(); method getRegistrationRecoveryChecker (line 102) | RegistrationRecoveryChecker getRegistrationRecoveryChecker(); method getCaptchaClientSupplier (line 111) | Function getCaptchaClientSupplier(); FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AbstractDynamoDbStore.java class AbstractDynamoDbStore (line 30) | public abstract class AbstractDynamoDbStore { method AbstractDynamoDbStore (line 49) | public AbstractDynamoDbStore(final DynamoDbClient dynamoDbClient) { method db (line 53) | protected DynamoDbClient db() { method executeTableWriteItemsUntilComplete (line 57) | protected void executeTableWriteItemsUntilComplete(final Map void writeInBatches(final Iterable items, final Consumer... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/Account.java class Account (line 35) | @JsonFilter("Account") method getIdentifier (line 128) | public UUID getIdentifier(final IdentityType identityType) { method getUuid (line 135) | public UUID getUuid() { method setUuid (line 140) | public void setUuid(final UUID uuid) { method getPhoneNumberIdentifier (line 146) | public UUID getPhoneNumberIdentifier() { method isIdentifiedBy (line 159) | public boolean isIdentifiedBy(final ServiceIdentifier serviceIdentifie... method getNumber (line 166) | public String getNumber() { method setNumber (line 172) | public void setNumber(final String number, final UUID phoneNumberIdent... method getUsernameHash (line 179) | public Optional getUsernameHash() { method setUsernameHash (line 185) | public void setUsernameHash(final byte[] usernameHash) { method getReservedUsernameHash (line 191) | public Optional getReservedUsernameHash() { method setReservedUsernameHash (line 197) | public void setReservedUsernameHash(final byte[] reservedUsernameHash) { method getUsernameLinkHandle (line 203) | @Nullable method getEncryptedUsername (line 209) | public Optional getEncryptedUsername() { method setUsernameLinkDetails (line 214) | public void setUsernameLinkDetails(@Nullable final UUID usernameLinkHa... method setUsernameLinkHandle (line 230) | void setUsernameLinkHandle(@Nullable final UUID usernameLinkHandle) { method addDevice (line 235) | public void addDevice(final Device device) { method removeDevice (line 242) | public void removeDevice(final byte deviceId) { method getDevices (line 248) | public List getDevices() { method getPrimaryDevice (line 254) | public Device getPrimaryDevice() { method getDevice (line 261) | public Optional getDevice(final byte deviceId) { method hasCapability (line 267) | public boolean hasCapability(final DeviceCapability capability) { method getNextDeviceId (line 278) | public byte getNextDeviceId() { method setIdentityKey (line 294) | public void setIdentityKey(final IdentityKey identityKey) { method getIdentityKey (line 300) | public IdentityKey getIdentityKey(final IdentityType identityType) { method setPhoneNumberIdentityKey (line 309) | public void setPhoneNumberIdentityKey(final IdentityKey phoneNumberIde... method getLastSeen (line 313) | public long getLastSeen() { method getCurrentProfileVersion (line 321) | public Optional getCurrentProfileVersion() { method setCurrentProfileVersion (line 327) | public void setCurrentProfileVersion(final String currentProfileVersio... method getBadges (line 333) | public List getBadges() { method setBadges (line 339) | public void setBadges(final Clock clock, final List badg... method addBadge (line 347) | public void addBadge(final Clock clock, final AccountBadge badge) { method makeBadgePrimaryIfExists (line 370) | public void makeBadgePrimaryIfExists(final Clock clock, final String b... method removeBadge (line 394) | public void removeBadge(final Clock clock, final String id) { method purgeStaleBadges (line 401) | private void purgeStaleBadges(final Clock clock) { method setRegistrationLockFromAttributes (line 406) | public void setRegistrationLockFromAttributes(final AccountAttributes ... method setRegistrationLock (line 415) | public void setRegistrationLock(final String registrationLock, final S... method getRegistrationLock (line 422) | public StoredRegistrationLock getRegistrationLock() { method getUnidentifiedAccessKey (line 428) | public Optional getUnidentifiedAccessKey() { method setUnidentifiedAccessKey (line 434) | public void setUnidentifiedAccessKey(final byte[] unidentifiedAccessKe... method isUnrestrictedUnidentifiedAccess (line 440) | public boolean isUnrestrictedUnidentifiedAccess() { method setUnrestrictedUnidentifiedAccess (line 446) | public void setUnrestrictedUnidentifiedAccess(final boolean unrestrict... method isDiscoverableByPhoneNumber (line 452) | public boolean isDiscoverableByPhoneNumber() { method setDiscoverableByPhoneNumber (line 458) | public void setDiscoverableByPhoneNumber(final boolean discoverableByP... method getVersion (line 464) | public int getVersion() { method setVersion (line 470) | public void setVersion(final int version) { method setBackupCredentialRequests (line 476) | public void setBackupCredentialRequests(final byte[] messagesBackupCre... method getBackupCredentialRequest (line 485) | public Optional getBackupCredentialRequest(final BackupCredent... method getBackupVoucher (line 494) | public @Nullable BackupVoucher getBackupVoucher() { method setBackupVoucher (line 500) | public void setBackupVoucher(final @Nullable BackupVoucher backupVouch... method hasLockedCredentials (line 513) | public boolean hasLockedCredentials() { method lockAuthTokenHash (line 526) | public void lockAuthTokenHash() { method getUsernameHolds (line 530) | public List getUsernameHolds() { method setUsernameHolds (line 534) | public void setUsernameHolds(final List usernameHolds) { method markStale (line 539) | public void markStale() { method requireNotStale (line 543) | private void requireNotStale() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountAlreadyExistsException.java class AccountAlreadyExistsException (line 3) | class AccountAlreadyExistsException extends Exception { method AccountAlreadyExistsException (line 6) | public AccountAlreadyExistsException(final Account existingAccount) { method getExistingAccount (line 10) | public Account getExistingAccount() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountBadge.java method mergeWith (line 17) | public AccountBadge mergeWith(AccountBadge other) { method withVisibility (line 38) | public AccountBadge withVisibility(boolean visible) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountChangeValidator.java class AccountChangeValidator (line 13) | class AccountChangeValidator { method AccountChangeValidator (line 26) | AccountChangeValidator(final boolean allowNumberChange, method validateChange (line 33) | public void validateChange(final Account originalAccount, final Accoun... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountLockManager.java class AccountLockManager (line 20) | public class AccountLockManager { method AccountLockManager (line 26) | public AccountLockManager(final DynamoDbClient lockDynamoDb, final Str... method AccountLockManager (line 37) | @VisibleForTesting method withLock (line 58) | public V withLock(final Set phoneNumber... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountUtil.java class AccountUtil (line 11) | public class AccountUtil { method cloneAccountAsNotStale (line 13) | static Account cloneAccountAsNotStale(final Account account) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/Accounts.java class Accounts (line 84) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method Accounts (line 179) | public Accounts( class UsernameTable (line 201) | static class UsernameTable { method create (line 214) | boolean create(final Account account, final List ad... method reclaimAccount (line 301) | CompletionStage reclaimAccount(final Account existingAccount, method changeNumber (line 408) | public void changeNumber(final Account account, method reserveUsernameHash (line 502) | public void reserveUsernameHash(final Account account, final byte[] re... class TtlConflictException (line 538) | private static class TtlConflictException extends ContestedOptimisticL... method TtlConflictException (line 540) | TtlConflictException(final long existingExpirationSeconds) { method getExistingExpirationSeconds (line 545) | long getExistingExpirationSeconds() { method tryReserveUsernameHash (line 561) | private void tryReserveUsernameHash( method addToHolds (line 641) | private Optional addToHolds(final Account accountToUpdate, fin... method holdUsernameTransactItem (line 679) | private TransactWriteItem holdUsernameTransactItem(final UUID holder, ... method releaseHoldIfAllowedTransactItem (line 700) | private TransactWriteItem releaseHoldIfAllowedTransactItem( method confirmUsernameHash (line 728) | public void confirmUsernameHash(final Account account, final byte[] us... method pickLinkHandle (line 811) | private UUID pickLinkHandle(final Account account, final byte[] userna... method clearUsernameHash (line 840) | public void clearUsernameHash(final Account account) throws ContestedO... method updateItemRequest (line 902) | UpdateItemRequest updateItemRequest() { method transactItem (line 913) | TransactWriteItem transactItem() { method forAccount (line 924) | static UpdateAccountSpec forAccount( method update (line 992) | public void update(final Account account) throws ContestedOptimisticLo... method updateTransactionally (line 1016) | public void updateTransactionally(final Account account, final Collect... method buildTransactWriteItemForLinkDevice (line 1049) | public TransactWriteItem buildTransactWriteItemForLinkDevice(final Str... method getByE164 (line 1071) | @Nonnull method getByE164Async (line 1077) | @Nonnull method getByPhoneNumberIdentifier (line 1083) | @Nonnull method getByPhoneNumberIdentifierAsync (line 1089) | @Nonnull method getByUsernameHash (line 1094) | @Nonnull method getByUsernameLinkHandle (line 1104) | @Nonnull method getByAccountIdentifier (line 1113) | @Nonnull method buildPutDeletedAccount (line 1120) | private TransactWriteItem buildPutDeletedAccount(final UUID aci, final... method buildRemoveDeletedAccount (line 1132) | private TransactWriteItem buildRemoveDeletedAccount(final UUID pni) { method getByAccountIdentifierAsync (line 1141) | @Nonnull method findRecentlyDeletedAccountIdentifier (line 1148) | public Optional findRecentlyDeletedAccountIdentifier(final UUID ... method findRecentlyDeletedPhoneNumberIdentifier (line 1158) | public Optional findRecentlyDeletedPhoneNumberIdentifier(final U... method delete (line 1179) | public void delete(final UUID uuid, final List addi... method getAll (line 1214) | Flux getAll(final int segments, final Scheduler scheduler) { method getAllAccountIdentifiers (line 1235) | Flux getAllAccountIdentifiers(final int segments, final Schedule... method getByIndirectLookup (line 1255) | @Nonnull method getByIndirectLookupAsync (line 1264) | @Nonnull method getByIndirectLookup (line 1274) | @Nonnull method getByIndirectLookupAsync (line 1289) | @Nonnull method itemByKey (line 1307) | @Nonnull method itemByKeyAsync (line 1317) | @Nonnull method itemByGsiKeyAsync (line 1327) | @Nonnull method buildAccountPut (line 1356) | @Nonnull method buildConstraintTablePutIfAbsent (line 1387) | @Nonnull method buildConstraintTablePut (line 1411) | @Nonnull method buildDelete (line 1432) | @Nonnull method buildDelete (line 1437) | @Nonnull method buildDelete (line 1442) | @Nonnull method buildDelete (line 1447) | @Nonnull method regenerateConstraints (line 1457) | CompletableFuture regenerateConstraints(final Account account) { method writeConstraint (line 1483) | private CompletableFuture writeConstraint( method writeUsernameConstraint (line 1498) | private CompletableFuture writeUsernameConstraint( method extractCancellationReasonCodes (line 1519) | @Nonnull method fromItem (line 1526) | @VisibleForTesting method accountDataAttributeValue (line 1561) | private static AttributeValue accountDataAttributeValue(final Account ... method conditionalCheckFailed (line 1569) | private static boolean conditionalCheckFailed(final CancellationReason... method isTransactionConflict (line 1573) | private static boolean isTransactionConflict(final CancellationReason ... method redactPhoneNumber (line 1577) | private static String redactPhoneNumber(final String phoneNumber) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountsManager.java class AccountsManager (line 96) | public class AccountsManager extends RedisPubSubAdapter ... type DeletionReason (line 190) | public enum DeletionReason { method DeletionReason (line 197) | DeletionReason(final String tagValue) { method AccountsManager (line 206) | public AccountsManager(final Accounts accounts, method start (line 251) | @Override method stop (line 279) | @Override method create (line 287) | public Account create(final String number, method create (line 308) | private Account create(final String number, method addDevice (line 438) | public Pair addDevice(final Account account, final De... method addDevice (line 446) | private Pair addDevice(final UUID accountIdentifier, ... method getInitializedMac (line 520) | private Mac getInitializedMac() { method getInitializedMac (line 529) | private static Mac getInitializedMac(final Key linkDeviceTokenKey) thr... method generateLinkDeviceToken (line 540) | public String generateLinkDeviceToken(final UUID aci) { method generateLinkDeviceToken (line 547) | @VisibleForTesting method getLinkDeviceTokenIdentifier (line 557) | public static String getLinkDeviceTokenIdentifier(final String linkDev... method checkDeviceLinkingToken (line 570) | public Optional checkDeviceLinkingToken(final String token) { method removeDevice (line 627) | public Account removeDevice(final Account account, final byte deviceId) { method removeDevice (line 637) | private Account removeDevice(final UUID accountIdentifier, final byte ... method changeNumber (line 677) | public Account changeNumber(final Account account, method changeNumber (line 695) | private Account changeNumber(final Account account, method buildPniKeyWriteItems (line 758) | private Collection buildPniKeyWriteItems( method setPniKeys (line 774) | private void setPniKeys(final Account account, method validateDevices (line 784) | private void validateDevices(final Account account, method validateCompleteDeviceList (line 799) | @VisibleForTesting method reserveUsernameHash (line 830) | public UsernameReservation reserveUsernameHash(final Account account, ... method checkAndReserveNextUsernameHash (line 861) | private byte[] checkAndReserveNextUsernameHash(final Account account, ... method confirmReservedUsernameHash (line 889) | public Account confirmReservedUsernameHash(final Account account, fina... method clearUsernameHash (line 916) | public Account clearUsernameHash(final Account account) { method update (line 930) | public Account update(Account account, Consumer updater) { method updateDeviceLastSeen (line 942) | public Account updateDeviceLastSeen(Account account, Device device, fi... method updateDeviceAuthentication (line 960) | public Account updateDeviceAuthentication(final Account account, final... method update (line 969) | private Account update(Account account, Function upd... method updateWithRetries (line 989) | private Account updateWithRetries(Account account, method updateDevice (line 1030) | public Account updateDevice(Account account, byte deviceId, Consumer getByE164(final String number) { method getByPhoneNumberIdentifier (line 1042) | public Optional getByPhoneNumberIdentifier(final UUID pni) { method getByPhoneNumberIdentifierAsync (line 1050) | public CompletableFuture> getByPhoneNumberIdentifier... method getByUsernameLinkHandle (line 1058) | public CompletableFuture> getByUsernameLinkHandle(fi... method getByUsernameHash (line 1064) | public CompletableFuture> getByUsernameHash(final by... method getByServiceIdentifier (line 1070) | public Optional getByServiceIdentifier(final ServiceIdentifie... method getByServiceIdentifierAsync (line 1077) | public CompletableFuture> getByServiceIdentifierAsyn... method getByAccountIdentifier (line 1084) | public Optional getByAccountIdentifier(final UUID uuid) { method getByAccountIdentifierAsync (line 1092) | public CompletableFuture> getByAccountIdentifierAsyn... method getPhoneNumberIdentifier (line 1100) | public UUID getPhoneNumberIdentifier(String e164) { method findRecentlyDeletedAccountIdentifier (line 1104) | public Optional findRecentlyDeletedAccountIdentifier(final UUID ... method findRecentlyDeletedPhoneNumberIdentifier (line 1108) | public Optional findRecentlyDeletedPhoneNumberIdentifier(final U... method streamAllFromDynamo (line 1112) | public Flux streamAllFromDynamo(final int segments, final Sch... method delete (line 1116) | public void delete(final Account account, final DeletionReason deletio... method delete (line 1137) | private void delete(final Account account) { method getAccountMapKey (line 1162) | private String getAccountMapKey(String key) { method getAccountEntityKey (line 1166) | private String getAccountEntityKey(UUID uuid) { method redisSet (line 1170) | private void redisSet(Account account) { method redisSetAsync (line 1188) | private CompletableFuture redisSetAsync(final Account account) { method checkRedisThenAccounts (line 1206) | private Optional checkRedisThenAccounts( method checkRedisThenAccountsAsync (line 1224) | private CompletableFuture> checkRedisThenAccountsAsync( method redisGetBySecondaryKey (line 1246) | private Optional redisGetBySecondaryKey(final String secondar... method redisGetBySecondaryKeyAsync (line 1262) | private CompletableFuture> redisGetBySecondaryKeyAsy... method redisGetByAccountIdentifier (line 1281) | private Optional redisGetByAccountIdentifier(UUID uuid) { method redisGetByAccountIdentifierAsync (line 1294) | private CompletableFuture> redisGetByAccountIdentifi... method parseAccountJson (line 1304) | @VisibleForTesting method writeRedisAccountJson (line 1325) | @VisibleForTesting method redisDelete (line 1330) | private void redisDelete(final Account account) { method redisDeleteAsync (line 1338) | private CompletableFuture redisDeleteAsync(final Account account) { method waitForNewLinkedDevice (line 1353) | public CompletableFuture> waitForNewLinkedDevice( method waitForPreLinkMessagesToBeFetched (line 1397) | private CompletableFuture> waitForPreLinkMessages... method handleDeviceAdded (line 1430) | private void handleDeviceAdded(final CompletableFuture> waitForTrans... method recordTransferArchiveUpload (line 1454) | public CompletableFuture recordTransferArchiveUpload(final Accou... method handleTransferArchiveAdded (line 1475) | private void handleTransferArchiveAdded(final CompletableFuture> waitForResto... method recordRestoreAccountRequest (line 1503) | public CompletableFuture recordRestoreAccountRequest(final Strin... method handleRestoreAccountRequest (line 1522) | private void handleRestoreAccountRequest(final CompletableFuture CompletableFuture> waitForPubSubKey(final M... method message (line 1566) | @Override method getSha256MessageDigest (line 1638) | private static MessageDigest getSha256MessageDigest() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ChangeNumberManager.java class ChangeNumberManager (line 25) | public class ChangeNumberManager { method ChangeNumberManager (line 32) | public ChangeNumberManager( method changeNumber (line 42) | public Account changeNumber(final Account account, FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ChunkProcessingFailedException.java class ChunkProcessingFailedException (line 7) | public class ChunkProcessingFailedException extends Exception { method ChunkProcessingFailedException (line 9) | public ChunkProcessingFailedException(String message) { method ChunkProcessingFailedException (line 13) | public ChunkProcessingFailedException(Exception cause) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ClientReleaseManager.java class ClientReleaseManager (line 22) | public class ClientReleaseManager implements Managed { method ClientReleaseManager (line 36) | public ClientReleaseManager(final ClientReleases clientReleases, method isVersionActive (line 47) | public boolean isVersionActive(final ClientPlatform platform, final Se... method start (line 55) | @Override method stop (line 66) | @Override method refreshClientVersions (line 73) | void refreshClientVersions() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ClientReleases.java class ClientReleases (line 23) | public class ClientReleases { method ClientReleases (line 35) | public ClientReleases(final DynamoDbAsyncClient dynamoDbAsyncClient, f... method getClientReleases (line 40) | public Map> getClientReleas... method releaseFromItem (line 55) | @Nullable FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ConflictingMessageConsumerException.java class ConflictingMessageConsumerException (line 11) | public class ConflictingMessageConsumerException extends NoStackTraceExc... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ContestedOptimisticLockException.java class ContestedOptimisticLockException (line 10) | public class ContestedOptimisticLockException extends NoStackTraceRuntim... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/Device.java class Device (line 27) | public class Device { method getApnId (line 90) | public String getApnId() { method setApnId (line 94) | public void setApnId(String apnId) { method setLastSeen (line 102) | public void setLastSeen(long lastSeen) { method getLastSeen (line 106) | public long getLastSeen() { method setCreated (line 110) | public void setCreated(long created) { method getCreated (line 114) | public long getCreated() { method setCreatedAtCiphertext (line 118) | public void setCreatedAtCiphertext(byte[] createdAtCiphertext) { method getCreatedAtCiphertext (line 122) | public byte[] getCreatedAtCiphertext() { method getGcmId (line 126) | public String getGcmId() { method setGcmId (line 130) | public void setGcmId(String gcmId) { method getId (line 138) | public byte getId() { method setId (line 142) | public void setId(byte id) { method getName (line 146) | public byte[] getName() { method setName (line 150) | public void setName(byte[] name) { method setAuthTokenHash (line 154) | public void setAuthTokenHash(SaltedTokenHash credentials) { method hasLockedCredentials (line 167) | public boolean hasLockedCredentials() { method lockAuthTokenHash (line 179) | public void lockAuthTokenHash() { method getAuthTokenHash (line 186) | public SaltedTokenHash getAuthTokenHash() { method getCapabilities (line 190) | @VisibleForTesting method setCapabilities (line 195) | @JsonSetter method hasCapability (line 202) | public boolean hasCapability(final DeviceCapability capability) { method isExpired (line 206) | public boolean isExpired() { method getFetchesMessages (line 212) | public boolean getFetchesMessages() { method setFetchesMessages (line 216) | public void setFetchesMessages(boolean fetchesMessages) { method isPrimary (line 220) | public boolean isPrimary() { method getRegistrationId (line 224) | public int getRegistrationId(final IdentityType identityType) { method setRegistrationId (line 231) | public void setRegistrationId(int registrationId) { method setPhoneNumberIdentityRegistrationId (line 235) | public void setPhoneNumberIdentityRegistrationId(final int phoneNumber... method getPushTimestamp (line 239) | public long getPushTimestamp() { method setUserAgent (line 243) | public void setUserAgent(String userAgent) { method getUserAgent (line 247) | public String getUserAgent() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/DeviceCapability.java type DeviceCapability (line 13) | public enum DeviceCapability { type AccountCapabilityMode (line 19) | public enum AccountCapabilityMode { method DeviceCapability (line 64) | DeviceCapability(final String name, method getName (line 77) | public String getName() { method getAccountCapabilityMode (line 81) | public AccountCapabilityMode getAccountCapabilityMode() { method preventDowngrade (line 85) | public boolean preventDowngrade() { method includeInProfile (line 89) | public boolean includeInProfile() { method requireForRegistration (line 93) | public boolean requireForRegistration() { method forName (line 97) | public static Optional forName(final String name) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/DeviceIdDeserializer.java class DeviceIdDeserializer (line 18) | public class DeviceIdDeserializer extends JsonDeserializer { method deserialize (line 20) | @Override class DeviceIdDeserializationException (line 32) | static class DeviceIdDeserializationException extends IOException { method DeviceIdDeserializationException (line 34) | DeviceIdDeserializationException() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/DeviceSpec.java method toDevice (line 32) | public Device toDevice(final byte deviceId, final Clock clock, final Ide... method equals (line 55) | @Override method hashCode (line 82) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/DynamicConfigurationManager.java class DynamicConfigurationManager (line 26) | public class DynamicConfigurationManager { method DynamicConfigurationManager (line 43) | public DynamicConfigurationManager(final S3ObjectMonitor configMonitor... method getConfiguration (line 48) | public T getConfiguration() { method start (line 58) | public synchronized void start() { method receiveConfiguration (line 77) | private synchronized void receiveConfiguration(InputStream configDataS... method parseConfiguration (line 91) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/DynamoDbRecoveryManager.java class DynamoDbRecoveryManager (line 15) | public class DynamoDbRecoveryManager { method DynamoDbRecoveryManager (line 20) | public DynamoDbRecoveryManager(final Accounts accounts, final PhoneNum... method regenerateData (line 32) | public CompletableFuture regenerateData(final Account account) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/EnvelopeUtil.java class EnvelopeUtil (line 22) | public class EnvelopeUtil { method compress (line 34) | public static MessageProtos.Envelope compress(final MessageProtos.Enve... method expand (line 76) | public static MessageProtos.Envelope expand(final MessageProtos.Envelo... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/IssuedReceiptsManager.java class IssuedReceiptsManager (line 41) | public class IssuedReceiptsManager { method IssuedReceiptsManager (line 53) | public IssuedReceiptsManager( method recordIssuance (line 76) | public CompletableFuture recordIssuance( method clearIssuance (line 120) | public CompletableFuture clearIssuance(String processorItemId... method dynamoDbKey (line 131) | @VisibleForTesting method generateIssuedReceiptTag (line 143) | @VisibleForTesting method generateHmac (line 148) | private byte[] generateHmac(String type, Consumer byteConsumer) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/KEMPreKeyPage.java class KEMPreKeyPage (line 14) | class KEMPreKeyPage { method KEMPreKeyPage (line 36) | private KEMPreKeyPage() {} method serialize (line 45) | static ByteBuffer serialize(final byte format, final List buildWriteItemsForNewDevice(final UUID ... method buildWriteItemsForRemovedDevice (line 80) | public List buildWriteItemsForRemovedDevice(final U... method storeEcSignedPreKeys (line 92) | public CompletableFuture storeEcSignedPreKeys(final UUID identif... method storePqLastResort (line 97) | public CompletableFuture storePqLastResort(final UUID identifier... method storeEcOneTimePreKeys (line 102) | public CompletableFuture storeEcOneTimePreKeys(final UUID identi... method storeKemOneTimePreKeys (line 107) | public CompletableFuture storeKemOneTimePreKeys(final UUID ident... method takeEC (line 113) | @VisibleForTesting method takePQ (line 118) | @VisibleForTesting type PQSource (line 126) | private enum PQSource { method tagTakePQ (line 130) | private CompletableFuture> tagTakePQ(Complet... method getLastResort (line 144) | public CompletableFuture> getLastResort(fina... method getEcSignedPreKey (line 148) | public CompletableFuture> getEcSignedPreKey(f... method getEcCount (line 152) | public CompletableFuture getEcCount(final UUID identifier, fi... method getPqCount (line 156) | public CompletableFuture getPqCount(final UUID identifier, fi... method deleteSingleUsePreKeys (line 160) | public CompletableFuture deleteSingleUsePreKeys(final UUID ident... method deleteSingleUsePreKeys (line 167) | public CompletableFuture deleteSingleUsePreKeys(final UUID accou... method listStoredKEMPreKeyPages (line 181) | public Flux listStoredKEMPreKeyPages(int lookupC... method pruneDeadPage (line 194) | public CompletableFuture pruneDeadPage(final UUID identifier, fi... method takeDevicePreKeys (line 203) | public CompletableFuture> takeDevicePreKeys( FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/LinkDeviceTokenAlreadyUsedException.java class LinkDeviceTokenAlreadyUsedException (line 3) | public class LinkDeviceTokenAlreadyUsedException extends Exception { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagePersistenceException.java class MessagePersistenceException (line 8) | public class MessagePersistenceException extends Exception { method MessagePersistenceException (line 10) | public MessagePersistenceException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagePersister.java class MessagePersister (line 44) | public class MessagePersister implements Managed { method MessagePersister (line 92) | public MessagePersister(final MessagesCache messagesCache, method MessagePersister (line 114) | @VisibleForTesting method start (line 138) | @Override method stop (line 169) | @Override method persistNextNode (line 184) | @VisibleForTesting method persistNode (line 207) | int persistNode(final RedisClusterNode node) { method persistQueue (line 270) | @VisibleForTesting method trimQueue (line 332) | private Mono trimQueue(final Account account, final Device devic... method shouldPersistQueue (line 390) | @VisibleForTesting method getPersisterId (line 400) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessageStream.java type MessageStream (line 14) | public interface MessageStream { method getMessages (line 20) | Flow.Publisher getMessages(); method acknowledgeMessage (line 28) | CompletableFuture acknowledgeMessage(MessageProtos.Envelope mess... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessageStreamEntry.java type MessageStreamEntry (line 13) | public sealed interface MessageStreamEntry permits MessageStreamEntry.En... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCache.java class MessagesCache (line 115) | public class MessagesCache { method MessagesCache (line 174) | public MessagesCache(final FaultTolerantRedisClusterClient redisCluster, method MessagesCache (line 199) | @VisibleForTesting method insert (line 231) | public CompletableFuture insert(final UUID messageGuid, method insertSharedMultiRecipientMessagePayload (line 244) | public CompletableFuture insertSharedMultiRecipientMessagePayl... method remove (line 257) | public CompletableFuture> remove(final UUID d... method remove (line 264) | public CompletableFuture> remove(final UUID desti... method hasMessagesAsync (line 305) | public CompletableFuture hasMessagesAsync(final UUID destinat... method get (line 312) | public Publisher get(final UUID destinationUui... method getMessagesToPersist (line 319) | Publisher getMessagesToPersist(final UUID acco... method get (line 327) | private Publisher get(final UUID destinationUuid, method getEarliestUndeliveredTimestamp (line 371) | public Mono getEarliestUndeliveredTimestamp(final UUID destinati... method isStaleEphemeralMessage (line 384) | private static boolean isStaleEphemeralMessage(final MessageProtos.Env... method isStaleMrmMessage (line 394) | private static boolean isStaleMrmMessage(final MessageProtos.Envelope ... method discardStaleMessages (line 398) | private void discardStaleMessages(final UUID destinationUuid, final by... method getAllMessages (line 410) | @VisibleForTesting method getMessageWithSharedMrmData (line 474) | private Mono getMessageWithSharedMrmData(final... method removeRecipientViewFromMrmData (line 546) | void removeRecipientViewFromMrmData(final List sharedMrmKeys, ... method getNextMessagePage (line 570) | private Mono, Long>> getNextMessagePage(final UUID d... method estimatePersistedQueueSizeBytes (line 602) | CompletableFuture estimatePersistedQueueSizeBytes(final UUID acc... method parseAndFetchMrms (line 627) | private Flux parseAndFetchMrms(final Flux clear(final UUID destinationUuid) { method clear (line 657) | public CompletableFuture clear(final UUID destinationUuid, final... method claimNextNodeToPersist (line 695) | Optional claimNextNodeToPersist(final String persist... method claimNode (line 707) | @VisibleForTesting method releaseNodeClaim (line 713) | void releaseNodeClaim(final RedisClusterNode node, final String persis... method getPersisterNodeClaimKey (line 717) | @VisibleForTesting method getQueues (line 722) | Flux getQueues(final RedisClusterNode node, final int scanCoun... method lockQueueForPersistence (line 728) | Mono lockQueueForPersistence(final UUID accountUuid, final byte ... method unlockQueueForPersistence (line 734) | Mono unlockQueueForPersistence(final UUID accountUuid, final byt... method getMessageQueueKey (line 738) | static byte[] getMessageQueueKey(final UUID accountUuid, final byte de... method getMessageQueueMetadataKey (line 742) | static byte[] getMessageQueueMetadataKey(final UUID accountUuid, final... method getSharedMrmKey (line 746) | static byte[] getSharedMrmKey(final UUID mrmGuid) { method getPersistInProgressKey (line 750) | static byte[] getPersistInProgressKey(final UUID accountUuid, final by... method getSharedMrmViewKey (line 754) | static byte[] getSharedMrmViewKey(final ServiceId serviceId, final byt... method getSharedMrmViewKey (line 758) | static byte[] getSharedMrmViewKey(final ServiceIdentifier serviceIdent... method getSharedMrmViewKey (line 762) | private static byte[] getSharedMrmViewKey(final byte[] fixedWithServic... method getAccountUuidFromQueueName (line 772) | static UUID getAccountUuidFromQueueName(final String queueName) { method getDeviceIdFromQueueName (line 778) | static byte getDeviceIdFromQueueName(final String queueName) { method parseEnvelope (line 782) | private MessageProtos.Envelope parseEnvelope(final byte[] envelopeBytes) FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheGetItemsScript.java class MessagesCacheGetItemsScript (line 23) | class MessagesCacheGetItemsScript { method MessagesCacheGetItemsScript (line 27) | MessagesCacheGetItemsScript(FaultTolerantRedisClusterClient redisClust... method execute (line 31) | Mono> execute(final UUID destinationUuid, FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheInsertScript.java class MessagesCacheInsertScript (line 28) | class MessagesCacheInsertScript { method MessagesCacheInsertScript (line 38) | MessagesCacheInsertScript(FaultTolerantRedisClusterClient redisCluster, method executeAsync (line 54) | CompletionStage executeAsync(final UUID destinationUuid, fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScript.java class MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScript (line 26) | class MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScript { method MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScript (line 33) | MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScript(FaultTole... method executeAsync (line 42) | CompletionStage executeAsync(final byte[] sharedMrmKey, final Se... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheReleaseNodeClaimScript.java class MessagesCacheReleaseNodeClaimScript (line 16) | class MessagesCacheReleaseNodeClaimScript { method MessagesCacheReleaseNodeClaimScript (line 20) | MessagesCacheReleaseNodeClaimScript(final FaultTolerantRedisClusterCli... method execute (line 25) | void execute(final RedisClusterNode node, final String persisterId) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheRemoveByGuidScript.java class MessagesCacheRemoveByGuidScript (line 22) | class MessagesCacheRemoveByGuidScript { method MessagesCacheRemoveByGuidScript (line 27) | MessagesCacheRemoveByGuidScript(final FaultTolerantRedisClusterClient ... method execute (line 35) | CompletionStage> execute(final UUID destinationUuid, fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheRemoveQueueScript.java class MessagesCacheRemoveQueueScript (line 26) | class MessagesCacheRemoveQueueScript { method MessagesCacheRemoveQueueScript (line 32) | MessagesCacheRemoveQueueScript(FaultTolerantRedisClusterClient redisCl... method execute (line 37) | Mono> execute(final UUID destinationUuid, final byte dest... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheRemoveRecipientViewFromMrmDataScript.java class MessagesCacheRemoveRecipientViewFromMrmDataScript (line 24) | class MessagesCacheRemoveRecipientViewFromMrmDataScript { method MessagesCacheRemoveRecipientViewFromMrmDataScript (line 28) | MessagesCacheRemoveRecipientViewFromMrmDataScript(final FaultTolerantR... method execute (line 33) | Mono execute(final Collection keysCollection, final Serv... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCacheUnlockQueueScript.java class MessagesCacheUnlockQueueScript (line 24) | class MessagesCacheUnlockQueueScript { method MessagesCacheUnlockQueueScript (line 33) | MessagesCacheUnlockQueueScript(final FaultTolerantRedisClusterClient r... method execute (line 38) | Mono execute(final UUID accountIdentifier, final byte deviceId) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesDynamoDb.java class MessagesDynamoDb (line 43) | public class MessagesDynamoDb extends AbstractDynamoDbStore { method MessagesDynamoDb (line 70) | public MessagesDynamoDb(DynamoDbClient dynamoDb, DynamoDbAsyncClient d... method store (line 83) | public void store(final List messages, final U... method storeBatch (line 88) | private void storeBatch(final List messages, f... method mayHaveMessages (line 114) | public CompletableFuture mayHaveMessages(final UUID accountId... method mayHaveUrgentMessages (line 125) | public CompletableFuture mayHaveUrgentMessages(final UUID acc... method load (line 131) | public Publisher load(final UUID destinationAc... method deleteMessage (line 159) | public CompletableFuture> deleteMessa... method convertItemToEnvelope (line 180) | @VisibleForTesting method getTtlForMessage (line 188) | private long getTtlForMessage(MessageProtos.Envelope message) { method convertPartitionKey (line 192) | private static AttributeValue convertPartitionKey(final UUID destinati... method convertSortKey (line 200) | private static AttributeValue convertSortKey(final long serverTimestam... method convertLocalIndexMessageUuidSortKey (line 208) | private static AttributeValue convertLocalIndexMessageUuidSortKey(fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesManager.java class MessagesManager (line 41) | public class MessagesManager { method MessagesManager (line 64) | public MessagesManager( method insert (line 90) | public Map insert(final UUID accountIdentifier, final M... method insertAsync (line 94) | private CompletableFuture> insertAsync(final UUID a... method insertMultiRecipientMessage (line 135) | public CompletableFuture>> insertMulti... method mayHavePersistedMessages (line 185) | public CompletableFuture mayHavePersistedMessages(final UUID ... method mayHaveMessages (line 189) | public CompletableFuture mayHaveMessages(final UUID destinati... method mayHaveUrgentPersistedMessages (line 211) | public CompletableFuture mayHaveUrgentPersistedMessages(final... method getMessagesForDevice (line 215) | public Mono, Boolean>> getMessagesForDevice(UUID d... method getMessagesForDeviceReactive (line 225) | public Publisher getMessagesForDeviceReactive(UUID destinati... method getMessages (line 231) | public MessageStream getMessages(final UUID destinationUuid, final Dev... method getMessagesForDevice (line 235) | private Publisher getMessagesForDevice(UUID destinationUuid,... method clear (line 247) | public CompletableFuture clear(UUID destinationUuid) { method clear (line 251) | public CompletableFuture clear(UUID destinationUuid, byte device... method delete (line 255) | public CompletableFuture> delete(final UUID d... method persistMessages (line 271) | public int persistMessages( method getEarliestUndeliveredTimestampForDevice (line 295) | public CompletableFuture> getEarliestUndeliveredTime... method insertSharedMultiRecipientMessagePayload (line 311) | private CompletableFuture insertSharedMultiRecipientMessagePay... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/MrmDataMissingException.java class MrmDataMissingException (line 5) | class MrmDataMissingException extends NoStackTraceRuntimeException { type Type (line 7) | enum Type { method MrmDataMissingException (line 14) | MrmDataMissingException(final Type type) { method getType (line 18) | Type getType() { method toString (line 22) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/OneTimeDonationsManager.java class OneTimeDonationsManager (line 22) | public class OneTimeDonationsManager { method OneTimeDonationsManager (line 32) | public OneTimeDonationsManager( method getPaidAt (line 41) | public CompletableFuture getPaidAt(final String paymentId, fi... method putPaidAt (line 59) | public CompletableFuture putPaidAt(final String paymentId, fin... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/OptimisticLockRetryLimitExceededException.java class OptimisticLockRetryLimitExceededException (line 8) | public class OptimisticLockRetryLimitExceededException extends RuntimeEx... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/PagedSingleUseKEMPreKeyStore.java class PagedSingleUseKEMPreKeyStore (line 61) | public class PagedSingleUseKEMPreKeyStore { method PagedSingleUseKEMPreKeyStore (line 90) | public PagedSingleUseKEMPreKeyStore( method store (line 111) | public CompletableFuture store( method take (line 162) | public CompletableFuture> take(final UUID id... method takeHelper (line 171) | private CompletableFuture> takeHelper(final ... method getCount (line 227) | public CompletableFuture getCount(final UUID identifier, fina... method delete (line 270) | public CompletableFuture delete(final UUID identifier) { method delete (line 295) | public CompletableFuture delete(final UUID identifier, final byt... method listStoredPages (line 317) | public Flux listStoredPages(int lookupConcurrenc... method deleteItems (line 350) | private CompletableFuture deleteItems(final UUID identifier, method s3Key (line 374) | private static String s3Key(final UUID identifier, final byte deviceId... method fromSameDevice (line 380) | boolean fromSameDevice(final S3PageKey other) { method parseS3Key (line 385) | private static S3PageKey parseS3Key(final S3Object page) { method writeBundleToS3 (line 401) | private CompletableFuture writeBundleToS3(final UUID identifier,... method deleteBundleFromS3 (line 411) | CompletableFuture deleteBundleFromS3(final UUID identifier, fina... method readPreKeyAtIndexFromS3 (line 419) | private CompletableFuture readPreKeyAtIndexFromS3( FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentTime.java class PaymentTime (line 23) | public class PaymentTime { method PaymentTime (line 30) | private PaymentTime(@Nullable Instant periodStart, @Nullable Instant p... method periodEnds (line 38) | public static PaymentTime periodEnds(Instant periodEnd) { method periodStart (line 42) | public static PaymentTime periodStart(Instant periodStart) { method receiptExpiration (line 53) | public Instant receiptExpiration(final Duration periodLength, final Du... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/PersistentTimer.java class PersistentTimer (line 25) | public class PersistentTimer { method PersistentTimer (line 37) | public PersistentTimer(final FaultTolerantRedisClusterClient redisClie... class Sample (line 42) | public class Sample { method Sample (line 47) | public Sample(final Instant start, final String redisKey) { method stop (line 58) | public CompletableFuture stop(Timer timer) { method start (line 75) | public CompletableFuture start(final String namespace, final S... method redisKey (line 85) | @VisibleForTesting method parseStoredTimestamp (line 90) | private static Optional parseStoredTimestamp(final @Nullable ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/PhoneNumberIdentifiers.java class PhoneNumberIdentifiers (line 41) | public class PhoneNumberIdentifiers { method PhoneNumberIdentifiers (line 61) | public PhoneNumberIdentifiers(final DynamoDbAsyncClient dynamoDbClient... method getPhoneNumberIdentifier (line 73) | public CompletableFuture getPhoneNumberIdentifier(final String p... method getPhoneNumber (line 90) | public CompletableFuture> getPhoneNumber(final UUID phone... method retry (line 107) | @VisibleForTesting method setPniIfRequired (line 126) | @VisibleForTesting method setPni (line 186) | @VisibleForTesting method fetchPhoneNumbers (line 228) | @VisibleForTesting method regeneratePhoneNumberIdentifierMappings (line 248) | CompletableFuture regeneratePhoneNumberIdentifierMappings(final ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/Profiles.java class Profiles (line 36) | public class Profiles { method Profiles (line 87) | public Profiles(final DynamoDbClient dynamoDbClient, method set (line 96) | public void set(final UUID uuid, final VersionedProfile profile) { method setAsync (line 108) | public CompletableFuture setAsync(final UUID uuid, final Version... method buildPrimaryKey (line 120) | private static Map buildPrimaryKey(final UUID ... method buildUpdateExpression (line 126) | @VisibleForTesting method buildUpdateExpressionAttributeValues (line 188) | @VisibleForTesting method get (line 220) | public Optional get(final UUID uuid, final String ve... method getAsync (line 232) | public CompletableFuture> getAsync(final UU... method fromItem (line 243) | private static VersionedProfile fromItem(final Map item,... method deleteAll (line 269) | public CompletableFuture> deleteAll(final UUID uuid) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ProfilesManager.java class ProfilesManager (line 33) | public class ProfilesManager { method ProfilesManager (line 50) | public ProfilesManager(final Profiles profiles, method set (line 63) | public void set(UUID uuid, VersionedProfile versionedProfile) { method setAsync (line 68) | public CompletableFuture setAsync(UUID uuid, VersionedProfile ve... method deleteAll (line 79) | public CompletableFuture deleteAll(UUID uuid, final boolean incl... method deleteAvatar (line 93) | public CompletableFuture deleteAvatar(String avatar) { method get (line 113) | public Optional get(UUID uuid, String version) { method getAsync (line 128) | public CompletableFuture> getAsync(UUID uui... method redisSet (line 143) | private void redisSet(UUID uuid, VersionedProfile profile) { method redisSetAsync (line 153) | private CompletableFuture redisSetAsync(UUID uuid, VersionedProf... method redisGet (line 168) | private Optional redisGet(UUID uuid, String version) { method redisGetAsync (line 179) | private CompletableFuture> redisGetAsync(UU... method parseProfileJson (line 190) | private Optional parseProfileJson(@Nullable final St... method redisDelete (line 202) | private CompletableFuture redisDelete(UUID uuid) { method getCacheKey (line 210) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/PushChallengeDynamoDb.java class PushChallengeDynamoDb (line 22) | public class PushChallengeDynamoDb extends AbstractDynamoDbStore { method PushChallengeDynamoDb (line 35) | public PushChallengeDynamoDb(final DynamoDbClient dynamoDB, final Stri... method PushChallengeDynamoDb (line 39) | @VisibleForTesting method add (line 57) | public boolean add(final UUID accountUuid, final byte[] challengeToken... method getExpirationTimestamp (line 74) | long getExpirationTimestamp(final Duration ttl) { method remove (line 86) | public boolean remove(final UUID accountUuid, final byte[] challengeTo... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RedeemedReceiptsManager.java class RedeemedReceiptsManager (line 24) | public class RedeemedReceiptsManager { method RedeemedReceiptsManager (line 38) | public RedeemedReceiptsManager( method put (line 54) | public CompletableFuture put( FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RedisDynamoDbMessagePublisher.java class RedisDynamoDbMessagePublisher (line 30) | class RedisDynamoDbMessagePublisher implements MessageAvailabilityListen... type StoredMessageState (line 78) | private enum StoredMessageState { type QueueEmptySignalState (line 89) | private enum QueueEmptySignalState { class MessageSourceSubscriber (line 103) | private static class MessageSourceSubscriber extends BaseSubscriber> lookup(final UUID ... method addOrReplace (line 71) | public CompletableFuture addOrReplace(final UUID phoneNumberI... method removeEntry (line 89) | public CompletableFuture removeEntry(final UUID phoneNumberId... method expirationSeconds (line 98) | @VisibleForTesting method saltedTokenHashFromItem (line 103) | private static SaltedTokenHash saltedTokenHashFromItem(final Map verify(final UUID phoneNumberIdentif... method store (line 41) | public CompletableFuture store(final UUID phoneNumberIdentifi... method remove (line 53) | public CompletableFuture remove(final UUID phoneNumberIdentif... method bytesToString (line 62) | private static String bytesToString(final byte[] bytes) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfig.java class RemoteConfig (line 17) | public class RemoteConfig { method RemoteConfig (line 42) | public RemoteConfig() {} method RemoteConfig (line 44) | public RemoteConfig(String name, int percentage, Set uuids, Stri... method getPercentage (line 53) | public int getPercentage() { method getName (line 57) | public String getName() { method getUuids (line 61) | public Set getUuids() { method getDefaultValue (line 65) | public String getDefaultValue() { method getValue (line 69) | public String getValue() { method getHashKey (line 73) | public String getHashKey() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigs.java class RemoteConfigs (line 24) | public class RemoteConfigs { method RemoteConfigs (line 42) | public RemoteConfigs(final DynamoDbClient dynamoDbClient, final String... method set (line 47) | public void set(final RemoteConfig remoteConfig) { method getAll (line 79) | public List getAll() { method delete (line 108) | public void delete(final String name) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsManager.java class RemoteConfigsManager (line 13) | public class RemoteConfigsManager { method RemoteConfigsManager (line 17) | public RemoteConfigsManager(RemoteConfigs remoteConfigs) { method getAll (line 22) | public List getAll() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RemovedMessage.java method fromEnvelope (line 18) | public static RemovedMessage fromEnvelope(MessageProtos.Envelope envelop... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RepeatedUseECSignedPreKeyStore.java class RepeatedUseECSignedPreKeyStore (line 17) | public class RepeatedUseECSignedPreKeyStore extends RepeatedUseSignedPre... method RepeatedUseECSignedPreKeyStore (line 19) | public RepeatedUseECSignedPreKeyStore(final DynamoDbAsyncClient dynamo... method getItemFromPreKey (line 23) | @Override method getPreKeyFromItem (line 34) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RepeatedUseKEMSignedPreKeyStore.java class RepeatedUseKEMSignedPreKeyStore (line 17) | public class RepeatedUseKEMSignedPreKeyStore extends RepeatedUseSignedPr... method RepeatedUseKEMSignedPreKeyStore (line 19) | public RepeatedUseKEMSignedPreKeyStore(final DynamoDbAsyncClient dynam... method getItemFromPreKey (line 23) | @Override method getPreKeyFromItem (line 34) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/RepeatedUseSignedPreKeyStore.java class RepeatedUseSignedPreKeyStore (line 33) | public abstract class RepeatedUseSignedPreKeyStore store(final UUID identifier, final byte... method buildTransactWriteItemForInsertion (line 73) | TransactWriteItem buildTransactWriteItemForInsertion(final UUID identi... method buildTransactWriteItemForDeletion (line 82) | public TransactWriteItem buildTransactWriteItemForDeletion(final UUID ... method find (line 100) | public CompletableFuture> find(final UUID identifier, fina... method getPrimaryKey (line 120) | protected static Map getPrimaryKey(final UUID ... method getPartitionKey (line 126) | protected static AttributeValue getPartitionKey(final UUID accountUuid) { method getSortKey (line 130) | protected static AttributeValue getSortKey(final byte deviceId) { method getItemFromPreKey (line 134) | protected abstract Map getItemFromPreKey(final... method getPreKeyFromItem (line 137) | protected abstract K getPreKeyFromItem(final Map store(byte[] hash) { method remove (line 58) | public boolean remove(byte[] hash) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ReportMessageManager.java class ReportMessageManager (line 27) | public class ReportMessageManager { method ReportMessageManager (line 42) | public ReportMessageManager(final ReportMessageDynamoDb reportMessageD... method addListener (line 52) | public void addListener(final ReportedMessageListener listener) { method store (line 56) | public void store(String sourceAci, UUID messageGuid) { method report (line 64) | public void report(final Optional sourceNumber, method getRecentReportCount (line 115) | public int getRecentReportCount(final Account account) { method hash (line 127) | private byte[] hash(UUID messageGuid, String otherId) { method getReportedSenderAciKey (line 141) | private static String getReportedSenderAciKey(final UUID aci) { method getReportedSenderPniKey (line 145) | private static String getReportedSenderPniKey(final UUID pni) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/ReportedMessageListener.java type ReportedMessageListener (line 11) | public interface ReportedMessageListener { method handleMessageReported (line 13) | void handleMessageReported(String sourceNumber, UUID messageGuid, UUID... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/SerializedExpireableJsonDynamoStore.java class SerializedExpireableJsonDynamoStore (line 29) | public abstract class SerializedExpireableJsonDynamoStore { type Expireable (line 31) | public interface Expireable { method getExpirationEpochSeconds (line 33) | @JsonIgnore method SerializedExpireableJsonDynamoStore (line 50) | public SerializedExpireableJsonDynamoStore(final DynamoDbAsyncClient d... method insert (line 70) | public CompletableFuture insert(final String key, final T v) { method update (line 76) | public CompletableFuture update(final String key, final T v) { method put (line 81) | private CompletableFuture put(final String key, final T v, method getExpirationTimestamp (line 106) | private long getExpirationTimestamp(final Expireable v) { method findForKey (line 110) | public CompletableFuture> findForKey(final String key) { method filterMaybeExpiredValue (line 130) | private Optional filterMaybeExpiredValue(T v) { method remove (line 142) | public CompletableFuture remove(final String key) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/SingleUseECPreKeyStore.java class SingleUseECPreKeyStore (line 49) | public class SingleUseECPreKeyStore { method SingleUseECPreKeyStore (line 83) | public SingleUseECPreKeyStore(final DynamoDbAsyncClient dynamoDbAsyncC... method store (line 99) | public CompletableFuture store(final UUID identifier, final byte... method store (line 115) | private CompletableFuture store(final UUID identifier, final byt... method take (line 136) | public CompletableFuture> take(final UUID identifie... method getCount (line 192) | public CompletableFuture getCount(final UUID identifier, fina... method delete (line 240) | public CompletableFuture delete(final UUID identifier) { method delete (line 263) | public CompletableFuture delete(final UUID identifier, final byt... method deleteItems (line 280) | private CompletableFuture deleteItems(final AttributeValue parti... method getPartitionKey (line 295) | protected static AttributeValue getPartitionKey(final UUID accountUuid) { method getSortKey (line 299) | protected static AttributeValue getSortKey(final byte deviceId, final ... method getSortKeyPrefix (line 306) | private static AttributeValue getSortKeyPrefix(final byte deviceId) { method getItemFromPreKey (line 312) | private Map getItemFromPreKey(final UUID ident... method getPreKeyFromItem (line 323) | private ECPreKey getPreKeyFromItem(final Map i... method getKeyIdFromItem (line 335) | private static long getKeyIdFromItem(final Map... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/SubscriberCredentials.java method process (line 28) | public static SubscriberCredentials process( method convertSubscriberIdStringToBytes (line 43) | private static byte[] convertSubscriberIdStringToBytes(String subscriber... method getUser (line 55) | private static byte[] getUser(byte[] subscriberBytes) { method getKey (line 61) | private static byte[] getKey(byte[] subscriberBytes) { method computeHmac (line 67) | private static byte[] computeHmac(byte[] subscriberUser, byte[] subscrib... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/SubscriptionManager.java class SubscriptionManager (line 51) | public class SubscriptionManager { method SubscriptionManager (line 58) | public SubscriptionManager( method deleteSubscriber (line 79) | public void deleteSubscriber(final SubscriberCredentials subscriberCre... method updateSubscriber (line 105) | public void updateSubscriber(final SubscriberCredentials subscriberCre... method getSubscriptionInformation (line 126) | public Optional getSubscriptionInformation( method getSubscriber (line 144) | public Subscriptions.Record getSubscriber(final SubscriberCredentials ... method createReceiptCredentials (line 180) | public ReceiptResult createReceiptCredentials( method addPaymentMethodToCustomer (line 240) | public R addP... type LevelTransitionValidator (line 264) | public interface LevelTransitionValidator { method isTransitionValid (line 273) | boolean isTransitionValid(long oldLevel, long newLevel); method updateSubscriptionLevelForCustomer (line 302) | public void updateSubscriptionLevelForCustomer( method updatePlayBillingPurchaseToken (line 368) | public long updatePlayBillingPurchaseToken( method updateAppStoreTransactionId (line 422) | public long updateAppStoreTransactionId( method getProcessor (line 444) | private SubscriptionPaymentProcessor getProcessor(PaymentProvider prov... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/Subscriptions.java class Subscriptions (line 41) | public class Subscriptions { class Record (line 62) | public static class Record { method Record (line 79) | private Record(byte[] user, byte[] password, Instant createdAt) { method from (line 85) | public static Record from(byte[] user, Map i... method getProcessorCustomer (line 105) | public Optional getProcessorCustomer() { method getProcessorAndCustomer (line 114) | @Nullable method getString (line 138) | private static String getString(Map item, St... method getLong (line 146) | private static Long getLong(Map item, String... method getInstant (line 154) | private static Instant getInstant(Map item, ... method Subscriptions (line 166) | public Subscriptions( method getSubscriberUserByProcessorCustomer (line 176) | public CompletableFuture getSubscriberUserByProcessorCustomer(... class GetResult (line 204) | public static class GetResult { type Type (line 209) | public enum Type { method GetResult (line 218) | private GetResult(Type type, Record record) { method found (line 223) | public static GetResult found(Record record) { method get (line 231) | public CompletableFuture get(byte[] user, byte[] hmac) { method getUser (line 245) | private CompletableFuture getUser(byte[] user) { method create (line 257) | public CompletableFuture create(byte[] user, byte[] password, ... method setProcessorAndCustomerId (line 300) | public CompletableFuture setProcessorAndCustomerId(Record user... method setIapPurchase (line 348) | public CompletableFuture setIapPurchase( method accessedAt (line 404) | public CompletableFuture accessedAt(byte[] user, Instant accesse... method setCanceledAt (line 418) | public CompletableFuture setCanceledAt(byte[] user, Instant canc... method subscriptionCreated (line 440) | public CompletableFuture subscriptionCreated( method subscriptionLevelChanged (line 472) | public CompletableFuture subscriptionLevelChanged( method checkUserLength (line 501) | private static byte[] checkUserLength(final byte[] user) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/UsernameHashNotAvailableException.java class UsernameHashNotAvailableException (line 8) | public class UsernameHashNotAvailableException extends Exception { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/UsernameReservationNotFoundException.java class UsernameReservationNotFoundException (line 8) | public class UsernameReservationNotFoundException extends Exception { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/VerificationSessionManager.java class VerificationSessionManager (line 12) | public class VerificationSessionManager { method VerificationSessionManager (line 16) | public VerificationSessionManager(final VerificationSessions verificat... method insert (line 20) | public CompletableFuture insert(final VerificationSession verifi... method update (line 24) | public CompletableFuture update(final VerificationSession verifi... method findForId (line 28) | public CompletableFuture> findForId(fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/VerificationSessions.java class VerificationSessions (line 12) | public class VerificationSessions extends SerializedExpireableJsonDynamo... method VerificationSessions (line 14) | public VerificationSessions(final DynamoDbAsyncClient dynamoDbClient, ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/devicecheck/AppleDeviceCheckManager.java class AppleDeviceCheckManager (line 46) | public class AppleDeviceCheckManager { method AppleDeviceCheckManager (line 69) | public AppleDeviceCheckManager( type ChallengeType (line 87) | public enum ChallengeType { method registerAttestation (line 103) | public void registerAttestation(final Account account, final byte[] ke... method createDcAppleDevice (line 141) | private static DCAppleDeviceImpl createDcAppleDevice(final DCAttestati... method validateAssert (line 169) | public void validateAssert( method createChallenge (line 220) | public String createChallenge(final ChallengeType challengeType, final... method removeChallenge (line 245) | private void removeChallenge(final String challengeKey) { method challengeKey (line 253) | @VisibleForTesting method generateChallenge (line 258) | private static String generateChallenge() { method sha256 (line 264) | private static byte[] sha256(byte[] bytes) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/devicecheck/AppleDeviceCheckTrustAnchor.java class AppleDeviceCheckTrustAnchor (line 23) | public class AppleDeviceCheckTrustAnchor extends DefaultCertPathTrustwor... method AppleDeviceCheckTrustAnchor (line 29) | public AppleDeviceCheckTrustAnchor() { method find (line 35) | @Override method find (line 40) | @Override method loadDeviceCheckRootCert (line 46) | private static X509Certificate loadDeviceCheckRootCert() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/storage/devicecheck/AppleDeviceChecks.java class AppleDeviceChecks (line 50) | public class AppleDeviceChecks { method AppleDeviceChecks (line 75) | public AppleDeviceChecks( method keyIds (line 92) | public List keyIds(final Account account) { method storeAttestation (line 117) | public boolean storeAttestation(final Account account, final byte[] ke... method lookup (line 169) | public Optional lookup(final Account account, final byt... method updateCounter (line 187) | public boolean updateCounter(final Account account, final byte[] keyId... method toItem (line 207) | private Map toItem(final Account account, fina... method fromItem (line 228) | private DCAppleDevice fromItem(final Map item) { method extractPublicKey (line 257) | private static PublicKey extractPublicKey(DCAppleDevice appleDevice) { method conditionalCheckFailed (line 268) | private static boolean conditionalCheckFailed(final CancellationReason... method getByteArray (line 272) | private static Optional getByteArray(Map> insert(final AciServ... method insert (line 95) | public CompletableFuture> insert(final AciServiceI... method getShardForAci (line 249) | @VisibleForTesting method hashAciToShardNumber (line 254) | @VisibleForTesting method getDeviceQueueSubspace (line 260) | @VisibleForTesting method getDeviceSubspace (line 265) | private Subspace getDeviceSubspace(final AciServiceIdentifier aci, fin... method getAccountSubspace (line 269) | private Subspace getAccountSubspace(final AciServiceIdentifier aci) { method getMessagesAvailableWatchKey (line 273) | @VisibleForTesting method getPresenceKey (line 278) | @VisibleForTesting method isClientPresent (line 283) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/AppleAppStoreClient.java class AppleAppStoreClient (line 41) | public class AppleAppStoreClient { method AppleAppStoreClient (line 70) | public AppleAppStoreClient( method AppleAppStoreClient (line 88) | @VisibleForTesting method verify (line 110) | public AppleAppStoreDecodedTransaction verify(final Environment enviro... method getAllSubscriptions (line 126) | public StatusResponse getAllSubscriptions(final String originalTransac... method getAllSubscriptionsHelper (line 157) | private StatusResponse getAllSubscriptionsHelper(final Environment env... method decodeRootCerts (line 177) | private static Set decodeRootCerts(final List roo... method shouldRetry (line 184) | private static boolean shouldRetry(Throwable e) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/AppleAppStoreManager.java class AppleAppStoreManager (line 36) | public class AppleAppStoreManager implements SubscriptionPaymentProcessor { method AppleAppStoreManager (line 46) | public AppleAppStoreManager( method getProvider (line 55) | @Override method validateTransaction (line 71) | public Long validateTransaction(final String originalTransactionId) method cancelAllActiveSubscriptions (line 93) | @Override method getSubscriptionInformation (line 109) | @Override method getReceiptItem (line 135) | @Override method lookup (line 153) | private AppleAppStoreDecodedTransaction lookup(final String originalTr... method lookupAndValidateTransaction (line 163) | private AppleAppStoreDecodedTransaction lookupAndValidateTransaction(f... method getSubscriptionPrice (line 190) | private SubscriptionPrice getSubscriptionPrice(final AppleAppStoreDeco... method getLevel (line 197) | private long getLevel(final AppleAppStoreDecodedTransaction tx) { method isSubscriptionActive (line 209) | private boolean isSubscriptionActive(final AppleAppStoreDecodedTransac... method sha256 (line 214) | private static String sha256(final String input) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BankMandateTranslator.java class BankMandateTranslator (line 15) | public class BankMandateTranslator { method BankMandateTranslator (line 19) | public BankMandateTranslator( method translate (line 24) | public String translate(final List acceptableLanguages, final ... method getKey (line 30) | private static String getKey(final BankTransferType bankTransferType) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BankTransferType.java type BankTransferType (line 8) | public enum BankTransferType { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeGraphqlClient.java class BraintreeGraphqlClient (line 53) | class BraintreeGraphqlClient { method BraintreeGraphqlClient (line 65) | BraintreeGraphqlClient(final FaultTolerantHttpClient httpClient, method createPayPalOneTimePayment (line 80) | CompletableFuture, U extends Operation.Data> U as... method extractApolloResponse (line 321) | private static , U extends Operation.Data> Apol... method assertSuccessAndExtractDataFromApolloResponse (line 333) | private static , U extends Operation.Data> U as... method buildRequest (line 351) | private HttpRequest buildRequest(final Operation operation) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeManager.java class BraintreeManager (line 54) | public class BraintreeManager implements CustomerAwareSubscriptionPaymen... method BraintreeManager (line 74) | public BraintreeManager(final String braintreeMerchantId, final String... method BraintreeManager (line 101) | @VisibleForTesting method getSupportedCurrenciesForPaymentMethod (line 116) | @Override method getProvider (line 121) | @Override method supportsPaymentMethod (line 126) | @Override method getPaymentDetails (line 131) | public CompletableFuture getPaymentDetails(final Strin... method createOneTimePayment (line 151) | public CompletableFuture createOn... method captureOneTimePayment (line 159) | public CompletableFuture captureOneTimePay... method publishDonationEvent (line 219) | private void publishDonationEvent(final long amount, method toMicros (line 262) | @VisibleForTesting method getPaymentStatus (line 267) | private static PaymentStatus getPaymentStatus(Transaction.Status statu... method getPaymentStatus (line 276) | private static PaymentStatus getPaymentStatus(com.braintree.graphql.cl... method getSubscriptionStatus (line 286) | private static SubscriptionStatus getSubscriptionStatus(final Subscrip... method convertApiAmountToBraintreeAmount (line 301) | private BigDecimal convertApiAmountToBraintreeAmount(final String curr... method createCustomer (line 317) | @Override method createPaymentMethodSetupToken (line 333) | @Override method setDefaultPaymentMethodForCustomer (line 340) | @Override method getSubscription (line 355) | @Override method createSubscription (line 360) | @Override method getDefaultPaymentMethod (line 409) | private com.braintreegateway.PaymentMethod getDefaultPaymentMethod(Str... method updateSubscription (line 414) | @Override method getLevelAndCurrencyForSubscription (line 436) | @Override method findPlan (line 443) | private Plan findPlan(String planId) { method getLevelForPlan (line 447) | private long getLevelForPlan(final Plan plan) { method getSubscriptionInformation (line 459) | @Override method getTransactionInfo (line 494) | private TransactionInfo getTransactionInfo(final Transaction transacti... method getPaymentMethodFromTransaction (line 503) | private PaymentMethod getPaymentMethodFromTransaction(Transaction tran... method isPaymentProcessing (line 511) | private static boolean isPaymentProcessing(final Transaction.Status st... method createChargeFailure (line 515) | private ChargeFailure createChargeFailure(Transaction transaction) { method cancelAllActiveSubscriptions (line 541) | @Override method endSubscription (line 551) | private void endSubscription(Subscription subscription) { method cancelSubscriptionAtEndOfCurrentPeriod (line 566) | private void cancelSubscriptionAtEndOfCurrentPeriod(Subscription subsc... method cancelSubscriptionImmediately (line 573) | private void cancelSubscriptionImmediately(Subscription subscription) { method getReceiptItem (line 578) | @Override method getSubscription (line 607) | private static Subscription getSubscription(Object subscriptionObj) { method getLatestTransactionForSubscription (line 614) | private Optional getLatestTransactionForSubscription(Subs... method createPayPalBillingAgreement (line 619) | public CompletableFuture create... FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/CustomerAwareSubscriptionPaymentProcessor.java type CustomerAwareSubscriptionPaymentProcessor (line 18) | public interface CustomerAwareSubscriptionPaymentProcessor extends Subsc... method supportsPaymentMethod (line 20) | boolean supportsPaymentMethod(PaymentMethod paymentMethod); method getSupportedCurrenciesForPaymentMethod (line 22) | Set getSupportedCurrenciesForPaymentMethod(PaymentMethod payme... method createCustomer (line 31) | ProcessorCustomer createCustomer(byte[] subscriberUser, @Nullable Clie... method createPaymentMethodSetupToken (line 33) | String createPaymentMethodSetupToken(String customerId); method setDefaultPaymentMethodForCustomer (line 46) | void setDefaultPaymentMethodForCustomer(String customerId, String paym... method getSubscription (line 49) | Object getSubscription(String subscriptionId); method createSubscription (line 65) | SubscriptionId createSubscription(String customerId, String templateId... method updateSubscription (line 82) | SubscriptionId updateSubscription(Object subscription, String template... method getLevelAndCurrencyForSubscription (line 89) | LevelAndCurrency getLevelAndCurrencyForSubscription(Object subscription); FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/GooglePlayBillingManager.java class GooglePlayBillingManager (line 59) | public class GooglePlayBillingManager implements SubscriptionPaymentProc... method GooglePlayBillingManager (line 73) | public GooglePlayBillingManager( method GooglePlayBillingManager (line 90) | @VisibleForTesting method getProvider (line 102) | @Override class ValidatedToken (line 111) | public class ValidatedToken { method ValidatedToken (line 119) | ValidatedToken(final long level, final String productId, final Strin... method acknowledgePurchase (line 131) | public void acknowledgePurchase() method getLevel (line 141) | public long getLevel() { method validateToken (line 157) | public ValidatedToken validateToken(String purchaseToken) method cancelAllActiveSubscriptions (line 202) | public void cancelAllActiveSubscriptions(String purchaseToken) throws ... method getSubscriptionInformation (line 224) | @Override method getSubscriptionPrice (line 267) | private SubscriptionPrice getSubscriptionPrice(final SubscriptionPurch... method getReceiptItem (line 280) | @Override type ApiCall (line 313) | interface ApiCall { method req (line 315) | AndroidPublisherRequest req(AndroidPublisher publisher) throws IO... method executeTokenOperation (line 326) | private R executeTokenOperation(final ApiCall apiCall) method lookupSubscription (line 351) | private SubscriptionPurchaseV2 lookupSubscription(final String purchas... method productIdToLevel (line 356) | private long productIdToLevel(final String productId) { method getLineItem (line 367) | private SubscriptionPurchaseLineItem getLineItem(final SubscriptionPur... method subscriptionTags (line 378) | private Tags subscriptionTags(final SubscriptionPurchaseV2 subscriptio... method getStartTime (line 387) | private Optional getStartTime(final SubscriptionPurchaseV2 su... method getExpiration (line 391) | private Optional getExpiration(final SubscriptionPurchaseLine... method parseTimestamp (line 395) | private Optional parseTimestamp(final String timestamp) { type SubscriptionState (line 408) | @VisibleForTesting method SubscriptionState (line 426) | SubscriptionState(String s) { method fromString (line 430) | private static Optional fromString(String s) { method apiString (line 434) | @VisibleForTesting type AcknowledgementState (line 441) | @VisibleForTesting method AcknowledgementState (line 453) | AcknowledgementState(String s) { method fromString (line 457) | private static Optional fromString(String s) { method apiString (line 461) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/PayPalDonationsTranslator.java class PayPalDonationsTranslator (line 15) | public class PayPalDonationsTranslator { method PayPalDonationsTranslator (line 23) | public PayPalDonationsTranslator( method translate (line 28) | public String translate(final List acceptableLanguages, final ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/PaymentMethod.java type PaymentMethod (line 8) | public enum PaymentMethod { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/PaymentProvider.java type PaymentProvider (line 15) | public enum PaymentProvider { method forId (line 33) | public static PaymentProvider forId(byte id) { method PaymentProvider (line 39) | PaymentProvider(int id) { method getId (line 47) | public byte getId() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/PaymentStatus.java type PaymentStatus (line 7) | public enum PaymentStatus { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/ProcessorCustomer.java method toDynamoBytes (line 12) | public byte[] toDynamoBytes() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/StripeManager.java class StripeManager (line 83) | public class StripeManager implements CustomerAwareSubscriptionPaymentPr... method StripeManager (line 94) | @VisibleForTesting method StripeManager (line 112) | public StripeManager( method getProvider (line 125) | @Override method supportsPaymentMethod (line 130) | @Override method commonOptions (line 137) | private RequestOptions commonOptions() { method commonOptions (line 141) | private RequestOptions commonOptions(@Nullable String idempotencyKey) { method createCustomer (line 147) | @Override method getCustomer (line 165) | public Customer getCustomer(String customerId) { method setDefaultPaymentMethodForCustomer (line 174) | @Override method createPaymentMethodSetupToken (line 192) | @Override method getSupportedCurrenciesForPaymentMethod (line 204) | @Override method createPaymentIntent (line 213) | public CompletableFuture createPaymentIntent(final Stri... method getPaymentDetails (line 245) | public CompletableFuture getPaymentDetails(String paym... method getPaymentStatusForStatus (line 273) | private static PaymentStatus getPaymentStatusForStatus(String status) { method getSubscriptionStatus (line 281) | private static SubscriptionStatus getSubscriptionStatus(final String s... method createSubscription (line 285) | @Override method updateSubscription (line 321) | @Override method getSubscription (line 371) | @Override method getPaymentIntent (line 384) | public PaymentIntent getPaymentIntent(String paymentIntentId) throws S... method getCharge (line 391) | public Charge getCharge(String chargeId) { method cancelAllActiveSubscriptions (line 401) | @Override method listNonCanceledSubscriptions (line 424) | public Collection listNonCanceledSubscriptions(Customer ... method endSubscription (line 436) | @VisibleForTesting method cancelSubscriptionImmediately (line 463) | private void cancelSubscriptionImmediately(Subscription subscription) { method cancelSubscriptionAtEndOfCurrentPeriod (line 472) | private void cancelSubscriptionAtEndOfCurrentPeriod(Subscription subsc... method getItemsForSubscription (line 483) | public Collection getItemsForSubscription(Subscripti... method getPriceForSubscription (line 494) | public Price getPriceForSubscription(Subscription subscription) { method getProductForSubscription (line 506) | private Product getProductForSubscription(Subscription subscription) { method getLevelAndCurrencyForSubscription (line 510) | @Override method getLevelForPrice (line 520) | public long getLevelForPrice(Price price) { method getProductForPrice (line 524) | public Product getProductForPrice(String priceId) { method getLevelForProduct (line 533) | public long getLevelForProduct(Product product) { method createChargeFailure (line 537) | private static ChargeFailure createChargeFailure(final Charge charge) { method createChargeFailureFromCardException (line 547) | private static ChargeFailure createChargeFailureFromCardException(Card... method getSubscriptionInformation (line 557) | @Override method getPaymentMethodFromStripeString (line 605) | private static PaymentMethod getPaymentMethodFromStripeString(final St... method getSubscription (line 616) | private Subscription getSubscription(Object subscriptionObj) { method getReceiptItem (line 624) | @Override method convertInvoiceToReceipt (line 631) | private ReceiptItem convertInvoiceToReceipt(Invoice latestSubscription... method getReceiptForSubscription (line 678) | private ReceiptItem getReceiptForSubscription(InvoiceLineItem subscrip... method getInvoiceLineItemsForInvoice (line 694) | public Collection getInvoiceLineItemsForInvoice(Invoi... method getGeneratedSepaIdFromSetupIntent (line 704) | public CompletableFuture getGeneratedSepaIdFromSetupIntent(Str... method getMostRecentInvoicePayment (line 731) | private Optional getMostRecentInvoicePayment(final Inv... method getChargeForInvoicePayment (line 738) | private Optional getChargeForInvoicePayment(final InvoicePayme... method generateIdempotencyKeyForSubscriptionUpdate (line 758) | private String generateIdempotencyKeyForSubscriptionUpdate(String cust... method generateIdempotencyKeyForSubscriberUser (line 765) | private String generateIdempotencyKeyForSubscriberUser(byte[] subscrib... method generateIdempotencyKeyForCreateSubscription (line 769) | private String generateIdempotencyKeyForCreateSubscription(String cust... method generateIdempotencyKey (line 776) | private String generateIdempotencyKey(String type, Consumer byteC... FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionChargeFailurePaymentRequiredException.java class SubscriptionChargeFailurePaymentRequiredException (line 7) | public class SubscriptionChargeFailurePaymentRequiredException extends S... method SubscriptionChargeFailurePaymentRequiredException (line 12) | public SubscriptionChargeFailurePaymentRequiredException(final Payment... method getProcessor (line 19) | public PaymentProvider getProcessor() { method getChargeFailure (line 23) | public ChargeFailure getChargeFailure() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionCurrencyUtil.java class SubscriptionCurrencyUtil (line 34) | public class SubscriptionCurrencyUtil { method convertConfiguredAmountToApiAmount (line 50) | public static BigDecimal convertConfiguredAmountToApiAmount(String cur... method convertConfiguredAmountToStripeAmount (line 62) | public static BigDecimal convertConfiguredAmountToStripeAmount(String ... method convertBraintreeAmountToApiAmount (line 72) | static BigDecimal convertBraintreeAmountToApiAmount(final String curre... method convertGoogleMoneyToApiAmount (line 82) | static BigDecimal convertGoogleMoneyToApiAmount(final Money money) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionException.java class SubscriptionException (line 10) | public class SubscriptionException extends Exception { method SubscriptionException (line 14) | public SubscriptionException(Exception cause) { method SubscriptionException (line 18) | SubscriptionException(Exception cause, String errorDetail) { method errorDetail (line 26) | public Optional errorDetail() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionForbiddenException.java class SubscriptionForbiddenException (line 7) | public class SubscriptionForbiddenException extends SubscriptionException { method SubscriptionForbiddenException (line 9) | public SubscriptionForbiddenException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionInvalidAmountException.java class SubscriptionInvalidAmountException (line 7) | public class SubscriptionInvalidAmountException extends SubscriptionInva... method SubscriptionInvalidAmountException (line 11) | public SubscriptionInvalidAmountException(String errorCode) { method getErrorCode (line 16) | public String getErrorCode() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionInvalidArgumentsException.java class SubscriptionInvalidArgumentsException (line 7) | public class SubscriptionInvalidArgumentsException extends SubscriptionE... method SubscriptionInvalidArgumentsException (line 9) | public SubscriptionInvalidArgumentsException(final String message, fin... method SubscriptionInvalidArgumentsException (line 13) | public SubscriptionInvalidArgumentsException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionInvalidLevelException.java class SubscriptionInvalidLevelException (line 7) | public class SubscriptionInvalidLevelException extends SubscriptionInval... method SubscriptionInvalidLevelException (line 9) | public SubscriptionInvalidLevelException() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionNotFoundException.java class SubscriptionNotFoundException (line 7) | public class SubscriptionNotFoundException extends SubscriptionException { method SubscriptionNotFoundException (line 9) | public SubscriptionNotFoundException() { method SubscriptionNotFoundException (line 13) | public SubscriptionNotFoundException(Exception cause) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionPaymentProcessor.java type SubscriptionPaymentProcessor (line 10) | public interface SubscriptionPaymentProcessor { method getProvider (line 12) | PaymentProvider getProvider(); method getReceiptItem (line 37) | ReceiptItem getReceiptItem(String subscriptionId) method cancelAllActiveSubscriptions (line 48) | void cancelAllActiveSubscriptions(String key) method getSubscriptionInformation (line 59) | SubscriptionInformation getSubscriptionInformation(final String subscr... FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionPaymentRequiredException.java class SubscriptionPaymentRequiredException (line 7) | public class SubscriptionPaymentRequiredException extends SubscriptionEx... method SubscriptionPaymentRequiredException (line 9) | public SubscriptionPaymentRequiredException() { method SubscriptionPaymentRequiredException (line 13) | public SubscriptionPaymentRequiredException(String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionPaymentRequiresActionException.java class SubscriptionPaymentRequiresActionException (line 7) | public class SubscriptionPaymentRequiresActionException extends Subscrip... method SubscriptionPaymentRequiresActionException (line 9) | public SubscriptionPaymentRequiresActionException(String message) { method SubscriptionPaymentRequiresActionException (line 13) | public SubscriptionPaymentRequiresActionException() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionProcessorConflictException.java class SubscriptionProcessorConflictException (line 7) | public class SubscriptionProcessorConflictException extends Subscription... method SubscriptionProcessorConflictException (line 9) | public SubscriptionProcessorConflictException() { method SubscriptionProcessorConflictException (line 13) | public SubscriptionProcessorConflictException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionProcessorException.java class SubscriptionProcessorException (line 7) | public class SubscriptionProcessorException extends SubscriptionException { method SubscriptionProcessorException (line 12) | public SubscriptionProcessorException(final PaymentProvider processor,... method getProcessor (line 18) | public PaymentProvider getProcessor() { method getChargeFailure (line 22) | public ChargeFailure getChargeFailure() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionReceiptRequestedForOpenPaymentException.java class SubscriptionReceiptRequestedForOpenPaymentException (line 10) | public class SubscriptionReceiptRequestedForOpenPaymentException extends... method SubscriptionReceiptRequestedForOpenPaymentException (line 12) | public SubscriptionReceiptRequestedForOpenPaymentException() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionStatus.java type SubscriptionStatus (line 10) | public enum SubscriptionStatus { method SubscriptionStatus (line 44) | SubscriptionStatus(String apiValue) { method forApiValue (line 48) | public static SubscriptionStatus forApiValue(String status) { method getApiValue (line 71) | public String getApiValue() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/telephony/CarrierData.java type LineType (line 29) | public enum LineType { FILE: service/src/main/java/org/whispersystems/textsecuregcm/telephony/CarrierDataException.java class CarrierDataException (line 10) | public class CarrierDataException extends Exception { method CarrierDataException (line 12) | public CarrierDataException(final String message) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/telephony/CarrierDataProvider.java type CarrierDataProvider (line 15) | public interface CarrierDataProvider { method lookupCarrierData (line 28) | Optional lookupCarrierData(Phonenumber.PhoneNumber phoneN... FILE: service/src/main/java/org/whispersystems/textsecuregcm/telephony/hlrlookup/HlrLookupCarrierDataProvider.java class HlrLookupCarrierDataProvider (line 34) | public class HlrLookupCarrierDataProvider implements CarrierDataProvider { method HlrLookupCarrierDataProvider (line 51) | public HlrLookupCarrierDataProvider(final String apiKey, method HlrLookupCarrierDataProvider (line 67) | @VisibleForTesting method lookupCarrierData (line 79) | @Override method getCreditsSpentTag (line 155) | private static Tag getCreditsSpentTag(final HlrLookupResult hlrLookupR... method mccFromMccMnc (line 163) | @VisibleForTesting method mncFromMccMnc (line 170) | @VisibleForTesting method lineType (line 177) | @VisibleForTesting method getNetworkDetails (line 189) | @VisibleForTesting method isPorted (line 200) | @VisibleForTesting method isDisposableNumber (line 209) | @VisibleForTesting method parseResponse (line 218) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/telephony/hlrlookup/TelephoneNumberRequest.java method forPhoneNumber (line 23) | static TelephoneNumberRequest forPhoneNumber(final Phonenumber.PhoneNumb... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/AbstractPublicKeyDeserializer.java class AbstractPublicKeyDeserializer (line 13) | abstract class AbstractPublicKeyDeserializer extends JsonDeserializer... method deserialize (line 19) | @Override method deserializePublicKey (line 42) | protected abstract K deserializePublicKey(final byte[] publicKeyBytes)... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/AbstractPublicKeySerializer.java class AbstractPublicKeySerializer (line 9) | abstract class AbstractPublicKeySerializer extends JsonSerializer { method serialize (line 11) | @Override method serializePublicKey (line 19) | protected abstract byte[] serializePublicKey(final K publicKey); FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/AsyncTimerUtil.java class AsyncTimerUtil (line 8) | public class AsyncTimerUtil { method record (line 9) | @Nonnull FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/AttributeValues.java class AttributeValues (line 20) | public class AttributeValues { method b (line 24) | public static AttributeValue b(byte[] value) { method b (line 28) | public static AttributeValue b(ByteBuffer value) { method b (line 32) | public static AttributeValue b(UUID value) { method n (line 36) | public static AttributeValue n(long value) { method s (line 40) | public static AttributeValue s(String value) { method m (line 44) | public static AttributeValue m(Map value) { method fromString (line 50) | public static AttributeValue fromString(String value) { method fromLong (line 54) | public static AttributeValue fromLong(long value) { method fromBool (line 58) | public static AttributeValue fromBool(boolean value) { return Attribut... method fromInt (line 60) | public static AttributeValue fromInt(int value) { method fromByteArray (line 64) | public static AttributeValue fromByteArray(byte[] value) { method fromByteBuffer (line 68) | public static AttributeValue fromByteBuffer(ByteBuffer value) { method fromUUID (line 72) | public static AttributeValue fromUUID(UUID uuid) { method fromSdkBytes (line 76) | public static AttributeValue fromSdkBytes(SdkBytes value) { method toBool (line 80) | private static boolean toBool(AttributeValue av) { method toInt (line 84) | private static int toInt(AttributeValue av) { method toLong (line 88) | private static long toLong(AttributeValue av) { method toUUID (line 92) | private static UUID toUUID(AttributeValue av) { method toByteArray (line 96) | private static byte[] toByteArray(AttributeValue av) { method toString (line 100) | private static String toString(AttributeValue av) { method get (line 104) | public static Optional get(Map... method getBool (line 108) | public static boolean getBool(Map item, String... method getInt (line 112) | public static int getInt(Map item, String key,... method getString (line 116) | public static String getString(Map item, Strin... method getLong (line 120) | public static long getLong(Map item, String ke... method getByteArray (line 124) | public static byte[] getByteArray(Map item, St... method getUUID (line 128) | public static UUID getUUID(Map item, String ke... method extractByteArray (line 139) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/BackupAuthCredentialAdapter.java class BackupAuthCredentialAdapter (line 24) | public class BackupAuthCredentialAdapter { class GenericDeserializer (line 32) | abstract static class GenericDeserializer extends JsonDeserializer<... method deserialize (line 34) | abstract T deserialize(final byte[] bytes) throws InvalidInputExcept... method deserialize (line 36) | @Override class GenericSerializer (line 55) | static class GenericSerializer extends JsonSerial... method serialize (line 57) | @Override class CredentialRequestSerializer (line 64) | public static class CredentialRequestSerializer extends GenericSeriali... class CredentialRequestDeserializer (line 65) | public static class CredentialRequestDeserializer extends GenericDeser... method deserialize (line 66) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/BoundedVirtualThreadFactory.java class BoundedVirtualThreadFactory (line 20) | public class BoundedVirtualThreadFactory implements ThreadFactory { method BoundedVirtualThreadFactory (line 31) | public BoundedVirtualThreadFactory(final String threadPoolName, final ... method newThread (line 46) | @Override method getRunningThreads (line 70) | @VisibleForTesting method tryAcquire (line 75) | private boolean tryAcquire() { method release (line 87) | private void release() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/BufferingInterceptor.java class BufferingInterceptor (line 35) | public class BufferingInterceptor implements WriterInterceptor { method aroundWriteTo (line 37) | @Override class BufferingOutputStream (line 47) | private static class BufferingOutputStream extends ByteArrayOutputStre... method BufferingOutputStream (line 51) | BufferingOutputStream(final CommittingOutputStream original) { method close (line 55) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayAdapter.java class ByteArrayAdapter (line 17) | public class ByteArrayAdapter { class Serializing (line 19) | public static class Serializing extends JsonSerializer { method serialize (line 20) | @Override class Deserializing (line 27) | public static class Deserializing extends JsonDeserializer { method deserialize (line 28) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayBase64UrlAdapter.java class ByteArrayBase64UrlAdapter (line 12) | public class ByteArrayBase64UrlAdapter { class Serializing (line 13) | public static class Serializing extends JsonSerializer { method serialize (line 14) | @Override class Deserializing (line 21) | public static class Deserializing extends JsonDeserializer { method deserialize (line 22) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayBase64WithPaddingAdapter.java class ByteArrayBase64WithPaddingAdapter (line 12) | public class ByteArrayBase64WithPaddingAdapter { class Serializing (line 13) | public static class Serializing extends JsonSerializer { method serialize (line 14) | @Override class Deserializing (line 21) | public static class Deserializing extends JsonDeserializer { method deserialize (line 22) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/CertificateUtil.java class CertificateUtil (line 17) | public class CertificateUtil { method buildKeyStoreForPem (line 19) | public static KeyStore buildKeyStoreForPem(final String... caCertifica... method getCertificate (line 42) | public static X509Certificate getCertificate(final String certificateP... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ClosableEpoch.java class ClosableEpoch (line 16) | public class ClosableEpoch { method ClosableEpoch (line 33) | public ClosableEpoch(final Runnable onCloseHandler) { method tryArrive (line 44) | public boolean tryArrive() { method depart (line 55) | public void depart() { method close (line 71) | public void close() { method getActiveCallers (line 84) | @VisibleForTesting method isClosing (line 89) | private static boolean isClosing(final int state) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/CompletableFutureUtil.java class CompletableFutureUtil (line 16) | public class CompletableFutureUtil { method toCompletableFuture (line 18) | public static CompletableFuture toCompletableFuture(final Liste... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/Constants.java class Constants (line 10) | public class Constants { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/Conversions.java class Conversions (line 7) | public class Conversions { method intsToByteHighAndLow (line 9) | public static byte intsToByteHighAndLow(int highValue, int lowValue) { method highBitsToInt (line 13) | public static int highBitsToInt(byte value) { method lowBitsToInt (line 17) | public static int lowBitsToInt(byte value) { method highBitsToMedium (line 21) | public static int highBitsToMedium(int value) { method lowBitsToMedium (line 25) | public static int lowBitsToMedium(int value) { method shortToByteArray (line 29) | public static byte[] shortToByteArray(int value) { method shortToByteArray (line 35) | public static int shortToByteArray(byte[] bytes, int offset, int value) { method shortToLittleEndianByteArray (line 41) | public static int shortToLittleEndianByteArray(byte[] bytes, int offse... method mediumToByteArray (line 47) | public static byte[] mediumToByteArray(int value) { method mediumToByteArray (line 53) | public static int mediumToByteArray(byte[] bytes, int offset, int valu... method intToByteArray (line 60) | public static byte[] intToByteArray(int value) { method intToByteArray (line 66) | public static int intToByteArray(byte[] bytes, int offset, int value) { method intToLittleEndianByteArray (line 74) | public static int intToLittleEndianByteArray(byte[] bytes, int offset,... method longToByteArray (line 82) | public static byte[] longToByteArray(long l) { method longToByteArray (line 88) | public static int longToByteArray(byte[] bytes, int offset, long value) { method longTo4ByteArray (line 100) | public static int longTo4ByteArray(byte[] bytes, int offset, long valu... method byteArrayToShort (line 108) | public static int byteArrayToShort(byte[] bytes) { method byteArrayToShort (line 112) | public static int byteArrayToShort(byte[] bytes, int offset) { method byteArrayToMedium (line 118) | public static int byteArrayToMedium(byte[] bytes, int offset) { method byteArrayToInt (line 125) | public static int byteArrayToInt(byte[] bytes) { method byteArrayToInt (line 129) | public static int byteArrayToInt(byte[] bytes, int offset) { method byteArrayToIntLittleEndian (line 137) | public static int byteArrayToIntLittleEndian(byte[] bytes, int offset) { method byteArrayToLong (line 145) | public static long byteArrayToLong(byte[] bytes) { method byteArray4ToLong (line 149) | public static long byteArray4ToLong(byte[] bytes, int offset) { method byteArrayToLong (line 157) | public static long byteArrayToLong(byte[] bytes, int offset) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/DeviceCapabilityAdapter.java class DeviceCapabilityAdapter (line 23) | public class DeviceCapabilityAdapter { method DeviceCapabilityAdapter (line 27) | private DeviceCapabilityAdapter() { class Serializer (line 30) | public static class Serializer extends JsonSerializer mapToSet(Map capa... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/DeviceNameByteArrayAdapter.java class DeviceNameByteArrayAdapter (line 25) | public class DeviceNameByteArrayAdapter { class Serializer (line 30) | public static class Serializer extends JsonSerializer { method serialize (line 31) | @Override class Deserializer (line 40) | public static class Deserializer extends JsonDeserializer { method deserialize (line 41) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/E164.java class Validator (line 42) | class Validator implements ConstraintValidator { method isValid (line 44) | @Override class OptionalValidator (line 61) | class OptionalValidator implements ConstraintValidator, V> EnumMap toEnumMap(final Cla... method toCompleteEnumMap (line 26) | public static , V> EnumMap toCompleteEnumMap(f... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidator.java class ExactlySizeValidator (line 14) | public abstract class ExactlySizeValidator implements ConstraintValid... method initialize (line 18) | @Override method isValid (line 23) | @Override method size (line 28) | protected abstract int size(T value); FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidatorForArraysOfByte.java class ExactlySizeValidatorForArraysOfByte (line 8) | public class ExactlySizeValidatorForArraysOfByte extends ExactlySizeVali... method size (line 10) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidatorForCollection.java class ExactlySizeValidatorForCollection (line 10) | public class ExactlySizeValidatorForCollection extends ExactlySizeValida... method size (line 12) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidatorForSecretBytes.java class ExactlySizeValidatorForSecretBytes (line 10) | public class ExactlySizeValidatorForSecretBytes extends ExactlySizeValid... method size (line 11) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidatorForString.java class ExactlySizeValidatorForString (line 9) | public class ExactlySizeValidatorForString extends ExactlySizeValidator<... method size (line 11) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExceptionUtils.java class ExceptionUtils (line 7) | public final class ExceptionUtils { method ExceptionUtils (line 9) | private ExceptionUtils() { method unwrap (line 23) | public static Throwable unwrap(Throwable throwable) { method wrap (line 36) | public static CompletionException wrap(final Throwable throwable) { method exceptionallyHandler (line 52) | public static Function Function T unwrapSupply(Class exType,... method unwrapSupply (line 119) | public static T unwrapSu... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ExecutorUtil.java class ExecutorUtil (line 12) | public class ExecutorUtil { method ExecutorUtil (line 14) | private ExecutorUtil() { method runAll (line 25) | public static void runAll(Executor executor, Collection runn... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/Futures.java class Futures (line 11) | public class Futures { method zipWith (line 13) | public static CompletionStage zipWith( FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/GoogleApiUtil.java class GoogleApiUtil (line 9) | public class GoogleApiUtil { method toCompletableFuture (line 11) | public static CompletableFuture toCompletableFuture(final ApiFu... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/HeaderUtils.java class HeaderUtils (line 29) | public final class HeaderUtils { method HeaderUtils (line 44) | private HeaderUtils() { method basicAuthHeader (line 48) | public static String basicAuthHeader(final ExternalServiceCredentials ... method basicAuthHeader (line 52) | public static String basicAuthHeader(final String username, final Stri... method getTimestampHeader (line 58) | @Nonnull method basicCredentialsFromAuthHeader (line 67) | public static Optional basicCredentialsFromAuthHeade... method getAcceptableLanguagesForRequest (line 96) | public static List getAcceptableLanguagesForRequest(ContainerR... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/HmacUtils.java class HmacUtils (line 16) | public final class HmacUtils { method initializedThreadLocalMac (line 30) | private static Mac initializedThreadLocalMac(final byte[] key) { method hmac256 (line 40) | public static byte[] hmac256(final byte[] key, final byte[] input) { method hmac256 (line 44) | public static byte[] hmac256(final byte[] key, final byte[]... inputs) { method hmac256 (line 52) | public static byte[] hmac256(final byte[] key, final String input) { method hmac256ToHexString (line 56) | public static String hmac256ToHexString(final byte[] key, final byte[]... method hmac256ToHexString (line 60) | public static String hmac256ToHexString(final byte[] key, final String... method hmac256Truncated (line 64) | public static byte[] hmac256Truncated(final byte[] key, final byte[] i... method hmac256Truncated (line 68) | public static byte[] hmac256Truncated(final byte[] key, final String i... method hmac256TruncatedToHexString (line 72) | public static String hmac256TruncatedToHexString(final byte[] key, fin... method hmac256TruncatedToHexString (line 76) | public static String hmac256TruncatedToHexString(final byte[] key, fin... method hmacHexStringsEqual (line 80) | public static boolean hmacHexStringsEqual(final String expectedAsHexSt... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/HostnameUtil.java class HostnameUtil (line 14) | public class HostnameUtil { method getLocalHostname (line 18) | public static String getLocalHostname() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/HttpServletRequestUtil.java class HttpServletRequestUtil (line 10) | public class HttpServletRequestUtil { method getRemoteAddress (line 16) | public static String getRemoteAddress(final HttpServletRequest request) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/HttpUtils.java class HttpUtils (line 14) | public final class HttpUtils { method HttpUtils (line 16) | private HttpUtils() { method isSuccessfulResponse (line 20) | public static boolean isSuccessfulResponse(final int statusCode) { method queryParamString (line 24) | public static String queryParamString(final Collection { method serialize (line 24) | @Override class Deserializer (line 33) | public static class Deserializer extends JsonDeserializer { method deserialize (line 35) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ImpossiblePhoneNumberException.java class ImpossiblePhoneNumberException (line 8) | public class ImpossiblePhoneNumberException extends Exception { method ImpossiblePhoneNumberException (line 10) | public ImpossiblePhoneNumberException() { method ImpossiblePhoneNumberException (line 14) | public ImpossiblePhoneNumberException(final Throwable cause) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/InetAddressRange.java class InetAddressRange (line 16) | public class InetAddressRange { method InetAddressRange (line 23) | public InetAddressRange(final String cidrBlock) { method generatePrefixMask (line 47) | @VisibleForTesting method contains (line 59) | public boolean contains(final String name) { method contains (line 64) | public boolean contains(final InetAddress inetAddress) { method equals (line 80) | @Override method hashCode (line 97) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/InstantAdapter.java class InstantAdapter (line 14) | public class InstantAdapter { class EpochSecondSerializer (line 16) | public static class EpochSecondSerializer extends JsonSerializer Optional zipWith(Optional optionalT, Opt... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/Pair.java method Pair (line 10) | public Pair(kotlin.Pair p) { method Pair (line 14) | public Pair(Map.Entry e) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ProfileHelper.java class ProfileHelper (line 28) | public class ProfileHelper { method mergeBadgeIdsWithExistingAccountBadges (line 33) | public static List mergeBadgeIdsWithExistingAccountBadges( method generateAvatarObjectName (line 77) | public static String generateAvatarObjectName() { method isSelfProfileRequest (line 84) | public static boolean isSelfProfileRequest(@Nullable final UUID reques... method getExpiringProfileKeyCredential (line 88) | public static ExpiringProfileKeyCredentialResponse getExpiringProfileK... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/RedisClusterUtil.java class RedisClusterUtil (line 16) | public class RedisClusterUtil { method getMinimalHashTag (line 44) | public static String getMinimalHashTag(final int slot) { method getChangedSlots (line 57) | public static boolean[] getChangedSlots(final ClusterTopologyChangedEv... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/RegistrationIdValidator.java class RegistrationIdValidator (line 11) | public class RegistrationIdValidator { method validRegistrationId (line 12) | public static boolean validRegistrationId(int registrationId) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ResilienceUtil.java class ResilienceUtil (line 30) | public class ResilienceUtil { method getCircuitBreakerRegistry (line 73) | public static CircuitBreakerRegistry getCircuitBreakerRegistry() { method getRetryRegistry (line 77) | public static RetryRegistry getRetryRegistry() { method setGeneralRedisRetryConfiguration (line 81) | public static void setGeneralRedisRetryConfiguration(final RetryConfig... method name (line 92) | public static String name(final Class clazz) { method name (line 102) | public static String name(final Class clazz, @Nullable final String... method getGeneralRedisRetry (line 112) | public static Retry getGeneralRedisRetry(final String name) { method addMetrics (line 116) | private static void addMetrics(final CircuitBreaker circuitBreaker) { method addMetrics (line 160) | private static void addMetrics(final Retry retry) { method removeMetrics (line 194) | private static void removeMetrics(final CircuitBreaker circuitBreaker) { method removeMetrics (line 198) | private static void removeMetrics(final Retry retry) { method removeMetrics (line 202) | private static void removeMetrics(@Nullable final Set meterI... method toTags (line 208) | private static List toTags(final Map tagMap) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ServiceIdentifierAdapter.java class ServiceIdentifierAdapter (line 19) | public class ServiceIdentifierAdapter { class ServiceIdentifierSerializer (line 21) | public static class ServiceIdentifierSerializer extends JsonSerializer... method serialize (line 23) | @Override class AciServiceIdentifierDeserializer (line 31) | public static class AciServiceIdentifierDeserializer extends JsonDeser... method deserialize (line 33) | @Override class PniServiceIdentifierDeserializer (line 41) | public static class PniServiceIdentifierDeserializer extends JsonDeser... method deserialize (line 43) | @Override class ServiceIdentifierDeserializer (line 51) | public static class ServiceIdentifierDeserializer extends JsonDeserial... method deserialize (line 53) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/SystemMapper.java class SystemMapper (line 26) | public class SystemMapper { method jsonMapper (line 34) | @Nonnull method yamlMapper (line 39) | @Nonnull method configureMapper (line 44) | public static ObjectMapper configureMapper(final ObjectMapper mapper) { method excludingField (line 56) | public static FilterProvider excludingField(final Class clazz, fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ThrowingConsumer.java type ThrowingConsumer (line 10) | @FunctionalInterface method accept (line 18) | void accept(T t) throws E; FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ThrowingSupplier.java type ThrowingSupplier (line 11) | @FunctionalInterface method get (line 19) | T get() throws E; FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/UUIDUtil.java class UUIDUtil (line 13) | public final class UUIDUtil { method UUIDUtil (line 15) | private UUIDUtil() { method toBytes (line 19) | public static byte[] toBytes(final UUID uuid) { method toByteBuffer (line 23) | public static ByteBuffer toByteBuffer(final UUID uuid) { method toByteString (line 30) | public static ByteString toByteString(final UUID uuid) { method fromByteString (line 34) | public static UUID fromByteString(final ByteString byteString) { method fromBytes (line 38) | public static UUID fromBytes(final byte[] bytes) { method fromBytes (line 42) | public static UUID fromBytes(final byte[] bytes, final int offset) { method fromByteBuffer (line 46) | public static UUID fromByteBuffer(final ByteBuffer byteBuffer) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/UsernameHashZkProofVerifier.java class UsernameHashZkProofVerifier (line 11) | public class UsernameHashZkProofVerifier { method verifyProof (line 12) | public void verifyProof(final byte[] proof, final byte[] hash) throws ... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/Util.java class Util (line 32) | public class Util { method requireNormalizedNumber (line 54) | public static void requireNormalizedNumber(final String number) throws... method getCountryCode (line 90) | public static String getCountryCode(String number) { method getRegion (line 98) | public static String getRegion(final String number) { method getAlternateForms (line 123) | public static List getAlternateForms(final String number) { method getCanonicalNumber (line 164) | public static Optional getCanonicalNumber(List e164s) { method startsWithDecimal (line 200) | public static boolean startsWithDecimal(final long number, final long ... method isOldFormatBeninPhoneNumber (line 224) | public static boolean isOldFormatBeninPhoneNumber(final Phonenumber.Ph... method canonicalizePhoneNumber (line 236) | public static Phonenumber.PhoneNumber canonicalizePhoneNumber(final Ph... method truncate (line 244) | public static byte[] truncate(byte[] element, int length) { method sleep (line 251) | public static void sleep(long i) { method todayInMillis (line 258) | public static long todayInMillis() { method todayInMillis (line 262) | public static long todayInMillis(Clock clock) { method todayInMillisGivenOffsetFromNow (line 266) | public static long todayInMillisGivenOffsetFromNow(Clock clock, Durati... method findBestLocale (line 271) | public static Optional findBestLocale(List prio... method ensureNonNegativeInt (line 283) | public static int ensureNonNegativeInt(int n) { method ensureNonNegativeLong (line 295) | public static long ensureNonNegativeLong(long n) { method randomNOfShuffled (line 304) | public static List randomNOfShuffled(List values, int n) { method randomNOfStable (line 321) | public static List randomNOfStable(List values, int n) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ValidBase64URLString.java class Validator (line 38) | class Validator implements ConstraintValidator { method isValid (line 40) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/VirtualExecutorServiceProvider.java class VirtualExecutorServiceProvider (line 16) | @ManagedAsyncExecutor method VirtualExecutorServiceProvider (line 30) | public VirtualExecutorServiceProvider( method getExecutorService (line 38) | @Override method dispose (line 46) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/VirtualThreadPinEventMonitor.java class VirtualThreadPinEventMonitor (line 30) | public class VirtualThreadPinEventMonitor implements Managed { method VirtualThreadPinEventMonitor (line 44) | @VisibleForTesting method VirtualThreadPinEventMonitor (line 54) | public VirtualThreadPinEventMonitor( method start (line 60) | @Override method stop (line 68) | @Override method processPinEvent (line 83) | private static void processPinEvent(final RecordedEvent event) { method prettyEventString (line 88) | private static String prettyEventString(final RecordedEvent event) { method prettyStackTraceString (line 105) | private static String prettyStackTraceString(final RecordedStackTrace ... method prettyThreadString (line 118) | private static String prettyThreadString(final RecordedThread thread) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/WeightedRandomSelect.java class WeightedRandomSelect (line 11) | public class WeightedRandomSelect { method WeightedRandomSelect (line 16) | public WeightedRandomSelect(List> weightedItems) throws ... method select (line 29) | public T select() { method select (line 50) | public static T select(List> weightedItems) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/LoggingUnhandledExceptionMapper.java class LoggingUnhandledExceptionMapper (line 22) | public class LoggingUnhandledExceptionMapper extends LoggingExceptionMap... method LoggingUnhandledExceptionMapper (line 27) | public LoggingUnhandledExceptionMapper() { method LoggingUnhandledExceptionMapper (line 31) | @VisibleForTesting method formatLogMessage (line 36) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilter.java class RequestLogEnabledFilter (line 11) | class RequestLogEnabledFilter extends Filter { method decide (line 15) | @Override method setRequestLoggingEnabled (line 20) | public void setRequestLoggingEnabled(final boolean requestLoggingEnabl... FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilterFactory.java class RequestLogEnabledFilterFactory (line 13) | @JsonTypeName("requestLogEnabled") method build (line 16) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogManager.java class RequestLogManager (line 11) | public class RequestLogManager { method getHttpRequestLogFilter (line 14) | static Filter getHttpRequestLogFilter() { method setRequestLoggingEnabled (line 18) | public static void setRequestLoggingEnabled(final boolean enabled) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/UncaughtExceptionHandler.java class UncaughtExceptionHandler (line 12) | public class UncaughtExceptionHandler { method register (line 16) | public static void register() { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/UnknownKeepaliveOptionFilter.java class UnknownKeepaliveOptionFilter (line 15) | public class UnknownKeepaliveOptionFilter extends Filter { method decide (line 19) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/UnknownKeepaliveOptionFilterFactory.java class UnknownKeepaliveOptionFilterFactory (line 8) | @JsonTypeName("unknownKeepaliveOption") method build (line 11) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/logging/UriInfoUtil.java class UriInfoUtil (line 10) | public class UriInfoUtil { method getPathTemplate (line 12) | public static String getPathTemplate(final ExtendedUriInfo uriInfo) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ua/ClientPlatform.java type ClientPlatform (line 8) | public enum ClientPlatform { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UnrecognizedUserAgentException.java class UnrecognizedUserAgentException (line 8) | public class UnrecognizedUserAgentException extends Exception { method UnrecognizedUserAgentException (line 10) | public UnrecognizedUserAgentException() { method UnrecognizedUserAgentException (line 13) | public UnrecognizedUserAgentException(final String message) { method UnrecognizedUserAgentException (line 17) | public UnrecognizedUserAgentException(final Throwable cause) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtil.java class UserAgentUtil (line 13) | public class UserAgentUtil { method parseUserAgentString (line 17) | public static UserAgent parseUserAgentString(final String userAgentStr... FILE: service/src/main/java/org/whispersystems/textsecuregcm/websocket/AuthenticatedConnectListener.java class AuthenticatedConnectListener (line 34) | public class AuthenticatedConnectListener implements WebSocketConnectLis... type WebSocketConnectionBuilder (line 45) | @VisibleForTesting method buildWebSocketConnection (line 48) | WebSocketConnection buildWebSocketConnection(Account account, Device... method AuthenticatedConnectListener (line 51) | public AuthenticatedConnectListener( method AuthenticatedConnectListener (line 84) | @VisibleForTesting AuthenticatedConnectListener( method onWebSocketConnect (line 99) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/websocket/InvalidWebsocketAddressException.java class InvalidWebsocketAddressException (line 8) | public class InvalidWebsocketAddressException extends Exception { method InvalidWebsocketAddressException (line 9) | public InvalidWebsocketAddressException(String serialized) { method InvalidWebsocketAddressException (line 13) | public InvalidWebsocketAddressException(Exception e) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/websocket/NoContextTakeoverPerMessageDeflateExtension.java class NoContextTakeoverPerMessageDeflateExtension (line 9) | public final class NoContextTakeoverPerMessageDeflateExtension extends P... method init (line 11) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnectListener.java class ProvisioningConnectListener (line 45) | public class ProvisioningConnectListener implements WebSocketConnectList... method ProvisioningConnectListener (line 52) | public ProvisioningConnectListener(final ProvisioningManager provision... method onWebSocketConnect (line 63) | @Override method generateProvisioningAddress (line 92) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketAccountAuthenticator.java class WebSocketAccountAuthenticator (line 21) | public class WebSocketAccountAuthenticator implements WebSocketAuthentic... method WebSocketAccountAuthenticator (line 25) | public WebSocketAccountAuthenticator(final AccountAuthenticator accoun... method authenticate (line 29) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java class WebSocketConnection (line 60) | public class WebSocketConnection implements DisconnectionRequestListener { method WebSocketConnection (line 118) | public WebSocketConnection(final ReceiptSender receiptSender, method start (line 150) | public void start() { method stop (line 218) | public void stop() { method sendMessage (line 236) | private CompletableFuture sendMessage(final Envelope message) { method serializeMessage (line 293) | @VisibleForTesting method sendDeliveryReceiptFor (line 298) | private void sendDeliveryReceiptFor(Envelope message) { method isSuccessResponse (line 314) | private static boolean isSuccessResponse(final WebSocketResponseMessag... method measureSendMessageErrors (line 318) | private void measureSendMessageErrors(final Throwable e) { method isConnectionClosedException (line 335) | @VisibleForTesting method handleDisconnectionRequest (line 343) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/AbstractCommandWithDependencies.java class AbstractCommandWithDependencies (line 24) | public abstract class AbstractCommandWithDependencies extends Environmen... method AbstractCommandWithDependencies (line 28) | protected AbstractCommandWithDependencies(final Application accounts); FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/BackupMetricsCommand.java class BackupMetricsCommand (line 26) | public class BackupMetricsCommand extends AbstractCommandWithDependencies { method BackupMetricsCommand (line 35) | public BackupMetricsCommand(final Clock clock) { method configure (line 44) | @Override method run (line 56) | @Override method timeSince (line 102) | private Duration timeSince(Instant t) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/BackupUsageRecalculationCommand.java class BackupUsageRecalculationCommand (line 23) | public class BackupUsageRecalculationCommand extends AbstractCommandWith... method BackupUsageRecalculationCommand (line 39) | public BackupUsageRecalculationCommand() { method configure (line 47) | @Override method run (line 65) | @Override type DeltaType (line 106) | private enum DeltaType { method deltaType (line 111) | static DeltaType deltaType(long oldv, long newv) { FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/CertificateCommand.java class CertificateCommand (line 22) | public class CertificateCommand extends Command { method CertificateCommand (line 30) | public CertificateCommand() { method configure (line 34) | @Override method run (line 53) | @Override method runCaCommand (line 59) | private void runCaCommand() { method runCertificateCommand (line 65) | private void runCertificateCommand(Namespace namespace) throws Invalid... FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/CheckDynamicConfigurationCommand.java class CheckDynamicConfigurationCommand (line 19) | public class CheckDynamicConfigurationCommand extends Command { method CheckDynamicConfigurationCommand (line 21) | public CheckDynamicConfigurationCommand() { method configure (line 25) | @Override method isValid (line 38) | private boolean isValid(final Class configurationClass, final Strin... class CommandFailedException (line 45) | private static class CommandFailedException extends RuntimeException { method fillInStackTrace (line 46) | @Override method run (line 52) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/ClearIssuedReceiptRedemptionsCommand.java class ClearIssuedReceiptRedemptionsCommand (line 25) | public class ClearIssuedReceiptRedemptionsCommand extends AbstractComman... method ClearIssuedReceiptRedemptionsCommand (line 29) | public ClearIssuedReceiptRedemptionsCommand() { method configure (line 38) | @Override method run (line 48) | @Override method main (line 80) | public static void main(String[] args) throws Exception { FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/CommandDependencies.java method build (line 116) | static CommandDependencies build( FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/DeleteUserCommand.java class DeleteUserCommand (line 20) | public class DeleteUserCommand extends AbstractCommandWithDependencies { method DeleteUserCommand (line 24) | public DeleteUserCommand() { method configure (line 33) | @Override method run (line 43) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/DiscardPushNotificationExperimentSamplesCommand.java class DiscardPushNotificationExperimentSamplesCommand (line 13) | public class DiscardPushNotificationExperimentSamplesCommand extends Abs... method DiscardPushNotificationExperimentSamplesCommand (line 24) | public DiscardPushNotificationExperimentSamplesCommand(final String name, method configure (line 37) | @Override method run (line 48) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/FinishPushNotificationExperimentCommand.java class FinishPushNotificationExperimentCommand (line 25) | public class FinishPushNotificationExperimentCommand extends Abstract... method FinishPushNotificationExperimentCommand (line 45) | public FinishPushNotificationExperimentCommand(final String name, method configure (line 58) | @Override method run (line 69) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/IdleDeviceNotificationSchedulerFactory.java class IdleDeviceNotificationSchedulerFactory (line 8) | public class IdleDeviceNotificationSchedulerFactory implements JobSchedu... method buildJobScheduler (line 10) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/IdleWakeupEligibilityChecker.java class IdleWakeupEligibilityChecker (line 23) | public class IdleWakeupEligibilityChecker { method IdleWakeupEligibilityChecker (line 40) | public IdleWakeupEligibilityChecker(final Clock clock, final MessagesM... method isDeviceEligible (line 61) | public CompletableFuture isDeviceEligible(final Account accou... method isShortIdle (line 77) | @VisibleForTesting method isLongIdle (line 84) | @VisibleForTesting method hasPushToken (line 91) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/JobSchedulerFactory.java type JobSchedulerFactory (line 6) | public interface JobSchedulerFactory { method buildJobScheduler (line 8) | JobScheduler buildJobScheduler(CommandDependencies commandDependencies... FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/MessagePersisterServiceCommand.java class MessagePersisterServiceCommand (line 30) | public class MessagePersisterServiceCommand extends ServerCommand { method buildExperiment (line 8) | PushNotificationExperiment buildExperiment(CommandDependencies comm... FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/RegenerateSecondaryDynamoDbTableDataCommand.java class RegenerateSecondaryDynamoDbTableDataCommand (line 20) | public class RegenerateSecondaryDynamoDbTableDataCommand extends Abstrac... method RegenerateSecondaryDynamoDbTableDataCommand (line 34) | public RegenerateSecondaryDynamoDbTableDataCommand() { method configure (line 38) | @Override method crawlAccounts (line 62) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/RemoveExpiredAccountsCommand.java class RemoveExpiredAccountsCommand (line 26) | public class RemoveExpiredAccountsCommand extends AbstractSinglePassCraw... method RemoveExpiredAccountsCommand (line 42) | public RemoveExpiredAccountsCommand(final Clock clock) { method configure (line 48) | @Override method crawlAccounts (line 60) | @Override method isExpired (line 86) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/RemoveExpiredBackupsCommand.java class RemoveExpiredBackupsCommand (line 27) | public class RemoveExpiredBackupsCommand extends AbstractCommandWithDepe... method RemoveExpiredBackupsCommand (line 46) | public RemoveExpiredBackupsCommand(final Clock clock) { method configure (line 55) | @Override method run (line 88) | @Override method removeExpiredBackup (line 111) | private Mono removeExpiredBackup( FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/RemoveExpiredLinkedDevicesCommand.java class RemoveExpiredLinkedDevicesCommand (line 32) | public class RemoveExpiredLinkedDevicesCommand extends AbstractSinglePas... method RemoveExpiredLinkedDevicesCommand (line 53) | public RemoveExpiredLinkedDevicesCommand() { method configure (line 57) | @Override method crawlAccounts (line 87) | @Override method deleteDevices (line 126) | private Mono deleteDevices(final Account account, final Set getDetetablePages(final DeviceKEMPreKeyPag... method shouldDeletePage (line 131) | @VisibleForTesting FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/ScheduledApnPushNotificationSenderServiceCommand.java class ScheduledApnPushNotificationSenderServiceCommand (line 23) | public class ScheduledApnPushNotificationSenderServiceCommand extends Se... method ScheduledApnPushNotificationSenderServiceCommand (line 29) | public ScheduledApnPushNotificationSenderServiceCommand() { method configure (line 39) | @Override method run (line 64) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/ServerVersionCommand.java class ServerVersionCommand (line 14) | public class ServerVersionCommand extends Command { method ServerVersionCommand (line 16) | public ServerVersionCommand() { method configure (line 20) | @Override method run (line 24) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/SetRequestLoggingEnabledTask.java class SetRequestLoggingEnabledTask (line 15) | public class SetRequestLoggingEnabledTask extends Task { method SetRequestLoggingEnabledTask (line 17) | public SetRequestLoggingEnabledTask() { method execute (line 21) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/SetUserDiscoverabilityCommand.java class SetUserDiscoverabilityCommand (line 18) | public class SetUserDiscoverabilityCommand extends AbstractCommandWithDe... method SetUserDiscoverabilityCommand (line 20) | public SetUserDiscoverabilityCommand() { method configure (line 29) | @Override method run (line 46) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/StartPushNotificationExperimentCommand.java class StartPushNotificationExperimentCommand (line 24) | public class StartPushNotificationExperimentCommand extends AbstractS... method StartPushNotificationExperimentCommand (line 49) | public StartPushNotificationExperimentCommand(final String name, method configure (line 57) | @Override method crawlAccounts (line 75) | @Override method isInExperimentGroup (line 161) | private boolean isInExperimentGroup(final UUID accountIdentifier, fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/UnlinkDeviceCommand.java class UnlinkDeviceCommand (line 19) | public class UnlinkDeviceCommand extends AbstractCommandWithDependencies { method UnlinkDeviceCommand (line 21) | public UnlinkDeviceCommand() { method configure (line 30) | @Override method run (line 47) | @Override FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/UnlinkDevicesWithIdlePrimaryCommand.java class UnlinkDevicesWithIdlePrimaryCommand (line 27) | public class UnlinkDevicesWithIdlePrimaryCommand extends AbstractSingleP... method UnlinkDevicesWithIdlePrimaryCommand (line 48) | public UnlinkDevicesWithIdlePrimaryCommand(final Clock clock) { method configure (line 54) | @Override method crawlAccounts (line 79) | @Override method isPrimaryDeviceIdle (line 117) | private static boolean isPrimaryDeviceIdle(final Account account, fina... FILE: service/src/main/java/org/whispersystems/textsecuregcm/workers/ZkParamsCommand.java class ZkParamsCommand (line 16) | public class ZkParamsCommand extends Command { method ZkParamsCommand (line 18) | public ZkParamsCommand() { method configure (line 22) | @Override method run (line 27) | @Override FILE: service/src/test/java-templates/org/whispersystems/textsecuregcm/util/TestcontainersImages.java class TestcontainersImages (line 8) | public class TestcontainersImages { method getDynamoDb (line 15) | public static String getDynamoDb() { method getLocalStack (line 19) | public static String getLocalStack() { method getRedis (line 23) | public static String getRedis() { method getRedisCluster (line 27) | public static String getRedisCluster() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/BufferingInterceptorIntegrationTest.java class BufferingInterceptorIntegrationTest (line 25) | @ExtendWith(DropwizardExtensionsSupport.class) class TestApplication (line 30) | public static class TestApplication extends Application { method run (line 32) | @Override method testVirtual (line 42) | @Test method testPlatform (line 50) | @Test class TestController (line 59) | @Path("/test") method getVirtual (line 62) | @GET method getPlatform (line 70) | @GET FILE: service/src/test/java/org/whispersystems/textsecuregcm/CheckServiceConfigurations.java class CheckServiceConfigurations (line 16) | public class CheckServiceConfigurations { method checkConfiguration (line 20) | private void checkConfiguration(final File configDirectory) { method main (line 49) | public static void main(final String[] args) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/LocalWhisperServerService.java class LocalWhisperServerService (line 21) | public class LocalWhisperServerService { method main (line 25) | public static void main(String[] args) throws Exception { FILE: service/src/test/java/org/whispersystems/textsecuregcm/ProvisioningTimeoutIntegrationTest.java class ProvisioningTimeoutIntegrationTest (line 54) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 63) | @BeforeEach method tearDown (line 71) | @AfterEach class TestProvisioningListener (line 76) | public static class TestProvisioningListener extends TestWebsocketList... method onWebSocketBinary (line 79) | @Override class TestApplication (line 99) | public static class TestApplication extends Application { method run (line 103) | @Override method websocketTimeoutWithHeader (line 127) | @Test method websocketTimeoutCancelled (line 153) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/WebsocketResourceProviderIntegrationTest.java class WebsocketResourceProviderIntegrationTest (line 43) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 51) | @BeforeEach method tearDown (line 57) | @AfterEach class TestApplication (line 63) | public static class TestApplication extends Application { method run (line 65) | @Override method contentLength (line 101) | @ParameterizedTest class TestController (line 116) | @Path("/test") method get (line 119) | @GET method put (line 127) | @PUT FILE: service/src/test/java/org/whispersystems/textsecuregcm/WhisperServerServiceTest.java class WhisperServerServiceTest (line 54) | @ExtendWith(DropwizardExtensionsSupport.class) method teardown (line 72) | @AfterAll method setUp (line 77) | @BeforeAll method start (line 82) | @Test method websocket (line 103) | @Test method rest (line 138) | @Test method dynamoDb (line 154) | @Test method getDynamoDbClient (line 188) | private static DynamoDbClient getDynamoDbClient() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/asn/AsnInfoProviderImplTest.java class AsnInfoProviderImplTest (line 22) | public class AsnInfoProviderImplTest { method testAsnInfo (line 26) | @SuppressWarnings("OptionalGetWithoutIsPresent") method testBytesToLong (line 55) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/AccountAuthenticatorTest.java class AccountAuthenticatorTest (line 42) | class AccountAuthenticatorTest { method setup (line 56) | @BeforeEach method generateTestDevice (line 70) | private static Device generateTestDevice(final long lastSeen) { method testUpdateLastSeenMiddleOfDay (line 78) | @Test method testUpdateLastSeenStartOfDay (line 98) | @Test method testUpdateLastSeenEndOfDay (line 118) | @Test method testNeverWriteYesterday (line 138) | @Test method testAuthenticate (line 151) | @Test method testAuthenticateNonDefaultDevice (line 181) | @Test method testAuthenticateEnabled (line 211) | @CartesianTest method testAuthenticateV1 (line 247) | @Test method testAuthenticateAccountNotFound (line 278) | @Test method testAuthenticateDeviceNotFound (line 284) | @Test method testAuthenticateIncorrectPassword (line 312) | @Test method testAuthenticateMalformedCredentials (line 342) | @ParameterizedTest method testAuthenticateMalformedCredentials (line 352) | private static Stream testAuthenticateMalformedCredentials() { method testGetIdentifierAndDeviceId (line 360) | @ParameterizedTest method testGetIdentifierAndDeviceId (line 370) | private static Stream testGetIdentifierAndDeviceId() { method testGetIdentifierAndDeviceIdMalformed (line 377) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/BasicAuthorizationHeaderTest.java class BasicAuthorizationHeaderTest (line 19) | class BasicAuthorizationHeaderTest { method fromString (line 21) | @Test method fromStringMalformed (line 42) | @ParameterizedTest method fromStringMalformed (line 49) | private static Stream fromStringMalformed() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/CertificateGeneratorTest.java class CertificateGeneratorTest (line 30) | class CertificateGeneratorTest { method testCreateFor (line 51) | @CartesianTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/CloudflareTurnCredentialsManagerTest.java class CloudflareTurnCredentialsManagerTest (line 39) | public class CloudflareTurnCredentialsManagerTest { method setUp (line 62) | @BeforeEach method tearDown (line 86) | @AfterEach method testSuccess (line 98) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/DisconnectionRequestManagerTest.java class DisconnectionRequestManagerTest (line 28) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setUp (line 36) | @BeforeEach method tearDown (line 46) | @AfterEach method addRemoveListener (line 51) | @Test method requestDisconnection (line 80) | @Test method requestDisconnectionAllDevices (line 105) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialsGeneratorTest.java class ExternalServiceCredentialsGeneratorTest (line 23) | class ExternalServiceCredentialsGeneratorTest { method before (line 53) | @BeforeEach method testInvalidConstructor (line 58) | @Test method testGenerateDerivedUsername (line 71) | @Test method testGenerateNoDerivedUsername (line 83) | @Test method testNotPrependUsername (line 90) | @Test method testWithUsernameIsTimestamp (line 103) | @Test method testValidateValid (line 112) | @Test method testValidateValidWithUsernameIsTimestamp (line 117) | @Test method testValidateInvalid (line 123) | @Test method testValidateWithExpiration (line 146) | @Test method testGetIdentityFromSignature (line 157) | @Test method testGetIdentityFromSignatureIsTimestamp (line 163) | @Test method testTruncateLength (line 169) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialsSelectorTest.java class ExternalServiceCredentialsSelectorTest (line 23) | public class ExternalServiceCredentialsSelectorTest { method atTime (line 45) | private static ExternalServiceCredentials atTime( method token (line 58) | private static String token(final ExternalServiceCredentials cred) { method single (line 62) | @Test method multipleUsernames (line 72) | @Test method multipleGenerators (line 96) | @Test method invalidCredentials (line 118) | @ParameterizedTest method invalidCredentials (line 131) | static Stream invalidCredentials() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilterTest.java class IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilterTest (line 27) | class IdlePrimaryDeviceAuthenticatedWebSocketUpgradeFilterTest { method setUp (line 35) | @BeforeEach method handleAuthentication (line 40) | @ParameterizedTest method handleAuthentication (line 60) | private static List handleAuthentication() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/OptionalAccessTest.java class OptionalAccessTest (line 32) | class OptionalAccessTest { method verify (line 34) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method verify (line 53) | private static List verify() { method testTargetIdentifierIllegalArgument (line 181) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/RedemptionRangeTest.java class RedemptionRangeTest (line 25) | class RedemptionRangeTest { method invalidCredentialTimeWindows (line 27) | static List invalidCredentialTimeWindows() { method invalidCredentialTimeWindows (line 44) | @ParameterizedTest method allowUpToMax (line 53) | @Test method allowBackwardsSkew (line 66) | @Test method allowForwardsSkew (line 75) | @Test method inclusiveRange (line 84) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/RegistrationLockError.java type RegistrationLockError (line 8) | public enum RegistrationLockError { method RegistrationLockError (line 15) | RegistrationLockError(final int expectedStatus) { method getExpectedStatus (line 19) | public int getExpectedStatus() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/RegistrationLockVerificationManagerTest.java class RegistrationLockVerificationManagerTest (line 47) | class RegistrationLockVerificationManagerTest { method setUp (line 66) | @BeforeEach method testErrors (line 87) | @ParameterizedTest method testErrors (line 151) | static Stream testErrors() { method testSuccess (line 161) | @ParameterizedTest method testSuccess (line 179) | static Stream testSuccess() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/SaltedTokenHashTest.java class SaltedTokenHashTest (line 12) | class SaltedTokenHashTest { method testCreating (line 14) | @Test method testMatching (line 22) | @Test method testMisMatching (line 30) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/StoredRegistrationLockTest.java class StoredRegistrationLockTest (line 18) | public class StoredRegistrationLockTest { method getStatus (line 19) | @ParameterizedTest method getStatus (line 28) | private static Stream getStatus() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessChecksumTest.java class UnidentifiedAccessChecksumTest (line 14) | public class UnidentifiedAccessChecksumTest { method generateFor (line 15) | @ParameterizedTest method generateFor (line 23) | private static Stream generateFor() { method generateForIllegalArgument (line 32) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessUtilTest.java class UnidentifiedAccessUtilTest (line 21) | class UnidentifiedAccessUtilTest { method checkUnidentifiedAccess (line 23) | @ParameterizedTest method checkUnidentifiedAccess (line 37) | private static Stream checkUnidentifiedAccess() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/grpc/BasicAuthCallCredentials.java class BasicAuthCallCredentials (line 13) | public class BasicAuthCallCredentials extends CallCredentials { method BasicAuthCallCredentials (line 18) | public BasicAuthCallCredentials(String username, String password) { method applyRequestMetadata (line 23) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/grpc/MockAuthenticationInterceptor.java class MockAuthenticationInterceptor (line 17) | public class MockAuthenticationInterceptor implements ServerInterceptor { method setAuthenticatedDevice (line 22) | public void setAuthenticatedDevice(final UUID accountIdentifier, final... method clearAuthenticatedDevice (line 26) | public void clearAuthenticatedDevice() { method interceptCall (line 30) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/grpc/ProhibitAuthenticationInterceptorTest.java class ProhibitAuthenticationInterceptorTest (line 22) | class ProhibitAuthenticationInterceptorTest { method setUp (line 26) | @BeforeEach method tearDown (line 40) | @AfterEach method hasAuth (line 48) | @Test method noAuth (line 59) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/auth/grpc/RequireAuthenticationInterceptorTest.java class RequireAuthenticationInterceptorTest (line 32) | class RequireAuthenticationInterceptorTest { method setUp (line 37) | @BeforeEach method tearDown (line 52) | @AfterEach method hasAuth (line 60) | @Test method badCredentials (line 78) | @Test method missingCredentials (line 91) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/backup/BackupAuthManagerTest.java class BackupAuthManagerTest (line 69) | public class BackupAuthManagerTest { method setUp (line 82) | @BeforeEach method create (line 89) | BackupAuthManager create() { method create (line 93) | BackupAuthManager create(BackupLevel defaultBackupLevel, RateLimiters ... method commitBackupId (line 107) | @Test method commitOnAnyBackupLevel (line 133) | @ParameterizedTest method commitRequiresPrimary (line 148) | @Test method paidTierCredentialViaConfiguration (line 163) | @CartesianTest method getBackupAuthCredentials (line 194) | @CartesianTest method getBackupAuthCredentialsNoCommittedId (line 210) | @ParameterizedTest method getReceiptCredentials (line 221) | @CartesianTest method expiringBackupPayment (line 257) | @Test method expiredBackupPayment (line 290) | @Test method redeemReceipt (line 335) | @Test method redeemReceiptNoBackupRequest (line 351) | @Test method mergeRedemptions (line 364) | @Test method redeemExpiredReceipt (line 391) | @Test method redeemInvalidLevel (line 402) | @ParameterizedTest method redeemInvalidPresentation (line 414) | @Test method receiptAlreadyRedeemed (line 424) | @Test method receiptPresentation (line 442) | private ReceiptCredentialPresentation receiptPresentation(long level, ... method receiptPresentation (line 447) | private ReceiptCredentialPresentation receiptPresentation(ServerSecret... method testCheckLimits (line 462) | @CartesianTest type CredentialChangeType (line 481) | enum CredentialChangeType { method testChangeIdRateLimits (line 491) | @CartesianTest method primaryDevice (line 544) | private Device primaryDevice() { method linkedDevice (line 550) | private Device linkedDevice() { class MockAccountBuilder (line 556) | private class MockAccountBuilder { method MockAccountBuilder (line 560) | MockAccountBuilder() { method backupLevel (line 564) | MockAccountBuilder backupLevel(BackupLevel backupLevel) { method backupVoucher (line 571) | MockAccountBuilder backupVoucher(Account.BackupVoucher backupVoucher) { method mediaCredential (line 576) | MockAccountBuilder mediaCredential(final BackupAuthCredentialRequest... method mediaCredential (line 580) | MockAccountBuilder mediaCredential(final Optional serialized... method messagesCredential (line 586) | MockAccountBuilder messagesCredential(final BackupAuthCredentialRequ... method build (line 592) | Account build() { method rateLimiter (line 598) | private static RateLimiters rateLimiter(final UUID aci, boolean rateLi... method range (line 623) | private RedemptionRange range(Duration length) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/backup/BackupAuthTestUtil.java class BackupAuthTestUtil (line 30) | public class BackupAuthTestUtil { method BackupAuthTestUtil (line 35) | public BackupAuthTestUtil(final Clock clock) { method getRequest (line 39) | public BackupAuthCredentialRequest getRequest(final byte[] backupKey, ... method getPresentation (line 43) | public BackupAuthCredentialPresentation getPresentation( method getPresentation (line 49) | public BackupAuthCredentialPresentation getPresentation( method getCredentials (line 62) | public List getCredentials( FILE: service/src/test/java/org/whispersystems/textsecuregcm/backup/BackupManagerTest.java class BackupManagerTest (line 94) | public class BackupManagerTest { method setup (line 134) | @BeforeEach method checkBackupLevel (line 167) | @ParameterizedTest method checkBackupCredentialType (line 191) | @ParameterizedTest method createBackup (line 215) | @ParameterizedTest method createBackupWrongCredentialType (line 237) | @ParameterizedTest method createTemporaryMediaAttachmentRateLimited (line 250) | @Test method createTemporaryMediaAttachmentWrongTier (line 259) | @Test method createTemporaryMediaAttachmentWrongCredentialType (line 266) | @Test method ttlRefresh (line 273) | @ParameterizedTest method createBackupRefreshesTtl (line 295) | @ParameterizedTest method invalidPresentationNoPublicKey (line 317) | @Test method invalidPresentationCorrectSignature (line 334) | @Test method unknownPublicKey (line 355) | @Test method mismatchedPublicKey (line 368) | @Test method signatureValidation (line 388) | @Test method credentialExpiration (line 416) | @Test method copySuccess (line 441) | @Test method copyUsageCheckpoints (line 458) | @Test method copyFailure (line 505) | @Test method copyPartialSuccess (line 517) | @Test method copyWrongCredentialType (line 549) | @Test method quotaEnforcementNoRecalculation (line 556) | @Test method quotaEnforcementRecalculation (line 573) | @Test method quotaEnforcement (line 600) | @CartesianTest() method requestRecalculation (line 635) | @Test method list (line 661) | @ParameterizedTest method deleteEntireBackup (line 685) | @Test method delete (line 723) | @Test method deleteWrongCredentialType (line 744) | @Test method deleteUnknownCdn (line 752) | @Test method deleteUsageCheckpoints (line 761) | @Test method deletePartialFailure (line 806) | @Test method alreadyDeleted (line 844) | @Test method listExpiredBackups (line 864) | @Test method listExpiredBackupsByTier (line 900) | @Test method expireBackup (line 927) | @ParameterizedTest method deleteBackupPaginated (line 972) | @Test method svrbAuthValid (line 1009) | @ParameterizedTest method svrbAuthInvalid (line 1022) | @ParameterizedTest method copyError (line 1032) | private CopyResult copyError(final AuthenticatedBackupUser backupUser,... method copy (line 1040) | private CopyResult copy(final AuthenticatedBackupUser backupUser) thro... method expiredBackup (line 1050) | private static ExpiredBackup expiredBackup(final ExpiredBackup.Expirat... method getBackupItem (line 1063) | private Map getBackupItem(final AuthenticatedB... method checkExpectedExpirations (line 1071) | private void checkExpectedExpirations( method hashedBackupId (line 1087) | private static byte[] hashedBackupId(final byte[] backupId) { method backupUser (line 1098) | private AuthenticatedBackupUser backupUser(final byte[] backupId, fina... method retrieveBackupUser (line 1113) | private AuthenticatedBackupUser retrieveBackupUser(final byte[] backup... method days (line 1118) | private static Instant days(int n) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/backup/BackupsDbTest.java class BackupsDbTest (line 35) | public class BackupsDbTest { method setup (line 44) | @BeforeEach method trackMediaStats (line 52) | @Test method setUsage (line 81) | @ParameterizedTest method expirationDetectedOnce (line 96) | @Test method expirationFailed (line 138) | @ParameterizedTest method list (line 220) | @Test method days (line 266) | private static Instant days(int n) { method backupUser (line 270) | private AuthenticatedBackupUser backupUser(final byte[] backupId, fina... FILE: service/src/test/java/org/whispersystems/textsecuregcm/backup/Cdn3BackupCredentialGeneratorTest.java class Cdn3BackupCredentialGeneratorTest (line 18) | public class Cdn3BackupCredentialGeneratorTest { method uploadGenerator (line 19) | @Test method readCredential (line 33) | @Test method parseUsername (line 45) | private static String parseUsername(final String authHeader) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/backup/Cdn3RemoteStorageManagerTest.java class Cdn3RemoteStorageManagerTest (line 35) | @ExtendWith(DropwizardExtensionsSupport.class) method init (line 48) | @BeforeEach method copy (line 63) | @ParameterizedTest method copyIncorrectLength (line 91) | @Test method copySourceMissing (line 103) | @Test method copyUnknownCdn (line 115) | @Test method list (line 126) | @Test method prefixMissing (line 153) | @Test method usage (line 164) | @Test method delete (line 181) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/badges/ConfiguredProfileBadgeConverterTest.java class ConfiguredProfileBadgeConverterTest (line 41) | public class ConfiguredProfileBadgeConverterTest { method beforeEach (line 47) | @BeforeEach method idFor (line 54) | private static String idFor(int i) { method nameFor (line 58) | private static String nameFor(int i) { method desriptionFor (line 62) | private static String desriptionFor(int i) { method newBadge (line 66) | private static BadgeConfiguration newBadge(int i) { method createBadges (line 72) | private BadgesConfiguration createBadges(int count) { method getBadge (line 89) | private BadgeConfiguration getBadge(BadgesConfiguration badgesConfigur... method setupResourceBundle (line 95) | private ArgumentCaptor setupResourceBundle(Loc... method testConvertEmptyList (line 103) | @Test method testNoLocales (line 111) | @ParameterizedTest method testNoLocales (line 132) | @SuppressWarnings("unused") method testCustomControl (line 165) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/captcha/CaptchaCheckerTest.java class CaptchaCheckerTest (line 30) | public class CaptchaCheckerTest { method parseInputToken (line 41) | static Stream parseInputToken() { method mockClient (line 66) | private static CaptchaClient mockClient(final String prefix) throws IO... method parseInputToken (line 76) | @ParameterizedTest method scoreString (line 88) | @ParameterizedTest method scoreString (line 95) | static Stream scoreString() { method choose (line 105) | @Test method badArgs (line 120) | static Stream badArgs() { method badArgs (line 133) | @ParameterizedTest method testShortened (line 142) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/captcha/ShortCodeExpanderTest.java class ShortCodeExpanderTest (line 26) | public class ShortCodeExpanderTest { method testUriResolution (line 28) | @Test method request (line 40) | @Override method previousResponse (line 45) | @Override method headers (line 50) | @Override method sslSession (line 55) | @Override method uri (line 60) | @Override method version (line 65) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/LocalDynamoDbFactory.java class LocalDynamoDbFactory (line 19) | @JsonTypeName("local") method buildSyncClient (line 41) | @Override method buildAsyncClient (line 49) | @Override method initExtensionIfNecessary (line 57) | private void initExtensionIfNecessary() { method initTablesIfNecessary (line 84) | private void initTablesIfNecessary() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/LocalFaultTolerantRedisClientFactory.java class LocalFaultTolerantRedisClientFactory (line 14) | @JsonTypeName("local") method LocalFaultTolerantRedisClientFactory (line 21) | private LocalFaultTolerantRedisClientFactory() { method build (line 30) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/LocalFaultTolerantRedisClusterFactory.java class LocalFaultTolerantRedisClusterFactory (line 14) | @JsonTypeName("local") method LocalFaultTolerantRedisClusterFactory (line 21) | private LocalFaultTolerantRedisClusterFactory() { method build (line 30) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/StaticS3ObjectMonitorFactory.java class StaticS3ObjectMonitorFactory (line 17) | @JsonTypeName("static") method build (line 23) | @Override class StaticS3ObjectMonitor (line 29) | private static class StaticS3ObjectMonitor extends S3ObjectMonitor { method StaticS3ObjectMonitor (line 33) | public StaticS3ObjectMonitor(final String object, final AwsCredentia... method start (line 39) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/StubPaymentsServiceClientsFactory.java class StubPaymentsServiceClientsFactory (line 16) | @JsonTypeName("stub") method buildFixerClient (line 19) | @Override method buildCoinGeckoClient (line 24) | @Override class StubFixerClient (line 32) | private static class StubFixerClient extends FixerClient { method StubFixerClient (line 34) | public StubFixerClient() { method getConversionsForBase (line 38) | @Override class StubCoinGeckoClient (line 47) | private static class StubCoinGeckoClient extends CoinGeckoClient { method StubCoinGeckoClient (line 49) | public StubCoinGeckoClient() { method getSpotPrice (line 53) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/StubPubSubPublisherFactory.java class StubPubSubPublisherFactory (line 13) | @JsonTypeName("stub") method build (line 16) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/StubRegistrationServiceClientFactory.java class StubRegistrationServiceClientFactory (line 32) | @JsonTypeName("stub") method build (line 43) | @Override class StubRegistrationServiceClient (line 54) | private static class StubRegistrationServiceClient extends Registratio... method StubRegistrationServiceClient (line 58) | public StubRegistrationServiceClient(final String registrationCaCert... method createRegistrationSession (line 62) | @Override method sendVerificationCode (line 83) | @Override method checkVerificationCode (line 90) | @Override method getSession (line 103) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/dynamic/DynamicConfigurationTest.java class DynamicConfigurationTest (line 30) | class DynamicConfigurationTest { method testParseExperimentConfig (line 37) | @Test method testParseE164Experiments (line 127) | @Test method testParseRemoteDeprecationConfig (line 209) | @Test method testParsePaymentsConfiguration (line 248) | @Test method testParseCaptchaConfiguration (line 273) | @Test method testParseLimits (line 321) | @Test method testMessagePersister (line 338) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/configuration/secrets/SecretsTest.java class SecretsTest (line 27) | public class SecretsTest { method testDeserialization (line 51) | @Test method testValueWithoutPrefix (line 76) | @Test method testNoSecretInTheStore (line 85) | @Test method testSecretStoreNotSet (line 97) | @Test method testReadFromJson (line 102) | @Test method testValidators (line 138) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/AbstractV1SubscriptionControllerTest.java class AbstractV1SubscriptionControllerTest (line 23) | class AbstractV1SubscriptionControllerTest { method getSubscriptionConfig (line 44) | static SubscriptionConfiguration getSubscriptionConfig() { method getOneTimeConfig (line 48) | static OneTimeDonationConfiguration getOneTimeConfig() { method readValue (line 52) | private static T readValue(String yaml, Class type) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/AccountControllerTest.java class AccountControllerTest (line 101) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 165) | @BeforeEach method teardown (line 230) | @AfterEach method testSetRegistrationLock (line 248) | @Test method testSetShortRegistrationLock (line 270) | @Test method testSetGcmId (line 282) | @Test method testSetGcmIdInvalidrequest (line 298) | @Test method testSetApnId (line 311) | @Test method testWhoAmI (line 327) | @Test method testSetUsernameLink (line 361) | static Stream testSetUsernameLink() { method testSetUsernameLink (line 372) | @ParameterizedTest method testDeleteUsernameLink (line 416) | static Stream testDeleteUsernameLink() { method testDeleteUsernameLink (line 424) | @ParameterizedTest method testLookupUsernameLink (line 457) | static Stream testLookupUsernameLink() { method testLookupUsernameLink (line 467) | @ParameterizedTest method testReserveUsernameHash (line 505) | @Test method testReserveUsernameHashUnavailable (line 522) | @Test method testReserveUsernameHashListSizeInvalid (line 537) | @ParameterizedTest method testReserveUsernameHashListSizeInvalid (line 550) | static Stream testReserveUsernameHashListSizeInvalid() { method testReserveUsernameHashInvalidHashSize (line 557) | @Test method testReserveUsernameHashNullList (line 571) | @Test method testReserveUsernameHashInvalidBase64UrlEncoding (line 585) | @Test method testConfirmUsernameHash (line 605) | @Test method testConfirmUsernameHashNullProof (line 630) | @Test method testConfirmUsernameHashOld (line 643) | @Test method testConfirmUnreservedUsernameHash (line 667) | @Test method testConfirmLapsedUsernameHash (line 684) | @Test method testConfirmUsernameHashInvalidBase64UrlEncoding (line 701) | @Test method testConfirmUsernameHashInvalidHashSize (line 721) | @Test method testCommitUsernameHashWithInvalidProof (line 736) | @Test method testDeleteUsername (line 751) | @Test method testDeleteUsernameBadAuth (line 767) | @Test method testSetAccountAttributesNoDiscoverabilityChange (line 779) | @Test method testSetAccountAttributesEnableDiscovery (line 791) | @Test method testAccountsAttributesUpdateRecoveryPassword (line 803) | @Test method testSetAccountAttributesDisableDiscovery (line 821) | @Test method testSetAccountAttributesBadUnidentifiedKeyLength (line 833) | @Test method testDeleteAccount (line 846) | @Test method testDeleteAccountException (line 859) | @Test method testAccountExists (line 875) | @Test method testAccountExistsRateLimited (line 913) | @Test method testAccountExistsAuthenticated (line 933) | @Test method testLookupUsername (line 945) | @Test method testLookupUsernameDoesNotExist (line 960) | @Test method testLookupUsernameRateLimited (line 969) | @Test method testLookupUsernameAuthenticated (line 983) | @Test method testLookupUsernameInvalidFormat (line 995) | @Test method testPutUsernameLink (line 1014) | @ParameterizedTest method testSetDeviceName (line 1033) | @Test method testSetLinkedDeviceNameFromPrimary (line 1046) | @Test method testSetLinkedDeviceNameFromLinked (line 1060) | @Test method testSetDeviceNameDeviceNotFound (line 1074) | @Test method testSetPrimaryDeviceNameFromLinked (line 1088) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/AccountControllerV2Test.java class AccountControllerV2Test (line 100) | @ExtendWith(DropwizardExtensionsSupport.class) class ChangeNumber (line 140) | @Nested method setUp (line 143) | @BeforeEach method changeNumberSuccess (line 178) | @Test method changeNumberSameNumber (line 208) | @Test method changeNumberNonNormalizedNumber (line 232) | @Test method unprocessableRequestJson (line 250) | @Test method missingBasicAuthorization (line 262) | @Test method invalidBasicAuthorization (line 272) | @Test method invalidRequestBody (line 283) | @Test method invalidRegistrationId (line 295) | @ParameterizedTest method invalidRegistrationId (line 319) | private static Stream invalidRegistrationId() { method rateLimitedNumber (line 329) | @Test method registrationServiceTimeout (line 344) | @Test method registrationServiceSessionCheck (line 359) | @ParameterizedTest method registrationServiceSessionCheck (line 376) | static Stream registrationServiceSessionCheck() { method registrationLock (line 390) | @ParameterizedTest method recoveryPasswordManagerVerificationTrue (line 418) | @Test method recoveryPasswordManagerVerificationFalse (line 447) | @Test method registrationRecoveryCheckerAllowsAttempt (line 462) | @Test method registrationRecoveryCheckerDisallowsAttempt (line 481) | @Test method deviceMessageTooLarge (line 498) | @Test method requestJsonRecoveryPassword (line 530) | private static String requestJsonRecoveryPassword(final byte[] recov... method requestJson (line 537) | private static String requestJson(final String sessionId, method requestJson (line 569) | private static String requestJson(final String sessionId, final Stri... method invalidRequestJson (line 577) | private static String invalidRequestJson() { method unprocessableJson (line 589) | private static String unprocessableJson() { method encodeSessionId (line 597) | private static String encodeSessionId(final String sessionId) { method encodeRecoveryPassword (line 601) | private static String encodeRecoveryPassword(final byte[] recoveryPa... class PhoneNumberDiscoverability (line 606) | @Nested method setup (line 609) | @BeforeEach method testSetPhoneNumberDiscoverability (line 615) | @Test method testSetNullPhoneNumberDiscoverability (line 630) | @Test method testGetAccountDataReport (line 647) | @ParameterizedTest method testGetAccountDataReport (line 691) | static Stream testGetAccountDataReport() { method buildTestAccountForDataReport (line 800) | static Account buildTestAccountForDataReport(final UUID aci, final S... method toE164 (line 838) | private static String toE164(Phonenumber.PhoneNumber phoneNumber) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/AccountIdentityResponseBuilderTest.java class AccountIdentityResponseBuilderTest (line 19) | class AccountIdentityResponseBuilderTest { method expiredBackupEntitlement (line 21) | @Test method expiredBadgeEntitlement (line 40) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/ArchiveControllerTest.java class ArchiveControllerTest (line 90) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 115) | @BeforeEach method anonymousAuthOnly (line 124) | @ParameterizedTest method setBackupId (line 172) | @Test method setBackupIdPartial (line 190) | @Test method backupIdLimits (line 208) | @ParameterizedTest method redeemReceipt (line 228) | @Test method setBadPublicKey (line 250) | @Test method setMissingPublicKey (line 265) | @Test method setPublicKey (line 278) | @Test method setBackupIdInvalid (line 294) | @ParameterizedTest method setBackupIdException (line 308) | public static Stream setBackupIdException() { method setBackupIdException (line 316) | @ParameterizedTest method getCredentials (line 332) | @Test type BadCredentialsType (line 370) | public enum BadCredentialsType {MISSING_START, MISSING_END, MISSING_BOTH} method getCredentialsBadInput (line 372) | @ParameterizedTest method getBackupInfo (line 394) | @Test method putMediaBatchSuccess (line 414) | @Test method putMediaBatchPartialFailure (line 458) | @Test method copyMediaWithNegativeLength (line 517) | @Test method list (line 547) | @CartesianTest method delete (line 585) | @Test method messagesUploadForm (line 612) | static Stream messagesUploadForm() { method messagesUploadForm (line 620) | @ParameterizedTest method mediaUploadForm (line 650) | @Test method readAuth (line 680) | @Test method svrbAuth (line 698) | @Test method readAuthInvalidParam (line 715) | @Test method deleteEntireBackup (line 737) | @Test method invalidSourceAttachmentKey (line 752) | @Test method backupUser (line 772) | private static AuthenticatedBackupUser backupUser(final byte[] backupI... FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV4Test.java class AttachmentControllerV4Test (line 50) | @ExtendWith(DropwizardExtensionsSupport.class) method testV4TusForm (line 107) | @Test method testV4GcsForm (line 122) | @Test method assertValidCdn2Response (line 133) | private static void assertValidCdn2Response(final AttachmentDescriptor... FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/CallLinkControllerTest.java class CallLinkControllerTest (line 33) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 51) | @BeforeEach method testGetCreateAuth (line 56) | @Test method testGetCreateAuthInvalidInput (line 67) | @Test method testGetCreateAuthInvalidAuth (line 78) | @Test method testGetCreateAuthInvalidRequest (line 89) | @Test method testGetCreateAuthInvalidInputEmptyRequestBody (line 101) | @Test method testGetCreateAuthInvalidInputEmptyField (line 112) | @Test method testGetCreateAuthRatelimited (line 123) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/CallQualitySurveyControllerTest.java class CallQualitySurveyControllerTest (line 40) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 58) | @BeforeEach method submitCallQualitySurvey (line 63) | @Test method submitCallQualitySurveyAuthenticated (line 78) | @Test method submitCallQualitySurveyInvalidArgument (line 94) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/CallRoutingControllerV2Test.java class CallRoutingControllerV2Test (line 35) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 63) | @BeforeEach method tearDown (line 68) | @AfterEach method testGetRelaysBothRouting (line 73) | @Test method testGetRelaysRateLimited (line 90) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/CertificateControllerTest.java class CertificateControllerTest (line 59) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 101) | @BeforeEach method testSigningCertificate (line 106) | @Test method testValidCertificate (line 113) | @Test method testValidCertificateWithUuid (line 138) | @Test method testValidCertificateWithUuidNoE164 (line 163) | @Test method testBadAuthentication (line 189) | @Test method testNoAuthentication (line 201) | @Test method testUnidentifiedAuthentication (line 212) | @Test method testGetSingleGroupCredentialWithPniAsServiceId (line 223) | @Test method testGetSingleGroupCredential (line 260) | @Test method testGetWeekLongGroupCredentials (line 296) | @Test method testBadRedemptionTimes (line 338) | @ParameterizedTest method testBadRedemptionTimes (line 352) | private static Collection testBadRedemptionTimes() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/ChallengeControllerTest.java class ChallengeControllerTest (line 46) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 66) | @BeforeEach method teardown (line 75) | @AfterEach method testHandlePushChallenge (line 80) | @Test method testHandlePushChallengeRateLimited (line 98) | @Test method testHandleCaptcha (line 120) | @ParameterizedTest method testHandleInvalidCaptcha (line 151) | @Test method testHandleCaptchaRateLimited (line 172) | @Test method testHandleUnrecognizedAnswer (line 195) | @Test method testRequestPushChallenge (line 214) | @Test method testRequestPushChallengeNotPermitted (line 237) | @Test method testAnswerPushChallengeNotPermitted (line 250) | @Test method testValidationError (line 271) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/DeviceCheckControllerTest.java class DeviceCheckControllerTest (line 60) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 84) | @BeforeEach method createChallenge (line 94) | @ParameterizedTest method createChallengeRateLimited (line 116) | @ParameterizedTest method failedAttestValidation (line 133) | @Test method failedAssertValidation (line 154) | @Test method registerKey (line 181) | @Test method checkAssertion (line 197) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/DeviceControllerTest.java class DeviceControllerTest (line 98) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 133) | @BeforeEach method teardown (line 165) | @AfterEach method getDevices (line 181) | @Test method linkDeviceAtomic (line 216) | @ParameterizedTest method linkDeviceAtomic (line 286) | private static Stream linkDeviceAtomic() { method deviceDowngrade (line 298) | @CartesianTest method linkDeviceAtomicBadCredentials (line 357) | @Test method linkDeviceAtomicReusedToken (line 395) | @Test method linkDeviceAtomicWithVerificationTokenUsed (line 441) | @Test method linkDeviceAtomicConflictingChannel (line 482) | @ParameterizedTest method linkDeviceAtomicConflictingChannel (line 531) | private static Stream linkDeviceAtomicConflictingChannel() { method linkDeviceAtomicMissingProperty (line 540) | @ParameterizedTest method linkDeviceAtomicMissingProperty (line 579) | private static Stream linkDeviceAtomicMissingProperty() { method linkDeviceAtomicMissingCapabilities (line 599) | @Test method linkDeviceAtomicInvalidSignature (line 639) | @ParameterizedTest method linkDeviceAtomicInvalidSignature (line 672) | private static Stream linkDeviceAtomicInvalidSignature() { method linkDeviceAtomicExcessiveDeviceName (line 692) | @Test method linkDeviceRegistrationId (line 731) | @ParameterizedTest method linkDeviceRegistrationId (line 775) | private static Stream linkDeviceRegistrationId() { method linkDeviceNullAccountAttributes (line 789) | @Test method ecSignedPreKeyWithBadSignature (line 827) | private static ECSignedPreKey ecSignedPreKeyWithBadSignature(final ECS... method kemSignedPreKeyWithBadSignature (line 833) | private static KEMSignedPreKey kemSignedPreKeyWithBadSignature(final K... method maxDevicesTest (line 839) | @Test method putCapabilitiesSuccessTest (line 857) | @Test method putCapabilitiesFailureTest (line 873) | @Test method removeDevice (line 887) | @Test method unlinkPrimaryDevice (line 913) | @Test method removeDeviceBySelf (line 932) | @Test method removeDeviceByOther (line 957) | @Test method waitForLinkedDevice (line 976) | @Test method waitForLinkedDeviceNoDeviceLinked (line 1009) | @Test method waitForLinkedDeviceBadTokenIdentifier (line 1029) | @Test method waitForLinkedDeviceBadTimeout (line 1049) | @ParameterizedTest method waitForLinkedDeviceBadTokenIdentifierLength (line 1065) | @ParameterizedTest method waitForLinkedDeviceBadTokenIdentifierLength (line 1078) | private static List waitForLinkedDeviceBadTokenIdentifierLengt... method waitForLinkedDeviceRateLimited (line 1083) | @Test method recordTransferArchiveUploaded (line 1100) | @Test method recordTransferArchiveFailed (line 1125) | @Test method recordTransferArchiveUploadedBadRequest (line 1150) | @ParameterizedTest method recordTransferArchiveUploadedBadRequest (line 1168) | @SuppressWarnings("DataFlowIssue") method recordTransferArchiveRateLimited (line 1188) | @Test method waitForTransferArchive (line 1208) | @Test method waitForTransferArchiveUploadFailed (line 1228) | @Test method waitForTransferArchiveNoArchiveUploaded (line 1248) | @Test method waitForTransferArchiveBadTimeout (line 1264) | @ParameterizedTest method waitForTransferArchiveRateLimited (line 1278) | @Test method recordRestoreAccountRequest (line 1293) | @Test method recordRestoreAccountRequestBadToken (line 1311) | @Test method recordRestoreAccountRequestInvalidRequest (line 1326) | @Test method recordRestoreAccountRequestBootstrapLengthLimit (line 1340) | @ParameterizedTest method waitForDeviceTransferRequest (line 1363) | @Test method waitForDeviceTransferRequestNoRequestIssued (line 1382) | @Test method waitForDeviceTransferRequestBadTimeout (line 1398) | @ParameterizedTest method linkDeviceMissingVerificationCode (line 1413) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/DirectoryControllerV2Test.java class DirectoryControllerV2Test (line 26) | class DirectoryControllerV2Test { method testAuthToken (line 28) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/DonationControllerTest.java class DonationControllerTest (line 48) | class DonationControllerTest { method getBadgesConfiguration (line 52) | static BadgesConfiguration getBadgesConfiguration() { method beforeEach (line 78) | @BeforeEach method afterEach (line 105) | @AfterEach method testRedeemReceipt (line 110) | @Test method testRedeemReceiptAlreadyRedeemedWithDifferentParameters (line 134) | @Test method testRedeemReceiptBadCredentialPresentation (line 157) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/KeyTransparencyControllerTest.java class KeyTransparencyControllerTest (line 79) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 108) | @BeforeEach method teardown (line 116) | @AfterEach method searchSuccess (line 123) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method searchSuccess (line 198) | private static Stream searchSuccess() { method searchAuthenticated (line 206) | @Test method searchGrpcErrors (line 220) | @ParameterizedTest method searchGrpcErrors (line 237) | private static Stream searchGrpcErrors() { method searchInvalidRequest (line 245) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method searchInvalidRequest (line 265) | private static Stream searchInvalidRequest() { method searchRateLimited (line 276) | @Test method monitorSuccess (line 291) | @Test method monitorAuthenticated (line 316) | @Test method monitorGrpcErrors (line 332) | @ParameterizedTest method monitorGrpcErrors (line 351) | private static Stream monitorGrpcErrors() { method monitorInvalidRequest (line 360) | @ParameterizedTest method monitorInvalidRequest (line 372) | private static Stream monitorInvalidRequest() { method monitorRateLimited (line 466) | @Test method distinguishedSuccess (line 483) | @ParameterizedTest method distinguishedAuthenticated (line 508) | @Test method distinguishedGrpcErrors (line 520) | @ParameterizedTest method distinguishedGrpcErrors (line 535) | private static Stream distinguishedGrpcErrors() { method distinguishedInvalidRequest (line 544) | @Test method distinguishedRateLimited (line 561) | @Test method createRequestJson (line 575) | private static String createRequestJson(final Object request) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/KeysControllerTest.java class KeysControllerTest (line 92) | @ExtendWith(DropwizardExtensionsSupport.class) method fromSignedPreKey (line 167) | static WeaklyTypedSignedPreKey fromSignedPreKey(final SignedPreKey ... method createSampleDevice (line 182) | private Device createSampleDevice(byte deviceId, int registrationId, i... method setup (line 191) | @BeforeEach method teardown (line 251) | @AfterEach method validKeyStatusTest (line 264) | @Test method validSingleRequestTestV2 (line 285) | @Test method validSingleRequestPqTestV2 (line 304) | @Test method validSingleRequestByPhoneNumberIdentifierTestV2 (line 324) | @Test method validSingleRequestPqByPhoneNumberIdentifierTestV2 (line 343) | @Test method testGetKeysRateLimited (line 363) | @Test method testUnidentifiedRequest (line 386) | @Test method testNoKeysForDevice (line 405) | @Test method testGetKeysWithGroupSendEndorsement (line 436) | @ParameterizedTest method testGetKeysWithGroupSendEndorsement (line 472) | private static Stream testGetKeysWithGroupSendEndorsement() { method testNoDevices (line 496) | @Test method testUnauthorizedUnidentifiedRequest (line 511) | @Test method testMalformedUnidentifiedRequest (line 523) | @Test method validMultiRequestTestV2 (line 536) | @ParameterizedTest method invalidRequestTestV2 (line 584) | @Test method anotherInvalidRequestTestV2 (line 595) | @Test method unauthorizedRequestTestV2 (line 607) | @Test method putKeysTestV2 (line 627) | @Test method putKeysTestV2EmptySingleUseKeysList (line 652) | @Test method putKeysPqTestV2 (line 673) | @Test method putKeysStructurallyInvalidSignedECKey (line 704) | @Test method putKeysStructurallyInvalidUnsignedECKey (line 722) | @Test method putKeysStructurallyInvalidPQOneTimeKey (line 740) | @Test method putKeysStructurallyInvalidPQLastResortKey (line 758) | @Test method putKeysTooManySingleUseECKeys (line 776) | @Test method putKeysTooManySingleUseKEMKeys (line 795) | @Test method putKeysByPhoneNumberIdentifierTestV2 (line 815) | @Test method putKeysByPhoneNumberIdentifierPqTestV2 (line 840) | @Test method putPrekeyWithInvalidSignature (line 872) | @Test method checkKeys (line 887) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method checkKeys (line 918) | private static List checkKeys() { method getKeyDigest (line 996) | private static byte[] getKeyDigest(final IdentityKey identityKey, fina... method checkKeysIncorrectDigestLength (line 1023) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/MessageControllerTest.java class MessageControllerTest (line 125) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 198) | @BeforeEach method generateTestDevice (line 252) | private static Device generateTestDevice(final byte id, final int regi... method teardown (line 263) | @AfterEach method teardownAll (line 279) | @AfterAll method testSingleDeviceCurrent (line 284) | @Test method testSingleDeviceSync (line 309) | @ParameterizedTest method testSingleDeviceCurrentNotUrgent (line 341) | @Test method testSingleDeviceCurrentByPni (line 366) | @Test method testNullMessageInList (line 390) | @Test method testSingleDeviceCurrentUnidentified (line 404) | @Test method testSingleDeviceCurrentGroupSendEndorsement (line 428) | @ParameterizedTest method testSingleDeviceCurrentGroupSendEndorsement (line 470) | private static Stream testSingleDeviceCurrentGroupSendEndor... method testSingleDeviceExtremeTimestamp (line 500) | @ParameterizedTest method testSendBadAuth (line 537) | @Test method testMultiDeviceMissing (line 551) | @Test method testMultiDeviceExtra (line 573) | @Test method testMultiDeviceDuplicate (line 595) | @Test method testMultiDevice (line 611) | @Test method testMultiDeviceNotUrgent (line 635) | @Test method testMultiDeviceByPni (line 659) | @Test method testRegistrationIdMismatch (line 681) | @Test method testGetMessages (line 702) | @ParameterizedTest method testGetMessagesBadAuth (line 771) | @Test method testReportMessageByE164 (line 796) | @Test method testReportMesageByE164DeletedAccount (line 828) | @Test method testReportMessageByAci (line 860) | @Test method testReportMessageByAciDeletedAccount (line 893) | @Test method testReportMessageByAciWithSpamReportToken (line 925) | @Test method testReportMessageByAciWithNullSpamReportToken (line 987) | @ParameterizedTest method testReportMessageByAciWithNullSpamReportToken (line 1017) | private static Stream testReportMessageByAciWithNullSpamRep... method testValidateContentLength (line 1033) | @Test method testValidateEnvelopeType (line 1050) | @ParameterizedTest method testValidateEnvelopeType (line 1072) | private static Stream testValidateEnvelopeType() { method sendMultiRecipientMessage (line 1079) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method sendMultiRecipientMessage (line 1161) | private static List sendMultiRecipientMessage() throws Exce... method sendMultiRecipientMessageOversized (line 1575) | @Test method generateEnvelope (line 1666) | @SuppressWarnings("SameParameterValue") method generateEnvelope (line 1672) | private static Envelope generateEnvelope(UUID guid, int type, long tim... FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/OneTimeDonationControllerTest.java class OneTimeDonationControllerTest (line 53) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 76) | @BeforeEach method testCreateBoostPaymentIntentAmountBelowCurrencyMinimum (line 98) | @Test method testCreateBoostPaymentIntentAmountAboveSepaLimit (line 118) | @Test method testCreateBoostPaymentIntentUnsupportedCurrency (line 140) | @Test method testCreateBoostPaymentIntentLevelAmountMismatch (line 161) | @Test method testCreateBoostPaymentIntent (line 178) | @Test method testCreateBoostPayPal (line 194) | @Test method createBoostReceiptInvalid (line 219) | @Test method createBoostReceiptPaymentRequired (line 228) | @ParameterizedTest method createBoostReceiptPaymentRequired (line 256) | private static Stream createBoostReceiptPaymentRequired() { method confirmPaypalBoostProcessorError (line 269) | @Test method createBoostReceiptNoRequest (line 295) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/PaymentsControllerTest.java class PaymentsControllerTest (line 33) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 49) | @BeforeEach method testGetAuthToken (line 65) | @Test method testInvalidAuthGetAuthToken (line 78) | @Test method testGetCurrencyConversions (line 90) | @Test method testGetCurrencyConversions_Json (line 105) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/ProfileControllerTest.java class ProfileControllerTest (line 117) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 177) | @BeforeEach method teardown (line 244) | @AfterEach method testProfileGetByAci (line 250) | @Test method testProfileGetByAciRateLimited (line 265) | @Test method testProfileGetByAciUnidentified (line 280) | @Test method testProfileGetByAciUnidentifiedBadKey (line 295) | @Test method testProfileGetByAciUnidentifiedAccountNotFound (line 306) | @Test method testProfileGetWithGroupSendEndorsement (line 317) | @ParameterizedTest method testProfileGetWithGroupSendEndorsement (line 350) | private static Stream testProfileGetWithGroupSendEndorsemen... method testProfileGetByPni (line 376) | @Test method testProfileGetByPniRateLimited (line 394) | @Test method testProfileGetByPniUnidentified (line 409) | @Test method testProfileGetByPniUnidentifiedBadKey (line 422) | @Test method testProfileGetUnauthorized (line 433) | @Test method testProfileCapabilities (line 443) | @CartesianTest method testSetProfileWantAvatarUpload (line 456) | @Test method testSetProfileWantAvatarUploadWithBadProfileSize (line 484) | @Test method testSetProfileWithoutAvatarUpload (line 500) | @Test method testSetProfileWithAvatarUploadAndPreviousAvatar (line 535) | @Test method testSetProfileClearPreviousAvatar (line 562) | @Test method testSetProfileWithSameAvatar (line 592) | @Test method testSetProfileClearPreviousAvatarDespiteSameAvatarFlagSet (line 622) | @Test method testSetProfileWithSameAvatarDespiteNoPreviousAvatar (line 650) | @Test method testSetProfileExtendedName (line 680) | @Test method testSetProfileEmojiAndBioText (line 710) | @Test method testSetProfilePaymentAddress (line 751) | @Test method testSetProfilePaymentAddressCountryNotAllowed (line 791) | @Test method testSetProfilePaymentAddressCountryNotAllowedExistingPaymentAddress (line 819) | @ParameterizedTest method testSetProfilePhoneNumberSharing (line 878) | @Test method testGetProfileByVersion (line 913) | @Test method testSetProfileUpdatesAccountCurrentVersion (line 943) | @Test method testGetProfileReturnsNoPaymentAddressIfCurrentVersionMismatch (line 968) | @Test method testGetProfileWithExpiringProfileKeyCredentialVersionNotFound (line 1010) | @Test method testSetProfileBadges (line 1034) | @Test method testSetProfileBadgeAfterUpdateTries (line 1143) | @Test method testGetProfileWithExpiringProfileKeyCredential (line 1195) | @ParameterizedTest method testGetProfileWithExpiringProfileKeyCredential (line 1256) | private static Stream testGetProfileWithExpiringProfileKeyC... method testGetProfileWithExpiringProfileKeyCredentialBadRequest (line 1264) | @Test method testSetProfileBadgesMissingFromRequest (line 1308) | @Test method testBatchIdentityCheck (line 1348) | @Test method testBatchIdentityCheckDeserialization (line 1424) | @Test method testBatchIdentityCheckDeserializationBadRequest (line 1467) | @ParameterizedTest method testInvalidVersionString (line 1477) | @ParameterizedTest method testBatchIdentityCheckDeserializationBadRequest (line 1496) | static Stream testBatchIdentityCheckDeserializationBadReque... method convertKeyToFingerprint (line 1521) | private static byte[] convertKeyToFingerprint(final IdentityKey public... method versionHex (line 1529) | private static String versionHex(final String versionString) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/ProvisioningControllerTest.java class ProvisioningControllerTest (line 40) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 57) | @BeforeEach method sendProvisioningMessage (line 65) | @Test method sendProvisioningMessageRateLimited (line 85) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/RegistrationControllerTest.java class RegistrationControllerTest (line 92) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 130) | @BeforeEach method unprocessableRequestJson (line 144) | @Test method invalidRegistrationId (line 154) | static Stream invalidRegistrationId() { method invalidRegistrationId (line 166) | @ParameterizedTest method missingBasicAuthorization (line 193) | @Test method invalidBasicAuthorization (line 203) | @Test method invalidRequestBody (line 214) | @Test method rateLimitedNumber (line 225) | @Test method registrationServiceTimeout (line 239) | @Test method recoveryPasswordManagerVerificationFailureOrTimeout (line 253) | @Test method registrationServiceSessionCheck (line 270) | @ParameterizedTest method registrationServiceSessionCheck (line 286) | static Stream registrationServiceSessionCheck() { method recoveryPasswordManagerVerificationTrue (line 301) | @Test method recoveryPasswordManagerVerificationFalse (line 325) | @Test method registrationRecoveryCheckerAllowsAttempt (line 339) | @Test method registrationRecoveryCheckerDisallowsAttempt (line 363) | @Test method registrationLockAndDeviceTransfer (line 385) | @CartesianTest method registrationLockAndDeviceTransfer (line 431) | @SuppressWarnings("unused") method deviceTransferAvailable (line 441) | @ParameterizedTest method registrationSuccess (line 483) | @Test method atomicAccountCreationConflictingChannel (line 506) | @ParameterizedTest method atomicAccountCreationConflictingChannel (line 525) | static List atomicAccountCreationConflictingChannel() { method atomicAccountCreationPartialSignedPreKeys (line 597) | @ParameterizedTest method atomicAccountCreationPartialSignedPreKeys (line 616) | static List atomicAccountCreationPartialSignedPreKeys() { method atomicAccountCreationSuccess (line 727) | @ParameterizedTest method reregistrationFlag (line 774) | @ParameterizedTest method registrationMissingSpqrCapability (line 802) | @Test method accountAttributesEqual (line 826) | private static boolean accountAttributesEqual(final AccountAttributes ... method atomicAccountCreationSuccess (line 839) | private static List atomicAccountCreationSuccess() { method request (line 966) | private static RegistrationRequest request( method requestToJson (line 999) | private static String requestToJson(RegistrationRequest request) { method requestJson (line 1010) | private static String requestJson(final String sessionId, method requestJson (line 1021) | private static String requestJson(final String sessionId) { method requestJsonRecoveryPassword (line 1028) | private static String requestJsonRecoveryPassword(final byte[] recover... method invalidRequestJson (line 1036) | private static String invalidRequestJson() { method unprocessableJson (line 1049) | private static String unprocessableJson() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/RemoteConfigControllerTest.java class RemoteConfigControllerTest (line 51) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 69) | @BeforeEach method teardown (line 86) | @AfterEach method testRetrieveConfig (line 91) | @ParameterizedTest method testRetrieveConfigNotSpecial (line 114) | @ParameterizedTest method testRetrieveConfigUnrecognizedPlatform (line 137) | @Test method testHashKeyLinkedConfigs (line 159) | @Test method testRetrieveConfigUnauthorized (line 181) | @Test method testRetrieveConfigUnchanged (line 194) | @Test method testRetrieveConfigChanged (line 220) | @Test method testEtag (line 250) | @ParameterizedTest method testEtag (line 286) | static List testEtag() { method testMath (line 304) | @ParameterizedTest method testMathExactForZeroOrOneHundred (line 330) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/SecureStorageControllerTest.java class SecureStorageControllerTest (line 27) | @ExtendWith(DropwizardExtensionsSupport.class) method testGetCredentials (line 46) | @Test method testGetCredentialsBadAuth (line 58) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/SecureValueRecovery2ControllerTest.java class SecureValueRecovery2ControllerTest (line 42) | @ExtendWith(DropwizardExtensionsSupport.class) class WithBackupsPrefix (line 70) | @Nested method WithBackupsPrefix (line 72) | protected WithBackupsPrefix() { class WithSvr2Prefix (line 77) | @Nested method WithSvr2Prefix (line 79) | protected WithSvr2Prefix() { class SecureValueRecoveryControllerBaseTest (line 84) | static abstract class SecureValueRecoveryControllerBaseTest { method before (line 93) | @BeforeEach method SecureValueRecoveryControllerBaseTest (line 99) | protected SecureValueRecoveryControllerBaseTest(final String pathPre... type CheckStatus (line 103) | enum CheckStatus { method parseCheckResponse (line 109) | private Map parseCheckResponse(final Response r... method testOneMatch (line 120) | @Test method testNoMatch (line 129) | @Test method testSomeInvalid (line 137) | @Test method testSomeExpired (line 151) | @Test method testSomeHaveNewerVersions (line 163) | @Test method validate (line 174) | private void validate( method testHttpResponseCodeSuccess (line 189) | @Test method testHttpResponseCodeWhenInvalidNumber (line 214) | @Test method testHttpResponseCodeWhenTooManyTokens (line 227) | @Test method testHttpResponseCodeWhenPasswordsMissing (line 259) | @Test method testHttpResponseCodeWhenNumberMissing (line 275) | @Test method testHttpResponseCodeWhenExtraFields (line 291) | @Test method testAcceptsPasswordsOrTokens (line 309) | @Test method testHttpResponseCodeWhenNotAJson (line 338) | @Test method token (line 350) | private String token(final UUID uuid, final long timeMillis) { method token (line 354) | private static String token(final ExternalServiceCredentials credent... method credentials (line 358) | private ExternalServiceCredentials credentials(final UUID uuid, fina... method dayToMillis (line 363) | private static long dayToMillis(final long n) { method account (line 367) | private static Account account(final UUID uuid) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/StickerControllerTest.java class StickerControllerTest (line 30) | @ExtendWith(DropwizardExtensionsSupport.class) method setup (line 44) | @BeforeEach method testCreatePack (line 49) | @Test method testCreateTooLargePack (line 87) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/SubscriptionControllerTest.java class SubscriptionControllerTest (line 98) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 128) | @BeforeEach class SetSubscriptionLevel (line 152) | @Nested method setUp (line 160) | @BeforeEach method createSubscriptionSuccess (line 184) | @Test method createSubscriptionProcessorDeclined (line 199) | @Test method missingCustomerId (line 222) | @Test method wrongProcessor (line 248) | @Test method stripePaymentIntentRequiresAction (line 274) | @Test method createSubscriber (line 299) | @Test method createPaymentMethod (line 376) | @Test method setSubscriptionLevelMissingProcessorCustomer (line 436) | @Test method setSubscriptionLevel (line 465) | @ParameterizedTest method setSubscriptionLevelExistingSubscription (line 516) | @ParameterizedTest method setSubscriptionLevelExistingSubscription (line 583) | static Stream setSubscriptionLevelExistingSubscription() { method changeSubscriptionLevelInvalid (line 594) | @Test method setAppStoreTransactionId (line 637) | @Test method setPlayPurchaseToken (line 681) | @Test method replacePlayPurchaseToken (line 723) | @Test method createReceiptChargeFailure (line 770) | @Test method createReceiptCredential (line 809) | @ParameterizedTest method testGetBankMandate (line 860) | @Test method testGetBankMandateInvalidBankTransferType (line 870) | @Test method getSubscriptionConfiguration (line 878) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/controllers/VerificationControllerTest.java class VerificationControllerTest (line 91) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 136) | @BeforeEach method createSessionUnprocessableRequestJson (line 154) | @ParameterizedTest method createSessionUnprocessableRequestJson (line 168) | static Stream createSessionUnprocessableRequestJson() { method createSessionInvalidRequestJson (line 175) | @ParameterizedTest method createSessionInvalidRequestJson (line 188) | static Stream createSessionInvalidRequestJson() { method createSessionRateLimited (line 198) | @Test method createSessionRegistrationServiceError (line 212) | @Test method createBeninSessionSuccess (line 226) | @ParameterizedTest method createBeninSessionSuccess (line 253) | private static Stream createBeninSessionSuccess() { method createBeninSessionFailure (line 263) | @Test method createSessionSuccess (line 287) | @ParameterizedTest method createSessionSuccess (line 314) | static Stream createSessionSuccess() { method createSessionReregistration (line 322) | @ParameterizedTest method patchSessionMalformedId (line 356) | @Test method patchSessionNotFound (line 369) | @Test method patchSessionPushToken (line 383) | @Test method patchSessionCaptchaRateLimited (line 428) | @Test method patchSessionPushChallengeRateLimited (line 464) | @Test method patchSessionPushChallengeMismatch (line 500) | @Test method patchSessionCaptchaInvalid (line 534) | @Test method patchSessionPushChallengeAlreadySubmitted (line 581) | @Test method patchSessionAlreadyVerified (line 629) | @Test method patchSessionPushChallengeSuccess (line 664) | @Test method patchSessionCaptchaSuccess (line 710) | @Test method patchSessionPushAndCaptchaSuccess (line 757) | @Test method patchSessionTokenUpdatedCaptchaError (line 808) | @Test method getSessionMalformedId (line 852) | @Test method getSessionInvalidArgs (line 865) | @Test method getSessionNotFound (line 879) | @Test method getSessionError (line 909) | @Test method getSessionSuccess (line 923) | @Test method getSessionSuccessAlreadyVerified (line 943) | @Test method requestVerificationCodeAlreadyVerified (line 967) | @Test method requestVerificationCodeNotAllowedInformationRequested (line 996) | @Test method requestVerificationCodeNotAllowed (line 1027) | @Test method requestVerificationCodeRateLimitExceeded (line 1057) | @Test method requestVerificationCodeTransportNotAllowed (line 1089) | @Test method requestVerificationCodeSuccess (line 1121) | @Test method requestVerificationCodeExternalServiceRefused (line 1151) | @ParameterizedTest method requestVerificationCodeExternalServiceRefused (line 1185) | static Stream requestVerificationCodeExternalServiceRefused... method fraudError (line 1193) | @ParameterizedTest method verifyCodeServerError (line 1231) | @Test method verifyCodeAlreadyVerified (line 1257) | @Test method verifyCodeNoCodeRequested (line 1292) | @Test method verifyCodeNoSession (line 1329) | @Test method verifyCodeRateLimitExceeded (line 1356) | @Test method verifyCodeSuccess (line 1389) | @Test method createSessionJson (line 1429) | private static String createSessionJson(final String number, final Str... method updateSessionJson (line 1443) | private static String updateSessionJson(final String captcha, final St... method requestVerificationCodeJson (line 1459) | private static String requestVerificationCodeJson(final String transpo... method submitVerificationCodeJson (line 1471) | private static String submitVerificationCodeJson(final String code) { method quoteIfNotNull (line 1479) | private static String quoteIfNotNull(final String s) { method unprocessableCreateSessionJson (line 1487) | private static String unprocessableCreateSessionJson(final String numb... method encodeSessionId (line 1498) | private static String encodeSessionId(final byte[] sessionId) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/currency/CoinGeckoClientTest.java class CoinGeckoClientTest (line 13) | class CoinGeckoClientTest { method parseResponse (line 23) | @Test method extractConversionRate (line 33) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/currency/CurrencyConversionManagerTest.java class CurrencyConversionManagerTest (line 31) | class CurrencyConversionManagerTest { method testCurrencyCalculations (line 38) | @Test method testCurrencyCalculations_noTrailingZeros (line 66) | @Test method testCurrencyCalculations_accuracy (line 96) | @Test method testCurrencyCalculationsTimeoutNoRun (line 125) | @Test method testCurrencyCalculationsCoinGeckoTimeoutWithRun (line 157) | @Test method testCurrencyCalculationsFixerTimeoutWithRun (line 192) | @Test method convertToUsd (line 239) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/currency/FixerClientTest.java class FixerClientTest (line 23) | public class FixerClientTest { method testGetConversionsForBase (line 25) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/entities/AnswerChallengeRequestTest.java class AnswerChallengeRequestTest (line 18) | class AnswerChallengeRequestTest { method parse (line 20) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/entities/IncomingMessageListTest.java class IncomingMessageListTest (line 15) | class IncomingMessageListTest { method fromJson (line 17) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntityTest.java class OutgoingMessageEntityTest (line 22) | class OutgoingMessageEntityTest { method roundTripThroughEnvelope (line 24) | @CartesianTest method roundTripThroughEnvelope (line 54) | @SuppressWarnings("unused") method entityPreservesEnvelope (line 64) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/entities/PreKeyTest.java class PreKeyTest (line 18) | class PreKeyTest { method serializeToJSONV2 (line 22) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/experiment/ExperimentEnrollmentManagerTest.java class ExperimentEnrollmentManagerTest (line 36) | class ExperimentEnrollmentManagerTest { method setUp (line 57) | @BeforeEach method testIsEnrolled_UuidExperiment (line 87) | @Test method testIsEnrolled_UuidExperimentPercentage (line 111) | @Test method testIsEnrolled_E164AndUuidExperiment (line 129) | @Test method testIsEnrolled_E164Experiment (line 160) | @ParameterizedTest method testIsEnrolled_E164Experiment (line 177) | @SuppressWarnings("unused") FILE: service/src/test/java/org/whispersystems/textsecuregcm/experiment/ExperimentTest.java class ExperimentTest (line 31) | class ExperimentTest { method setUp (line 38) | @BeforeEach method compareFutureResult (line 47) | @Test method compareFutureResultError (line 53) | @Test method compareSupplierResultMatch (line 59) | @Test method compareSupplierResultError (line 65) | @Test method compareSupplierResultAsyncMatch (line 73) | @Test method compareSupplierResultAsyncError (line 84) | @Test method compareSupplierResultAsyncRejection (line 97) | @Test method testRecordResult (line 106) | @ParameterizedTest method testRecordResult (line 121) | @SuppressWarnings("unused") FILE: service/src/test/java/org/whispersystems/textsecuregcm/experiment/IdleDevicePushNotificationExperimentTest.java class IdleDevicePushNotificationExperimentTest (line 22) | abstract class IdleDevicePushNotificationExperimentTest { method getExperiment (line 26) | protected abstract IdleDevicePushNotificationExperiment getExperiment(); method hasPushToken (line 28) | @ParameterizedTest method hasPushToken (line 34) | private static List hasPushToken() { method getState (line 63) | @Test method getPopulation (line 104) | @ParameterizedTest method getPopulation (line 117) | private static List getPopulation() { method getOutcome (line 133) | @ParameterizedTest method getOutcome (line 145) | private static List getOutcome() { method analyzeResults (line 184) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/experiment/PushNotificationExperimentSamplesTest.java class PushNotificationExperimentSamplesTest (line 31) | class PushNotificationExperimentSamplesTest { method setUp (line 42) | @BeforeEach method recordInitialState (line 50) | @Test method recordFinalState (line 126) | @Test method getSample (line 170) | @SuppressWarnings("SameParameterValue") method getSamples (line 196) | @Test method discardSamples (line 254) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/ExternalRequestFilterTest.java class ExternalRequestFilterTest (line 45) | @ExtendWith(DropwizardExtensionsSupport.class) class Allowed (line 48) | @Nested method getTestSupport (line 51) | @Override method getExpectedHttpStatus (line 56) | @Override method getExpectedGrpcStatus (line 61) | @Override method getConfiguration (line 66) | @Override class Blocked (line 78) | @Nested method getTestSupport (line 81) | @Override method getExpectedHttpStatus (line 86) | @Override method getExpectedGrpcStatus (line 91) | @Override method getConfiguration (line 96) | @Override class TestCase (line 107) | abstract static class TestCase { method getTestSupport (line 109) | abstract DropwizardTestSupport getTestSupport(); method getConfiguration (line 111) | abstract TestConfiguration getConfiguration(); method getExpectedHttpStatus (line 113) | abstract int getExpectedHttpStatus(); method getExpectedGrpcStatus (line 115) | abstract Status getExpectedGrpcStatus(); class Http (line 120) | @Nested method testRestricted (line 126) | @Test method testOpen (line 139) | @Test class Grpc (line 155) | @Nested method setUp (line 158) | @BeforeEach method testBlocked (line 177) | @Test method testOpen (line 192) | @Test method tearDown (line 202) | @AfterEach class Controller (line 210) | @Path("/test") method restricted (line 213) | @GET method open (line 219) | @GET class TestApplication (line 226) | public static class TestApplication extends Application getPermittedRanges(); FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/RemoteAddressFilterIntegrationTest.java class RemoteAddressFilterIntegrationTest (line 57) | @ExtendWith(DropwizardExtensionsSupport.class) class Rest (line 70) | @Nested method testRemoteAddress (line 73) | @ParameterizedTest class WebSocket (line 93) | @Nested method setUp (line 98) | @BeforeEach method tearDown (line 104) | @AfterEach method testRemoteAddress (line 109) | @ParameterizedTest class ClientEndpoint (line 134) | private static class ClientEndpoint implements WebSocketListener { method ClientEndpoint (line 140) | ClientEndpoint(String requestPath, CompletableFuture respons... method onWebSocketConnect (line 147) | @Override method onWebSocketBinary (line 159) | @Override class TestController (line 179) | public static abstract class TestController { method get (line 181) | @GET class TestRemoteAddressController (line 189) | @Path(REMOTE_ADDRESS_PATH) class TestWebSocketController (line 194) | @Path(WS_REQUEST_PATH) class TestApplication (line 203) | public static class TestApplication extends Application { method run (line 205) | @Override class TestPrincipal (line 238) | public static class TestPrincipal implements Principal { method getName (line 242) | @Override method implies (line 247) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/RemoteAddressFilterTest.java class RemoteAddressFilterTest (line 20) | class RemoteAddressFilterTest { method testGetRemoteAddress (line 22) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/RemoteDeprecationFilterTest.java class RemoteDeprecationFilterTest (line 52) | class RemoteDeprecationFilterTest { method testEmptyMap (line 54) | @Test method filterConfiguredForTest (line 78) | private RemoteDeprecationFilter filterConfiguredForTest() { method testFilter (line 111) | @ParameterizedTest method testGrpcFilter (line 132) | @ParameterizedTest method testFilter (line 176) | private static Stream testFilter() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/RequestStatisticsFilterTest.java class RequestStatisticsFilterTest (line 15) | class RequestStatisticsFilterTest { method testFilter (line 17) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/RestDeprecationFilterTest.java class RestDeprecationFilterTest (line 32) | class RestDeprecationFilterTest { method testNoConfig (line 34) | @Test method testOldClientAuthenticated (line 50) | @Test method testOldClientUnauthenticated (line 76) | @ParameterizedTest method testBlockingAuthenticated (line 104) | @Test method testBlockingUnauthenticated (line 139) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/filters/TimestampResponseFilterTest.java class TimestampResponseFilterTest (line 24) | class TimestampResponseFilterTest { method testJerseyFilter (line 26) | @Test method testServletFilter (line 38) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/AccountsAnonymousGrpcServiceTest.java class AccountsAnonymousGrpcServiceTest (line 50) | class AccountsAnonymousGrpcServiceTest extends method createServiceBeforeEachTest (line 62) | @Override method checkAccountExistence (line 85) | @Test method checkAccountExistenceIllegalRequest (line 101) | @ParameterizedTest method checkAccountExistenceIllegalRequest (line 109) | private static Stream checkAccountExistenceIllegalRequest() { method checkAccountExistenceRateLimited (line 124) | @Test method lookupUsernameHash (line 139) | @Test method lookupUsernameHashIllegalHash (line 163) | @ParameterizedTest method lookupUsernameHashIllegalHash (line 171) | private static Stream lookupUsernameHashIllegalHash() { method lookupUsernameHashRateLimited (line 188) | @Test method lookupUsernameLink (line 203) | @Test method lookupUsernameLinkIllegalHandle (line 237) | @ParameterizedTest method lookupUsernameLinkIllegalHandle (line 245) | private static Stream lookupUsernameLinkIllegalHandle() { method lookupUsernameLinkRateLimited (line 257) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/AccountsGrpcServiceTest.java class AccountsGrpcServiceTest (line 81) | class AccountsGrpcServiceTest extends SimpleBaseGrpcTest confirmUsernameHashConfirmationExcept... method confirmUsernameHashInvalidProof (line 427) | @Test method confirmUsernameHashInvalidArgument (line 451) | @ParameterizedTest method confirmUsernameHashInvalidArgument (line 459) | private static List confirmUsernameHashInv... method deleteUsernameHash (line 493) | @Test method setUsernameLink (line 508) | @ParameterizedTest method setUsernameLinkMissingUsernameHash (line 539) | @Test method setUsernameLinkIllegalCiphertext (line 558) | @ParameterizedTest method setUsernameLinkIllegalCiphertext (line 566) | private static List setUsernameLinkIllegalCiph... method setUsernameLinkRateLimited (line 578) | @Test method deleteUsernameLink (line 595) | @Test method deleteUsernameLinkRateLimited (line 608) | @Test method configureUnidentifiedAccess (line 621) | @ParameterizedTest method configureUnidentifiedAccess (line 641) | private static Stream configureUnidentifiedAccess() { method configureUnidentifiedAccessIllegalArguments (line 651) | @ParameterizedTest method configureUnidentifiedAccessIllegalArguments (line 659) | private static List configureUnide... method setDiscoverableByPhoneNumber (line 672) | @ParameterizedTest method setRegistrationRecoveryPassword (line 688) | @Test method setRegistrationRecoveryPasswordMissingPassword (line 708) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/AttachmentsGrpcServiceTest.java class AttachmentsGrpcServiceTest (line 51) | class AttachmentsGrpcServiceTest extends method createServiceBeforeEachTest (line 62) | @Override method getUploadFormCdn3 (line 88) | @Test method getUploadFormCdn2 (line 106) | @Test method getUploadFormRateLimited (line 153) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/BackupsAnonymousGrpcServiceTest.java class BackupsAnonymousGrpcServiceTest (line 77) | class BackupsAnonymousGrpcServiceTest extends method createServiceBeforeEachTest (line 89) | @Override method setup (line 94) | @BeforeEach method setPublicKey (line 104) | @Test method setBadPublicKey (line 113) | @Test method setMissingPublicKey (line 124) | @Test method putMediaBatchSuccess (line 136) | @Test method putMediaBatchPartialFailure (line 174) | @Test method getMessageBackupInfo (line 220) | @Test method getMediaBackupInfo (line 233) | @Test method getBackupInfoWrongCredentialType (line 248) | @ParameterizedTest method list (line 269) | @CartesianTest method delete (line 302) | @Test method mediaUploadForm (line 322) | @Test method messagesUploadForm (line 344) | static Stream messagesUploadForm() { method messagesUploadForm (line 352) | @ParameterizedTest method readAuth (line 375) | @Test method copyMediaInvalidRequest (line 387) | @ParameterizedTest method deleteMediaInvalidRequest (line 411) | @ParameterizedTest method listMediaInvalidLimit (line 430) | @ParameterizedTest method backupUser (line 441) | private static AuthenticatedBackupUser backupUser(final byte[] backupI... method presentation (line 446) | private static BackupAuthCredentialPresentation presentation(BackupAut... method signedPresentation (line 455) | private static SignedPresentation signedPresentation(BackupAuthCredent... FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/BackupsGrpcServiceTest.java class BackupsGrpcServiceTest (line 73) | class BackupsGrpcServiceTest extends SimpleBaseGrpcTest setBackupIdException() { method setBackupIdException (line 157) | @ParameterizedTest method redeemReceipt (line 171) | public static Stream redeemReceipt() { method redeemReceipt (line 178) | @ParameterizedTest method getCredentials (line 206) | @Test method getCredentialsBadInput (line 244) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/CallQualitySurveyGrpcServiceTest.java class CallQualitySurveyGrpcServiceTest (line 28) | class CallQualitySurveyGrpcServiceTest extends SimpleBaseGrpcTest setDeviceNameIllegalArgument() { method setPushToken (line 295) | @ParameterizedTest method setPushToken (line 314) | private static Stream setPushToken() { method setPushTokenUnchanged (line 341) | @ParameterizedTest method setPushTokenUnchanged (line 358) | private static Stream setPushTokenUnchanged() { method setPushTokenIllegalArgument (line 379) | @ParameterizedTest method setPushTokenIllegalArgument (line 388) | private static Stream setPushTokenIllegalArgument() { method clearPushToken (line 402) | @ParameterizedTest method clearPushToken (line 431) | private static Stream clearPushToken() { method setCapabilities (line 442) | @CartesianTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/EchoServiceImpl.java class EchoServiceImpl (line 13) | public class EchoServiceImpl extends EchoServiceGrpc.EchoServiceImplBase { method echo (line 14) | @Override method echo2 (line 20) | @Override method echoStream (line 26) | @Override method buildResponse (line 46) | private static EchoResponse buildResponse(final EchoRequest echoReques... FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/ErrorMappingInterceptorTest.java class ErrorMappingInterceptorTest (line 28) | class ErrorMappingInterceptorTest { method setUp (line 34) | @BeforeEach method tearDown (line 41) | @AfterEach method includeDetailsSimpleGrpc (line 49) | @Test method mapIOExceptionsSimple (line 71) | @Test method mapWrappedIOExceptionsSimple (line 85) | @Test class SimpleEchoServiceErrorImpl (line 99) | static class SimpleEchoServiceErrorImpl extends SimpleEchoServiceGrpc.... method SimpleEchoServiceErrorImpl (line 103) | SimpleEchoServiceErrorImpl(final RuntimeException exception) { method echo (line 107) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/ExternalServiceCredentialsAnonymousGrpcServiceTest.java class ExternalServiceCredentialsAnonymousGrpcServiceTest (line 37) | class ExternalServiceCredentialsAnonymousGrpcServiceTest extends method createServiceBeforeEachTest (line 60) | @Override method setup (line 65) | @BeforeEach method testOneMatch (line 70) | @Test method testNoMatch (line 81) | @Test method testSomeInvalid (line 91) | @Test method testSomeExpired (line 107) | @Test method testSomeHaveNewerVersions (line 119) | @Test method testInvalidPasswordCount (line 132) | @ParameterizedTest method assertExpectedCredentialCheckResponse (line 144) | private void assertExpectedCredentialCheckResponse( method token (line 157) | private static String token(final UUID uuid, final long timeMillis) { method token (line 161) | private static String token(final ExternalServiceCredentials credentia... method credentials (line 165) | private static ExternalServiceCredentials credentials(final UUID uuid,... method day (line 170) | private static long day(final int n) { method account (line 174) | private static Account account(final UUID uuid) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/ExternalServiceCredentialsGrpcServiceTest.java class ExternalServiceCredentialsGrpcServiceTest (line 43) | public class ExternalServiceCredentialsGrpcServiceTest method createServiceBeforeEachTest (line 62) | @Override method testSuccess (line 70) | static Stream testSuccess() { method testSuccess (line 77) | @ParameterizedTest method testUnrecognizedService (line 94) | @ParameterizedTest method testInvalidRequest (line 103) | @Test method testRateLimitExceeded (line 110) | @Test method testHaveExternalServiceDefinitionForServiceTypes (line 130) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/GrpcAllowListInterceptorTest.java class GrpcAllowListInterceptorTest (line 32) | class GrpcAllowListInterceptorTest { method setUp (line 36) | @BeforeEach method tearDown (line 43) | @AfterEach method disableAll (line 51) | @Test method enableAll (line 59) | @Test method enableByMethod (line 67) | @Test method enableByService (line 79) | @Test method enableByServiceWrongService (line 91) | @Test method setup (line 100) | private EchoServiceGrpc.EchoServiceBlockingStub setup( FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/GrpcServerExtension.java class GrpcServerExtension (line 24) | public class GrpcServerExtension implements BeforeEachCallback, AfterEac... method directExecutor (line 36) | public final GrpcServerExtension directExecutor() { method getChannel (line 48) | public final ManagedChannel getChannel() { method getServer (line 55) | public final Server getServer() { method getServerName (line 62) | public final String getServerName() { method getServiceRegistry (line 70) | public final MutableHandlerRegistry getServiceRegistry() { method beforeEach (line 74) | @Override method afterEach (line 97) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/GrpcTestUtils.java class GrpcTestUtils (line 31) | public final class GrpcTestUtils { method GrpcTestUtils (line 33) | private GrpcTestUtils() { method assertStatusException (line 37) | public static void assertStatusException(final Status expected, final ... method assertStatusException (line 42) | public static void assertStatusException(final Status expected, final ... method assertStatusInvalidArgument (line 48) | public static void assertStatusInvalidArgument(final Executable servic... method assertStatusUnauthenticated (line 52) | public static void assertStatusUnauthenticated(final Executable servic... method assertStatusPermissionDenied (line 56) | public static void assertStatusPermissionDenied(final Executable servi... method assertRateLimitExceeded (line 60) | public static void assertRateLimitExceeded( method extractErrorInfo (line 80) | public static ErrorInfo extractErrorInfo(final StatusRuntimeException ... method extractDetail (line 84) | public static T extractDetail(final Class detai... FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/KeyTransparencyGrpcServiceTest.java class KeyTransparencyGrpcServiceTest (line 59) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method createServiceBeforeEachTest (line 66) | @Override method createStub (line 76) | @Override method searchSuccess (line 81) | @Test method searchInvalidRequest (line 97) | @ParameterizedTest method searchInvalidRequest (line 128) | private static Stream searchInvalidRequest() { method searchRatelimited (line 143) | @Test method monitorSuccess (line 159) | @Test method monitorInvalidRequest (line 182) | @ParameterizedTest method monitorInvalidRequest (line 205) | private static Stream monitorInvalidRequest() { method monitorRatelimited (line 228) | @Test method distinguishedSuccess (line 250) | @Test method distinguishedInvalidRequest (line 261) | @Test method distinguishedRatelimited (line 271) | @Test method constructAciMonitorRequest (line 284) | private static AciMonitorRequest constructAciMonitorRequest(final byte... method constructE164MonitorRequest (line 292) | private static E164MonitorRequest constructE164MonitorRequest(final St... method constructUsernameHashMonitorRequest (line 300) | private static UsernameHashMonitorRequest constructUsernameHashMonitor... method customizeInterceptors (line 308) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/KeysAnonymousGrpcServiceTest.java class KeysAnonymousGrpcServiceTest (line 79) | class KeysAnonymousGrpcServiceTest extends SimpleBaseGrpcTest setOneTimeEcPreKeysWithError() { method setOneTimeKemSignedPreKeys (line 214) | @ParameterizedTest method setOneTimeKemSignedPreKeysWithError (line 252) | @ParameterizedTest method setOneTimeKemSignedPreKeysWithError (line 258) | private static Stream setOneTimeKemSignedPreKeysWithError() { method setSignedPreKey (line 297) | @ParameterizedTest method setSignedPreKeyWithError (line 328) | @ParameterizedTest method setSignedPreKeyWithError (line 337) | private static Stream setSignedPreKeyWithError() { method setLastResortPreKey (line 376) | @ParameterizedTest method setLastResortPreKeyWithError (line 407) | @ParameterizedTest method setLastResortPreKeyWithError (line 413) | private static Stream setLastResortPreKeyWithError() { method getPreKeys (line 452) | @ParameterizedTest method getPreKeysAccountNotFound (line 565) | @Test method getPreKeysDeviceNotFound (line 579) | @Test method getPreKeysRateLimited (line 602) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/MessagesAnonymousGrpcServiceTest.java class MessagesAnonymousGrpcServiceTest (line 83) | class MessagesAnonymousGrpcServiceTest extends method createServiceBeforeEachTest (line 114) | @Override method setUp (line 125) | @BeforeEach class SingleRecipient (line 151) | @Nested method sendMessage (line 154) | @CartesianTest method wrongMessageType (line 224) | @Test method sendUnrestrictedAccessMessage (line 254) | @CartesianTest method mismatchedDevices (line 291) | @Test method badCredentials (line 329) | @ParameterizedTest method destinationNotFound (line 369) | @Test method pniIdentifierWithUak (line 390) | @Test method rateLimited (line 418) | @Test method oversizedMessage (line 452) | @Test method spamWithStatus (line 479) | @Test method spamWithResponse (line 518) | @Test method generateRequest (line 558) | private static SendSealedSenderMessageRequest generateRequest(final ... class MultiRecipient (line 592) | @Nested method sendMessage (line 595) | @CartesianTest method mismatchedDevices (line 658) | @Test method badCredentials (line 706) | @Test method badPayload (line 757) | @Test method repeatedRecipient (line 776) | @Test method oversizedMessage (line 809) | @Test method spamWithStatus (line 839) | @Test method spamWithResponse (line 885) | @Test class SingleRecipientStory (line 932) | @Nested method sendStory (line 935) | @CartesianTest method mismatchedDevices (line 1000) | @Test method destinationNotFound (line 1038) | @Test method rateLimited (line 1055) | @Test method oversizedMessage (line 1087) | @Test method spamWithStatus (line 1113) | @Test method spamWithResponse (line 1151) | @Test method generateRequest (line 1188) | private static SendStoryMessageRequest generateRequest(final Service... class MultiRecipientStory (line 1205) | @Nested method sendStory (line 1208) | @ParameterizedTest method mismatchedDevices (line 1262) | @Test method badPayload (line 1308) | @Test method repeatedRecipient (line 1328) | @Test method oversizedMessage (line 1359) | @Test method spamWithStatus (line 1386) | @Test method spamWithResponse (line 1430) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/MessagesGrpcServiceTest.java class MessagesGrpcServiceTest (line 68) | class MessagesGrpcServiceTest extends SimpleBaseGrpcTest testUnaryOkResponseReason() { method testUnaryOkResponseReason (line 181) | @ParameterizedTest method testConflictingReasons (line 195) | @Test method testStatusErrorResponseReason (line 209) | @CartesianTest method testStreamingResponseReason (line 247) | @Test method find (line 266) | private T find(Class cls, final String name) { class TagTestServiceImpl (line 277) | class TagTestServiceImpl extends SimpleTagTestServiceGrpc.TagTestServi... method TagTestServiceImpl (line 280) | TagTestServiceImpl(Supplier tagResponseSupplier) { method tagEndpoint (line 284) | @Override method streamingTagEndpoint (line 289) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/MockRequestAttributesInterceptor.java class MockRequestAttributesInterceptor (line 21) | public class MockRequestAttributesInterceptor implements ServerIntercept... method setRequestAttributes (line 25) | public void setRequestAttributes(final RequestAttributes requestAttrib... method interceptCall (line 29) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/PaymentsGrpcServiceTest.java class PaymentsGrpcServiceTest (line 26) | class PaymentsGrpcServiceTest extends SimpleBaseGrpcTest getUnversionedProfileIncorrectUnident... method getUnversionedProfileExpiredGroupSendEndorsement (line 257) | @Test method getUnversionedProfileIncorrectGroupSendEndorsement (line 274) | @Test method getUnversionedProfileGroupSendEndorsementAccountNotFound (line 295) | @Test method getVersionedProfile (line 313) | @ParameterizedTest method getVersionedProfile (line 363) | private static Stream getVersionedProfile() { method getVersionedProfileVersionNotFound (line 371) | @Test method getVersionedProfileUnauthenticated (line 395) | @ParameterizedTest method getVersionedProfileUnauthenticated (line 421) | private static Stream getVersionedProfileUnauthenticated() { method getVersionedProfilePniInvalidArgument (line 428) | @Test method getExpiringProfileKeyCredential (line 446) | @Test method getExpiringProfileKeyCredentialUnauthenticated (line 491) | @ParameterizedTest method getExpiringProfileKeyCredentialUnauthenticated (line 522) | private static Stream getExpiringProfileKeyCredentialUnauth... method getExpiringProfileKeyCredentialProfileNotFound (line 530) | @Test method getExpiringProfileKeyCredentialInvalidArgument (line 557) | @ParameterizedTest method getExpiringProfileKeyCredentialInvalidArgument (line 587) | private static Stream getExpiringProfileKeyCredentialInvali... method customizeInterceptors (line 598) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/ProfileGrpcServiceTest.java class ProfileGrpcServiceTest (line 116) | public class ProfileGrpcServiceTest extends SimpleBaseGrpcTest setProfileUpload() { method setProfileInvalidRequestData (line 304) | @ParameterizedTest method setProfileInvalidRequestData (line 310) | private static Stream setProfileInvalidRequestData() throws... method setPaymentAddressDisallowedCountry (line 352) | @ParameterizedTest method setProfileBadges (line 385) | @Test method getUnversionedProfile (line 421) | @ParameterizedTest method getUnversionedProfileTargetAccountNotFound (line 486) | @Test method getUnversionedProfileRatelimited (line 500) | @ParameterizedTest method getVersionedProfile (line 518) | @ParameterizedTest method getVersionedProfile (line 558) | private static Stream getVersionedProfile() { method getVersionedProfileAccountOrProfileNotFound (line 566) | @ParameterizedTest method getVersionedProfileAccountOrProfileNotFound (line 582) | private static Stream getVersionedProfileAccountOrProfileNo... method getVersionedProfileRatelimited (line 589) | @Test method getVersionedProfilePniInvalidArgument (line 604) | @Test method getExpiringProfileKeyCredential (line 617) | @Test method getExpiringProfileKeyCredentialRateLimited (line 670) | @Test method getExpiringProfileKeyCredentialAccountOrProfileNotFound (line 689) | @ParameterizedTest method getExpiringProfileKeyCredentialAccountOrProfileNotFound (line 714) | private static Stream getExpiringProfileKeyCredentialAccoun... method getExpiringProfileKeyCredentialInvalidArgument (line 721) | @ParameterizedTest method getExpiringProfileKeyCredentialInvalidArgument (line 749) | private static Stream getExpiringProfileKeyCredentialInvali... method customizeInterceptors (line 760) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/RequestAttributesInterceptorTest.java class RequestAttributesInterceptorTest (line 33) | public class RequestAttributesInterceptorTest { method setUp (line 39) | @BeforeEach method tearDown (line 63) | @AfterEach method handleInvalidAcceptLanguage (line 69) | private static List handleInvalidAcceptLanguage() { method handleInvalidAcceptLanguage (line 76) | @ParameterizedTest method handleMissingUserAgent (line 86) | @Test method allAttributes (line 93) | @Test method useSocketAddrIfHeaderMissing (line 107) | @Test method getRequestAttributes (line 113) | private GetRequestAttributesResponse getRequestAttributes(Metadata met... FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/RequestAttributesServiceImpl.java class RequestAttributesServiceImpl (line 13) | public class RequestAttributesServiceImpl extends RequestAttributesGrpc.... method getRequestAttributes (line 15) | @Override method getAuthenticatedDevice (line 35) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/RequestAttributesUtilTest.java class RequestAttributesUtilTest (line 18) | class RequestAttributesUtilTest { method getAcceptableLanguages (line 22) | @Test method getAvailableAcceptedLocales (line 33) | @Test method getRemoteAddress (line 49) | @Test method getUserAgent (line 56) | @Test method callWithRequestAttributes (line 67) | private static V callWithRequestAttributes(final RequestAttributes... method buildRequestAttributes (line 73) | private static RequestAttributes buildRequestAttributes(@Nullable fina... FILE: service/src/test/java/org/whispersystems/textsecuregcm/grpc/SimpleBaseGrpcTest.java class SimpleBaseGrpcTest (line 51) | public abstract class SimpleBaseGrpcTest customizeInterceptors(List testRangeSizeValidationFailure() { method testRangeSizeValidationFailure (line 183) | @ParameterizedTest method testNotOptionalWithMaxLimit (line 211) | @Test method testNotOptionalWithMinLimit (line 225) | @Test method testServiceExtensionValueExtraction (line 239) | @Test method testNonEmpty (line 255) | @Test method testEnumSpecified (line 306) | @Test method testRange (line 330) | @Test method testPresent (line 359) | @Test method testAllFieldsValidationSuccess (line 374) | @Test method testFailedValidationOnNestedMessage (line 379) | @Test method deeplyNestedValidation (line 395) | @Test method oneOfValidation (line 410) | @Test method builderWithValidDefaults (line 426) | @Nonnull method assertStatusException (line 456) | private static void assertStatusException(final Status expected, final... method requestStatus (line 461) | private static Status requestStatus(final Runnable runnable) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/http/FaultTolerantHttpClientTest.java class FaultTolerantHttpClientTest (line 47) | class FaultTolerantHttpClientTest { method setUp (line 57) | @BeforeEach method tearDown (line 63) | @SuppressWarnings("ResultOfMethodCallIgnored") method testSimpleGetAsync (line 73) | @Test method testSimpleGetSync (line 98) | @Test method testRetryGetAsync (line 123) | @Test method testRetryGetSync (line 149) | @Test method testRetryGetAsyncOnException (line 175) | @Test method testRetryGetSyncOnException (line 205) | @Test method testMultipleClients (line 234) | @Test method testNetworkFailureCircuitBreaker (line 287) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/identity/AciServiceIdentifierTest.java class AciServiceIdentifierTest (line 17) | class AciServiceIdentifierTest { method identityType (line 19) | @Test method toServiceIdentifierString (line 24) | @Test method toCompactByteArray (line 31) | @Test method toFixedWidthByteArray (line 38) | @Test method valueOf (line 51) | @Test method fromBytes (line 62) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/identity/PniServiceIdentifierTest.java class PniServiceIdentifierTest (line 17) | class PniServiceIdentifierTest { method identityType (line 19) | @Test method toServiceIdentifierString (line 24) | @Test method toByteArray (line 31) | @Test method valueOf (line 45) | @Test method fromBytes (line 55) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/identity/ServiceIdentifierTest.java class ServiceIdentifierTest (line 19) | class ServiceIdentifierTest { method valueOf (line 21) | @ParameterizedTest method valueOf (line 30) | private static Stream valueOf() { method valueOfIllegalArgument (line 38) | @ParameterizedTest method fromBytes (line 44) | @ParameterizedTest method fromBytes (line 53) | private static Stream fromBytes() { method fromBytesIllegalArgument (line 70) | @ParameterizedTest method fromBytesIllegalArgument (line 76) | private static Stream fromBytesIllegalArgument() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/CardinalityEstimatorTest.java class CardinalityEstimatorTest (line 16) | public class CardinalityEstimatorTest { method testAdd (line 21) | @Test method testEventuallyExpires (line 40) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/LeakyBucketRateLimiterTest.java class LeakyBucketRateLimiterTest (line 39) | class LeakyBucketRateLimiterTest { method setUp (line 49) | @BeforeEach method tearDown (line 57) | @AfterEach method validate (line 62) | @ParameterizedTest method validateAsync (line 79) | @ParameterizedTest method validateFailOpen (line 99) | @ParameterizedTest method validateFailOpenAsync (line 122) | @ParameterizedTest method configChange_ReduceRefillRate (line 148) | @Test method configChange_IncreaseRefillRate (line 172) | @Test method configChange_ReduceBucketSize (line 199) | @Test method configChange_IncreaseBucketSize (line 224) | @Test method configChange_enableFailOpen (line 249) | @Test method configChange_disableFailOpen (line 272) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/MessageDeliveryLoopMonitorTest.java class MessageDeliveryLoopMonitorTest (line 12) | class MessageDeliveryLoopMonitorTest { method setUp (line 19) | @BeforeEach method incrementDeliveryAttemptCount (line 24) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/RateLimitChallengeManagerTest.java class RateLimitChallengeManagerTest (line 34) | class RateLimitChallengeManagerTest { method setUp (line 45) | @BeforeEach method answerPushChallenge (line 59) | @ParameterizedTest method answerCaptchaChallenge (line 80) | @ParameterizedTest method answerCaptchaChallenge (line 104) | private static Stream answerCaptchaChallenge() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/RateLimitChallengeOptionManagerTest.java class RateLimitChallengeOptionManagerTest (line 24) | class RateLimitChallengeOptionManagerTest { method setUp (line 30) | @BeforeEach method getChallengeOptions (line 36) | @ParameterizedTest method getChallengeOptions (line 79) | private static Stream getChallengeOptions() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/RateLimitedByIpTest.java class RateLimitedByIpTest (line 30) | @ExtendWith(DropwizardExtensionsSupport.class) class Controller (line 38) | @Path("/test") method strict (line 40) | @GET method loose (line 47) | @GET method testRateLimits (line 68) | @Test method validateSuccess (line 80) | private static void validateSuccess(final String path) { method validateFailure (line 89) | private static void validateFailure(final String path, final Duration ... FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/RateLimiterConfigTest.java class RateLimiterConfigTest (line 14) | class RateLimiterConfigTest { method leakRatePerMillis (line 16) | @Test method isRegenerationRatePositive (line 22) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/RateLimitersLuaScriptTest.java class RateLimitersLuaScriptTest (line 40) | public class RateLimitersLuaScriptTest { method testWithEmbeddedRedis (line 58) | @Test method testTtl (line 78) | @Test method testLuaUpdatesTokenBucket (line 99) | @Test method testFailOpen (line 131) | @ParameterizedTest method serializeToOldBucketValueFormat (line 156) | private String serializeToOldBucketValueFormat( method decodeBucket (line 173) | private Optional decodeBucket(final String key) { method scriptArgs (line 181) | private List scriptArgs( FILE: service/src/test/java/org/whispersystems/textsecuregcm/limits/RateLimitersTest.java class RateLimitersTest (line 25) | @SuppressWarnings("unchecked") method testValidateDuplicates (line 39) | @Test method testUnchangingConfiguration (line 63) | @Test method testChangingConfiguration (line 71) | @Test method testRateLimiterHasItsPrioritiesStraight (line 100) | @Test method defaultConfig (line 124) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/mappers/GrpcStatusRuntimeExceptionMapperTest.java class GrpcStatusRuntimeExceptionMapperTest (line 31) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 45) | @BeforeEach method responseBody (line 50) | @ParameterizedTest method errorMapping (line 64) | public static Stream errorMapping() { method errorMapping (line 71) | @ParameterizedTest class TestController (line 79) | @Path("/v1/test") method plaintext (line 84) | @GET method json (line 93) | @GET FILE: service/src/test/java/org/whispersystems/textsecuregcm/mappers/IOExceptionMapperTest.java class IOExceptionMapperTest (line 18) | class IOExceptionMapperTest { method testExceptionParsing (line 20) | @ParameterizedTest method testExceptionParsing (line 29) | static Stream testExceptionParsing() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/CallQualitySurveyManagerTest.java class CallQualitySurveyManagerTest (line 44) | class CallQualitySurveyManagerTest { method setUp (line 56) | @BeforeEach method submitCallQualitySurvey (line 64) | @Test method validateRequest (line 150) | @ParameterizedTest method validateRequest (line 165) | private static List validateRequest() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/MessageMetricsTest.java class MessageMetricsTest (line 28) | class MessageMetricsTest { method setup (line 37) | @BeforeEach method measureAccountOutgoingMessageUuidMismatches (line 48) | @Test method createOutgoingMessageEntity (line 71) | private OutgoingMessageEntity createOutgoingMessageEntity(final Servic... method measureAccountEnvelopeUuidMismatches (line 75) | @Test method createEnvelope (line 103) | private MessageProtos.Envelope createEnvelope(ServiceIdentifier destin... method findCounter (line 113) | private Optional findCounter(SimpleMeterRegistry meterRegistr... FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListenerIntegrationTest.java class MetricsHttpChannelListenerIntegrationTest (line 82) | @ExtendWith(DropwizardExtensionsSupport.class) method teardown (line 95) | @AfterEach method testSimplePath (line 103) | @ParameterizedTest class WebSocket (line 170) | @Nested method setUp (line 175) | @BeforeEach method tearDown (line 181) | @AfterEach method testWebSocketUpgrade (line 186) | @Test method testSimplePath (line 233) | static Stream testSimplePath() { class TestApplication (line 243) | public static class TestApplication extends Application { method run (line 245) | @Override class TestAuthFilter (line 283) | @Priority(Priorities.AUTHENTICATION) method filter (line 286) | @Override class TestListener (line 299) | static class TestListener implements HttpChannel.Listener, Container.L... method TestListener (line 303) | TestListener(AtomicReference countDownLatchReference) { method onComplete (line 308) | @Override method beanAdded (line 313) | @Override method beanRemoved (line 320) | @Override class TestResource (line 327) | @Path("/v1/test") method testGetHello (line 333) | @GET method testGreetByName (line 339) | @GET class TestPrincipal (line 351) | public static class TestPrincipal implements Principal { method getName (line 355) | @Override method implies (line 360) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/MetricsHttpChannelListenerTest.java class MetricsHttpChannelListenerTest (line 37) | class MetricsHttpChannelListenerTest { method setup (line 47) | @BeforeEach method testRequests (line 72) | @ParameterizedTest method testRequestsByVersion (line 129) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/MetricsRequestEventListenerTest.java class MetricsRequestEventListenerTest (line 65) | class MetricsRequestEventListenerTest { method setup (line 78) | @BeforeEach method testOnEvent (line 90) | @ParameterizedTest method testActualRouteMessageSuccess (line 159) | @Test method testActualRouteMessageSuccessNoUserAgent (line 228) | @Test method testAuthenticated (line 296) | @ParameterizedTest method getResponse (line 365) | private static SubProtocol.WebSocketResponseMessage getResponse(Argume... class TestResource (line 372) | @Path("/v1/test") method testGetHello (line 375) | @GET FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/MetricsUtilTest.java class MetricsUtilTest (line 28) | class MetricsUtilTest { method name (line 30) | @Test method lettuceTagRejection (line 38) | @ParameterizedTest method awsSdkMetricRejection (line 68) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/TlsCertificateExpirationUtilTest.java class TlsCertificateExpirationUtilTest (line 18) | class TlsCertificateExpirationUtilTest { method test (line 150) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/metrics/UserAgentTagUtilTest.java class UserAgentTagUtilTest (line 25) | class UserAgentTagUtilTest { method getPlatformTag (line 27) | @ParameterizedTest method getPlatformTag (line 33) | private static Stream getPlatformTag() { method getClientVersionTag (line 54) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method getClientVersionTag (line 64) | private static Stream getClientVersionTag() { method getAdditionalSpecifierTags (line 76) | @ParameterizedTest method getAdditionalSpecifierTags (line 82) | private static List getAdditionalSpecifierTags() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/push/APNSenderTest.java class APNSenderTest (line 38) | class APNSenderTest { method setup (line 49) | @BeforeEach method testSendApns (line 61) | @ParameterizedTest method testUnregisteredUser (line 104) | @ParameterizedTest method testGenericFailure (line 136) | @Test method testFailure (line 164) | @Test class MockPushNotificationFuture (line 185) | private static class MockPushNotificationFuture

processJob() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/push/MessageSenderTest.java class MessageSenderTest (line 59) | class MessageSenderTest { method setUp (line 67) | @BeforeEach method sendMessage (line 78) | @CartesianTest method sendMessageMismatchedDevices (line 144) | @Test method sendMultiRecipientMessage (line 185) | @CartesianTest method sendMultiRecipientMessageMismatchedDevices (line 253) | @Test method validateIndividualMessageBundle (line 306) | @ParameterizedTest method validateIndividualMessageBundle (line 329) | private static List validateIndividualMessageBundle() { method generateEnvelope (line 465) | private static MessageProtos.Envelope generateEnvelope(@Nullable Servi... method validateContentLength (line 476) | @Test method getMismatchedDevices (line 485) | @ParameterizedTest method getMismatchedDevices (line 497) | private static List getMismatchedDevices() { method sendMessageEmptyMessageList (line 568) | @Test method sendSyncMessageMismatchedAddressing (line 594) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/push/ProvisioningManagerTest.java class ProvisioningManagerTest (line 22) | class ProvisioningManagerTest { method setUp (line 31) | @BeforeEach method tearDown (line 37) | @AfterEach method sendProvisioningMessage (line 42) | @Test method removeListener (line 61) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/push/PushNotificationManagerTest.java class PushNotificationManagerTest (line 32) | class PushNotificationManagerTest { method setUp (line 41) | @BeforeEach method sendNewUrgentMessageNotification (line 54) | @Test method sendNewNonUrgentMessageNotification (line 71) | @Test method sendRegistrationChallengeNotification (line 89) | @Test method sendRateLimitChallengeNotification (line 101) | @Test method sendAttemptLoginNotification (line 120) | @ParameterizedTest method testSendNotificationFcm (line 151) | @Test method testSendOrScheduleNotification (line 174) | @CartesianTest method testSendNotificationUnregisteredFcm (line 215) | @Test method testSendNotificationUnregisteredApn (line 240) | @Test method testSendNotificationUnregisteredApnTokenUpdated (line 268) | @Test method testHandleMessagesRetrieved (line 299) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/push/PushNotificationSchedulerTest.java class PushNotificationSchedulerTest (line 43) | class PushNotificationSchedulerTest { method setUp (line 63) | @BeforeEach method testScheduleBackgroundNotificationWithNoRecentApnsNotification (line 97) | @ParameterizedTest method testScheduleBackgroundNotificationWithRecentNotification (line 115) | @ParameterizedTest method testCancelBackgroundApnsNotifications (line 136) | @ParameterizedTest method testProcessScheduledBackgroundNotifications (line 152) | @ParameterizedTest method testProcessScheduledBackgroundNotificationsCancelled (line 193) | @ParameterizedTest method testScheduleDelayedNotification (line 212) | @Test method testCancelDelayedNotification (line 230) | @Test method testProcessScheduledDelayedNotifications (line 239) | @Test method testDedicatedProcessDynamicConfiguration (line 257) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/push/RedisMessageAvailabilityManagerTest.java class RedisMessageAvailabilityManagerTest (line 42) | @Timeout(value = 10, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) class MessageAvailabilityAdapter (line 54) | private static class MessageAvailabilityAdapter implements MessageAvai... method handleNewMessageAvailable (line 56) | @Override method handleMessagesPersisted (line 60) | @Override method handleConflictingMessageConsumer (line 64) | @Override method setUpBeforeAll (line 69) | @BeforeAll method setUp (line 75) | @BeforeEach method tearDown (line 89) | @AfterEach method tearDownAfterAll (line 95) | @AfterAll method handleClientConnected (line 101) | @ParameterizedTest method isLocallyPresent (line 144) | @Test method resubscribe (line 167) | @Test method unsubscribeIfMissingListener (line 237) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/ClusterLuaScriptTest.java class ClusterLuaScriptTest (line 38) | class ClusterLuaScriptTest { method testExecute (line 43) | @Test method testExecuteScriptNotLoaded (line 62) | @Test method testExecuteBinaryScriptNotLoaded (line 81) | @Test method testExecuteBinaryAsyncScriptNotLoaded (line 105) | @Test method testExecuteBinaryReactiveScriptNotLoaded (line 135) | @Test method testExecuteRealCluster (line 160) | @ParameterizedTest type ExecuteMode (line 205) | private enum ExecuteMode { FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/FaultTolerantPubSubClusterConnectionTest.java class FaultTolerantPubSubClusterConnectionTest (line 42) | class FaultTolerantPubSubClusterConnectionTest { method setUp (line 58) | @SuppressWarnings("unchecked") method testSubscribeToClusterTopologyChangedEvents (line 112) | @SuppressWarnings("unchecked") method testFilterClusterTopologyChangeEvents (line 137) | @Test method testMultipleEventsWithPendingRetries (line 150) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClientTest.java class FaultTolerantRedisClientTest (line 24) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method buildRedisClient (line 34) | private static FaultTolerantRedisClient buildRedisClient( method tearDown (line 48) | @AfterEach method testTimeout (line 53) | @Test method testTimeoutCircuitBreaker (line 67) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClusterClientTest.java class FaultTolerantRedisClusterClientTest (line 69) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method buildCluster (line 83) | private static FaultTolerantRedisClusterClient buildCluster( method tearDown (line 104) | @AfterEach method testTimeout (line 109) | @Test method testTimeoutCircuitBreaker (line 123) | @Test method testShardUnavailable (line 154) | @Test method testShardUnavailablePubSub (line 207) | @Test class TestBreakerManager (line 315) | @ChannelHandler.Sharable method afterChannelInitialized (line 321) | @Override method connect (line 326) | @Override method getRedisURI (line 339) | private static RedisURI getRedisURI(SocketAddress remoteAddress) { method openBreaker (line 344) | void openBreaker(final RedisURI redisURI) { method closeBreaker (line 349) | void closeBreaker(final RedisURI redisURI) { class CompositeNettyCustomizer (line 355) | static class CompositeNettyCustomizer implements NettyCustomizer { method afterBootstrapInitialized (line 359) | @Override method afterChannelInitialized (line 364) | @Override method add (line 369) | void add(NettyCustomizer customizer) { class CompositeNettyCustomizerClientResourcesBuilder (line 374) | static class CompositeNettyCustomizerClientResourcesBuilder implements... method builder (line 379) | static CompositeNettyCustomizerClientResourcesBuilder builder() { method CompositeNettyCustomizerClientResourcesBuilder (line 383) | private CompositeNettyCustomizerClientResourcesBuilder() { method addressResolverGroup (line 389) | @Override method commandLatencyRecorder (line 395) | @Override method commandLatencyCollectorOptions (line 401) | @Override method commandLatencyPublisherOptions (line 409) | @Override method computationThreadPoolSize (line 416) | @Override method dnsResolver (line 422) | @Override method eventBus (line 429) | @Override method eventExecutorGroup (line 435) | @Override method eventLoopGroupProvider (line 441) | @Override method ioThreadPoolSize (line 447) | @Override method nettyCustomizer (line 453) | @Override method reconnectDelay (line 459) | @Override method reconnectDelay (line 465) | @Override method socketAddressResolver (line 471) | @Override method threadFactoryProvider (line 477) | @Override method timer (line 483) | @Override method tracing (line 489) | @Override method build (line 495) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/LettuceShardCircuitBreakerTest.java class LettuceShardCircuitBreakerTest (line 43) | class LettuceShardCircuitBreakerTest { method setUp (line 47) | @BeforeEach method testAfterChannelInitialized (line 52) | @Test method testHandlerConnect (line 83) | @Test method testHandlerWriteBreakerClosed (line 91) | @ParameterizedTest method testHandlerWriteBatchBreakerClosed (line 119) | @ParameterizedTest method testHandlerWriteBreakerOpen (line 151) | @Test method testHandlerWriteBatchBreakerOpen (line 170) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/RedisClusterExtension.java class RedisClusterExtension (line 37) | public class RedisClusterExtension implements BeforeAllCallback, BeforeE... method RedisClusterExtension (line 85) | public RedisClusterExtension(final Duration timeout) { method builder (line 90) | public static Builder builder() { method close (line 94) | @Override method beforeAll (line 102) | @Override method beforeEach (line 188) | @Override method afterEach (line 203) | @Override method getRedisURIs (line 209) | public static List getRedisURIs() { method getExposedRedisURI (line 213) | public RedisURI getExposedRedisURI(final RedisURI internalRedisURI) { method getSocketAddressResolver (line 220) | public SocketAddressResolver getSocketAddressResolver() { method getRedisCluster (line 225) | public FaultTolerantRedisClusterClient getRedisCluster() { class Builder (line 229) | public static class Builder { method Builder (line 233) | private Builder() { method timeout (line 236) | Builder timeout(Duration timeout) { method build (line 241) | public RedisClusterExtension build() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/redis/RedisServerExtension.java class RedisServerExtension (line 22) | public class RedisServerExtension implements BeforeAllCallback, BeforeEa... class RedisServerExtensionBuilder (line 31) | public static class RedisServerExtensionBuilder { method RedisServerExtensionBuilder (line 33) | private RedisServerExtensionBuilder() { method build (line 36) | public RedisServerExtension build() { method builder (line 41) | public static RedisServerExtensionBuilder builder() { method beforeAll (line 45) | @Override method getRedisURI (line 53) | public static RedisURI getRedisURI() { method beforeEach (line 57) | @Override method afterEach (line 73) | @Override method close (line 79) | @Override method getRedisClient (line 87) | public FaultTolerantRedisClient getRedisClient() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/registration/IdentityTokenCallCredentialsTest.java class IdentityTokenCallCredentialsTest (line 27) | public class IdentityTokenCallCredentialsTest { method retryErrors (line 29) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/s3/PolicySignerTest.java class PolicySignerTest (line 15) | class PolicySignerTest { method testSignature (line 17) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/s3/S3ObjectMonitorTest.java class S3ObjectMonitorTest (line 31) | class S3ObjectMonitorTest { method refresh (line 33) | @Test method refreshAfterGet (line 63) | @Test method responseInputStreamFromString (line 93) | private ResponseInputStream responseInputStreamFrom... method refreshOversizedObject (line 99) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/scheduler/JobSchedulerTest.java class JobSchedulerTest (line 24) | class JobSchedulerTest { class TestJobScheduler (line 32) | private static class TestJobScheduler extends JobScheduler { method TestJobScheduler (line 36) | protected TestJobScheduler(final DynamoDbAsyncClient dynamoDbAsyncCl... method getSchedulerName (line 43) | @Override method processJob (line 48) | @Override method scheduleJob (line 56) | @Test method processAvailableJobs (line 72) | @Test method processAvailableJobsWithError (line 99) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/scheduler/SchedulingUtilTest.java class SchedulingUtilTest (line 20) | class SchedulingUtilTest { method getNextRecommendedNotificationTime (line 22) | @Test method getNextRecommendedNotificationTimeDaylightSavings (line 70) | @Test method zoneIdSelectionSingleOffset (line 92) | @Test method zoneIdSelectionMultipleOffsets (line 104) | @Test method zoneIdSelectionUnknownNumber (line 118) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/securestorage/SecureStorageClientTest.java class SecureStorageClientTest (line 37) | class SecureStorageClientTest { method setUp (line 51) | @BeforeEach method tearDown (line 112) | @AfterEach method deleteStoredData (line 121) | @Test method deleteStoredDataFailure (line 138) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/securevaluerecovery/SecureValueRecoveryClientTest.java class SecureValueRecoveryClientTest (line 40) | class SecureValueRecoveryClientTest { method setUp (line 55) | @BeforeEach method tearDown (line 117) | @AfterEach method deleteStatus (line 125) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountChangeValidatorTest.java class AccountChangeValidatorTest (line 22) | class AccountChangeValidatorTest { method validateChange (line 35) | @ParameterizedTest method validateChange (line 51) | private static Stream validateChange() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountCreationDeletionIntegrationTest.java class AccountCreationDeletionIntegrationTest (line 56) | public class AccountCreationDeletionIntegrationTest { method setUp (line 88) | @BeforeEach method tearDown (line 163) | @AfterEach method createAccount (line 171) | @CartesianTest method createAccount (line 265) | @SuppressWarnings("unused") method reregisterAccount (line 279) | @CartesianTest method deleteAccount (line 405) | @Test method assertExpectedStoredAccount (line 477) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountLockManagerTest.java class AccountLockManagerTest (line 22) | class AccountLockManagerTest { method setUp (line 32) | @BeforeEach method tearDown (line 40) | @AfterEach method withLock (line 48) | @Test method withLockTaskThrowsException (line 56) | @Test method withLockEmptyList (line 66) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountTest.java class AccountTest (line 34) | class AccountTest { method setup (line 42) | @BeforeEach method testIsTransferSupported (line 61) | @Test method testDiscoverableByPhoneNumber (line 100) | @Test method hardcodedCapabilities (line 115) | @Test method stale (line 125) | void stale() { method getNextDeviceId (line 137) | @Test method replaceDevice (line 165) | @Test method addAndRemoveBadges (line 178) | @Test method testAccountClassJsonFilterIdMatchesClassName (line 221) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountsManagerChangeNumberIntegrationTest.java class AccountsManagerChangeNumberIntegrationTest (line 49) | class AccountsManagerChangeNumberIntegrationTest { method setup (line 77) | @BeforeEach method tearDown (line 153) | @AfterEach method testChangeNumber (line 161) | @Test method testChangeNumberSameNumber (line 190) | @Test method testChangeNumberWithPniExtensions (line 216) | @Test method testChangeNumberReturnToOriginal (line 260) | @Test method testChangeNumberContested (line 301) | @Test method testChangeNumberChaining (line 352) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountsManagerConcurrentModificationIntegrationTest.java class AccountsManagerConcurrentModificationIntegrationTest (line 63) | class AccountsManagerConcurrentModificationIntegrationTest { method setup (line 84) | @BeforeEach method testConcurrentUpdate (line 135) | @Test method getLastAccountFromRedisMock (line 208) | private Account getLastAccountFromRedisMock(RedisAdvancedClusterComman... method verifyAccount (line 216) | private void verifyAccount(final String name, final Account account, f... method modifyAccount (line 228) | private CompletableFuture modifyAccount(final UUID uuid, final Cons... method modifyDevice (line 236) | private CompletableFuture modifyDevice(final UUID uuid, final byte ... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountsManagerDeviceTransferIntegrationTest.java class AccountsManagerDeviceTransferIntegrationTest (line 43) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setUp (line 51) | @BeforeEach method tearDown (line 80) | @AfterEach method waitForTransferArchive (line 85) | @Test method waitForTransferArchiveAlreadyAdded (line 114) | @Test method waitForErrorTransferArchive (line 136) | @Test method waitForTransferArchiveTimeout (line 159) | @Test method waitForRestoreAccountRequest (line 173) | @Test method waitForRestoreAccountRequestAlreadyRequested (line 196) | @Test method waitForRestoreAccountRequestTimeout (line 208) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountsManagerTest.java class AccountsManagerTest (line 102) | @Timeout(value = 10, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setup (line 140) | @BeforeEach method testGetByServiceIdentifier (line 235) | @Test method testGetByServiceIdentifierAsync (line 250) | @Test method testGetAccountByUuidInCache (line 274) | @Test method testGetAccountByUuidInCacheAsync (line 294) | @Test method testGetAccountByPniInCache (line 316) | @Test method testGetAccountByPniInCacheAsync (line 338) | @Test method testGetAccountByUuidNotInCache (line 364) | @Test method testGetAccountByUuidNotInCacheAsync (line 387) | @Test method testGetAccountByPniNotInCache (line 412) | @Test method testGetAccountByPniNotInCacheAsync (line 436) | @Test method testGetAccountByUsernameHash (line 462) | @Test type FailureStep (line 477) | enum FailureStep { method testGetAccountByUuidBrokenCache (line 483) | @ParameterizedTest method testGetAccountByUuidBrokenCacheAsync (line 514) | @ParameterizedTest method testGetAccountByPniBrokenCache (line 548) | @Test method testGetAccountByPniBrokenCacheAsync (line 572) | @Test method testUpdate_optimisticLockingFailure (line 601) | @Test method testUpdate_dynamoOptimisticLockingFailureDuringCreate (line 627) | @Test method testUpdateDevice (line 644) | @Test method testRemoveDevice (line 676) | @Test method testRemovePrimaryDevice (line 701) | @Test method testCreateFreshAccount (line 719) | @Test method testReregisterAccount (line 742) | @ParameterizedTest method testCreateAccountRecentlyDeleted (line 797) | @Test method testCreateWithDiscoverability (line 826) | @ParameterizedTest method testCreateWithStorageCapability (line 835) | @ParameterizedTest method testAddDevice (line 846) | @Test method testUpdateDeviceLastSeen (line 921) | @ParameterizedTest method testUpdateDeviceLastSeen (line 934) | @SuppressWarnings("unused") method testChangePhoneNumber (line 943) | @ParameterizedTest method testChangePhoneNumberDifferentNumberSamePni (line 977) | @Test method testChangePhoneNumberExistingAccount (line 1002) | @Test method testChangePhoneNumberWithPqKeysExistingAccount (line 1041) | @Test method testChangePhoneNumberWithMismatchedPqKeys (line 1087) | @Test method testChangePhoneNumberViaUpdate (line 1113) | @Test method testReserveUsernameHash (line 1124) | @Test method testReserveOwnUsernameHash (line 1136) | @Test method testReserveUsernameOptimisticLockingFailure (line 1150) | @Test method testReserveUsernameHashAsyncNotAvailable (line 1166) | @Test method testConfirmReservedUsernameHash (line 1178) | @Test method testConfirmReservedUsernameHashOptimisticLockingFailure (line 1187) | @Test method testConfirmReservedHashNameMismatch (line 1201) | @Test method testConfirmReservedLapsed (line 1209) | @Test method testConfirmReservedRetry (line 1221) | @Test method testConfirmReservedUsernameHashWithNoReservation (line 1231) | @Test method testClearUsernameHash (line 1240) | @Test method testSetUsernameViaUpdate (line 1248) | @Test method testOnlyPrimaryCanWaitForDeviceLinked (line 1255) | @Test method testJsonRoundTripSerialization (line 1270) | @Test method setReservationHash (line 1307) | private void setReservationHash(final Account account, final byte[] re... method generateTestDevice (line 1311) | private static Device generateTestDevice(final long lastSeen) { method createAccount (line 1320) | private Account createAccount(final String e164, final AccountAttribut... method checkDeviceLinkingToken (line 1346) | @Test method checkVerificationTokenBadToken (line 1354) | @ParameterizedTest method checkVerificationTokenBadToken (line 1362) | private static Stream checkVerificationTokenBadToken() thro... method validateCompleteDeviceList (line 1401) | @ParameterizedTest method validateCompleteDeviceList (line 1417) | private static List validateCompleteDeviceList() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountsManagerUsernameIntegrationTest.java class AccountsManagerUsernameIntegrationTest (line 54) | class AccountsManagerUsernameIntegrationTest { method setup (line 87) | @BeforeEach method buildAccountsManager (line 92) | private void buildAccountsManager(final int initialWidth, int discrimi... method testNoUsernames (line 156) | @Test method testReserveUsernameGetFirstAvailableChoice (line 184) | @Test method testReserveConfirmClear (line 210) | @Test method testHold (line 240) | @Test method testReservationLapsed (line 267) | @Test method testUsernameSetReserveAnotherClearSetReserved (line 299) | @Test method testReclaim (line 331) | @Test method testUsernameLinks (line 353) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AccountsTest.java class AccountsTest (line 89) | @Timeout(value = 10, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setupAccountsDao (line 125) | @BeforeEach method testStoreAndLookupUsernameLink (line 146) | @Test method testStore (line 181) | @Test method testStoreRecentlyDeleted (line 202) | @Test method testStoreMulti (line 230) | @Test method testStoreAciCollisionFails (line 243) | @Test method testStorePniCollisionFails (line 261) | @Test method testRetrieve (line 282) | @Test method testRetrieveNoPni (line 327) | @Test type UsernameStatus (line 386) | enum UsernameStatus { method reclaimAccountWithNoUsername (line 393) | @ParameterizedTest method reclaimAccount (line 452) | private void reclaimAccount(final Account reregisteredAccount) { method testReclaimAccountPreservesFields (line 466) | @Test method testReclaimAccount (line 488) | @Test method testUpdate (line 557) | @Test method testUpdateWithMockTransactionConflictException (line 606) | @Test method testUpdateTransactionally (line 629) | @Test method testUpdateTransactionallyContestedLock (line 673) | @Test method testUpdateTransactionallyWithMockTransactionConflictException (line 692) | @Test method testGetAll (line 720) | @Test method testGetAllAccountIdentifiers (line 738) | @Test method testDelete (line 754) | @Test method testMissing (line 803) | @Test method getByAccountIdentifierAsync (line 817) | @Test method getByPhoneNumberIdentifierAsync (line 829) | @Test method getByE164Async (line 841) | @Test method testCanonicallyDiscoverableSet (line 855) | @Test method testChangeNumber (line 870) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method testChangeNumber (line 920) | private static Stream testChangeNumber() { method testChangeNumberConflict (line 927) | @Test method testChangeNumberPhoneNumberIdentifierConflict (line 952) | @Test method testChangeNumberContestedOptimisticLock (line 983) | @Test method testSwitchUsernameHashes (line 1018) | @Test method testUsernameHashNotAvailable (line 1063) | @Test method testReserveUsernameHashTransactionConflict (line 1098) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method testReserveUsernameHashTransactionConflict (line 1136) | private static Stream testReserveUsernameHashTransactionCon... method testConfirmUsernameHashTransactionConflict (line 1144) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method testConfirmUsernameHashTransactionConflict (line 1184) | private static Stream testConfirmUsernameHashTransactionCon... method testConfirmUsernameHashVersionMismatch (line 1192) | @Test method testClearUsername (line 1205) | @Test method testClearUsernameNoUsername (line 1225) | @Test method testClearUsernameVersionMismatch (line 1233) | @Test method testClearUsernameTransactionConflict (line 1249) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method testClearUsernameTransactionConflict (line 1295) | private static Stream testClearUsernameTransactionConflict() { method testReservedUsernameHash (line 1302) | @Test method switchBetweenReservedUsernameHashes (line 1331) | @Test method reserveOwnConfirmedUsername (line 1364) | @Test method testConfirmReservedUsernameHashWrongAccountUuid (line 1388) | @Test method testConfirmExpiredReservedUsernameHash (line 1404) | @Test method testReserveConfirmUsernameHashVersionConflict (line 1433) | @Test method testRemoveOldestHold (line 1446) | @ParameterizedTest method testHoldUsername (line 1498) | @Test method testNoHoldsBarred (line 1519) | @Test method testCannotRemoveHold (line 1551) | @Test method testDeduplicateHoldsOnSwappedUsernames (line 1591) | @Test method testRemoveHoldAfterConfirm (line 1624) | @Test method testIgnoredFieldsNotAddedToDataAttribute (line 1654) | @Test method testGetByUsernameHashAsync (line 1672) | @Test method testInvalidDeviceIdDeserialization (line 1687) | @Test method testRegenerateConstraints (line 1730) | @Test method testRegeneratedConstraintsMatchOriginalConstraints (line 1781) | @Test method writeAccountRecordWithoutConstraints (line 1846) | private void writeAccountRecordWithoutConstraints(final Account accoun... method getConstraintValue (line 1873) | private Optional getConstraintValue(final String tableName, method getUsernameConstraint (line 1887) | private Optional getUsernameConstraint(final byte[... method generateDevice (line 1909) | private static Device generateDevice(byte id) { method createAccount (line 1913) | private boolean createAccount(final Account account) { method nextRandomAccount (line 1921) | private static Account nextRandomAccount() { method generateAccount (line 1926) | private static Account generateAccount(String number, UUID uuid, final... method generateAccount (line 1931) | private static Account generateAccount(String number, UUID uuid, final... method assertPhoneNumberConstraintExists (line 1939) | private void assertPhoneNumberConstraintExists(final String number, fi... method assertPhoneNumberConstraintDoesNotExist (line 1950) | private void assertPhoneNumberConstraintDoesNotExist(final String numb... method assertPhoneNumberIdentifierConstraintExists (line 1960) | private void assertPhoneNumberIdentifierConstraintExists(final UUID ph... method assertPhoneNumberIdentifierConstraintDoesNotExist (line 1971) | private void assertPhoneNumberIdentifierConstraintDoesNotExist(final U... method readAccount (line 1981) | private Map readAccount(final UUID uuid) { method getUsernameConstraintTableItem (line 1992) | private Map getUsernameConstraintTableItem(fin... method verifyStoredState (line 2001) | @SuppressWarnings("SameParameterValue") method verifyStoredState (line 2033) | private void verifyStoredState(String number, UUID uuid, UUID pni, byt... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/AddRemoveDeviceIntegrationTest.java class AddRemoveDeviceIntegrationTest (line 48) | public class AddRemoveDeviceIntegrationTest { method setUp (line 82) | @BeforeEach method tearDown (line 164) | @AfterEach method addDevice (line 174) | @Test method addDeviceReusedToken (line 222) | @Test method removeDevice (line 279) | @Test method removeDevicePartialFailure (line 328) | @Test method waitForNewLinkedDevice (line 386) | @Test method waitForNewLinkedDeviceAlreadyAdded (line 439) | @Test method waitForNewLinkedDeviceTimeout (line 486) | @Test method waitForMessageFetch (line 504) | @ParameterizedTest method waitForMessageFetchRetries (line 551) | @Timeout(value = 10, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/ChangeNumberManagerTest.java class ChangeNumberManagerTest (line 41) | public class ChangeNumberManagerTest { method setUp (line 50) | @BeforeEach method changeNumberSingleDevice (line 85) | @Test method changeNumberLinkedDevices (line 110) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/ClientReleaseManagerTest.java class ClientReleaseManagerTest (line 24) | class ClientReleaseManagerTest { method setUp (line 31) | @BeforeEach method isVersionActive (line 40) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/ClientReleasesTest.java class ClientReleasesTest (line 21) | class ClientReleasesTest { method setUp (line 29) | @BeforeEach method getClientReleases (line 35) | @Test method storeClientRelease (line 52) | private void storeClientRelease(final String platform, final String ve... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/DeviceTest.java class DeviceTest (line 19) | class DeviceTest { method testIsExpired (line 21) | @ParameterizedTest method deserializeCapabilities (line 49) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamicConfigurationManagerTest.java class DynamicConfigurationManagerTest (line 25) | class DynamicConfigurationManagerTest { method setup (line 37) | @BeforeEach method testGetInitialConfig (line 43) | @Test method testBadConfig (line 55) | @Test method testGetConfigMultiple (line 69) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamoDbExtension.java class DynamoDbExtension (line 36) | public class DynamoDbExtension implements BeforeAllCallback, BeforeEachC... type TableSchema (line 38) | public interface TableSchema { method tableName (line 39) | String tableName(); method hashKeyName (line 40) | String hashKeyName(); method rangeKeyName (line 41) | String rangeKeyName(); method attributeDefinitions (line 42) | List attributeDefinitions(); method globalSecondaryIndexes (line 43) | List globalSecondaryIndexes(); method localSecondaryIndexes (line 44) | List localSecondaryIndexes(); method DynamoDbExtension (line 78) | public DynamoDbExtension(TableSchema... schemas) { method setEndpointOverride (line 82) | public void setEndpointOverride(String endpointOverride) { method setRegion (line 86) | public void setRegion(String region) { method setAwsCredentialsProvider (line 90) | public void setAwsCredentialsProvider(AwsCredentialsProvider awsCreden... method beforeAll (line 97) | @Override method beforeEach (line 105) | @Override method afterEach (line 113) | @Override method close (line 135) | @Override method startServer (line 140) | private void startServer() { method stopServer (line 149) | private void stopServer() { method resetServer (line 168) | public void resetServer() { method createTables (line 174) | private void createTables() { method createTable (line 179) | private void createTable(TableSchema schema) { method initializeClient (line 204) | private void initializeClient() { method getDynamoDbClient (line 221) | public DynamoDbClient getDynamoDbClient() { method getDynamoDbAsyncClient (line 225) | public DynamoDbAsyncClient getDynamoDbAsyncClient() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/DynamoDbExtensionSchema.java class DynamoDbExtensionSchema (line 24) | public final class DynamoDbExtensionSchema { type Tables (line 26) | public enum Tables implements DynamoDbExtension.TableSchema { method Tables (line 406) | Tables( method tableName (line 422) | public String tableName() { method hashKeyName (line 426) | public String hashKeyName() { method rangeKeyName (line 430) | public String rangeKeyName() { method attributeDefinitions (line 434) | public List attributeDefinitions() { method globalSecondaryIndexes (line 438) | public List globalSecondaryIndexes() { method localSecondaryIndexes (line 442) | public List localSecondaryIndexes() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/EnvelopeUtilTest.java class EnvelopeUtilTest (line 31) | class EnvelopeUtilTest { method compressExpand (line 33) | @ParameterizedTest method generateRandomServiceIdentifier (line 119) | private static ServiceIdentifier generateRandomServiceIdentifier() { method generateRandomMessageBuilder (line 128) | private MessageProtos.Envelope.Builder generateRandomMessageBuilder() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/FoundationDbClusterExtension.java class FoundationDbClusterExtension (line 15) | public class FoundationDbClusterExtension implements BeforeAllCallback, ... method FoundationDbClusterExtension (line 20) | public FoundationDbClusterExtension(final int numInstances) { method beforeAll (line 25) | @Override method getDatabases (line 42) | public Database[] getDatabases() { method close (line 46) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/FoundationDbDatabaseLifecycleManager.java type FoundationDbDatabaseLifecycleManager (line 12) | interface FoundationDbDatabaseLifecycleManager { method initializeDatabase (line 14) | void initializeDatabase(final FDB fdb) throws IOException; method getDatabase (line 16) | Database getDatabase(); method closeDatabase (line 18) | void closeDatabase(); FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/IssuedReceiptsManagerTest.java class IssuedReceiptsManagerTest (line 38) | class IssuedReceiptsManagerTest { method beforeEach (line 53) | @BeforeEach method testRecordIssuance (line 63) | @Test method testIssueMax (line 102) | @ParameterizedTest method getItem (line 142) | private GetItemResponse getItem(final PaymentProvider processor, final... method randomReceiptCredentialRequest (line 150) | private static ReceiptCredentialRequest randomReceiptCredentialRequest... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/KEMPreKeyPageTest.java class KEMPreKeyPageTest (line 20) | class KEMPreKeyPageTest { method serializeSinglePreKey (line 24) | @Test method emptyPreKeys (line 34) | @Test method roundTripSingleton (line 39) | @Test method roundTripMultiple (line 57) | @Test method wrongFormat (line 75) | @Test method wrongSize (line 82) | @Test method negativeKeyId (line 88) | @Test method generatePreKey (line 97) | private static KEMSignedPreKey generatePreKey(long keyId) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/KeysManagerTest.java class KeysManagerTest (line 29) | class KeysManagerTest { method setup (line 49) | @BeforeEach method storeEcOneTimePreKeys (line 64) | @Test method storeKemOneTimePreKeys (line 77) | @Test method storeEcSignedPreKeys (line 92) | @Test method testTakeAccountAndDeviceId (line 103) | @Test method testTakePQ (line 116) | @Test method takeWithExistingExperimentalKey (line 140) | @Test method testDeleteSingleUsePreKeysByAccount (line 151) | @Test method testDeleteSingleUsePreKeysByAccountAndDevice (line 179) | @Test method testStorePqLastResort (line 210) | @Test type MissingKeyType (line 235) | private enum MissingKeyType { method testTakeWithMissingKeys (line 242) | @ParameterizedTest method generateTestPreKey (line 269) | private static ECPreKey generateTestPreKey(final long keyId) { method generateTestECSignedPreKey (line 273) | private static ECSignedPreKey generateTestECSignedPreKey(final long ke... method generateTestKEMSignedPreKey (line 277) | private static KEMSignedPreKey generateTestKEMSignedPreKey(final long ... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagePersisterIntegrationTest.java class MessagePersisterIntegrationTest (line 51) | class MessagePersisterIntegrationTest { method setUp (line 72) | @BeforeEach method tearDown (line 136) | @SuppressWarnings("ResultOfMethodCallIgnored") method testPersistMessages (line 154) | @Test method testPersistFirstPageDiscarded (line 214) | @Test method generateRandomMessage (line 262) | private MessageProtos.Envelope generateRandomMessage(final UUID messag... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagePersisterTest.java class MessagePersisterTest (line 71) | @Timeout(value = 15, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setUp (line 103) | @BeforeEach method tearDown (line 166) | @AfterEach method persistQueue (line 180) | @Test method persistNextNodeNoQueues (line 199) | @Test method persistNodeSingleQueue (line 206) | @Test method persistNodeSingleQueueTooSoon (line 225) | @Test method testPersistNextQueuesMultiplePages (line 237) | @Test method testPersistNodePersistenceDisabled (line 281) | @Test method testPersistNodeShouldPersistException (line 297) | @Test method testPersistNodeShouldPersistExceptionRetry (line 313) | @Test method persistNodeAccountNotFound (line 336) | @Test method persistNodeFetchAccountException (line 352) | @Test method persistNodeFetchAccountExceptionRetry (line 368) | @Test method persistNodePersistQueueException (line 391) | @Test method persistNodePersistQueueExceptionRetry (line 407) | @Test method testUnlinkOnFullQueue (line 430) | @Test method testTrimOnFullPrimaryQueue (line 471) | @Test method testFailedUnlinkOnFullQueueThrowsForRetry (line 523) | @Test method getNodeWithKey (line 560) | private static RedisClusterNode getNodeWithKey(final byte[] key) { method insertMessages (line 566) | private void insertMessages(final UUID accountUuid, final byte deviceI... method generateMessage (line 576) | private MessageProtos.Envelope generateMessage(UUID accountUuid, UUID ... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheGetItemsScriptTest.java class MessagesCacheGetItemsScriptTest (line 28) | class MessagesCacheGetItemsScriptTest { method testCacheGetItemsScript (line 33) | @Test method testCacheGetItemsInvalidParameter (line 64) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheInsertScriptTest.java class MessagesCacheInsertScriptTest (line 29) | class MessagesCacheInsertScriptTest { method testCacheInsertScript (line 34) | @Test method getStoredMessages (line 67) | private List getStoredMessages(final UUID dest... method returnPresence (line 88) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScriptTest.java class MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScriptTest (line 34) | class MessagesCacheInsertSharedMultiRecipientPayloadAndViewsScriptTest { method testInsert (line 39) | @ParameterizedTest method testInsert (line 57) | public static List testInsert() { method testInsertDuplicateKey (line 84) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheRemoveByGuidScriptTest.java class MessagesCacheRemoveByGuidScriptTest (line 22) | class MessagesCacheRemoveByGuidScriptTest { method testCacheRemoveByGuid (line 27) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheRemoveQueueScriptTest.java class MessagesCacheRemoveQueueScriptTest (line 22) | class MessagesCacheRemoveQueueScriptTest { method testCacheRemoveQueueScript (line 28) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheRemoveRecipientViewFromMrmDataScriptTest.java class MessagesCacheRemoveRecipientViewFromMrmDataScriptTest (line 33) | class MessagesCacheRemoveRecipientViewFromMrmDataScriptTest { method testUpdateSingleKey (line 38) | @ParameterizedTest method testUpdateSingleKey (line 67) | public static List>> testUpdateSingl... method testUpdateManyKeys (line 95) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesCacheTest.java class MessagesCacheTest (line 86) | class MessagesCacheTest { class WithRealCluster (line 91) | @Nested method setUp (line 107) | @BeforeEach method tearDown (line 116) | @AfterEach method testInsert (line 126) | @ParameterizedTest method testDoubleInsertGuid (line 134) | @Test method testRemoveByUUID (line 148) | @ParameterizedTest method testRemoveBatchByUUID (line 165) | @ParameterizedTest method testHasMessagesAsync (line 200) | @Test method getOldestTimestamp (line 211) | @Test method testGetMessages (line 236) | @ParameterizedTest method testGetMessagesFirstPageDiscarded (line 275) | @Test method testGetMessagesLockedForPersistence (line 309) | @Test method testGetMessagesToPersistLockedForPersistence (line 331) | @Test method testGetMessagesPublisher (line 357) | @ParameterizedTest method testClearQueueForDevice (line 422) | @ParameterizedTest method testClearQueueForAccount (line 442) | @ParameterizedTest method testGetAccountFromQueueName (line 462) | @Test method testGetDeviceIdFromQueueName (line 470) | @Test method claimNextNodeToPersist (line 478) | @Test method claimNextNodeToPersistRotation (line 493) | @Test method claimNode (line 514) | @Test method releaseNodeClaim (line 529) | @Test method testMultiRecipientMessage (line 548) | @ParameterizedTest method testEstimatePersistedQueueSize (line 620) | @Test method testGetMessagesToPersist (line 681) | @ParameterizedTest method get (line 738) | private List get(final UUID destinationUuid,... class WithMockCluster (line 747) | @Nested method setup (line 755) | @SuppressWarnings("unchecked") method teardown (line 771) | @AfterEach method testGetAllMessagesLimitsAndBackpressure (line 777) | @Test method testGetDiscardsEphemeralMessages (line 878) | @Test method testGetRetries (line 917) | @Test method generatePage (line 958) | private List generatePage() { method generateStaleEphemeralPage (line 970) | private List generateStaleEphemeralPage() { method generateRandomMessage (line 984) | private MessageProtos.Envelope generateRandomMessage(final UUID messag... method generateRandomMessage (line 989) | private MessageProtos.Envelope generateRandomMessage(final UUID messag... method generateRandomMessage (line 996) | private MessageProtos.Envelope generateRandomMessage(final UUID messag... method generateRandomMrmMessage (line 1018) | static SealedSenderMultiRecipientMessage generateRandomMrmMessage( method generateRandomMrmMessage (line 1068) | static SealedSenderMultiRecipientMessage generateRandomMrmMessage(Serv... method writeVarint (line 1076) | private static void writeVarint(ByteBuffer bb, long n) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesDynamoDbTest.java class MessagesDynamoDbTest (line 36) | class MessagesDynamoDbTest { method setup (line 83) | @BeforeEach method teardown (line 91) | @AfterEach method testSimpleFetchAfterInsert (line 99) | @Test method testLoadManyAfterInsert (line 118) | @ParameterizedTest method testLimitedLoad (line 152) | @Test method testDeleteSingleMessage (line 190) | @Test method load (line 221) | private List load(final UUID destinationUuid, ... method testLazyMessageDeletion (line 229) | @Test method mayHaveMessages (line 250) | @Test method mayHaveUrgentMessages (line 263) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/MessagesManagerTest.java class MessagesManagerTest (line 49) | class MessagesManagerTest { method setUp (line 60) | @BeforeEach method insert (line 65) | @Test method insertMultiRecipientMessage (line 87) | @Test method mayHaveMessages (line 191) | @ParameterizedTest method oldestMessageTimestamp (line 216) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/OnetimeDonationsManagerTest.java class OnetimeDonationsManagerTest (line 16) | public class OnetimeDonationsManagerTest { method beforeEach (line 21) | @BeforeEach method testSetGetPaidAtTimestamp (line 29) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/PagedSingleUseKEMPreKeyStoreTest.java class PagedSingleUseKEMPreKeyStoreTest (line 34) | class PagedSingleUseKEMPreKeyStoreTest { method setUp (line 49) | @BeforeEach method storeTake (line 58) | @Test method storeTwice (line 76) | @Test method takeAll (line 105) | @Test method getCount (line 124) | @Test method deleteSingleDevice (line 143) | @Test method deleteAllDevices (line 166) | @Test method listPages (line 186) | @Test method listPagesWithOrphans (line 208) | @Test method writeOrphanedS3Object (line 237) | private void writeOrphanedS3Object(final UUID identifier, final byte d... method listPages (line 246) | private List listPages(final UUID identifier) { method takeSkipsOutOfRangeKeys (line 256) | @Test method generateRandomPreKeys (line 272) | private List generateRandomPreKeys() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/PersistentTimerTest.java class PersistentTimerTest (line 21) | class PersistentTimerTest { method setup (line 31) | @BeforeEach method testStop (line 37) | @Test method testNamespace (line 63) | @Test method testMultipleStart (line 80) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/PhoneNumberIdentifiersTest.java class PhoneNumberIdentifiersTest (line 33) | class PhoneNumberIdentifiersTest { method setUp (line 40) | @BeforeEach method getPhoneNumberIdentifier (line 46) | @Test method generatePhoneNumberIdentifier (line 58) | @Test method generatePhoneNumberIdentifierOneFormExists (line 68) | @Test method getPhoneNumberIdentifierExistingMapping (line 88) | @Test method conflictingExistingPnis (line 99) | @Test method conflictOnOriginalNumber (line 120) | @Test method conflictOnAlternateNumber (line 135) | @Test method multipleAssociations (line 150) | @Test class FailN (line 170) | private static class FailN implements Supplier buildUpdateExpression() throws Invali... method buildUpdateExpressionAttributeValues (line 313) | @ParameterizedTest method buildUpdateExpressionAttributeValues (line 319) | private static Stream buildUpdateExpressionAttributeValues(... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/PushChallengeDynamoDbTest.java class PushChallengeDynamoDbTest (line 24) | class PushChallengeDynamoDbTest { method setUp (line 35) | @BeforeEach method add (line 43) | @Test method remove (line 51) | @Test method getExpirationTimestamp (line 63) | @Test method generateRandomToken (line 69) | private static byte[] generateRandomToken() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RedeemedReceiptsManagerTest.java class RedeemedReceiptsManagerTest (line 25) | class RedeemedReceiptsManagerTest { method beforeEach (line 36) | @BeforeEach method testPut (line 46) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RedisDynamoDbMessagePublisherTest.java class RedisDynamoDbMessagePublisherTest (line 51) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setUpBeforeAll (line 73) | @BeforeAll method setUp (line 79) | @BeforeEach method tearDownAfterAll (line 98) | @AfterAll method subscribeDispose (line 104) | @Test method publishMessages (line 148) | @Test method publishMessagesDynamoDbOnly (line 163) | @Test method publishMessagesRedisOnly (line 176) | @Test method publishMessagesTailNewRedisMessages (line 189) | @Test method publishMessagesTailNewPersistedMessages (line 231) | @Test method publishMessagesWaitForAcknowledgement (line 273) | @Test method publishMessagesConsumerConflict (line 308) | @Test method publishMessagesMultipleRequests (line 334) | @ParameterizedTest method publishQueueEmptySignalDeferred (line 374) | @Test method insertRedisMessage (line 400) | private MessageProtos.Envelope insertRedisMessage(final MessageProtos.... method deleteRedisMessage (line 410) | private void deleteRedisMessage(final MessageProtos.Envelope message) { method insertDynamoDbMessage (line 414) | private MessageProtos.Envelope insertDynamoDbMessage(final MessageProt... method deleteDynamoDbMessage (line 420) | private void deleteDynamoDbMessage(final MessageProtos.Envelope messag... method generateRandomMessage (line 428) | private static MessageProtos.Envelope generateRandomMessage() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RedisDynamoDbMessageStreamTest.java class RedisDynamoDbMessageStreamTest (line 24) | class RedisDynamoDbMessageStreamTest { method setUp (line 36) | @BeforeEach method acknowledgeMessageDynamoDb (line 57) | @Test method acknowledgeMessageRedis (line 72) | @Test method generateMessage (line 86) | private static MessageProtos.Envelope generateMessage() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RegistrationRecoveryTest.java class RegistrationRecoveryTest (line 31) | public class RegistrationRecoveryTest { method before (line 48) | @BeforeEach method testLookupAfterWrite (line 61) | @Test method testLookupAfterRefresh (line 74) | @Test method testReplace (line 90) | @Test method testRemove (line 101) | @Test method testManagerFlow (line 112) | @Test method fetchTimestamp (line 140) | private static long fetchTimestamp(final UUID phoneNumberIdentifier) t... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsManagerTest.java class RemoteConfigsManagerTest (line 15) | class RemoteConfigsManagerTest { method setup (line 20) | @BeforeEach method testGetAll (line 26) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsTest.java class RemoteConfigsTest (line 18) | class RemoteConfigsTest { method setUp (line 25) | @BeforeEach method testStore (line 30) | @Test method testUpdate (line 58) | @Test method testDelete (line 88) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RepeatedUseECSignedPreKeyStoreTest.java class RepeatedUseECSignedPreKeyStoreTest (line 15) | class RepeatedUseECSignedPreKeyStoreTest extends RepeatedUseSignedPreKey... method setUp (line 27) | @BeforeEach method getKeyStore (line 33) | @Override method generateSignedPreKey (line 38) | @Override method generateSignedPreKey (line 43) | @Override method getDynamoDbClient (line 48) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RepeatedUseKEMSignedPreKeyStoreTest.java class RepeatedUseKEMSignedPreKeyStoreTest (line 15) | class RepeatedUseKEMSignedPreKeyStoreTest extends RepeatedUseSignedPreKe... method setUp (line 27) | @BeforeEach method getKeyStore (line 33) | @Override method getDynamoDbClient (line 38) | @Override method generateSignedPreKey (line 43) | @Override method generateSignedPreKey (line 48) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/RepeatedUseSignedPreKeyStoreTest.java class RepeatedUseSignedPreKeyStoreTest (line 19) | abstract class RepeatedUseSignedPreKeyStoreTest getKeyStore(); method generateSignedPreKey (line 23) | protected abstract K generateSignedPreKey(); method generateSignedPreKey (line 25) | protected abstract K generateSignedPreKey(long keyId); method getDynamoDbClient (line 27) | protected abstract DynamoDbClient getDynamoDbClient(); method storeFind (line 29) | @Test method buildTransactWriteItemForInsertion (line 43) | @Test method buildTransactWriteItemForDeletion (line 59) | @Test method findThrowsOnOutOfRangeKeyId (line 78) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/ReportMessageDynamoDbTest.java class ReportMessageDynamoDbTest (line 20) | class ReportMessageDynamoDbTest { method setUp (line 28) | @BeforeEach method testStore (line 37) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/ReportMessageManagerTest.java class ReportMessageManagerTest (line 27) | class ReportMessageManagerTest { method setUp (line 43) | @BeforeEach method testStore (line 62) | @Test method testReport (line 78) | @Test method testReportMultipleReporters (line 97) | @Test method testReportSingleReporter (line 110) | @Test method testReportMultipleReportersByPni (line 124) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/S3LocalStackExtension.java class S3LocalStackExtension (line 31) | @Testcontainers method S3LocalStackExtension (line 49) | public S3LocalStackExtension(final String bucketName) { method afterEach (line 53) | @Override method beforeEach (line 69) | @Override method getS3Client (line 74) | public S3AsyncClient getS3Client() { method afterAll (line 78) | @Override method beforeAll (line 84) | @Override method getBucketName (line 95) | public String getBucketName() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/SerializedExpireableJsonDynamoStoreTest.java class SerializedExpireableJsonDynamoStoreTest (line 28) | class SerializedExpireableJsonDynamoStoreTest { class Tests (line 30) | static abstract class Tests { type Value (line 37) | interface Value { method v (line 39) | String v(); method getStore (line 57) | abstract SerializedExpireableJsonDynamoStore getStore(final Dynam... method testValue (line 60) | abstract T testValue(final String v); method maybeExpiredTestValue (line 62) | abstract T maybeExpiredTestValue(final String v); method setUp (line 64) | @BeforeEach method testStoreAndFind (line 69) | @Test method testRemove (line 95) | @Test method getExpirationEpochSeconds (line 118) | @Override class Expireable (line 124) | @Nested class ExpiresStore (line 127) | class ExpiresStore extends SerializedExpireableJsonDynamoStore generateRandomPreKeys() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/SubscriptionsTest.java class SubscriptionsTest (line 34) | class SubscriptionsTest { method beforeEach (line 48) | @BeforeEach method testCreateOnlyOnce (line 58) | @Test method testGet (line 91) | @Test method testSetCustomerIdAndProcessor (line 115) | @Test method testLookupByCustomerId (line 159) | @Test method testSetCanceledAt (line 177) | @Test method testSubscriptionCreated (line 193) | @Test method testSubscriptionCreatedClearCanceledAt (line 214) | @Test method testSubscriptionLevelChanged (line 244) | @Test method testSubscriptionLevelChangedClearCanceledAt (line 266) | @Test method testSetIapPurchase (line 294) | @Test method testSetIapPurchaseClearCanceledAt (line 346) | @Test method testProcessorAndCustomerId (line 376) | @Test method checkFreshlyCreatedRecord (line 384) | @Nonnull FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/TestcontainersFoundationDbDatabaseLifecycleManager.java class TestcontainersFoundationDbDatabaseLifecycleManager (line 15) | class TestcontainersFoundationDbDatabaseLifecycleManager implements Foun... method initializeDatabase (line 24) | @Override method getDatabase (line 34) | @Override method closeDatabase (line 39) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/VerificationSessionsTest.java class VerificationSessionsTest (line 30) | class VerificationSessionsTest { method setUp (line 39) | @BeforeEach method testExpiration (line 45) | @Test method testStore (line 58) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/devicecheck/AppleDeviceCheckManagerTest.java class AppleDeviceCheckManagerTest (line 36) | class AppleDeviceCheckManagerTest { method setupDeviceChecks (line 53) | @BeforeEach method missingChallengeAttest (line 68) | @Test method missingChallengeAssert (line 76) | @Test method tooManyKeys (line 86) | @Test method duplicateKeys (line 111) | @Test method fetchingChallengeRefreshesTtl (line 122) | @Test method validateAssertion (line 157) | @Test method assertionCounterMovesBackwards (line 188) | @Test method registerAttestation (line 211) | private void registerAttestation(final Account account) method registerAttestation (line 216) | private void registerAttestation(final Account account, boolean assert... FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/devicecheck/AppleDeviceChecksTest.java class AppleDeviceChecksTest (line 27) | class AppleDeviceChecksTest { method setupDeviceChecks (line 39) | @BeforeEach method testSerde (line 49) | @Test method duplicateKeys (line 75) | @Test method multipleKeys (line 93) | @Test method updateCounter (line 109) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/devicecheck/DeviceCheckTestUtil.java class DeviceCheckTestUtil (line 29) | public class DeviceCheckTestUtil { method appleDeviceCheckManager (line 71) | public static DeviceCheckManager appleDeviceCheckManager() { method sampleDevice (line 75) | public static DCAppleDevice sampleDevice() { method appleSampleDevice (line 81) | public static DCAppleDevice appleSampleDevice() { method validate (line 90) | private static DCAppleDevice validate(final String challengePlainText,... method sha256 (line 113) | private static byte[] sha256(byte[] bytes) { method loadBinaryResource (line 124) | private static byte[] loadBinaryResource(final String resourceName) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/storage/foundationdb/FoundationDbMessageStoreTest.java class FoundationDbMessageStoreTest (line 49) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setup (line 59) | @BeforeEach method insert (line 67) | @ParameterizedTest method insert (line 113) | private static Stream insert() { method versionstampCorrectlyUpdatedOnMultipleInserts (line 127) | @Test method insertOnlyOneDevicePresent (line 142) | @ParameterizedTest method isClientPresent (line 183) | @ParameterizedTest method isClientPresent (line 189) | static Stream isClientPresent() { method insertMultiRecipient (line 209) | @ParameterizedTest method insertMultiRecipient (line 302) | static Stream insertMultiRecipient() { method insertEmptyBundle (line 355) | @Test method generateRandomMessage (line 361) | private static MessageProtos.Envelope generateRandomMessage(final bool... method generateRandomMessage (line 365) | private static MessageProtos.Envelope generateRandomMessage(final bool... method getMessageByVersionstamp (line 372) | private byte[] getMessageByVersionstamp(final AciServiceIdentifier aci... method getMessagesAvailableWatch (line 381) | private Optional getMessagesAvailableWatch(final AciServ... method writePresenceKey (line 389) | private void writePresenceKey(final AciServiceIdentifier aci, final by... method getEpochSecondsBeforeClock (line 400) | private static long getEpochSecondsBeforeClock(final long secondsBefor... method constructPresenceValue (line 404) | private static long constructPresenceValue(final int serverId, final l... method generateRandomAciForShard (line 408) | private AciServiceIdentifier generateRandomAciForShard(final int shard... method getItemsInDeviceQueue (line 418) | private List getItemsInDeviceQueue(final AciServiceIdentifie... FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/AppleAppStoreClientTest.java class AppleAppStoreClientTest (line 36) | class AppleAppStoreClientTest { method setup (line 49) | @BeforeEach method noFallbackOnOtherErrors (line 56) | @ParameterizedTest method fallbackOnNoTransactionFound (line 66) | @Test method retryEventuallyWorks (line 82) | @Test method retryEventuallyGivesUp (line 95) | @Test method sandboxDoesRetries (line 109) | @Test method verifySignatureTest (line 129) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/AppleAppStoreManagerTest.java class AppleAppStoreManagerTest (line 39) | class AppleAppStoreManagerTest { method setup (line 53) | @BeforeEach method lookupTransaction (line 62) | @Test method validateTransaction (line 75) | @Test method generateReceipt (line 82) | @Test method generateReceiptExpired (line 93) | @Test method autoRenewOff (line 101) | @Test method lookupMultipleProducts (line 114) | @Test method multipleLastTransactionsItems (line 150) | @Test method cancelRenewalDisabled (line 172) | @Test method cancelFailsForActiveSubscription (line 178) | @ParameterizedTest method cancelInactiveStatus (line 186) | @ParameterizedTest method mockSubscription (line 193) | private void mockSubscription(final Status status, final AutoRenewStat... method mockValidSubscription (line 208) | private void mockValidSubscription() throws APIException, IOException,... method mockDecode (line 212) | private void mockDecode(final AutoRenewStatus autoRenewStatus) throws ... FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeGraphqlClientTest.java class BraintreeGraphqlClientTest (line 31) | class BraintreeGraphqlClientTest { method setUp (line 43) | @BeforeEach method createPayPalOneTimePayment (line 50) | @Test method createPayPalOneTimePaymentHttpError (line 75) | @Test method createPayPalOneTimePaymentGraphQlError (line 101) | @Test method createPayPalOneTimePaymentResponse (line 124) | private String createPayPalOneTimePaymentResponse(final String payment... method createErrorResponse (line 141) | private String createErrorResponse(final String operationName, final S... method tokenizePayPalOneTimePayment (line 168) | @Test method chargeOneTimePayment (line 172) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/BraintreeManagerTest.java class BraintreeManagerTest (line 25) | class BraintreeManagerTest { method setup (line 30) | @BeforeEach method cancelAllActiveSubscriptions_nullDefaultPaymentMethod (line 42) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/GooglePlayBillingManagerTest.java class GooglePlayBillingManagerTest (line 44) | class GooglePlayBillingManagerTest { method setup (line 67) | @BeforeEach method validatePurchase (line 94) | @Test method rejectInactivePurchase (line 110) | @ParameterizedTest method avoidDoubleAcknowledge (line 128) | @Test method cancel (line 144) | @ParameterizedTest method cancelMissingSubscription (line 162) | @Test method handle429 (line 172) | @Test method getReceiptUnacknowledged (line 181) | @Test method getReceiptExpiring (line 193) | @Test method getSubscriptionInfo (line 228) | @Test method tokenErrors (line 254) | public static Stream tokenErrors() { method tokenErrors (line 261) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/PayPalDonationsTranslatorTest.java class PayPalDonationsTranslatorTest (line 17) | class PayPalDonationsTranslatorTest { method testTranslate (line 22) | @Test method testTranslateUnknownKey (line 28) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/ProcessorCustomerTest.java class ProcessorCustomerTest (line 7) | class ProcessorCustomerTest { method toDynamoBytes (line 9) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/StripeManagerTest.java class StripeManagerTest (line 44) | class StripeManagerTest { method setup (line 52) | @BeforeEach method teardown (line 72) | @AfterEach method paymentRequiresAction (line 78) | @Test method testEndSubscription (line 88) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/subscriptions/SubscriptionCurrencyUtilTest.java class SubscriptionCurrencyUtilTest (line 16) | class SubscriptionCurrencyUtilTest { method convertGoogleMoneyToApiAmount (line 18) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/telephony/hlrlookup/HlrLookupCarrierDataProviderTest.java class HlrLookupCarrierDataProviderTest (line 36) | class HlrLookupCarrierDataProviderTest { method setUp (line 47) | @BeforeEach method lookupCarrierData (line 55) | @Test method lookupCarrierDataNonSuccessStatus (line 118) | @Test method lookupCarrierDataErrorMessage (line 128) | @Test method lookupCarrierDataEmptyBody (line 143) | @Test method lookupCarrierDataPerNumberError (line 154) | @Test method mccFromMccMnc (line 177) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method mccFromMccMnc (line 184) | private static List mccFromMccMnc() { method mncFromMccMnc (line 195) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method mncFromMccMnc (line 202) | private static List mncFromMccMnc() { method lineType (line 213) | @ParameterizedTest method lineType (line 219) | private static List lineType() { method isPorted (line 225) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method isPorted (line 235) | private static List isPorted() { method getNetworkDetails (line 244) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method getNetworkDetails (line 251) | private static List getNetworkDetails() { method resultWithNetworkDetails (line 287) | private static HlrLookupResult resultWithNetworkDetails(@Nullable fina... method parseResponse (line 301) | @Test method parseResponseError (line 378) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/AccountsHelper.java class AccountsHelper (line 36) | public class AccountsHelper { method generateTestAccount (line 38) | public static Account generateTestAccount(String number, List ... method generateTestAccount (line 42) | public static Account generateTestAccount(String number, UUID uuid, fi... method setupMockUpdate (line 52) | public static void setupMockUpdate(final AccountsManager mockAccountsM... method setupMockUpdateForAuthHelper (line 59) | public static void setupMockUpdateForAuthHelper(final AccountsManager ... method setupMockUpdateWithRetries (line 80) | @SuppressWarnings("unchecked") method setupMockUpdate (line 104) | @SuppressWarnings("unchecked") method setupMockGet (line 132) | public static void setupMockGet(final AccountsManager mockAccountsMana... method copyAndMarkStale (line 150) | private static Account copyAndMarkStale(Account account) throws IOExce... method eqUuid (line 199) | public static Account eqUuid(Account value) { method createAccount (line 203) | public static Account createAccount(final AccountsManager accountsMana... method createAccount (line 209) | public static Account createAccount(final AccountsManager accountsMana... method createAccount (line 215) | public static Account createAccount(final AccountsManager accountsMana... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/AuthHelper.java class AuthHelper (line 60) | public class AuthHelper { method getAuthFilter (line 118) | public static PolymorphicAuthDynamicFeature getAu... method getAuthHeader (line 226) | public static String getAuthHeader(UUID uuid, byte deviceId, String pa... method getAuthHeader (line 230) | public static String getAuthHeader(UUID uuid, String password) { method getProvisioningAuthHeader (line 234) | public static String getProvisioningAuthHeader(String number, String p... method getUnidentifiedAccessHeader (line 238) | public static String getUnidentifiedAccessHeader(byte[] key) { method getRandomUUID (line 242) | public static UUID getRandomUUID(Random random) { class TestAccount (line 252) | public static final class TestAccount { method TestAccount (line 260) | public TestAccount(String number, UUID uuid, String password) { method getAuthHeader (line 266) | public String getAuthHeader() { method setup (line 270) | private void setup(final AccountsManager accountsManager) { method teardown (line 284) | private void teardown(final AccountsManager accountsManager) { method generateTestAccounts (line 290) | private static TestAccount[] generateTestAccounts() { class AuthFilterExtension (line 303) | public static class AuthFilterExtension implements AfterEachCallback { method createTestAccount (line 305) | public TestAccount createTestAccount() { method afterEach (line 321) | @Override method validGroupSendToken (line 329) | public static byte[] validGroupSendToken(ServerSecretParams serverSecr... method validGroupSendTokenHeader (line 354) | public static String validGroupSendTokenHeader(ServerSecretParams serv... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/DevicesHelper.java class DevicesHelper (line 11) | public class DevicesHelper { method createDevice (line 15) | public static Device createDevice(final byte deviceId) { method createDevice (line 19) | public static Device createDevice(final byte deviceId, final long last... method createDevice (line 23) | public static Device createDevice(final byte deviceId, final long last... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/ExperimentHelper.java class ExperimentHelper (line 19) | public class ExperimentHelper { method withEnrollment (line 21) | private static DynamicConfigurationManager withE... method withEnrollment (line 40) | public static ExperimentEnrollmentManager withEnrollment(final String ... method withEnrollment (line 44) | public static ExperimentEnrollmentManager withEnrollment(final String ... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/FakeDynamicConfigurationManager.java class FakeDynamicConfigurationManager (line 10) | public class FakeDynamicConfigurationManager extends DynamicConfigura... method FakeDynamicConfigurationManager (line 14) | public FakeDynamicConfigurationManager(T staticConfiguration) { method getConfiguration (line 19) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/JsonHelpers.java class JsonHelpers (line 15) | public class JsonHelpers { method asJson (line 19) | public static String asJson(Object object) throws JsonProcessingExcept... method fromJson (line 23) | public static T fromJson(String value, Class clazz) throws IOEx... method jsonFixture (line 27) | public static String jsonFixture(String filename) throws IOException { FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/KeysHelper.java class KeysHelper (line 17) | public final class KeysHelper { method ecPreKey (line 19) | public static ECPreKey ecPreKey(final long id) { method signedECPreKey (line 23) | public static ECSignedPreKey signedECPreKey(long id, final ECKeyPair i... method signedKEMPreKey (line 29) | public static KEMSignedPreKey signedKEMPreKey(long id, final ECKeyPair... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/MessageHelper.java class MessageHelper (line 13) | public class MessageHelper { method createMessage (line 15) | public static MessageProtos.Envelope createMessage(UUID senderUuid, fi... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/MockRedisFuture.java class MockRedisFuture (line 12) | public class MockRedisFuture extends CompletableFuture implements ... method completedFuture (line 14) | public static MockRedisFuture completedFuture(final T value) { method failedFuture (line 20) | public static MockRedisFuture failedFuture(final Throwable caus... method getError (line 26) | @Override method await (line 31) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/MultiRecipientMessageHelper.java class MultiRecipientMessageHelper (line 11) | public class MultiRecipientMessageHelper { method MultiRecipientMessageHelper (line 13) | private MultiRecipientMessageHelper() { method generateMultiRecipientMessage (line 16) | public static byte[] generateMultiRecipientMessage(final List recipients, f... method varintLength (line 82) | private static int varintLength(long n) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/ProfileTestHelper.java class ProfileTestHelper (line 6) | public class ProfileTestHelper { method generateRandomBase64FromByteArray (line 7) | public static String generateRandomBase64FromByteArray(final int byteA... method encodeToBase64 (line 11) | public static String encodeToBase64(final byte[] input) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/RedisClusterHelper.java class RedisClusterHelper (line 25) | public class RedisClusterHelper { method builder (line 27) | public static RedisClusterHelper.Builder builder() { method buildMockRedisCluster (line 31) | @SuppressWarnings("unchecked") class Builder (line 113) | @SuppressWarnings("unchecked") method Builder (line 140) | private Builder() { method stringCommands (line 144) | public Builder stringCommands(final RedisAdvancedClusterCommands authenticatedTestPrincipal(final... FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/TestRecipient.java method TestRecipient (line 15) | public TestRecipient(ServiceIdentifier uuid, FILE: service/src/test/java/org/whispersystems/textsecuregcm/tests/util/TestWebsocketListener.java class TestWebsocketListener (line 23) | public class TestWebsocketListener implements WebSocketListener { method TestWebsocketListener (line 31) | public TestWebsocketListener() { method onWebSocketConnect (line 36) | @Override method onWebSocketClose (line 42) | @Override method closeFuture (line 47) | public CompletableFuture closeFuture() { method doGet (line 51) | public CompletableFuture doGet(final String ... method sendRequest (line 55) | public CompletableFuture sendRequest( method onWebSocketBinary (line 75) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/AttributeValuesTest.java class AttributeValuesTest (line 22) | public class AttributeValuesTest { method testUUIDRoundTrip (line 23) | @Test method testLongRoundTrip (line 31) | @Test method testIntRoundTrip (line 39) | @Test method testByteBuffer (line 47) | @Test method testByteBuffer2 (line 58) | @Test method testNullUuid (line 67) | @Test method extractByteArray (line 73) | @ParameterizedTest method extractByteArray (line 79) | private static Stream extractByteArray() { method extractByteArrayIllegalArgument (line 89) | @ParameterizedTest method extractByteArrayIllegalArgument (line 95) | private static Stream extractByteArrayIllegalArgument() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/BoundedVirtualThreadFactoryTest.java class BoundedVirtualThreadFactoryTest (line 22) | class BoundedVirtualThreadFactoryTest { method setUp (line 28) | @BeforeEach method releaseWhenTaskThrows (line 33) | @Test method releaseWhenRejected (line 46) | @Test method executorServiceRejectsAtLimit (line 52) | @Test method stressTest (line 74) | @Test method submitUntilRejected (line 107) | private void submitUntilRejected() throws InterruptedException { method submit (line 127) | private Thread submit(final Runnable runnable) { method submit (line 132) | private Thread submit(final Runnable runnable, final Thread.UncaughtEx... class UncaughtExceptionHolder (line 144) | private static class UncaughtExceptionHolder implements Thread.Uncaugh... method uncaughtException (line 147) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/ClosableEpochTest.java class ClosableEpochTest (line 17) | class ClosableEpochTest { method close (line 19) | @Test method closeConcurrent (line 51) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/CompletableFutureTestUtil.java class CompletableFutureTestUtil (line 15) | public class CompletableFutureTestUtil { method CompletableFutureTestUtil (line 17) | private CompletableFutureTestUtil() { method assertFailsWithCause (line 20) | public static T assertFailsWithCause(final Class... method assertFailsWithCause (line 24) | public static T assertFailsWithCause(final Class... method almostCompletedFuture (line 32) | public static CompletableFuture almostCompletedFuture(T result) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/DeviceCapabilityAdapterTest.java class DeviceCapabilityAdapterTest (line 18) | class DeviceCapabilityAdapterTest { method serializeDeserialize (line 27) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/DeviceNameByteArrayAdapterTest.java class DeviceNameByteArrayAdapterTest (line 21) | class DeviceNameByteArrayAdapterTest { method serialize (line 23) | @Test method deserialize (line 33) | @ParameterizedTest method deserialize (line 43) | private static List deserialize() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/E164Test.java class E164Test (line 19) | public class E164Test { class Data (line 29) | @SuppressWarnings("FieldCanBeLocal") method Data (line 38) | private Data(final String number, final Optional optionalNum... class Methods (line 44) | private static class Methods { method foo (line 46) | public void foo(@E164 final String number, @E164 final Optional void checkNoViolations(final T object) { method checkHasViolations (line 134) | private static void checkHasViolations(final T object) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/ECPublicKeyAdapterTest.java class ECPublicKeyAdapterTest (line 24) | class ECPublicKeyAdapterTest { method deserialize (line 39) | @ParameterizedTest method deserialize (line 47) | private static Stream deserialize() { method deserializeInvalidKey (line 55) | @ParameterizedTest method deserializeInvalidKey (line 62) | private static Stream deserializeInvalidKey() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/EncryptDeviceCreationTimestampUtilTest.java class EncryptDeviceCreationTimestampUtilTest (line 18) | public class EncryptDeviceCreationTimestampUtilTest { method encryptDecrypt (line 19) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/ExecutorUtilTest.java class ExecutorUtilTest (line 22) | class ExecutorUtilTest { method setUp (line 26) | @BeforeEach method tearDown (line 31) | @AfterEach method runAllWaits (line 37) | @Test method runAllWithException (line 50) | @Test method runAllEmpty (line 58) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/HttpServletRequestUtilIntegrationTest.java class HttpServletRequestUtilIntegrationTest (line 30) | @ExtendWith(DropwizardExtensionsSupport.class) method test (line 40) | @ParameterizedTest class TestController (line 59) | @Path(PATH) method get (line 62) | @GET class TestApplication (line 74) | public static class TestApplication extends Application { method run (line 76) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/HttpServletRequestUtilTest.java class HttpServletRequestUtilTest (line 16) | class HttpServletRequestUtilTest { method testGetRemoteAddress (line 18) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/HttpUtilsTest.java class HttpUtilsTest (line 14) | public class HttpUtilsTest { method queryParameterStringPreservesOrder (line 16) | @Test method queryParameterStringEncodesUnsafeChars (line 29) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/IdentityKeyAdapterTest.java class IdentityKeyAdapterTest (line 22) | class IdentityKeyAdapterTest { method deserialize (line 32) | @ParameterizedTest method deserialize (line 40) | private static Stream deserialize() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/InetAddressRangeTest.java class InetAddressRangeTest (line 24) | class InetAddressRangeTest { method testBogusCidrBlock (line 26) | @ParameterizedTest method testGeneratePrefixMask (line 32) | @ParameterizedTest method argumentsForTestGeneratePrefixMask (line 38) | private static Stream argumentsForTestGeneratePrefixMask() { method testContains (line 47) | @ParameterizedTest method argumentsForTestContains (line 53) | private static Stream argumentsForTestContains() { method testContainsMismatchedAddressType (line 65) | @Test method testDeserialize (line 71) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/KEMPublicKeyAdapterTest.java class KEMPublicKeyAdapterTest (line 25) | class KEMPublicKeyAdapterTest { method deserialize (line 40) | @ParameterizedTest method deserialize (line 48) | private static Stream deserialize() { method deserializeInvalidKey (line 57) | @ParameterizedTest method deserializeInvalidKey (line 64) | private static Stream deserializeInvalidKey() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/LocaleTest.java class LocaleTest (line 21) | class LocaleTest { method testFindBestLocale (line 25) | @ParameterizedTest method testFindBestLocale (line 36) | static Stream testFindBestLocale() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/MockUtils.java class MockUtils (line 30) | public final class MockUtils { method MockUtils (line 32) | private MockUtils() { type MockInitializer (line 36) | @FunctionalInterface method init (line 39) | void init(T mock) throws Exception; method buildMock (line 42) | public static T buildMock(final Class clazz, final MockInitiali... method mutableClock (line 52) | public static MutableClock mutableClock(final long timeMillis) { method updateRateLimiterResponseToAllow (line 56) | public static void updateRateLimiterResponseToAllow( method updateRateLimiterResponseToAllow (line 68) | public static void updateRateLimiterResponseToAllow( method updateRateLimiterResponseToAllow (line 80) | public static void updateRateLimiterResponseToAllow( method updateRateLimiterResponseToAllow (line 89) | public static void updateRateLimiterResponseToAllow( method updateRateLimiterResponseToFail (line 98) | public static Duration updateRateLimiterResponseToFail( method updateRateLimiterResponseToFail (line 113) | public static Duration updateRateLimiterResponseToFail( method updateRateLimiterResponseToFail (line 128) | public static Duration updateRateLimiterResponseToFail( method updateRateLimiterResponseToFail (line 138) | public static Duration updateRateLimiterResponseToFail( method randomSecretBytes (line 148) | public static SecretBytes randomSecretBytes(final int size) { method secretBytesOf (line 152) | public static SecretBytes secretBytesOf(final int... byteVals) { method exactly (line 164) | public static VerificationMode exactly() { method exactly (line 172) | public static VerificationMode exactly(int wantedCount) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/MutableClock.java class MutableClock (line 14) | public class MutableClock extends Clock { method MutableClock (line 19) | public MutableClock(final long timeMillis) { method MutableClock (line 23) | public MutableClock(final Clock clock) { method MutableClock (line 27) | public MutableClock() { method setTimeInstant (line 31) | public MutableClock setTimeInstant(final Instant instant) { method setTimeMillis (line 36) | public MutableClock setTimeMillis(final long timeMillis) { method incrementMillis (line 41) | public MutableClock incrementMillis(final long incrementMillis) { method incrementSeconds (line 45) | public MutableClock incrementSeconds(final long incrementSeconds) { method increment (line 49) | public MutableClock increment(final long increment, final TimeUnit tim... method getZone (line 55) | @Override method withZone (line 60) | @Override method instant (line 65) | @Override method fixedTimeMillis (line 70) | private static Clock fixedTimeMillis(final long timeMillis) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/RedisClusterUtilTest.java class RedisClusterUtilTest (line 24) | class RedisClusterUtilTest { method testGetMinimalHashTag (line 26) | @Test method getChangedSlots (line 33) | @ParameterizedTest method getChangedSlots (line 39) | private static List getChangedSlots() { method getSlotRange (line 194) | private static List getSlotRange(final int startInclusive, fi... FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/SystemMapperTest.java class SystemMapperTest (line 27) | class SystemMapperTest { type Data (line 43) | interface Data { method name (line 44) | Optional name(); class DataClass (line 51) | public static class DataClass implements Data { method DataClass (line 56) | public DataClass() { method DataClass (line 59) | public DataClass(final Optional name) { method name (line 63) | @Override class DataClass2 (line 69) | @JsonInclude(JsonInclude.Include.NON_ABSENT) method DataClass2 (line 72) | public DataClass2(final Optional name) { method testOptionalField (line 77) | @ParameterizedTest method testSerialization (line 85) | @ParameterizedTest method provideStringsForIsBlank (line 91) | private static Stream provideStringsForIsBlank() { method testFiltering (line 112) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/TestClock.java class TestClock (line 16) | public class TestClock extends Clock { method TestClock (line 21) | private TestClock(Optional maybePinned, ZoneId id) { method now (line 33) | public static TestClock now() { method pinned (line 47) | public static TestClock pinned(Instant instant) { method pin (line 58) | public void pin(Instant instant) { method unpin (line 67) | public void unpin() { method withZone (line 72) | @Override method getZone (line 77) | @Override method instant (line 82) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/TestRandomUtil.java class TestRandomUtil (line 5) | public class TestRandomUtil { method TestRandomUtil (line 6) | private TestRandomUtil() {} method nextBytes (line 8) | public static byte[] nextBytes(int numBytes) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/TestRemoteAddressFilterProvider.java class TestRemoteAddressFilterProvider (line 19) | @Priority(Priorities.AUTHENTICATION - 1) // highest priority, since othe... method TestRemoteAddressFilterProvider (line 24) | public TestRemoteAddressFilterProvider(String ip) { method filter (line 28) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/UtilTest.java class UtilTest (line 26) | class UtilTest { method getAlternateForms (line 32) | @ParameterizedTest method getAlternateForms (line 38) | static List getAlternateForms() { method getCanonicalNumber (line 49) | @Test method startsWithDecimal (line 64) | @ParameterizedTest method isOldFormatBeninPhoneNumber4 (line 75) | @ParameterizedTest method isOldFormatBeninPhoneNumber4 (line 85) | private static Stream isOldFormatBeninPhoneNumber4() throws... method normalizeBeninPhoneNumber (line 96) | @ParameterizedTest method normalizeBeninPhoneNumber (line 107) | private static Stream normalizeBeninPhoneNumber() throws Nu... FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/ValidNumberTest.java class ValidNumberTest (line 15) | class ValidNumberTest { method requireNormalizedNumber (line 17) | @ParameterizedTest method requireNormalizedNumberNull (line 35) | @Test method requireNormalizedNumberImpossibleNumber (line 40) | @ParameterizedTest method requireNormalizedNumberNonNormalized (line 55) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/VirtualExecutorServiceProviderTest.java class VirtualExecutorServiceProviderTest (line 32) | @ExtendWith(DropwizardExtensionsSupport.class) method setUp (line 42) | @AfterEach method testManagedAsyncThread (line 47) | @Test method testConcurrencyLimit (line 57) | @Test method testUnmanagedThread (line 73) | @Test class TestController (line 83) | @Path("/v1/test") method managedAsync (line 87) | @GET method await (line 94) | @GET method unmanaged (line 106) | @GET method release (line 112) | synchronized int release() { class TestPrincipal (line 124) | public static class TestPrincipal implements Principal { method TestPrincipal (line 128) | private TestPrincipal(String name) { method getName (line 132) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/VirtualThreadPinEventMonitorTest.java class VirtualThreadPinEventMonitorTest (line 32) | public class VirtualThreadPinEventMonitorTest { method nativeMethodCall (line 34) | private static void nativeMethodCall() { method testPinEventProduced (line 42) | @Test method queueingLogger (line 69) | private static VirtualThreadPinEventMonitor queueingLogger( FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/WeightedRandomSelectTest.java class WeightedRandomSelectTest (line 11) | public class WeightedRandomSelectTest { method test5050 (line 13) | @Test method testAlways (line 24) | @Test method testThree (line 35) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/jetty/TestResource.java class TestResource (line 18) | public class TestResource extends Resource { method TestResource (line 23) | private TestResource(String name, byte[] data) { method fromBase64Mime (line 28) | public static Resource fromBase64Mime(String name, String base64) { method isContainedIn (line 32) | @Override method close (line 37) | @Override method exists (line 42) | @Override method isDirectory (line 47) | @Override method lastModified (line 52) | @Override method length (line 57) | @Override method getURI (line 62) | @Override method getFile (line 67) | @Override method getName (line 72) | @Override method getInputStream (line 77) | @Override method getReadableByteChannel (line 82) | @Override method delete (line 87) | @Override method renameTo (line 92) | @Override method list (line 97) | @Override method addPath (line 102) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/logging/LoggingUnhandledExceptionMapperTest.java class LoggingUnhandledExceptionMapperTest (line 67) | @ExtendWith(DropwizardExtensionsSupport.class) method testExceptionMapper (line 85) | static Stream testExceptionMapper() { method setup (line 103) | @BeforeEach method teardown (line 108) | @AfterEach method testExceptionMapper (line 114) | @ParameterizedTest method testWebsocketExceptionMapper (line 135) | @ParameterizedTest method createWebsocketProvider (line 166) | private WebSocketResourceProvider createWebsocketProvid... class TestController (line 197) | @Path("/v1/test") method testNoException (line 200) | @GET method testUnhandledException (line 206) | @GET method testUnhandledExceptionAsync (line 212) | @GET method testUnhandledCompletionExceptionAsync (line 223) | @GET method testUnhandledExceptionWithPathParameter (line 235) | @GET FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/logging/UriInfoUtilTest.java class UriInfoUtilTest (line 17) | class UriInfoUtilTest { method testGetPathTemplate (line 19) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/redis/BaseRedisCommandsHandler.java class BaseRedisCommandsHandler (line 19) | public class BaseRedisCommandsHandler implements RedisCommandsHandler { method redisCommand (line 21) | @Override method pop (line 78) | public Object[] pop(final boolean left, final String key, final int co... method push (line 82) | public Object push(final boolean left, final String key, final List fieldsAndValue... method hget (line 98) | public Object hget(final String key, final String field) { method hmget (line 102) | public Object[] hmget(final String key, final List fields) { method set (line 106) | public Object set(final String key, final String value, final List keys) { method other (line 118) | public Object other(final String command, final List args) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/redis/RedisCommandsHandler.java type RedisCommandsHandler (line 10) | @FunctionalInterface method redisCommand (line 13) | Object redisCommand(String command, List args); FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/redis/RedisLuaScriptSandbox.java class RedisLuaScriptSandbox (line 25) | public class RedisLuaScriptSandbox { method fromResource (line 57) | public static RedisLuaScriptSandbox fromResource( method RedisLuaScriptSandbox (line 68) | public RedisLuaScriptSandbox(final String luaScript, final ScriptOutpu... method execute (line 73) | public Object execute( method adaptOutputResult (line 95) | protected Object adaptOutputResult(final Object luaObject) { method tail (line 121) | public static List tail(final List list, final int fromIdx) { class MapperLuaProxy (line 125) | public static final class MapperLuaProxy { method encode (line 129) | public String encode(final Map obj) { method decode (line 137) | public Map decode(final Object json) { class RedisLuaProxy (line 153) | public static final class RedisLuaProxy { method RedisLuaProxy (line 157) | public RedisLuaProxy(final RedisCommandsHandler handler) { method redisCall (line 165) | @SuppressWarnings("unused") FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/redis/SimpleCacheCommandsHandler.java class SimpleCacheCommandsHandler (line 16) | public class SimpleCacheCommandsHandler extends BaseRedisCommandsHandler { method SimpleCacheCommandsHandler (line 26) | public SimpleCacheCommandsHandler(final Clock clock) { method set (line 30) | @Override method get (line 36) | @Override method del (line 41) | @Override method hset (line 48) | @SuppressWarnings("unchecked") method hget (line 65) | @Override method hmget (line 71) | @Override method push (line 80) | @SuppressWarnings("unchecked") method pop (line 98) | @SuppressWarnings("unchecked") method pexpire (line 112) | @Override method type (line 123) | @Override method getIfNotExpired (line 141) | @Nullable method resolveExpirationEpochMillis (line 154) | protected long resolveExpirationEpochMillis(final List args) { FILE: service/src/test/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtilTest.java class UserAgentUtilTest (line 18) | class UserAgentUtilTest { method testParseStandardUserAgentString (line 20) | @ParameterizedTest method argumentsForTestParseStandardUserAgentString (line 32) | private static Stream argumentsForTestParseStandardUserAgen... FILE: service/src/test/java/org/whispersystems/textsecuregcm/websocket/AuthenticatedConnectListenerTest.java class AuthenticatedConnectListenerTest (line 35) | class AuthenticatedConnectListenerTest { method setUpBeforeEach (line 50) | @BeforeEach method onWebSocketConnectAuthenticated (line 76) | @Test method onWebSocketConnectAuthenticatedAccountNotFound (line 92) | @Test method onWebSocketConnectAuthenticatedStartException (line 110) | @Test method onWebSocketConnectUnauthenticated (line 129) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnectListenerTest.java class ProvisioningConnectListenerTest (line 31) | class ProvisioningConnectListenerTest { method setUp (line 39) | @BeforeEach method onWebSocketConnect (line 47) | @Test method schedulesTimeout (line 82) | @Test method cancelsTimeout (line 99) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketAccountAuthenticatorTest.java class WebSocketAccountAuthenticatorTest (line 33) | class WebSocketAccountAuthenticatorTest { method setUp (line 49) | @BeforeEach method testAuthenticate (line 62) | @ParameterizedTest method testAuthenticate (line 82) | private static Stream testAuthenticate() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionIntegrationTest.java class WebSocketConnectionIntegrationTest (line 76) | @Timeout(value = 30, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setUp (line 98) | @BeforeEach method tearDown (line 127) | @AfterEach method testProcessStoredMessages (line 141) | @ParameterizedTest method testProcessStoredMessagesMultipleSegments (line 221) | @Test method testProcessStoredMessagesClientClosed (line 316) | @Test method generateRandomMessage (line 387) | private MessageProtos.Envelope generateRandomMessage(final UUID messag... FILE: service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionTest.java class WebSocketConnectionTest (line 69) | class WebSocketConnectionTest { method setUpBeforeAll (line 82) | @BeforeAll method setUp (line 87) | @BeforeEach method tearDown (line 99) | @AfterEach method tearDownAfterAll (line 108) | @AfterAll method buildWebSocketConnection (line 113) | private WebSocketConnection buildWebSocketConnection(final WebSocketCl... method testSendMessages (line 128) | @Test method testSendMessagesWithError (line 195) | @Test method testQueueEmptySignalOrder (line 275) | @Test method testConflictingConsumerSignalOrder (line 325) | @Test method testSendMessagesEmptyQueue (line 373) | @Test method testSendMessagesConflictingConsumer (line 402) | @Test method testSendMessagesRetrievalException (line 427) | @ParameterizedTest method testReactivePublisherLimitRate (line 457) | @Test method testReactivePublisherDisposedWhenConnectionStopped (line 509) | @Test method createMessage (line 569) | private static Envelope createMessage(final UUID senderUuid, FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/FinishPushNotificationExperimentCommandTest.java class FinishPushNotificationExperimentCommandTest (line 30) | class FinishPushNotificationExperimentCommandTest { class TestFinishPushNotificationExperimentCommand (line 42) | private static class TestFinishPushNotificationExperimentCommand exten... method TestFinishPushNotificationExperimentCommand (line 44) | public TestFinishPushNotificationExperimentCommand(final PushNotific... method setUp (line 51) | @BeforeEach method run (line 107) | @Test method runMissingAccount (line 130) | @Test method runMissingDevice (line 147) | @Test method runAccountFetchRetry (line 167) | @Test method runStoreSampleRetry (line 194) | @Test method runMissingInitialSample (line 222) | @Test method runFinalSampleAlreadyRecorded (line 248) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/IdleWakeupEligibilityCheckerTest.java class IdleWakeupEligibilityCheckerTest (line 30) | public class IdleWakeupEligibilityCheckerTest { method setup (line 38) | @BeforeEach method isDeviceEligible (line 44) | @ParameterizedTest method isDeviceEligible (line 61) | private static List isDeviceEligible() { method isShortIdle (line 192) | @ParameterizedTest method isShortIdle (line 204) | private static List isShortIdle() { method isLongIdle (line 215) | @ParameterizedTest method isLongIdle (line 227) | private static List isLongIdle() { method hasPushToken (line 238) | @ParameterizedTest method hasPushToken (line 244) | private static List hasPushToken() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/NotifyIdleDevicesCommandTest.java class NotifyIdleDevicesCommandTest (line 29) | class NotifyIdleDevicesCommandTest { class TestNotifyIdleDevicesCommand (line 38) | private static class TestNotifyIdleDevicesCommand extends NotifyIdleDe... method TestNotifyIdleDevicesCommand (line 45) | private TestNotifyIdleDevicesCommand(final MessagesManager messagesM... method setDryRun (line 76) | public void setDryRun(final boolean dryRun) { method getCommandDependencies (line 80) | @Override method getClock (line 85) | @Override method buildIdleDeviceNotificationScheduler (line 90) | @Override method getNamespace (line 95) | @Override method setUp (line 103) | @BeforeEach method crawlAccounts (line 115) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/ProcessScheduledJobsServiceCommandTest.java class ProcessScheduledJobsServiceCommandTest (line 23) | @Timeout(value = 5, threadMode = Timeout.ThreadMode.SEPARATE_THREAD) method setUp (line 28) | @BeforeEach method testDisposeOnStopCancels (line 33) | @Test method testCompletedPublisher (line 54) | @Test class TestJobScheduler (line 76) | private static class TestJobScheduler extends JobScheduler { method TestJobScheduler (line 82) | protected TestJobScheduler(TestPublisher testPublisher) { method getStartLatch (line 91) | public CountDownLatch getStartLatch() { method getEndLatch (line 99) | public CountDownLatch getEndLatch() { method getSchedulerName (line 103) | @Override method processJob (line 108) | @Override method processAvailableJobs (line 113) | @Override FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/RegenerateSecondaryDynamoDbTableDataCommandTest.java class RegenerateSecondaryDynamoDbTableDataCommandTest (line 24) | class RegenerateSecondaryDynamoDbTableDataCommandTest { class TestRegenerateSecondaryDynamoDbTableDataCommand (line 28) | private static class TestRegenerateSecondaryDynamoDbTableDataCommand e... method TestRegenerateSecondaryDynamoDbTableDataCommand (line 33) | TestRegenerateSecondaryDynamoDbTableDataCommand(final DynamoDbRecove... method getCommandDependencies (line 64) | @Override method getNamespace (line 69) | @Override method setUp (line 75) | @BeforeEach method crawlAccounts (line 82) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/RemoveExpiredAccountsCommandTest.java class RemoveExpiredAccountsCommandTest (line 29) | class RemoveExpiredAccountsCommandTest { class TestRemoveExpiredAccountsCommand (line 31) | private static class TestRemoveExpiredAccountsCommand extends RemoveEx... method TestRemoveExpiredAccountsCommand (line 36) | public TestRemoveExpiredAccountsCommand(final Clock clock, final Acc... method getCommandDependencies (line 46) | @Override method getNamespace (line 51) | @Override method crawlAccounts (line 57) | @ParameterizedTest method isExpired (line 84) | @ParameterizedTest method isExpired (line 95) | private static Stream isExpired() { FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/RemoveExpiredLinkedDevicesCommandTest.java class RemoveExpiredLinkedDevicesCommandTest (line 20) | class RemoveExpiredLinkedDevicesCommandTest { method getDeviceIdsToRemove (line 22) | public static Stream getDeviceIdsToRemove() { method device (line 41) | private static Device device(byte id, boolean expired) { method getDeviceIdsToRemove (line 49) | @ParameterizedTest FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/RemoveExpiredUsernameHoldsCommandTest.java class RemoveExpiredUsernameHoldsCommandTest (line 40) | class RemoveExpiredUsernameHoldsCommandTest { class TestRemoveExpiredUsernameHoldsCommand (line 42) | private static class TestRemoveExpiredUsernameHoldsCommand extends Rem... method TestRemoveExpiredUsernameHoldsCommand (line 47) | public TestRemoveExpiredUsernameHoldsCommand(final Clock clock, fina... method getCommandDependencies (line 59) | @Override method getNamespace (line 64) | @Override method crawlAccounts (line 70) | @ParameterizedTest method removeHolds (line 104) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/RemoveOrphanedPreKeyPagesCommandTest.java class RemoveOrphanedPreKeyPagesCommandTest (line 39) | public class RemoveOrphanedPreKeyPagesCommandTest { method removeStalePages (line 42) | @ParameterizedTest method noCurrentPage (line 68) | @Test method noPages (line 91) | @Test type PageStatus (line 101) | private enum PageStatus {NO_CURRENT, MATCH_CURRENT, MISMATCH_CURRENT} method shouldDeletePage (line 103) | @CartesianTest method runCommand (line 124) | private void runCommand(final Clock clock, final Duration minimumOrpha... FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/StartPushNotificationExperimentCommandTest.java class StartPushNotificationExperimentCommandTest (line 30) | class StartPushNotificationExperimentCommandTest { class TestStartPushNotificationExperimentCommand (line 43) | private static class TestStartPushNotificationExperimentCommand extend... method TestStartPushNotificationExperimentCommand (line 48) | public TestStartPushNotificationExperimentCommand( method setDryRun (line 81) | void setDryRun(final boolean dryRun) { method getNamespace (line 85) | @Override method getCommandDependencies (line 92) | @Override method setUp (line 98) | @BeforeEach method crawlAccounts (line 120) | @ParameterizedTest method crawlAccountsExistingSample (line 143) | @ParameterizedTest method crawlAccountsSampleRetry (line 162) | @ParameterizedTest method crawlAccountsExperimentException (line 194) | @Test FILE: service/src/test/java/org/whispersystems/textsecuregcm/workers/UnlinkDevicesWithIdlePrimaryCommandTest.java class UnlinkDevicesWithIdlePrimaryCommandTest (line 31) | class UnlinkDevicesWithIdlePrimaryCommandTest { class TestUnlinkDevicesWithIdlePrimaryCommand (line 35) | private static class TestUnlinkDevicesWithIdlePrimaryCommand extends U... method TestUnlinkDevicesWithIdlePrimaryCommand (line 40) | public TestUnlinkDevicesWithIdlePrimaryCommand(final Clock clock, method getCommandDependencies (line 56) | @Override method getNamespace (line 61) | @Override method crawlAccounts (line 67) | @ParameterizedTest method generateMockDevice (line 133) | private static Device generateMockDevice(final byte deviceId, final Du... FILE: websocket-resources/src/main/java/org/whispersystems/websocket/WebSocketClient.java class WebSocketClient (line 26) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method WebSocketClient (line 38) | public WebSocketClient(Session session, RemoteEndpoint remoteEndpoint,... method sendRequest (line 47) | public CompletableFuture sendRequest(String ... method getUserAgent (line 76) | public String getUserAgent() { method getCreated (line 80) | public Instant getCreated() { method isOpen (line 84) | public boolean isOpen() { method close (line 88) | public void close(final int code, final String message) { method shouldDeliverStories (line 101) | public boolean shouldDeliverStories() { method generateRequestId (line 106) | private long generateRequestId() { method getRemoteAddress (line 110) | public SocketAddress getRemoteAddress() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/WebSocketResourceProvider.java class WebSocketResourceProvider (line 50) | @SuppressWarnings("OptionalUsedAsFieldOrParameterType") method WebSocketResourceProvider (line 78) | public WebSocketResourceProvider(String remoteAddress, method onWebSocketConnect (line 98) | @Override method onWebSocketError (line 110) | @Override method onWebSocketBinary (line 127) | @Override method onWebSocketClose (line 149) | @Override method onWebSocketText (line 164) | @Override method handleRequest (line 190) | private void handleRequest(WebSocketRequestMessage requestMessage) { method getCombinedHeaders (line 238) | @VisibleForTesting method shouldIncludeUpgradeRequestHeader (line 253) | @VisibleForTesting method shouldIncludeRequestMessageHeader (line 258) | @VisibleForTesting method handleResponse (line 263) | private void handleResponse(WebSocketResponseMessage responseMessage) { method close (line 271) | private void close(Session session, int status, String message) { method sendResponse (line 275) | private void sendResponse(WebSocketRequestMessage requestMessage, Cont... method sendErrorResponse (line 295) | private void sendErrorResponse(WebSocketRequestMessage requestMessage,... method getContext (line 308) | @VisibleForTesting method getHeaderList (line 313) | @VisibleForTesting FILE: websocket-resources/src/main/java/org/whispersystems/websocket/WebSocketResourceProviderFactory.java class WebSocketResourceProviderFactory (line 32) | public class WebSocketResourceProviderFactory exten... method WebSocketResourceProviderFactory (line 43) | public WebSocketResourceProviderFactory(WebSocketEnvironment enviro... method createWebSocket (line 62) | @Override method configure (line 102) | @Override method getRemoteAddress (line 109) | private String getRemoteAddress(JettyServerUpgradeRequest request) { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/WebSocketSecurityContext.java class WebSocketSecurityContext (line 12) | public class WebSocketSecurityContext implements SecurityContext { method WebSocketSecurityContext (line 16) | public WebSocketSecurityContext(ContextPrincipal principal) { method getUserPrincipal (line 20) | @Override method isUserInRole (line 25) | @Override method isSecure (line 30) | @Override method getAuthenticationScheme (line 35) | @Override method getSessionContext (line 40) | public WebSocketSessionContext getSessionContext() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/WebsocketHeaders.java class WebsocketHeaders (line 6) | public class WebsocketHeaders { method parseReceiveStoriesHeader (line 9) | public static boolean parseReceiveStoriesHeader(String s) { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/auth/AuthenticatedWebSocketUpgradeFilter.java type AuthenticatedWebSocketUpgradeFilter (line 13) | public interface AuthenticatedWebSocketUpgradeFilter { method handleAuthentication (line 15) | void handleAuthentication(@SuppressWarnings("OptionalUsedAsFieldOrPara... FILE: websocket-resources/src/main/java/org/whispersystems/websocket/auth/InvalidCredentialsException.java class InvalidCredentialsException (line 7) | public class InvalidCredentialsException extends Exception { method InvalidCredentialsException (line 9) | public InvalidCredentialsException() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/auth/WebSocketAuthenticator.java type WebSocketAuthenticator (line 11) | public interface WebSocketAuthenticator { method authenticate (line 23) | Optional authenticate(UpgradeRequest request) throws InvalidCredent... FILE: websocket-resources/src/main/java/org/whispersystems/websocket/auth/WebsocketAuthValueFactoryProvider.java class WebsocketAuthValueFactoryProvider (line 26) | @Singleton method WebsocketAuthValueFactoryProvider (line 32) | @Inject method createValueProvider (line 38) | @Nullable method createPrincipal (line 60) | private Optional createPrincipal(final ContainerR... class WebsocketPrincipalClassProvider (line 71) | @Singleton method WebsocketPrincipalClassProvider (line 76) | WebsocketPrincipalClassProvider(Class clazz) { class Binder (line 86) | public static class Binder extends AbstractBinder { method Binder (line 90) | public Binder(Class principalClass) { method configure (line 94) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/configuration/WebSocketConfiguration.java class WebSocketConfiguration (line 14) | public class WebSocketConfiguration { method getRequestLog (line 39) | public WebsocketRequestLoggerFactory getRequestLog() { method getMaxBinaryMessageSize (line 43) | public int getMaxBinaryMessageSize() { method getMaxTextMessageSize (line 47) | public int getMaxTextMessageSize() { method isDisablePerMessageDeflate (line 51) | public boolean isDisablePerMessageDeflate() { method isDisableCrossMessageOutgoingCompression (line 55) | public boolean isDisableCrossMessageOutgoingCompression() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/logging/AsyncWebsocketEventAppenderFactory.java class AsyncWebsocketEventAppenderFactory (line 10) | public class AsyncWebsocketEventAppenderFactory implements AsyncAppender... method build (line 11) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/logging/WebsocketEvent.java class WebsocketEvent (line 13) | public class WebsocketEvent implements DeferredProcessingAware { method WebsocketEvent (line 23) | public WebsocketEvent(String remoteAddress, ContainerRequest jerseyReq... method getRemoteHost (line 30) | public String getRemoteHost() { method getTimestamp (line 34) | public long getTimestamp() { method prepareForDeferredProcessing (line 38) | @Override method getMethod (line 43) | public String getMethod() { method getPath (line 47) | public String getPath() { method getProtocol (line 51) | public String getProtocol() { method getStatusCode (line 55) | public int getStatusCode() { method getContentLength (line 59) | public long getContentLength() { method getRequestHeader (line 63) | public String getRequestHeader(String key) { method getRequestHeaderMap (line 70) | public MultivaluedMap getRequestHeaderMap() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/logging/WebsocketRequestLog.java class WebsocketRequestLog (line 16) | public class WebsocketRequestLog { method WebsocketRequestLog (line 21) | public WebsocketRequestLog() { method log (line 24) | public void log(String remoteAddress, ContainerRequest jerseyRequest, ... method addAppender (line 35) | public void addAppender(Appender newAppender) { method addFilter (line 39) | public void addFilter(Filter newFilter) { method getFilterChainDecision (line 43) | public FilterReply getFilterChainDecision(WebsocketEvent event) { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/logging/WebsocketRequestLoggerFactory.java class WebsocketRequestLoggerFactory (line 23) | public class WebsocketRequestLoggerFactory { method build (line 30) | public WebsocketRequestLog build(String name) { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/logging/layout/WebsocketEventLayout.java class WebsocketEventLayout (line 24) | public class WebsocketEventLayout extends PatternLayoutBase requestId, method createResponse (line 22) | public WebSocketMessage createResponse(long requestId, int status, Str... FILE: websocket-resources/src/main/java/org/whispersystems/websocket/messages/WebSocketRequestMessage.java type WebSocketRequestMessage (line 10) | public interface WebSocketRequestMessage { method getVerb (line 12) | public String getVerb(); method getPath (line 13) | public String getPath(); method getHeaders (line 14) | public Map getHeaders(); method getBody (line 15) | public Optional getBody(); method getRequestId (line 16) | public long getRequestId(); method hasRequestId (line 17) | public boolean hasRequestId(); FILE: websocket-resources/src/main/java/org/whispersystems/websocket/messages/WebSocketResponseMessage.java type WebSocketResponseMessage (line 11) | public interface WebSocketResponseMessage { method getRequestId (line 12) | public long getRequestId(); method getStatus (line 13) | public int getStatus(); method getMessage (line 14) | public String getMessage(); method getHeaders (line 15) | public Map getHeaders(); method getBody (line 16) | public Optional getBody(); FILE: websocket-resources/src/main/java/org/whispersystems/websocket/messages/protobuf/ProtobufWebSocketMessage.java class ProtobufWebSocketMessage (line 14) | public class ProtobufWebSocketMessage implements WebSocketMessage { method ProtobufWebSocketMessage (line 18) | ProtobufWebSocketMessage(byte[] buffer, int offset, int length) throws... method ProtobufWebSocketMessage (line 36) | ProtobufWebSocketMessage(SubProtocol.WebSocketMessage message) { method getType (line 40) | @Override method getRequestMessage (line 55) | @Override method getResponseMessage (line 60) | @Override method toByteArray (line 65) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/messages/protobuf/ProtobufWebSocketMessageFactory.java class ProtobufWebSocketMessageFactory (line 15) | public class ProtobufWebSocketMessageFactory implements WebSocketMessage... method parseMessage (line 17) | @Override method createRequest (line 24) | @Override method createResponse (line 56) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/messages/protobuf/ProtobufWebSocketRequestMessage.java class ProtobufWebSocketRequestMessage (line 13) | public class ProtobufWebSocketRequestMessage implements WebSocketRequest... method ProtobufWebSocketRequestMessage (line 17) | ProtobufWebSocketRequestMessage(SubProtocol.WebSocketRequestMessage me... method getVerb (line 21) | @Override method getPath (line 26) | @Override method getBody (line 31) | @Override method getRequestId (line 40) | @Override method hasRequestId (line 45) | @Override method getHeaders (line 50) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/messages/protobuf/ProtobufWebSocketResponseMessage.java class ProtobufWebSocketResponseMessage (line 13) | public class ProtobufWebSocketResponseMessage implements WebSocketRespon... method ProtobufWebSocketResponseMessage (line 17) | public ProtobufWebSocketResponseMessage(SubProtocol.WebSocketResponseM... method getRequestId (line 21) | @Override method getStatus (line 26) | @Override method getMessage (line 31) | @Override method getBody (line 36) | @Override method getHeaders (line 45) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/session/ContextPrincipal.java class ContextPrincipal (line 9) | public class ContextPrincipal implements Principal { method ContextPrincipal (line 13) | public ContextPrincipal(WebSocketSessionContext context) { method equals (line 17) | @Override method toString (line 23) | @Override method hashCode (line 28) | @Override method getName (line 33) | @Override method getContext (line 38) | public WebSocketSessionContext getContext() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/session/WebSocketSessionContainerRequestValueFactory.java class WebSocketSessionContainerRequestValueFactory (line 11) | public class WebSocketSessionContainerRequestValueFactory { method WebSocketSessionContainerRequestValueFactory (line 14) | public WebSocketSessionContainerRequestValueFactory(ContainerRequest r... method provide (line 18) | public WebSocketSessionContext provide() { FILE: websocket-resources/src/main/java/org/whispersystems/websocket/session/WebSocketSessionContext.java class WebSocketSessionContext (line 13) | public class WebSocketSessionContext { method WebSocketSessionContext (line 24) | public WebSocketSessionContext(WebSocketClient webSocketClient) { method setAuthenticated (line 28) | public void setAuthenticated(Object authenticated) { method getAuthenticated (line 32) | public T getAuthenticated(Class clazz) { method getAuthenticated (line 40) | @Nullable method addWebsocketClosedListener (line 45) | public void addWebsocketClosedListener(WebSocketEventListener listener) { method getClient (line 57) | public WebSocketClient getClient() { method notifyClosed (line 61) | public void notifyClosed(int statusCode, String reason) { type WebSocketEventListener (line 74) | public interface WebSocketEventListener { method onWebSocketClose (line 75) | public void onWebSocketClose(WebSocketSessionContext context, int st... FILE: websocket-resources/src/main/java/org/whispersystems/websocket/session/WebSocketSessionContextValueFactoryProvider.java class WebSocketSessionContextValueFactoryProvider (line 19) | @Singleton method WebSocketSessionContextValueFactoryProvider (line 22) | @Inject method createValueProvider (line 27) | @Nullable class Binder (line 39) | public static class Binder extends AbstractBinder { method Binder (line 41) | public Binder() { } method configure (line 43) | @Override FILE: websocket-resources/src/main/java/org/whispersystems/websocket/setup/WebSocketConnectListener.java type WebSocketConnectListener (line 9) | public interface WebSocketConnectListener { method onWebSocketConnect (line 10) | public void onWebSocketConnect(WebSocketSessionContext context); FILE: websocket-resources/src/main/java/org/whispersystems/websocket/setup/WebSocketEnvironment.java class WebSocketEnvironment (line 22) | public class WebSocketEnvironment { method WebSocketEnvironment (line 35) | public WebSocketEnvironment(Environment environment, WebSocketConfigur... method WebSocketEnvironment (line 39) | public WebSocketEnvironment(Environment environment, WebSocketConfigur... method WebSocketEnvironment (line 43) | public WebSocketEnvironment(Environment environment, WebsocketRequestL... method jersey (line 52) | public ResourceConfig jersey() { method getAuthenticator (line 56) | @Nullable method setAuthenticator (line 61) | public void setAuthenticator(WebSocketAuthenticator authenticator) { method getAuthenticatedWebSocketUpgradeFilter (line 65) | @Nullable method setAuthenticatedWebSocketUpgradeFilter (line 70) | public void setAuthenticatedWebSocketUpgradeFilter(final Authenticated... method getIdleTimeout (line 74) | public Duration getIdleTimeout() { method getObjectMapper (line 78) | public ObjectMapper getObjectMapper() { method getRequestLog (line 82) | public WebsocketRequestLog getRequestLog() { method getValidator (line 86) | public Validator getValidator() { method getMessageFactory (line 90) | public WebSocketMessageFactory getMessageFactory() { method setMessageFactory (line 94) | public void setMessageFactory(WebSocketMessageFactory messageFactory) { method getConnectListener (line 98) | public WebSocketConnectListener getConnectListener() { method setConnectListener (line 102) | public void setConnectListener(WebSocketConnectListener connectListene... FILE: websocket-resources/src/test/java/org/whispersystems/websocket/WebSocketResourceProviderFactoryTest.java class WebSocketResourceProviderFactoryTest (line 35) | public class WebSocketResourceProviderFactoryTest { method setup (line 45) | @BeforeEach method testUnauthorized (line 57) | @Test method testValidAuthorization (line 72) | @Test method testErrorAuthorization (line 98) | @Test method testConfigure (line 115) | @Test method testAuthenticatedWebSocketUpgradeFilter (line 129) | @Test class Account (line 152) | private static class Account implements Principal { method getName (line 153) | @Override method implies (line 158) | @Override FILE: websocket-resources/src/test/java/org/whispersystems/websocket/WebSocketResourceProviderTest.java class WebSocketResourceProviderTest (line 71) | class WebSocketResourceProviderTest { method testOnConnect (line 76) | @Test method testMockedRouteMessageSuccess (line 108) | @Test method testMockedRouteMessageFailure (line 185) | @Test method testActualRouteMessageSuccess (line 235) | @Test method testActualRouteMessageNotFound (line 275) | @Test method testActualRouteMessageAuthorized (line 315) | @Test method testActualRouteMessageUnauthorized (line 355) | @Test method testActualRouteMessageOptionalAuthorizedPresent (line 394) | @Test method testActualRouteMessageOptionalAuthorizedEmpty (line 434) | @Test method testActualRouteMessagePutAuthenticatedEntity (line 474) | @Test method testActualRouteMessagePutAuthenticatedBadEntity (line 515) | @Test method testActualRouteMessageExceptionMapping (line 556) | @Test method testActualRouteSessionContextInjection (line 596) | @Test method testGetHeaderList (line 651) | @Test method testShouldIncludeUpgradeRequestHeader (line 666) | @Test method testShouldIncludeRequestMessageHeader (line 676) | @Test method testGetCombinedHeaders (line 683) | @Test method getResponse (line 708) | private SubProtocol.WebSocketResponseMessage getResponse(ArgumentCapto... method getRequest (line 713) | private SubProtocol.WebSocketRequestMessage getRequest(ArgumentCaptor<... class TestPrincipal (line 719) | public static class TestPrincipal implements Principal { method TestPrincipal (line 723) | private TestPrincipal(String name) { method getName (line 727) | @Override class TestException (line 733) | public static class TestException extends Exception { method TestException (line 735) | public TestException(String message) { class TestExceptionMapper (line 740) | @Provider method toResponse (line 743) | @Override class TestResource (line 749) | @Path("/v1/test") method testGetHello (line 752) | @GET method testAuthorizedHello (line 758) | @GET method testAuthorizedHello (line 768) | @GET method testSet (line 778) | @PUT method testExceptionMapping (line 786) | @GET method testContextInjection (line 792) | @GET class TestEntity (line 804) | public static class TestEntity { method TestEntity (line 806) | public TestEntity(String key, long value) { method TestEntity (line 811) | public TestEntity() { FILE: websocket-resources/src/test/java/org/whispersystems/websocket/logging/WebSocketRequestLogTest.java class WebSocketRequestLogTest (line 32) | public class WebSocketRequestLogTest { method beforeEachTest (line 36) | @BeforeEach method afterEachTest (line 41) | @AfterEach method testLogLineWithoutHeaders (line 46) | @Test method testLogLineWithHeaders (line 70) | @Test class ListAppenderFactory (line 99) | private static class ListAppenderFactory listAppender) { method appender (line 108) | @Override class ListAppender (line 115) | private static class ListAppender extends OutputStreamAppender { method append (line 120) | protected void append(E e) { method start (line 129) | @Override method waitForListSize (line 135) | public void waitForListSize(int size) throws InterruptedException {