Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7de883a authored by Nikita Iashchenko's avatar Nikita Iashchenko
Browse files

Make enum values lint friendly

Change values names' to capitals with underscores.

Bug: 160345816
Test: m statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive 317
Change-Id: I49127b191c1b11b92a0e4ec3504f3233b405fd6a
parent 4b36182c
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -20,11 +20,11 @@ package android.stats.tls;
// external/conscrypt/{android,platform}/src/main/java/org/conscrypt/Platform.java
enum Protocol {
    UNKNOWN_PROTO = 0;
    SSLv3 = 1;
    TLSv1 = 2;
    TLSv1_1 = 3;
    TLSv1_2 = 4;
    TLSv1_3 = 5;
    SSL_V3 = 1;
    TLS_V1 = 2;
    TLS_V1_1 = 3;
    TLS_V1_2 = 4;
    TLS_V1_3 = 5;
}

// Cipher suites' ids are based on IANA's database: