SYMBOL INDEX (6990 symbols across 486 files) FILE: .github/workflows/AndroidLocaleChecker.java class AndroidLocaleChecker (line 15) | public class AndroidLocaleChecker { method main (line 30) | public static void main(String[] args) { method isLocalePath (line 51) | private static boolean isLocalePath(Path projectFilePath) { method validateLocalePath (line 67) | private static boolean validateLocalePath(Path localePath) { method validateHeader (line 87) | private static boolean validateHeader(List lines) { method validateEllipsis (line 104) | private static boolean validateEllipsis(List lines) { FILE: app/src/androidTest/java/org/adaway/db/DbTest.java class DbTest (line 39) | @RunWith(AndroidJUnit4.class) method getOrAwaitValue (line 53) | protected static T getOrAwaitValue(final LiveData liveData) thr... method init (line 72) | @Before method createDb (line 79) | protected void createDb() { method loadDao (line 86) | protected void loadDao() { method createSources (line 95) | protected void createSources() { method closeDb (line 102) | @After method insertSource (line 107) | protected void insertSource(int id, String url) { method insertBlockedHost (line 116) | protected void insertBlockedHost(String host, int sourceId) { method insertAllowedHost (line 125) | protected void insertAllowedHost(String host, int sourceId) { method insertRedirectedHost (line 134) | protected void insertRedirectedHost(String host, String redirection, i... method getSourceFromId (line 144) | protected HostsSource getSourceFromId(int id) { FILE: app/src/androidTest/java/org/adaway/db/HostDbTest.java class HostDbTest (line 17) | public class HostDbTest extends DbTest { method testEmptyByDefault (line 18) | @Test method testInsertThenDeleteHosts (line 26) | @Test method testDuplicateBlockedHosts (line 47) | @Test method testDuplicateAllowedHosts (line 56) | @Test method testDuplicateRedirectedHosts (line 65) | @Test method testRedirectionPriority (line 74) | @Test FILE: app/src/androidTest/java/org/adaway/db/SourceDbTest.java class SourceDbTest (line 16) | public class SourceDbTest extends DbTest { method testSourceCount (line 17) | @Test method testSourceDeletion (line 25) | @Test method testBlockedHostsFromDisabledSource (line 45) | @Test method testAllowedHostsFromDisabledSource (line 69) | @Test method testRedirectedHostsFromDisabledSource (line 93) | @Test FILE: app/src/androidTest/java/org/adaway/db/UserListTest.java class UserListTest (line 19) | public class UserListTest extends DbTest { method testUserList (line 20) | @Test method testUserBlockedHosts (line 27) | protected void testUserBlockedHosts() throws InterruptedException { method testUserAllowedHosts (line 66) | protected void testUserAllowedHosts() throws InterruptedException { method testUserRedirectedHosts (line 105) | protected void testUserRedirectedHosts() throws InterruptedException { FILE: app/src/main/java/org/adaway/AdAwayApplication.java class AdAwayApplication (line 18) | public class AdAwayApplication extends Application { method onCreate (line 32) | @Override method getSourceModel (line 50) | public SourceModel getSourceModel() { method getAdBlockModel (line 59) | public AdBlockModel getAdBlockModel() { method getUpdateModel (line 73) | public UpdateModel getUpdateModel() { FILE: app/src/main/java/org/adaway/broadcast/BootReceiver.java class BootReceiver (line 43) | public class BootReceiver extends BroadcastReceiver { method onReceive (line 44) | @Override FILE: app/src/main/java/org/adaway/broadcast/Command.java type Command (line 12) | public enum Command { method readFromIntent (line 34) | public static Command readFromIntent(Intent intent) { method appendToIntent (line 54) | public void appendToIntent(Intent intent) { FILE: app/src/main/java/org/adaway/broadcast/CommandReceiver.java class CommandReceiver (line 19) | public class CommandReceiver extends BroadcastReceiver { method onReceive (line 26) | @Override method executeCommand (line 36) | private void executeCommand(AdBlockModel adBlockModel, Command command) { FILE: app/src/main/java/org/adaway/broadcast/UpdateReceiver.java class UpdateReceiver (line 18) | public class UpdateReceiver extends BroadcastReceiver { method onReceive (line 19) | @Override FILE: app/src/main/java/org/adaway/db/AppDatabase.java class AppDatabase (line 37) | @Database(entities = {HostsSource.class, HostListItem.class, HostEntry.c... method getInstance (line 51) | public static AppDatabase getInstance(Context context) { method initialize (line 83) | private static void initialize(Context context, AppDatabase database) { method hostsSourceDao (line 119) | public abstract HostsSourceDao hostsSourceDao(); method hostsListItemDao (line 126) | public abstract HostListItemDao hostsListItemDao(); method hostEntryDao (line 133) | public abstract HostEntryDao hostEntryDao(); FILE: app/src/main/java/org/adaway/db/Migrations.java class Migrations (line 15) | final class Migrations { method Migrations (line 19) | private Migrations() { method migrate (line 27) | @Override method migrate (line 50) | @Override method migrate (line 60) | @Override method migrate (line 75) | @Override method migrate (line 89) | @Override method migrate (line 117) | @Override FILE: app/src/main/java/org/adaway/db/converter/ListTypeConverter.java class ListTypeConverter (line 12) | public final class ListTypeConverter { method ListTypeConverter (line 13) | private ListTypeConverter() { method fromValue (line 17) | @TypeConverter method typeToValue (line 22) | @TypeConverter FILE: app/src/main/java/org/adaway/db/converter/ZonedDateTimeConverter.java class ZonedDateTimeConverter (line 16) | public final class ZonedDateTimeConverter { method ZonedDateTimeConverter (line 17) | private ZonedDateTimeConverter() { method fromTimestamp (line 21) | @TypeConverter method toTimestamp (line 26) | @TypeConverter FILE: app/src/main/java/org/adaway/db/dao/HostEntryDao.java type HostEntryDao (line 23) | @Dao method clear (line 28) | @Query("DELETE FROM `host_entries`") method importBlocked (line 31) | @Query("INSERT INTO `host_entries` SELECT DISTINCT `host`, `type`, `re... method getEnabledAllowedHosts (line 34) | @Query("SELECT host FROM hosts_lists WHERE type = 1 AND enabled = 1") method allowHost (line 37) | @Query("DELETE FROM `host_entries` WHERE `host` LIKE :hostPattern") method getEnabledRedirectedHosts (line 40) | @Query("SELECT * FROM hosts_lists WHERE type = 2 AND enabled = 1 ORDER... method redirectHost (line 43) | @Insert(onConflict = REPLACE) method sync (line 49) | default void sync() { method getAll (line 66) | @Query("SELECT * FROM `host_entries` ORDER BY `host`") method getTypeOfHost (line 69) | @Query("SELECT `type` FROM `host_entries` WHERE `host` == :host LIMIT 1") method getTypeForHost (line 72) | @Query("SELECT IFNULL((SELECT `type` FROM `host_entries` WHERE `host` ... method getEntry (line 75) | @Nullable FILE: app/src/main/java/org/adaway/db/dao/HostListItemDao.java type HostListItemDao (line 23) | @Dao method insert (line 25) | @Insert(onConflict = REPLACE) method insert (line 28) | @Insert(onConflict = REPLACE) method update (line 31) | @Update method delete (line 34) | @Delete method deleteUserFromHost (line 37) | @Query("DELETE FROM hosts_lists WHERE source_id = 1 AND host = :host") method loadList (line 40) | @Query("SELECT * FROM hosts_lists WHERE type = :type AND host LIKE :qu... method getAll (line 43) | @Query("SELECT * FROM hosts_lists ORDER BY host ASC") method getUserList (line 46) | @Query("SELECT * FROM hosts_lists WHERE source_id = 1") method getHostId (line 49) | @Query("SELECT id FROM hosts_lists WHERE host = :host AND source_id = ... method getBlockedHostCount (line 52) | @Query("SELECT COUNT(DISTINCT host) FROM hosts_lists WHERE type = 0 AN... method getAllowedHostCount (line 55) | @Query("SELECT COUNT(DISTINCT host) FROM hosts_lists WHERE type = 1 AN... method getRedirectHostCount (line 58) | @Query("SELECT COUNT(DISTINCT host) FROM hosts_lists WHERE type = 2 AN... method clearSourceHosts (line 61) | @Query("DELETE FROM hosts_lists WHERE source_id = :sourceId") FILE: app/src/main/java/org/adaway/db/dao/HostsSourceDao.java type HostsSourceDao (line 23) | @Dao method insert (line 25) | @Insert(onConflict = IGNORE) method update (line 28) | @Update method delete (line 31) | @Delete method getEnabled (line 34) | @Query("SELECT * FROM hosts_sources WHERE enabled = 1 AND id != 1 ORDE... method toggleEnabled (line 37) | default void toggleEnabled(HostsSource source) { method setSourceEnabled (line 45) | @Query("UPDATE hosts_sources SET enabled = :enabled WHERE id =:id") method setSourceItemsEnabled (line 48) | @Query("UPDATE hosts_lists SET enabled = :enabled WHERE source_id =:id") method getById (line 51) | @Query("SELECT * FROM hosts_sources WHERE id = :id") method getAll (line 54) | @Query("SELECT * FROM hosts_sources WHERE id != 1 ORDER BY label ASC") method loadAll (line 57) | @Query("SELECT * FROM hosts_sources WHERE id != 1 ORDER BY label ASC") method updateOnlineModificationDate (line 60) | @Query("UPDATE hosts_sources SET last_modified_online = :dateTime WHER... method updateModificationDates (line 63) | @Query("UPDATE hosts_sources SET last_modified_local = :localModificat... method updateEntityTag (line 66) | @Query("UPDATE hosts_sources SET entityTag = :entityTag WHERE id = :id") method updateSize (line 69) | @Query("UPDATE hosts_sources SET size = (SELECT count(id) FROM hosts_l... method countOutdated (line 72) | @Query("SELECT count(id) FROM hosts_sources WHERE enabled = 1 AND last... method countUpToDate (line 75) | @Query("SELECT count(id) FROM hosts_sources WHERE enabled = 1 AND last... method clearProperties (line 78) | @Query("UPDATE hosts_sources SET last_modified_local = NULL, last_modi... FILE: app/src/main/java/org/adaway/db/entity/HostEntry.java class HostEntry (line 13) | @Entity( method getHost (line 25) | @NonNull method setHost (line 30) | public void setHost(@NonNull String host) { method getType (line 34) | @NonNull method setType (line 39) | public void setType(@NonNull ListType type) { method getRedirection (line 43) | public String getRedirection() { method setRedirection (line 47) | public void setRedirection(String redirection) { FILE: app/src/main/java/org/adaway/db/entity/HostListItem.java class HostListItem (line 19) | @Entity( method getId (line 45) | public int getId() { method setId (line 49) | public void setId(int id) { method getHost (line 53) | @NonNull method setHost (line 58) | public void setHost(@NonNull String host) { method getType (line 62) | @NonNull method setType (line 67) | public void setType(@NonNull ListType type) { method isEnabled (line 71) | public boolean isEnabled() { method setEnabled (line 75) | public void setEnabled(boolean enabled) { method getRedirection (line 79) | public String getRedirection() { method setRedirection (line 83) | public void setRedirection(String redirection) { method getSourceId (line 87) | public int getSourceId() { method setSourceId (line 91) | public void setSourceId(int sourceId) { method equals (line 95) | @Override method hashCode (line 111) | @Override FILE: app/src/main/java/org/adaway/db/entity/HostsSource.java class HostsSource (line 23) | @Entity( method isValidUrl (line 66) | public static boolean isValidUrl(String url) { method getId (line 70) | public int getId() { method setId (line 74) | public void setId(int id) { method getLabel (line 78) | @NonNull method setLabel (line 83) | public void setLabel(@NonNull String label) { method getUrl (line 87) | @NonNull method setUrl (line 92) | public void setUrl(@NonNull String url) { method getType (line 96) | public SourceType getType() { method isEnabled (line 106) | public boolean isEnabled() { method setEnabled (line 110) | public void setEnabled(boolean enabled) { method isAllowEnabled (line 114) | public boolean isAllowEnabled() { method setAllowEnabled (line 118) | public void setAllowEnabled(boolean allowEnabled) { method isRedirectEnabled (line 122) | public boolean isRedirectEnabled() { method setRedirectEnabled (line 126) | public void setRedirectEnabled(boolean redirectEnabled) { method getLocalModificationDate (line 130) | public ZonedDateTime getLocalModificationDate() { method setLocalModificationDate (line 134) | public void setLocalModificationDate(ZonedDateTime localModificationDa... method getOnlineModificationDate (line 138) | public ZonedDateTime getOnlineModificationDate() { method setOnlineModificationDate (line 142) | public void setOnlineModificationDate(ZonedDateTime lastOnlineModifica... method getEntityTag (line 146) | public String getEntityTag() { method setEntityTag (line 150) | public void setEntityTag(String entityTag) { method getSize (line 154) | public int getSize() { method setSize (line 158) | public void setSize(int size) { method equals (line 162) | @Override method hashCode (line 178) | @Override FILE: app/src/main/java/org/adaway/db/entity/ListType.java type ListType (line 8) | public enum ListType { method ListType (line 15) | ListType(int value) { method fromValue (line 19) | public static ListType fromValue(int value) { method getValue (line 28) | public int getValue() { FILE: app/src/main/java/org/adaway/db/entity/SourceType.java type SourceType (line 8) | public enum SourceType { FILE: app/src/main/java/org/adaway/helper/NotificationHelper.java class NotificationHelper (line 27) | public final class NotificationHelper { method NotificationHelper (line 56) | private NotificationHelper() { method createNotificationChannels (line 65) | public static void createNotificationChannels(@NonNull Context context) { method showUpdateHostsNotification (line 93) | public static void showUpdateHostsNotification(@NonNull Context contex... method showUpdateApplicationNotification (line 125) | public static void showUpdateApplicationNotification(@NonNull Context ... method clearUpdateNotifications (line 157) | public static void clearUpdateNotifications(@NonNull Context context) { FILE: app/src/main/java/org/adaway/helper/PreferenceHelper.java class PreferenceHelper (line 36) | public final class PreferenceHelper { method PreferenceHelper (line 37) | private PreferenceHelper() { method getDarkThemeMode (line 41) | public static int getDarkThemeMode(Context context) { method getUpdateCheck (line 60) | public static boolean getUpdateCheck(Context context) { method getNeverReboot (line 71) | public static boolean getNeverReboot(Context context) { method setNeverReboot (line 82) | public static void setNeverReboot(Context context, boolean value) { method getEnableIpv6 (line 92) | public static boolean getEnableIpv6(Context context) { method getUpdateCheckAppStartup (line 103) | public static boolean getUpdateCheckAppStartup(Context context) { method getUpdateCheckAppDaily (line 114) | public static boolean getUpdateCheckAppDaily(Context context) { method getIncludeBetaReleases (line 125) | public static boolean getIncludeBetaReleases(Context context) { method getUpdateCheckHostsDaily (line 136) | public static boolean getUpdateCheckHostsDaily(Context context) { method getAutomaticUpdateDaily (line 147) | public static boolean getAutomaticUpdateDaily(Context context) { method getUpdateOnlyOnWifi (line 158) | public static boolean getUpdateOnlyOnWifi(Context context) { method getRedirectionIpv4 (line 169) | public static String getRedirectionIpv4(Context context) { method getRedirectionIpv6 (line 180) | public static String getRedirectionIpv6(Context context) { method getWebServerEnabled (line 191) | public static boolean getWebServerEnabled(Context context) { method getWebServerIcon (line 202) | public static boolean getWebServerIcon(Context context) { method getAdBlockMethod (line 213) | public static AdBlockMethod getAdBlockMethod(Context context) { method setAbBlockMethod (line 224) | public static void setAbBlockMethod(Context context, AdBlockMethod met... method getVpnServiceStatus (line 234) | public static VpnStatus getVpnServiceStatus(Context context) { method setVpnServiceStatus (line 245) | public static void setVpnServiceStatus(Context context, VpnStatus stat... method getVpnServiceOnBoot (line 255) | public static boolean getVpnServiceOnBoot(Context context) { method getVpnWatchdogEnabled (line 266) | public static boolean getVpnWatchdogEnabled(Context context) { method getDebugEnabled (line 277) | public static boolean getDebugEnabled(Context context) { method getTelemetryEnabled (line 288) | public static boolean getTelemetryEnabled(Context context) { method setTelemetryEnabled (line 299) | public static void setTelemetryEnabled(Context context, boolean enable... method getDisplayTelemetryConsent (line 309) | public static boolean getDisplayTelemetryConsent(Context context) { method setDisplayTelemetryConsent (line 320) | public static void setDisplayTelemetryConsent(Context context, boolean... method getVpnExcludedSystemApps (line 330) | public static String getVpnExcludedSystemApps(Context context) { method getVpnExcludedApps (line 341) | public static Set getVpnExcludedApps(Context context) { method setVpnExcludedApps (line 352) | public static void setVpnExcludedApps(Context context, Set exc... FILE: app/src/main/java/org/adaway/helper/ThemeHelper.java class ThemeHelper (line 12) | public final class ThemeHelper { method ThemeHelper (line 17) | private ThemeHelper() { method applyTheme (line 26) | public static void applyTheme(Context context) { FILE: app/src/main/java/org/adaway/model/adblocking/AdBlockMethod.java type AdBlockMethod (line 10) | public enum AdBlockMethod { method AdBlockMethod (line 26) | AdBlockMethod(int code) { method fromCode (line 30) | public static AdBlockMethod fromCode(int code) { method toCode (line 37) | public int toCode() { FILE: app/src/main/java/org/adaway/model/adblocking/AdBlockModel.java class AdBlockModel (line 22) | public abstract class AdBlockModel { method AdBlockModel (line 46) | protected AdBlockModel(Context context) { method build (line 59) | public static AdBlockModel build(Context context, AdBlockMethod method) { method getMethod (line 75) | public abstract AdBlockMethod getMethod(); method isApplied (line 82) | public LiveData isApplied() { method apply (line 91) | public abstract void apply() throws HostErrorException; method revert (line 98) | public abstract void revert() throws HostErrorException; method getState (line 105) | public LiveData getState() { method setState (line 109) | protected void setState(@StringRes int stateResId, Object... details) { method isRecordingLogs (line 120) | public abstract boolean isRecordingLogs(); method setRecordingLogs (line 127) | public abstract void setRecordingLogs(boolean recording); method getLogs (line 134) | public abstract List getLogs(); method clearLogs (line 139) | public abstract void clearLogs(); FILE: app/src/main/java/org/adaway/model/adblocking/UndefinedBlockModel.java class UndefinedBlockModel (line 15) | public class UndefinedBlockModel extends AdBlockModel { method UndefinedBlockModel (line 21) | public UndefinedBlockModel(Context context) { method getMethod (line 25) | @Override method apply (line 30) | @Override method revert (line 35) | @Override method isRecordingLogs (line 40) | @Override method setRecordingLogs (line 45) | @Override method getLogs (line 50) | @Override method clearLogs (line 55) | @Override FILE: app/src/main/java/org/adaway/model/backup/AppBackupAgent.java class AppBackupAgent (line 27) | public class AppBackupAgent extends BackupAgentHelper { method onCreate (line 31) | @Override class SourceBackupHelper (line 43) | private static class SourceBackupHelper extends FileBackupHelper { method SourceBackupHelper (line 52) | public SourceBackupHelper(Context context) { method performBackup (line 57) | @Override method restoreEntity (line 67) | @Override method getRulesFileUri (line 77) | private Uri getRulesFileUri() { FILE: app/src/main/java/org/adaway/model/backup/BackupExporter.java class BackupExporter (line 46) | public class BackupExporter { method BackupExporter (line 50) | private BackupExporter() { method exportToBackup (line 59) | public static void exportToBackup(Context context, Uri backupUri) { method getFileNameFromUri (line 74) | private static String getFileNameFromUri(Uri backupUri) { method notifyExportEnd (line 79) | @UiThread method exportBackup (line 88) | static void exportBackup(Context context, Uri backupUri) throws IOExce... method makeBackup (line 101) | private static JSONObject makeBackup(Context context) throws JSONExcep... method buildSourcesBackup (line 126) | private static JSONArray buildSourcesBackup(List sources)... method buildListBackup (line 134) | private static JSONArray buildListBackup(List hosts) thr... FILE: app/src/main/java/org/adaway/model/backup/BackupFormat.java class BackupFormat (line 15) | final class BackupFormat { method BackupFormat (line 35) | BackupFormat() { method sourceToJson (line 39) | static JSONObject sourceToJson(HostsSource source) throws JSONException { method sourceFromJson (line 49) | static HostsSource sourceFromJson(JSONObject sourceObject) throws JSON... method hostToJson (line 63) | static JSONObject hostToJson(HostListItem host) throws JSONException { method hostFromJson (line 74) | static HostListItem hostFromJson(JSONObject hostObject) throws JSONExc... FILE: app/src/main/java/org/adaway/model/backup/BackupImporter.java class BackupImporter (line 46) | public final class BackupImporter { method BackupImporter (line 48) | private BackupImporter() { method importFromBackup (line 61) | @UiThread method notifyImportEnd (line 76) | @UiThread method importBackup (line 85) | static void importBackup(Context context, Uri backupUri) throws IOExce... method importBackup (line 104) | private static void importBackup(Context context, JSONObject backupObj... method importSourceBackup (line 115) | private static void importSourceBackup(HostsSourceDao hostsSourceDao, ... method importListBackup (line 122) | private static void importListBackup(HostListItemDao hostListItemDao, ... FILE: app/src/main/java/org/adaway/model/error/HostError.java type HostError (line 12) | public enum HostError { method HostError (line 30) | HostError(int messageKey, int detailsKey) { method getMessageKey (line 35) | @StringRes method getDetailsKey (line 40) | @StringRes FILE: app/src/main/java/org/adaway/model/error/HostErrorException.java class HostErrorException (line 8) | public class HostErrorException extends Exception { method HostErrorException (line 19) | public HostErrorException(HostError error) { method HostErrorException (line 30) | public HostErrorException(HostError error, Throwable cause) { method getError (line 40) | public HostError getError() { FILE: app/src/main/java/org/adaway/model/git/GistHostsSource.java class GistHostsSource (line 20) | class GistHostsSource extends GitHostsJsonApiSource { method GistHostsSource (line 32) | GistHostsSource(String url) throws MalformedURLException { method getCommitApiUrl (line 44) | @Override method parseJsonBody (line 49) | @Nullable FILE: app/src/main/java/org/adaway/model/git/GitHostsJsonApiSource.java class GitHostsJsonApiSource (line 23) | public abstract class GitHostsJsonApiSource extends GitHostsSource { method getLastUpdate (line 24) | @Override method getCommitApiUrl (line 30) | protected abstract String getCommitApiUrl(); method getLastUpdateFromApi (line 32) | @Nullable method parseJsonBody (line 51) | @Nullable FILE: app/src/main/java/org/adaway/model/git/GitHostsSource.java class GitHostsSource (line 13) | public abstract class GitHostsSource { method isHostedOnGit (line 33) | public static boolean isHostedOnGit(String url) { method getSource (line 46) | public static GitHostsSource getSource(String url) throws MalformedURL... method getLastUpdate (line 63) | @Nullable FILE: app/src/main/java/org/adaway/model/git/GitHubHostsSource.java class GitHubHostsSource (line 24) | class GitHubHostsSource extends GitHostsJsonApiSource { method GitHubHostsSource (line 44) | GitHubHostsSource(String url) throws MalformedURLException { method getCommitApiUrl (line 60) | @Override method parseJsonBody (line 66) | @Nullable FILE: app/src/main/java/org/adaway/model/git/GitLabHostsSource.java class GitLabHostsSource (line 24) | public class GitLabHostsSource extends GitHostsJsonApiSource { method GitLabHostsSource (line 42) | GitLabHostsSource(String url) throws MalformedURLException { method getCommitApiUrl (line 59) | @Override method parseJsonBody (line 65) | @Nullable FILE: app/src/main/java/org/adaway/model/root/CommandException.java class CommandException (line 23) | class CommandException extends Exception { method CommandException (line 27) | CommandException(String msg) { FILE: app/src/main/java/org/adaway/model/root/MountType.java type MountType (line 8) | public enum MountType { method MountType (line 20) | MountType(String option) { method getOption (line 28) | public String getOption() { FILE: app/src/main/java/org/adaway/model/root/RootModel.java class RootModel (line 59) | public class RootModel extends AdBlockModel { method RootModel (line 71) | public RootModel(Context context) { method getMethod (line 83) | @Override method apply (line 88) | @Override method revert (line 105) | @Override method isRecordingLogs (line 119) | @Override method setRecordingLogs (line 124) | @Override method getLogs (line 133) | @Override method clearLogs (line 138) | @Override method checkApplied (line 143) | private void checkApplied() { method syncPreferences (line 156) | private void syncPreferences(Context context) { method deleteNewHostsFile (line 162) | private void deleteNewHostsFile() { method copyNewHostsFile (line 167) | private void copyNewHostsFile() throws HostErrorException { method createNewHostsFile (line 180) | private void createNewHostsFile() throws HostErrorException { method writeHostsHeader (line 191) | private void writeHostsHeader(BufferedWriter writer) throws IOException { method writeLoopbackToHosts (line 213) | private void writeLoopbackToHosts(BufferedWriter writer) throws IOExce... method writeHosts (line 220) | private void writeHosts(BufferedWriter writer) throws IOException { method revertHostFile (line 247) | private void revertHostFile() throws IOException { method copyHostsFile (line 266) | private void copyHostsFile(String source) throws HostErrorException, C... method hasEnoughSpaceOnPartition (line 315) | private boolean hasEnoughSpaceOnPartition(File target, long size) { FILE: app/src/main/java/org/adaway/model/root/ShellUtils.java class ShellUtils (line 20) | public final class ShellUtils { method ShellUtils (line 27) | private ShellUtils() { method mergeAllLines (line 31) | public static String mergeAllLines(List lines) { method isBundledExecutableRunning (line 35) | public static boolean isBundledExecutableRunning(String executable) { method runBundledExecutable (line 39) | public static boolean runBundledExecutable(Context context, String exe... method killBundledExecutable (line 47) | public static void killBundledExecutable(String executable) { method isWritable (line 59) | public static boolean isWritable(File file) { method remountPartition (line 69) | public static boolean remountPartition(File file, MountType type) { method findPartition (line 83) | private static Optional findPartition(File file) { FILE: app/src/main/java/org/adaway/model/root/TcpdumpUtils.java class TcpdumpUtils (line 47) | class TcpdumpUtils { method TcpdumpUtils (line 56) | private TcpdumpUtils() { method isTcpdumpRunning (line 65) | static boolean isTcpdumpRunning() { method startTcpdump (line 75) | static boolean startTcpdump(Context context) { method stopTcpdump (line 105) | static void stopTcpdump() { method checkSystemTcpdump (line 112) | static void checkSystemTcpdump() { method getLogFile (line 134) | static File getLogFile(Context context) { method getLogs (line 144) | static List getLogs(Context context) { method clearLogFile (line 167) | static boolean clearLogFile(Context context) { method getTcpdumpHostname (line 193) | private static String getTcpdumpHostname(String input) { FILE: app/src/main/java/org/adaway/model/source/SourceLoader.java class SourceLoader (line 36) | class SourceLoader { method SourceLoader (line 45) | SourceLoader(HostsSource hostsSource) { method parse (line 49) | void parse(BufferedReader reader, HostListItemDao hostListItemDao) { class SourceReader (line 79) | private static class SourceReader implements Runnable { method SourceReader (line 84) | private SourceReader(BufferedReader reader, BlockingQueue qu... method run (line 90) | @Override class HostListItemParser (line 105) | private static class HostListItemParser implements Runnable { method HostListItemParser (line 110) | private HostListItemParser(HostsSource source, BlockingQueue... method run (line 116) | @Override method parseHostListItem (line 148) | private HostListItem parseHostListItem(String line) { method parseAllowListItem (line 184) | private HostListItem parseAllowListItem(String line) { method isRedirectionValid (line 200) | private boolean isRedirectionValid(HostListItem item) { method isHostValid (line 204) | private boolean isHostValid(HostListItem item) { class ItemInserter (line 216) | private static class ItemInserter implements Callable { method ItemInserter (line 221) | private ItemInserter(BlockingQueue itemQueue, HostList... method call (line 227) | @Override FILE: app/src/main/java/org/adaway/model/source/SourceModel.java class SourceModel (line 60) | public class SourceModel { method SourceModel (line 104) | public SourceModel(Context context) { method getState (line 121) | public LiveData getState() { method isUpdateAvailable (line 130) | public LiveData isUpdateAvailable() { method checkForUpdate (line 139) | public boolean checkForUpdate() throws HostErrorException { method dateToString (line 199) | private String dateToString(ZonedDateTime zonedDateTime) { method isDeviceOffline (line 213) | private boolean isDeviceOffline() { method getHostsSourceLastUpdate (line 228) | @Nullable method getUrlLastUpdate (line 247) | private ZonedDateTime getUrlLastUpdate(HostsSource source) { method getFileLastUpdate (line 280) | private ZonedDateTime getFileLastUpdate(Uri fileUri) { method retrieveHostsSources (line 304) | public void retrieveHostsSources() throws HostErrorException { method syncHostEntries (line 374) | public void syncHostEntries() { method getHttpClient (line 384) | @NonNull method getRequestFor (line 401) | private Request.Builder getRequestFor(HostsSource source) { method downloadHostSource (line 419) | private void downloadHostSource(HostsSource source) throws IOException { method readSourceFile (line 457) | private void readSourceFile(HostsSource hostsSource) throws IOException { method parseSourceInputStream (line 479) | private void parseSourceInputStream(HostsSource hostsSource, BufferedR... method enableAllSources (line 492) | public boolean enableAllSources() { method setState (line 503) | private void setState(@StringRes int stateResId, Object... details) { FILE: app/src/main/java/org/adaway/model/source/SourceUpdateService.java class SourceUpdateService (line 36) | public final class SourceUpdateService { method SourceUpdateService (line 45) | private SourceUpdateService() { method enable (line 55) | public static void enable(Context context, boolean unmeteredNetworkOnl... method disable (line 64) | public static void disable(Context context) { method syncPreferences (line 74) | static void syncPreferences(Context context) { method enqueueWork (line 82) | private static void enqueueWork(Context context, ExistingPeriodicWorkP... method getWorkRequest (line 96) | private static PeriodicWorkRequest getWorkRequest(boolean unmeteredNet... class HostsSourcesUpdateWorker (line 114) | public static class HostsSourcesUpdateWorker extends Worker { method HostsSourcesUpdateWorker (line 121) | public HostsSourcesUpdateWorker(@NonNull Context context, @NonNull W... method doWork (line 125) | @NonNull method doUpdate (line 161) | private void doUpdate(AdAwayApplication application) throws HostErro... FILE: app/src/main/java/org/adaway/model/update/ApkDownloadReceiver.java class ApkDownloadReceiver (line 18) | public class ApkDownloadReceiver extends BroadcastReceiver { method ApkDownloadReceiver (line 21) | public ApkDownloadReceiver(long downloadId) { method onReceive (line 25) | @Override method installApk (line 41) | private void installApk(Context context, Uri apkUri) { FILE: app/src/main/java/org/adaway/model/update/ApkUpdateService.java class ApkUpdateService (line 30) | public final class ApkUpdateService { method ApkUpdateService (line 39) | private ApkUpdateService() { method enable (line 48) | public static void enable(Context context) { method disable (line 57) | public static void disable(Context context) { method syncPreferences (line 62) | static void syncPreferences(Context context) { method enqueueWork (line 70) | private static void enqueueWork(Context context, ExistingPeriodicWorkP... class ApkUpdateWorker (line 83) | public static class ApkUpdateWorker extends Worker { method ApkUpdateWorker (line 90) | public ApkUpdateWorker(@NonNull Context context, @NonNull WorkerPara... method doWork (line 94) | @NonNull FILE: app/src/main/java/org/adaway/model/update/Manifest.java class Manifest (line 11) | public class Manifest { method Manifest (line 17) | public Manifest(String manifest, long currentVersionCode) throws JSONE... FILE: app/src/main/java/org/adaway/model/update/UpdateModel.java class UpdateModel (line 36) | public class UpdateModel { method UpdateModel (line 50) | public UpdateModel(Context context) { method getVersionCode (line 63) | public int getVersionCode() { method getVersionName (line 72) | public String getVersionName() { method getManifest (line 81) | public LiveData getManifest() { method getStore (line 90) | public UpdateStore getStore() { method getChannel (line 99) | public String getChannel() { method checkForUpdate (line 106) | public void checkForUpdate() { method buildHttpClient (line 114) | private OkHttpClient buildHttpClient() { method downloadManifest (line 118) | private Manifest downloadManifest() { method update (line 151) | public long update() { method download (line 170) | private long download(Manifest manifest) { class VersionInfo (line 180) | private static class VersionInfo { method VersionInfo (line 184) | private VersionInfo(int code, String name) { method get (line 189) | public static VersionInfo get(Context context) { method isValid (line 199) | public boolean isValid() { FILE: app/src/main/java/org/adaway/model/update/UpdateStore.java type UpdateStore (line 23) | public enum UpdateStore { method UpdateStore (line 45) | UpdateStore(String name, String sign) { method getApkStore (line 56) | @SuppressLint("PackageManagerGetSignatures") method getFromSigns (line 81) | private static UpdateStore getFromSigns(Signature[] signatures) { method bytesToHex (line 99) | private static String bytesToHex(byte[] bytes) { method getName (line 117) | public String getName() { FILE: app/src/main/java/org/adaway/model/vpn/VpnModel.java class VpnModel (line 29) | public class VpnModel extends AdBlockModel { method VpnModel (line 41) | public VpnModel(Context context) { method getMethod (line 57) | @Override method apply (line 62) | @Override method revert (line 75) | @Override method isRecordingLogs (line 81) | @Override method setRecordingLogs (line 86) | @Override method getLogs (line 91) | @Override method clearLogs (line 96) | @Override method getEntry (line 107) | public HostEntry getEntry(String host) { FILE: app/src/main/java/org/adaway/tile/AdBlockingTileService.java class AdBlockingTileService (line 25) | public class AdBlockingTileService extends TileService { method onTileAdded (line 28) | @Override method onStartListening (line 34) | @Override method onStopListening (line 40) | @Override method onClick (line 46) | @Override method updateTile (line 53) | private void updateTile(boolean adBlocked) { method toggleAdBlocking (line 59) | private void toggleAdBlocking() { method getModel (line 78) | private AdBlockModel getModel() { FILE: app/src/main/java/org/adaway/ui/Animations.java class Animations (line 18) | public final class Animations { method Animations (line 20) | private Animations() { method showView (line 29) | public static void showView(View view) { method hideView (line 46) | public static void hideView(View view) { method removeView (line 63) | public static void removeView(View view) { method setShown (line 80) | public static void setShown(View view) { method setHidden (line 90) | public static void setHidden(View view) { method setRemoved (line 100) | public static void setRemoved(View view) { FILE: app/src/main/java/org/adaway/ui/adblocking/ApplyConfigurationSnackbar.java class ApplyConfigurationSnackbar (line 31) | public class ApplyConfigurationSnackbar { method ApplyConfigurationSnackbar (line 68) | public ApplyConfigurationSnackbar(@NonNull View view, boolean syncSour... method createObserver (line 86) | public Observer createObserver() { method notifyUpdateAvailable (line 109) | public void notifyUpdateAvailable() { method apply (line 131) | private void apply() { method showLoading (line 151) | private void showLoading() { method endLoading (line 158) | private void endLoading(boolean successfulInstall) { method appendViewToSnackbar (line 187) | private void appendViewToSnackbar(Snackbar snackbar, View view) { FILE: app/src/main/java/org/adaway/ui/adware/AdwareFragment.java class AdwareFragment (line 47) | public class AdwareFragment extends Fragment { method onCreateView (line 57) | @Override method displayStatusText (line 98) | private void displayStatusText(int text) { method displayAdware (line 111) | private void displayAdware(List data) { method uninstallAdware (line 140) | private void uninstallAdware(AdwareInstall adwareInstall) { FILE: app/src/main/java/org/adaway/ui/adware/AdwareInstall.java class AdwareInstall (line 12) | class AdwareInstall extends HashMap implements Comparabl... method AdwareInstall (line 28) | AdwareInstall(String applicationName, String packageName) { method compareTo (line 34) | @Override FILE: app/src/main/java/org/adaway/ui/adware/AdwareLiveData.java class AdwareLiveData (line 24) | class AdwareLiveData extends LiveData> { method AdwareLiveData (line 53) | AdwareLiveData(Context context) { method loadData (line 58) | @WorkerThread method getAdwarePackages (line 79) | private List getAdwarePackages(PackageManager pm) { method isAdware (line 106) | private boolean isAdware(PackageInfo info) { method checkComponent (line 126) | private boolean checkComponent(String packageName, String type, Compon... method createInstallFromPackageInfo (line 146) | private AdwareInstall createInstallFromPackageInfo(PackageInfo package... FILE: app/src/main/java/org/adaway/ui/adware/AdwareViewModel.java class AdwareViewModel (line 13) | public class AdwareViewModel extends AndroidViewModel { method AdwareViewModel (line 24) | public AdwareViewModel(@NonNull Application application) { method getAdware (line 34) | public AdwareLiveData getAdware() { FILE: app/src/main/java/org/adaway/ui/dialog/AlertDialogValidator.java class AlertDialogValidator (line 17) | public class AlertDialogValidator implements TextWatcher { method AlertDialogValidator (line 34) | public AlertDialogValidator(AlertDialog dialog, Function liveData) { method isAdBlocked (line 67) | public LiveData isAdBlocked() { method isUpdateAvailable (line 71) | public LiveData isUpdateAvailable() { method getVersionName (line 75) | public String getVersionName() { method getAppManifest (line 79) | public LiveData getAppManifest() { method getBlockedHostCount (line 83) | public LiveData getBlockedHostCount() { method getAllowedHostCount (line 87) | public LiveData getAllowedHostCount() { method getRedirectHostCount (line 91) | public LiveData getRedirectHostCount() { method getUpToDateSourceCount (line 95) | public LiveData getUpToDateSourceCount() { method getOutdatedSourceCount (line 99) | public LiveData getOutdatedSourceCount() { method getPending (line 103) | public LiveData getPending() { method getState (line 107) | public LiveData getState() { method getError (line 111) | public LiveData getError() { method checkForAppUpdate (line 115) | public void checkForAppUpdate() { method toggleAdBlocking (line 119) | public void toggleAdBlocking() { method update (line 140) | public void update() { method sync (line 157) | public void sync() { method enableAllSources (line 175) | public void enableAllSources() { FILE: app/src/main/java/org/adaway/ui/hosts/HostsSourcesActivity.java class HostsSourcesActivity (line 16) | public class HostsSourcesActivity extends AppCompatActivity { method onCreate (line 17) | @Override FILE: app/src/main/java/org/adaway/ui/hosts/HostsSourcesAdapter.java class HostsSourcesAdapter (line 27) | class HostsSourcesAdapter extends ListAdapter> getHostsSources() { method toggleSourceEnabled (line 35) | public void toggleSourceEnabled(HostsSource source) { FILE: app/src/main/java/org/adaway/ui/lists/ListsActivity.java class ListsActivity (line 33) | public class ListsActivity extends AppCompatActivity { method onCreate (line 59) | @Override method onNewIntent (line 148) | @Override method handleQuery (line 155) | private void handleQuery(Intent intent) { method onCreateOptionsMenu (line 163) | @Override method onOptionsItemSelected (line 177) | @Override FILE: app/src/main/java/org/adaway/ui/lists/ListsFilter.java class ListsFilter (line 8) | public class ListsFilter { method ListsFilter (line 23) | public ListsFilter(boolean sourcesIncluded, String query) { method convertToLikeQuery (line 29) | private static String convertToLikeQuery(String query) { FILE: app/src/main/java/org/adaway/ui/lists/ListsFragmentPagerAdapter.java class ListsFragmentPagerAdapter (line 22) | class ListsFragmentPagerAdapter extends FragmentStateAdapter { method ListsFragmentPagerAdapter (line 44) | ListsFragmentPagerAdapter(FragmentActivity fragmentActivity) { method createFragment (line 51) | @NonNull method getItemCount (line 66) | @Override method ensureActionModeCanceled (line 74) | void ensureActionModeCanceled() { method addItem (line 91) | void addItem(int position) { FILE: app/src/main/java/org/adaway/ui/lists/ListsViewCallback.java type ListsViewCallback (line 13) | public interface ListsViewCallback { method toggleItemEnabled (line 19) | void toggleItemEnabled(HostListItem item); method startAction (line 28) | boolean startAction(HostListItem item, View sourceView); method copyHostToClipboard (line 35) | boolean copyHostToClipboard(HostListItem item); FILE: app/src/main/java/org/adaway/ui/lists/ListsViewModel.java class ListsViewModel (line 36) | public class ListsViewModel extends AndroidViewModel { method ListsViewModel (line 45) | public ListsViewModel(@NonNull Application application) { method getBlockedListItems (line 71) | public LiveData> getBlockedListItems() { method getAllowedListItems (line 75) | public LiveData> getAllowedListItems() { method getRedirectedListItems (line 79) | public LiveData> getRedirectedListItems() { method getModelChanged (line 83) | public LiveData getModelChanged() { method toggleItemEnabled (line 87) | public void toggleItemEnabled(HostListItem item) { method addListItem (line 95) | public void addListItem(@NonNull ListType type, @NonNull String host, ... method updateListItem (line 114) | public void updateListItem(@NonNull HostListItem item, @NonNull String... method removeListItem (line 123) | public void removeListItem(HostListItem list) { method search (line 130) | public void search(String query) { method isSearching (line 136) | public boolean isSearching() { method clearSearch (line 140) | public void clearSearch() { method toggleSources (line 146) | public void toggleSources() { method getFilter (line 152) | private ListsFilter getFilter() { method setFilter (line 157) | private void setFilter(ListsFilter filter) { FILE: app/src/main/java/org/adaway/ui/lists/type/AbstractListFragment.java class AbstractListFragment (line 34) | public abstract class AbstractListFragment extends Fragment implements L... method onCreateView (line 60) | @Override method startAction (line 148) | @Override method copyHostToClipboard (line 167) | @Override method ensureActionModeCanceled (line 176) | public void ensureActionModeCanceled() { method getData (line 182) | protected abstract LiveData> getData(); method isTwoRowsItem (line 184) | protected boolean isTwoRowsItem() { method addItem (line 191) | public abstract void addItem(); method editItem (line 193) | protected abstract void editItem(HostListItem item); method deleteItem (line 195) | protected void deleteItem(HostListItem item) { method toggleItemEnabled (line 199) | @Override FILE: app/src/main/java/org/adaway/ui/lists/type/AllowedHostsFragment.java class AllowedHostsFragment (line 46) | public class AllowedHostsFragment extends AbstractListFragment { method getData (line 47) | @Override method addItem (line 52) | @Override method editItem (line 90) | @Override FILE: app/src/main/java/org/adaway/ui/lists/type/BlockedHostsFragment.java class BlockedHostsFragment (line 47) | public class BlockedHostsFragment extends AbstractListFragment { method getData (line 48) | @Override method addItem (line 53) | @Override method editItem (line 90) | @Override FILE: app/src/main/java/org/adaway/ui/lists/type/ListsAdapter.java class ListsAdapter (line 25) | class ListsAdapter extends PagingDataAdapter { method areItemsTheSame (line 32) | @Override method areContentsTheSame (line 37) | @Override method LogAdapter (line 48) | LogAdapter(LogViewCallback callback) { method onCreateViewHolder (line 53) | @NonNull method onBindViewHolder (line 61) | @Override method bindImageView (line 78) | private void bindImageView(ImageView imageView, ListType type, LogEntr... class ViewHolder (line 94) | static class ViewHolder extends RecyclerView.ViewHolder { method ViewHolder (line 102) | ViewHolder(LogEntryBinding binding) { FILE: app/src/main/java/org/adaway/ui/log/LogEntry.java class LogEntry (line 13) | class LogEntry implements Comparable { method LogEntry (line 20) | LogEntry(@NonNull String host, @Nullable ListType type) { method getHost (line 25) | @NonNull method getType (line 30) | @Nullable method setType (line 35) | public void setType(@Nullable ListType type) { method equals (line 39) | @Override method hashCode (line 50) | @Override method compareTo (line 57) | @Override FILE: app/src/main/java/org/adaway/ui/log/LogEntrySort.java type LogEntrySort (line 12) | enum LogEntrySort { method getName (line 14) | @Override method comparator (line 19) | @Override method getName (line 25) | @Override method comparator (line 30) | @Override method getName (line 62) | abstract int getName(); method comparator (line 69) | abstract Comparator comparator(); FILE: app/src/main/java/org/adaway/ui/log/LogViewCallback.java type LogViewCallback (line 12) | public interface LogViewCallback { method addListItem (line 19) | void addListItem(@NonNull String hostName, @NonNull ListType type); method removeListItem (line 26) | void removeListItem(@NonNull String hostName); method openHostInBrowser (line 33) | void openHostInBrowser(@NonNull String hostName); method copyHostToClipboard (line 40) | void copyHostToClipboard(@NonNull String hostName); method getColor (line 48) | int getColor(int colorId); FILE: app/src/main/java/org/adaway/ui/log/LogViewModel.java class LogViewModel (line 33) | public class LogViewModel extends AndroidViewModel { method LogViewModel (line 41) | public LogViewModel(@NonNull Application application) { method areBlockedRequestsIgnored (line 51) | public boolean areBlockedRequestsIgnored() { method getLogs (line 55) | public LiveData> getLogs() { method clearLogs (line 59) | public void clearLogs() { method updateLogs (line 64) | public void updateLogs() { method toggleSort (line 82) | public void toggleSort() { method isRecording (line 89) | public LiveData isRecording() { method toggleRecording (line 93) | public void toggleRecording() { method addListItem (line 99) | public void addListItem(@NonNull String host, @NonNull ListType type, ... method removeListItem (line 113) | public void removeListItem(@NonNull String host) { method updateLogEntryType (line 120) | private void updateLogEntryType(@NonNull String host, ListType type) { method sortDnsRequests (line 134) | private void sortDnsRequests(LogEntrySort sort) { FILE: app/src/main/java/org/adaway/ui/prefs/PrefsActivity.java class PrefsActivity (line 22) | public class PrefsActivity extends AppCompatActivity implements Preferen... method setAppBarTitle (line 25) | static void setAppBarTitle(PreferenceFragmentCompat fragment, @StringR... method onCreate (line 36) | @Override method onSupportNavigateUp (line 59) | @Override method onPreferenceStartFragment (line 69) | @Override FILE: app/src/main/java/org/adaway/ui/prefs/PrefsBackupRestoreFragment.java class PrefsBackupRestoreFragment (line 28) | public class PrefsBackupRestoreFragment extends PreferenceFragmentCompat { method onCreatePreferences (line 46) | @Override method onAttach (line 59) | @Override method registerForImportActivity (line 65) | private void registerForImportActivity() { method registerForExportActivity (line 80) | private void registerForExportActivity() { method bindBackupPref (line 90) | private void bindBackupPref() { method bindRestorePref (line 99) | private void bindRestorePref() { FILE: app/src/main/java/org/adaway/ui/prefs/PrefsMainFragment.java class PrefsMainFragment (line 25) | public class PrefsMainFragment extends PreferenceFragmentCompat { method onCreatePreferences (line 26) | @Override method onAttach (line 37) | @Override method onResume (line 43) | @Override method bindThemePrefAction (line 49) | private void bindThemePrefAction() { method bindAdBlockMethod (line 59) | private void bindAdBlockMethod() { method bindTelemetryPrefAction (line 69) | private void bindTelemetryPrefAction() { FILE: app/src/main/java/org/adaway/ui/prefs/PrefsRootFragment.java class PrefsRootFragment (line 59) | public class PrefsRootFragment extends PreferenceFragmentCompat implemen... method onCreatePreferences (line 73) | @Override method onAttach (line 93) | @Override method onResume (line 99) | @Override method onDestroyView (line 106) | @Override method onSharedPreferenceChanged (line 113) | @Override method registerForOpenHostActivity (line 124) | private void registerForOpenHostActivity() { method registerForPrepareCertificateActivity (line 135) | private void registerForPrepareCertificateActivity() { method bindOpenHostsFile (line 142) | private void bindOpenHostsFile() { method openHostsFile (line 148) | private boolean openHostsFile(Preference preference) { method bindRedirection (line 170) | private void bindRedirection() { method validateRedirection (line 186) | private boolean validateRedirection(Class addre... method bindWebServerPrefAction (line 200) | private void bindWebServerPrefAction() { method bindWebServerTest (line 220) | private void bindWebServerTest() { method bindWebServerCertificate (line 230) | private void bindWebServerCertificate() { method prepareWebServerCertificate (line 243) | private void prepareWebServerCertificate(Uri uri) { method updateWebServerState (line 265) | private void updateWebServerState() { FILE: app/src/main/java/org/adaway/ui/prefs/PrefsUpdateFragment.java class PrefsUpdateFragment (line 36) | public class PrefsUpdateFragment extends PreferenceFragmentCompat { method onCreatePreferences (line 37) | @Override method onAttach (line 51) | @Override method onResume (line 57) | @Override method bindNotificationPreferencesAction (line 63) | private void bindNotificationPreferencesAction() { method bindAppUpdatePrefAction (line 76) | private void bindAppUpdatePrefAction() { method bindAppChannelPrefAction (line 90) | private void bindAppChannelPrefAction() { method bindHostsUpdatePrefAction (line 99) | private void bindHostsUpdatePrefAction() { method updateNotificationPreferencesState (line 120) | private void updateNotificationPreferencesState() { FILE: app/src/main/java/org/adaway/ui/prefs/PrefsVpnFragment.java class PrefsVpnFragment (line 26) | public class PrefsVpnFragment extends PreferenceFragmentCompat { method onCreatePreferences (line 29) | @Override method onAttach (line 41) | @Override method registerForStartActivity (line 47) | private void registerForStartActivity() { method bindExcludedSystemApps (line 54) | private void bindExcludedSystemApps() { method bindExcludedUserApps (line 63) | private void bindExcludedUserApps() { method restartVpn (line 74) | private void restartVpn() { FILE: app/src/main/java/org/adaway/ui/prefs/exclusion/ExcludedAppController.java type ExcludedAppController (line 8) | public interface ExcludedAppController { method getUserApplications (line 13) | UserApp[] getUserApplications(); method excludeApplications (line 19) | void excludeApplications(UserApp... applications); method includeApplications (line 25) | void includeApplications(UserApp... applications); FILE: app/src/main/java/org/adaway/ui/prefs/exclusion/PrefsVpnExcludedAppsActivity.java class PrefsVpnExcludedAppsActivity (line 30) | public class PrefsVpnExcludedAppsActivity extends AppCompatActivity impl... method onCreate (line 34) | @Override method onCreateOptionsMenu (line 62) | @Override method onOptionsItemSelected (line 69) | @Override method getUserApplications (line 86) | @Override method excludeApplications (line 108) | @Override method includeApplications (line 116) | @Override method updatePreferences (line 124) | private void updatePreferences() { FILE: app/src/main/java/org/adaway/ui/prefs/exclusion/UserApp.java class UserApp (line 10) | class UserApp implements Comparable { method UserApp (line 16) | UserApp(CharSequence name, CharSequence packageName, Drawable icon, bo... method compareTo (line 23) | @Override FILE: app/src/main/java/org/adaway/ui/prefs/exclusion/UserAppRecycleViewAdapter.java class UserAppRecycleViewAdapter (line 16) | class UserAppRecycleViewAdapter extends RecyclerView.Adapter getAppManifest() { method update (line 49) | public void update() { method getDownloadProgress (line 54) | public MutableLiveData getDownloadProgress() { method trackProgress (line 58) | private void trackProgress(long downloadId) { FILE: app/src/main/java/org/adaway/ui/welcome/WelcomeActivity.java class WelcomeActivity (line 24) | public class WelcomeActivity extends AppCompatActivity implements Welcom... method onCreate (line 30) | @Override method buildPager (line 42) | private void buildPager() { method bindNextButton (line 48) | private void bindNextButton() { method bindBackButton (line 52) | private void bindBackButton() { method bindDots (line 56) | private void bindDots() { method highlightDot (line 71) | private void highlightDot(int position) { method bindBackPress (line 83) | private void bindBackPress() { method allowNext (line 99) | @Override method blockNext (line 109) | @Override method allowBack (line 114) | private void allowBack() { method blockBack (line 118) | private void blockBack() { method goNext (line 122) | private void goNext() { method goBack (line 139) | private void goBack() { method startHomeActivity (line 151) | private void startHomeActivity() { FILE: app/src/main/java/org/adaway/ui/welcome/WelcomeFragment.java class WelcomeFragment (line 10) | public abstract class WelcomeFragment extends Fragment { method allowNext (line 13) | protected void allowNext() { method blockNext (line 18) | protected void blockNext() { method canGoNext (line 23) | protected boolean canGoNext() { method getNavigable (line 27) | private WelcomeNavigable getNavigable() { FILE: app/src/main/java/org/adaway/ui/welcome/WelcomeMethodFragment.java class WelcomeMethodFragment (line 39) | public class WelcomeMethodFragment extends WelcomeFragment { method onCreateView (line 47) | @Nullable method checkRoot (line 68) | private void checkRoot(@Nullable View view) { method enableVpnService (line 78) | private void enableVpnService(@Nullable View view) { method notifyRootEnabled (line 93) | private void notifyRootEnabled() { method notifyRootDisabled (line 101) | private void notifyRootDisabled(boolean showDialog) { method notifyVpnEnabled (line 116) | private void notifyVpnEnabled() { method notifyVpnDisabled (line 124) | private void notifyVpnDisabled() { method checkAlwaysOnVpn (line 131) | private void checkAlwaysOnVpn() { FILE: app/src/main/java/org/adaway/ui/welcome/WelcomeNavigable.java type WelcomeNavigable (line 8) | public interface WelcomeNavigable { method allowNext (line 9) | void allowNext(); method blockNext (line 10) | void blockNext(); FILE: app/src/main/java/org/adaway/ui/welcome/WelcomePagerAdapter.java class WelcomePagerAdapter (line 12) | public class WelcomePagerAdapter extends FragmentStateAdapter { method WelcomePagerAdapter (line 17) | WelcomePagerAdapter(@NonNull FragmentActivity fragmentManager) { method createFragment (line 24) | @NonNull method getItemCount (line 39) | @Override FILE: app/src/main/java/org/adaway/ui/welcome/WelcomeSupportFragment.java class WelcomeSupportFragment (line 28) | public class WelcomeSupportFragment extends WelcomeFragment { method onCreateView (line 31) | @Nullable method canGoNext (line 43) | @Override method customizeSecondOption (line 48) | private void customizeSecondOption() { method bindSupport (line 56) | private void bindSupport() { method bindTelemetry (line 63) | private void bindTelemetry() { method showAndBindSponsorship (line 70) | private void showAndBindSponsorship() { FILE: app/src/main/java/org/adaway/ui/welcome/WelcomeSyncFragment.java class WelcomeSyncFragment (line 36) | public class WelcomeSyncFragment extends WelcomeFragment { method onCreateView (line 42) | @Nullable method bindRetry (line 63) | private void bindRetry() { method bindNotifications (line 68) | private void bindNotifications() { method notifySynced (line 83) | private void notifySynced() { method notifyError (line 92) | private void notifyError(HostError error) { method retry (line 103) | private void retry(@SuppressWarnings("unused") View view) { method requestPostNotificationsPermission (line 111) | private void requestPostNotificationsPermission() { FILE: app/src/main/java/org/adaway/util/AppExecutors.java class AppExecutors (line 34) | public class AppExecutors { method AppExecutors (line 43) | private AppExecutors(Executor diskIO, Executor networkIO, Executor mai... method getInstance (line 49) | public static AppExecutors getInstance() { method diskIO (line 62) | public Executor diskIO() { method networkIO (line 66) | public Executor networkIO() { method mainThread (line 70) | public Executor mainThread() { class MainThreadExecutor (line 74) | private static class MainThreadExecutor implements Executor { method execute (line 77) | @Override FILE: app/src/main/java/org/adaway/util/Clipboard.java class Clipboard (line 17) | public final class Clipboard { method Clipboard (line 18) | private Clipboard() { method copyHostToClipboard (line 28) | public static void copyHostToClipboard(Context context, String host) { FILE: app/src/main/java/org/adaway/util/Constants.java class Constants (line 23) | public class Constants { FILE: app/src/main/java/org/adaway/util/RegexUtils.java class RegexUtils (line 31) | public class RegexUtils { method isValidHostname (line 40) | public static boolean isValidHostname(String hostname) { method isValidWildcardHostname (line 60) | public static boolean isValidWildcardHostname(String hostname) { method isValidIP (line 76) | public static boolean isValidIP(String ip) { method wildcardToRegex (line 90) | public static String wildcardToRegex(String wildcard) { FILE: app/src/main/java/org/adaway/util/WebServerUtils.java class WebServerUtils (line 62) | public class WebServerUtils { method startWebServer (line 73) | public static void startWebServer(Context context) { method stopWebServer (line 88) | public static void stopWebServer() { method isWebServerRunning (line 97) | public static boolean isWebServerRunning() { method getWebServerState (line 106) | @StringRes method installCertificate (line 131) | public static void installCertificate(Context context) { method copyCertificate (line 153) | public static void copyCertificate(ContextThemeWrapper wrapper, Uri ur... method inflateResources (line 171) | private static void inflateResources(Context context, Path target) { method inflateResource (line 183) | private static void inflateResource(AssetManager assetManager, String ... FILE: app/src/main/java/org/adaway/util/log/ApplicationLog.java class ApplicationLog (line 18) | public final class ApplicationLog { method ApplicationLog (line 22) | private ApplicationLog() { method init (line 31) | public static void init(Application application) { method isApplicationDebuggable (line 41) | private static boolean isApplicationDebuggable(Context context) { FILE: app/src/main/java/org/adaway/util/log/SentryLog.java class SentryLog (line 21) | public final class SentryLog { method SentryLog (line 25) | private SentryLog() { method init (line 34) | public static void init(Application application) { method setEnabled (line 44) | public static void setEnabled(Application application, boolean enabled) { method recordBreadcrumb (line 59) | public static void recordBreadcrumb(String message) { method isStub (line 73) | public static boolean isStub() { FILE: app/src/main/java/org/adaway/vpn/VpnService.java class VpnService (line 84) | public class VpnService extends android.net.VpnService implements Handle... method VpnService (line 106) | public VpnService() { method onCreate (line 118) | @Override method onStartCommand (line 124) | @Override method onDestroy (line 145) | @Override method handleMessage (line 156) | @Override method notifyVpnStatus (line 169) | public void notifyVpnStatus(VpnStatus status) { method startVpn (line 174) | private void startVpn() { method stopVpn (line 182) | private void stopVpn() { method waitForNetVpn (line 192) | private void waitForNetVpn() { method reconnect (line 197) | private void reconnect() { method updateVpnStatus (line 202) | private void updateVpnStatus(VpnStatus status) { method getNotification (line 224) | private Notification getNotification(VpnStatus status) { method registerNetworkCallback (line 265) | private void registerNetworkCallback() { method unregisterNetworkCallback (line 279) | private void unregisterNetworkCallback() { method initializeNetworkTypes (line 285) | private void initializeNetworkTypes(ConnectivityManager connectivityMa... method addNetworkType (line 302) | private void addNetworkType(NetworkType type) { method removeNetworkType (line 311) | private void removeNetworkType(NetworkType type) { class NetworkTypeCallback (line 327) | private class NetworkTypeCallback extends NetworkCallback { method NetworkTypeCallback (line 330) | NetworkTypeCallback(NetworkType monitoredType) { method onAvailable (line 334) | @Override method onLost (line 340) | @Override type NetworkType (line 347) | enum NetworkType { class MyHandler (line 353) | private static class MyHandler extends Handler { method MyHandler (line 357) | MyHandler(Callback callback) { method handleMessage (line 362) | @Override FILE: app/src/main/java/org/adaway/vpn/VpnServiceControls.java class VpnServiceControls (line 23) | public final class VpnServiceControls { method VpnServiceControls (line 27) | private VpnServiceControls() { method isRunning (line 37) | public static boolean isRunning(Context context) { method isStarted (line 53) | public static boolean isStarted(Context context) { method start (line 63) | public static boolean start(Context context) { method stop (line 84) | public static void stop(Context context) { method checkAnyNetworkVpnCapability (line 93) | private static boolean checkAnyNetworkVpnCapability(Context context) { FILE: app/src/main/java/org/adaway/vpn/VpnServiceHeartbeat.java class VpnServiceHeartbeat (line 27) | public class VpnServiceHeartbeat extends Worker { method VpnServiceHeartbeat (line 39) | public VpnServiceHeartbeat(@NonNull Context context, @NonNull WorkerPa... method doWork (line 43) | @NonNull method isVpnServiceRunning (line 56) | private boolean isVpnServiceRunning() { method start (line 73) | public static void start(Context context) { method stop (line 89) | public static void stop(Context context) { FILE: app/src/main/java/org/adaway/vpn/VpnStatus.java type VpnStatus (line 9) | public enum VpnStatus { method VpnStatus (line 23) | VpnStatus(int code, @StringRes int textResource) { method fromCode (line 28) | public static VpnStatus fromCode(int code) { method getTextResource (line 35) | @StringRes method toCode (line 40) | public int toCode() { method isStarted (line 44) | public boolean isStarted() { FILE: app/src/main/java/org/adaway/vpn/dns/DnsPacketProxy.java class DnsPacketProxy (line 58) | public class DnsPacketProxy { method DnsPacketProxy (line 79) | public DnsPacketProxy(EventLoop eventLoop, DnsServerMapper dnsServerMa... method initialize (line 89) | public void initialize(Context context) { method handleDnsResponse (line 99) | public void handleDnsResponse(IpPacket requestPacket, byte[] responseP... method handleDnsRequest (line 140) | public void handleDnsRequest(byte[] packetData) throws IOException { method getHostEntry (line 236) | private HostEntry getHostEntry(String dnsQueryName) { type EventLoop (line 253) | public interface EventLoop { method forwardPacket (line 260) | void forwardPacket(DatagramPacket packet) throws IOException; method forwardPacket (line 269) | void forwardPacket(DatagramPacket packet, Consumer callback)... method queueDeviceWrite (line 276) | void queueDeviceWrite(IpPacket packet); FILE: app/src/main/java/org/adaway/vpn/dns/DnsQuery.java class DnsQuery (line 20) | class DnsQuery implements AutoCloseable { method DnsQuery (line 44) | DnsQuery(DatagramSocket socket, Consumer callback) { method isOlderThan (line 59) | boolean isOlderThan(long timestamp) { method getPollfd (line 67) | StructPollfd getPollfd() { method isAnswered (line 76) | boolean isAnswered() { method handleResponse (line 83) | void handleResponse() { method close (line 96) | @Override FILE: app/src/main/java/org/adaway/vpn/dns/DnsQueryQueue.java class DnsQueryQueue (line 19) | public class DnsQueryQueue { method DnsQueryQueue (line 36) | public DnsQueryQueue() { method addQuery (line 46) | public void addQuery(DatagramSocket socket, Consumer callback) { method ensureFreeSpace (line 56) | private void ensureFreeSpace() { method clearTimedOutQueries (line 64) | private void clearTimedOutQueries() { method size (line 78) | public int size() { method getQueryFds (line 87) | public StructPollfd[] getQueryFds() { method handleResponses (line 96) | public void handleResponses() { FILE: app/src/main/java/org/adaway/vpn/dns/DnsServerMapper.java class DnsServerMapper (line 38) | public class DnsServerMapper { method DnsServerMapper (line 63) | public DnsServerMapper() { method configureVpn (line 75) | public void configureVpn(Context context, VpnService.Builder builder) { method getDefaultDnsServerAddress (line 99) | public InetAddress getDefaultDnsServerAddress() { method getDnsServerFromFakeAddress (line 117) | Optional getDnsServerFromFakeAddress(InetAddress fakeDnsA... method getNetworkDnsServers (line 134) | private List getNetworkDnsServers(Context context) { method dumpNetworkInfo (line 153) | private void dumpNetworkInfo(ConnectivityManager connectivityManager) { method getAnyNonVpnNetworkDns (line 183) | private List getAnyNonVpnNetworkDns(ConnectivityManager c... method getDnsFromNonVpnNetworkWithMatchingTransportType (line 203) | private List getDnsFromNonVpnNetworkWithMatchingTransport... method getNetworkDnsServers (line 242) | private List getNetworkDnsServers(ConnectivityManager con... method isNotVpnNetwork (line 257) | private boolean isNotVpnNetwork(ConnectivityManager connectivityManage... method addIpv4Address (line 271) | private Subnet addIpv4Address(VpnService.Builder builder) { method addIpv6Address (line 292) | private Subnet addIpv6Address(VpnService.Builder builder) { method hasIpV6DnsServers (line 300) | private boolean hasIpV6DnsServers(Context context, Collection getWebBrowserPackageName(PackageManager pac... FILE: app/src/main/java/org/adaway/vpn/worker/VpnConnectionMonitor.java class VpnConnectionMonitor (line 24) | public class VpnConnectionMonitor { method VpnConnectionMonitor (line 45) | VpnConnectionMonitor(Context context) { method findVpnNetworkInterface (line 51) | private static NetworkInterface findVpnNetworkInterface() { method pickLastVpnNetworkInterface (line 68) | private static NetworkInterface pickLastVpnNetworkInterface(NetworkInt... method initialize (line 93) | void initialize() { method monitor (line 102) | void monitor() { method reset (line 129) | void reset() { method stop (line 136) | void stop() { FILE: app/src/main/java/org/adaway/vpn/worker/VpnConnectionThrottler.java class VpnConnectionThrottler (line 13) | class VpnConnectionThrottler { method VpnConnectionThrottler (line 28) | VpnConnectionThrottler() { method throttle (line 38) | void throttle() throws InterruptedException { method increaseTimeout (line 65) | private void increaseTimeout() { method decreaseTimeout (line 70) | private void decreaseTimeout(boolean reset) { FILE: app/src/main/java/org/adaway/vpn/worker/VpnNetworkException.java class VpnNetworkException (line 3) | public class VpnNetworkException extends Exception { method VpnNetworkException (line 4) | public VpnNetworkException(String s) { method VpnNetworkException (line 8) | public VpnNetworkException(String s, Throwable t) { FILE: app/src/main/java/org/adaway/vpn/worker/VpnWatchdog.java class VpnWatchdog (line 40) | class VpnWatchdog { method VpnWatchdog (line 62) | VpnWatchdog() { method getPollTimeout (line 74) | int getPollTimeout() { method setTarget (line 87) | void setTarget(InetAddress target) { method initialize (line 96) | void initialize(boolean enabled) { method handleTimeout (line 124) | void handleTimeout() throws VpnNetworkException { method handlePacket (line 151) | void handlePacket(byte[] packetData) { method sendPacket (line 164) | void sendPacket() throws VpnNetworkException { method newDatagramSocket (line 178) | @NonNull FILE: app/src/main/java/org/adaway/vpn/worker/VpnWorker.java class VpnWorker (line 59) | public class VpnWorker implements DnsPacketProxy.EventLoop { method VpnWorker (line 103) | public VpnWorker(VpnService vpnService) { method start (line 120) | public void start() { method stop (line 132) | public void stop() { method setExecutor (line 146) | private void setExecutor(ExecutorService executor) { method forceCloseTunnel (line 158) | private void forceCloseTunnel() { method work (line 169) | private void work() { method runVpn (line 198) | private void runVpn() throws IOException, VpnNetworkException { method doOne (line 226) | private boolean doOne(FileInputStream inputStream, FileOutputStream fi... method writeToDevice (line 270) | private void writeToDevice(FileOutputStream fileOutputStream) throws I... method readPacketFromDevice (line 282) | private int readPacketFromDevice(FileInputStream inputStream, byte[] p... method forwardPacket (line 299) | @Override method forwardPacket (line 309) | @Override method queueDeviceWrite (line 333) | @Override FILE: app/src/test/java/org/adaway/model/git/GitHostsSourceTest.java class GitHostsSourceTest (line 21) | @RunWith(Parameterized.class) method data (line 28) | @Parameterized.Parameters method GitHostsSourceTest (line 48) | public GitHostsSourceTest(String label, String url, Class expectedC... method testIsHostedOnGit (line 57) | @Test method testLastUpdateFetch (line 69) | @Test FILE: app/src/test/java/org/adaway/model/source/SourceLoaderTest.java class SourceLoaderTest (line 13) | public class SourceLoaderTest { method testHostParser (line 106) | @Test method isValidHostname (line 120) | @Test method isValidWhitelistHostname (line 130) | @Test method isInvalidHostname (line 146) | @Test method isInvalidWhitelistHostname (line 156) | @Test FILE: app/src/test/java/org/adaway/ui/log/LogEntrySortTest.java class LogEntrySortTest (line 13) | public class LogEntrySortTest { method testTopLevelDomainComparator (line 14) | @Test method testAlphabeticalComparator (line 42) | @Test FILE: sentrystub/src/main/java/io/sentry/Breadcrumb.java class Breadcrumb (line 3) | public class Breadcrumb { method setMessage (line 4) | public void setMessage(String message) { method setLevel (line 8) | public void setLevel(SentryLevel info) { FILE: sentrystub/src/main/java/io/sentry/Integration.java type Integration (line 3) | public interface Integration { FILE: sentrystub/src/main/java/io/sentry/Scope.java class Scope (line 3) | public class Scope { method addBreadcrumb (line 4) | public void addBreadcrumb(Breadcrumb breadcrumb) { FILE: sentrystub/src/main/java/io/sentry/ScopeCallback.java type ScopeCallback (line 3) | public interface ScopeCallback { method run (line 4) | void run(Scope scope); FILE: sentrystub/src/main/java/io/sentry/Sentry.java class Sentry (line 3) | public class Sentry { method configureScope (line 6) | public static void configureScope(ScopeCallback callback) { type OptionsConfiguration (line 10) | public interface OptionsConfiguration { method configure (line 16) | void configure(T options); FILE: sentrystub/src/main/java/io/sentry/SentryLevel.java type SentryLevel (line 3) | public enum SentryLevel { FILE: sentrystub/src/main/java/io/sentry/SentryOptions.java class SentryOptions (line 3) | public class SentryOptions { method addIntegration (line 4) | public void addIntegration(Integration integration) { FILE: sentrystub/src/main/java/io/sentry/android/core/SentryAndroid.java class SentryAndroid (line 8) | public class SentryAndroid { method init (line 9) | public static void init(Context context, Sentry.OptionsConfiguration