2010-02-08 20:39:42 +00:00
|
|
|
/* Copyright (c) 2009, Nathan Freitas, Orbot/The Guardian Project - http://openideals.com/guardian */
|
2009-11-30 16:50:26 +00:00
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
package org.torproject.android;
|
|
|
|
|
2015-03-28 04:39:58 +00:00
|
|
|
public interface OrbotConstants {
|
2009-11-30 16:50:26 +00:00
|
|
|
|
2010-02-08 20:39:42 +00:00
|
|
|
public final static String TAG = "Orbot";
|
2010-07-23 11:10:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
public final static String PREFS_KEY = "OrbotPrefs";
|
|
|
|
public final static String PREFS_KEY_TORIFIED = "PrefTord";
|
2009-11-30 16:50:26 +00:00
|
|
|
|
2010-02-08 20:39:42 +00:00
|
|
|
public final static int FILE_WRITE_BUFFER_SIZE = 2048;
|
2009-11-30 16:50:26 +00:00
|
|
|
|
|
|
|
//path to check Tor against
|
2010-02-10 06:54:13 +00:00
|
|
|
public final static String URL_TOR_CHECK = "https://check.torproject.org";
|
2009-11-30 16:50:26 +00:00
|
|
|
|
2015-04-03 16:27:59 +00:00
|
|
|
public final static String URL_TOR_BRIDGES = "https://bridges.torproject.org/bridges?transport=";
|
2009-11-30 16:50:26 +00:00
|
|
|
|
2010-02-08 20:39:42 +00:00
|
|
|
public final static String NEWLINE = "\n";
|
2009-11-30 16:50:26 +00:00
|
|
|
|
2014-02-23 00:16:55 +00:00
|
|
|
// public final static String INTENT_TOR_SERVICE = "org.torproject.android.service.TOR_SERVICE";
|
2010-02-08 20:39:42 +00:00
|
|
|
|
|
|
|
public final static String HANDLER_TOR_MSG = "torServiceMsg";
|
|
|
|
|
|
|
|
public final static String PREF_BRIDGES_ENABLED = "pref_bridges_enabled";
|
|
|
|
public final static String PREF_BRIDGES_UPDATED = "pref_bridges_enabled";
|
|
|
|
public final static String PREF_BRIDGES_LIST = "pref_bridges_list";
|
2014-05-04 04:35:14 +00:00
|
|
|
//public final static String PREF_BRIDGES_OBFUSCATED = "pref_bridges_obfuscated";
|
2010-03-06 04:11:36 +00:00
|
|
|
public final static String PREF_OR = "pref_or";
|
|
|
|
public final static String PREF_OR_PORT = "pref_or_port";
|
2010-03-06 01:08:10 +00:00
|
|
|
public final static String PREF_OR_NICKNAME = "pref_or_nickname";
|
2010-03-06 04:46:53 +00:00
|
|
|
public final static String PREF_REACHABLE_ADDRESSES = "pref_reachable_addresses";
|
|
|
|
public final static String PREF_REACHABLE_ADDRESSES_PORTS = "pref_reachable_addresses_ports";
|
2010-02-24 05:09:24 +00:00
|
|
|
public final static String PREF_TRANSPARENT = "pref_transparent";
|
2010-07-28 04:43:58 +00:00
|
|
|
public final static String PREF_TRANSPARENT_ALL = "pref_transparent_all";
|
|
|
|
|
2011-10-28 04:31:08 +00:00
|
|
|
public final static String PREF_HAS_ROOT = "has_root";
|
2011-11-03 20:14:50 +00:00
|
|
|
public final static int RESULT_CLOSE_ALL = 0;
|
2010-02-24 05:09:24 +00:00
|
|
|
|
2012-01-13 01:58:21 +00:00
|
|
|
public final static String PREF_USE_SYSTEM_IPTABLES = "pref_use_sys_iptables";
|
2010-02-24 05:09:24 +00:00
|
|
|
|
2012-01-26 01:05:30 +00:00
|
|
|
public final static String PREF_PERSIST_NOTIFICATIONS = "pref_persistent_notifications";
|
|
|
|
|
2012-02-12 06:25:41 +00:00
|
|
|
public final static String PREF_DEFAULT_LOCALE = "pref_default_locale";
|
|
|
|
|
2013-08-19 13:34:03 +00:00
|
|
|
public final static String PREF_DISABLE_NETWORK = "pref_disable_network";
|
2013-08-23 16:56:04 +00:00
|
|
|
|
2013-08-23 20:44:15 +00:00
|
|
|
public final static String PREF_TOR_SHARED_PREFS = "org.torproject.android_preferences";
|
2014-05-02 04:39:59 +00:00
|
|
|
|
|
|
|
public final static int MAX_LOG_LENGTH = 10000;
|
|
|
|
|
2014-06-06 13:59:10 +00:00
|
|
|
public final static String PREF_SOCKS = "pref_socks";
|
|
|
|
|
2009-11-30 16:50:26 +00:00
|
|
|
}
|