Compare commits

..

No commits in common. "54f12876ababfc11346b5bdadbd0aec5ebcb5d3d" and "d854bc3af313e9d47d75aa4c24ae001bd5750669" have entirely different histories.

59 changed files with 165 additions and 1421 deletions

View File

@ -112,7 +112,7 @@ public class unproxiedConnectionController extends AppCompatActivity {
} }
} }
System.gc(); System.gc();
if(mURL.contains("play.g**gle.comcom")){ if(mURL.contains("play.google.com")){
mWebView.setWebChromeClient(new WebChromeClient()); mWebView.setWebChromeClient(new WebChromeClient());
mWebView.loadUrl(mURL); mWebView.loadUrl(mURL);
finish(); finish();

View File

@ -3,7 +3,7 @@ package com.hiddenservices.onionservices.constants;
public class constants { public class constants {
/*LOCAL URL CONSTANTS*/ /*LOCAL URL CONSTANTS*/
public static final String CONST_PLAYSTORE_URL = "http://play.g**gle.comcom/store/apps/details?id=com.hiddenservices.onionservices"; public static final String CONST_PLAYSTORE_URL = "http://play.google.com/store/apps/details?id=com.hiddenservices.onionservices";
public static final String CONST_AMAZON_URL = "http://www.amazon.com/gp/mas/dl/android?p=com.darkweb.genesissearchengine.production"; public static final String CONST_AMAZON_URL = "http://www.amazon.com/gp/mas/dl/android?p=com.darkweb.genesissearchengine.production";
public static final String CONST_SAMSUNG_URL = "http://www.samsungapps.com/appquery/appDetail.as?appId=com.darkweb.genesissearchengine.production"; public static final String CONST_SAMSUNG_URL = "http://www.samsungapps.com/appquery/appDetail.as?appId=com.darkweb.genesissearchengine.production";
public static final String CONST_HUAWEI_URL = "https://appgallery.cloud.huawei.com/uowap/index.html#/detailApp/C106142211?appId=C106142211"; public static final String CONST_HUAWEI_URL = "https://appgallery.cloud.huawei.com/uowap/index.html#/detailApp/C106142211?appId=C106142211";
@ -21,14 +21,14 @@ public class constants {
/*DRIVE URL DEV*/ /*DRIVE URL DEV*/
public static final String CONST_SERVER_DEV = "https://drive.g**gle.comcom/uc?export=download&id=1uuLYjij9z149V1nXwteXsMsxi6BnnYWO"; public static final String CONST_SERVER_DEV = "https://drive.google.com/uc?export=download&id=1uuLYjij9z149V1nXwteXsMsxi6BnnYWO";
public static final String CONST_GENESIS_REFERENCE_WEBSITES_DEV = "https://drive.g**gle.comcom/uc?export=download&id=1NnlsAcIojS0KiM5rHznAxu61Jdhlsai-"; public static final String CONST_GENESIS_REFERENCE_WEBSITES_DEV = "https://drive.google.com/uc?export=download&id=1NnlsAcIojS0KiM5rHznAxu61Jdhlsai-";
public static final String CONST_GENESIS_BRIDGE_WEBSITES_DEV = "https://drive.g**gle.comcom/uc?export=download&id=1qMnhJPQkQEzHMUcDmKO0wdCrqB63CDOj"; public static final String CONST_GENESIS_BRIDGE_WEBSITES_DEV = "https://drive.google.com/uc?export=download&id=1qMnhJPQkQEzHMUcDmKO0wdCrqB63CDOj";
/*DRIVE URL PRODUCTION*/ /*DRIVE URL PRODUCTION*/
public static final String CONST_SERVER = "https://drive.g**gle.comcom/uc?export=download&id=1ALCooJQEtPYgyTm9XfYmkzSl_WuiBzeX"; public static final String CONST_SERVER = "https://drive.google.com/uc?export=download&id=1ALCooJQEtPYgyTm9XfYmkzSl_WuiBzeX";
public static final String CONST_GENESIS_REFERENCE_WEBSITES = "https://drive.g**gle.comcom/uc?export=download&id=1meNaswi7kmITqLLTb0fIXY2wgw_cG290"; public static final String CONST_GENESIS_REFERENCE_WEBSITES = "https://drive.google.com/uc?export=download&id=1meNaswi7kmITqLLTb0fIXY2wgw_cG290";
public static final String CONST_GENESIS_BRIDGE_WEBSITES = "http://167.86.99.31/.well-known/bridges.txt"; public static final String CONST_GENESIS_BRIDGE_WEBSITES = "http://167.86.99.31/.well-known/bridges.txt";
/*URL CONSTANTS*/ /*URL CONSTANTS*/

View File

@ -3,4 +3,4 @@ snowflake-front cdn.sstatic.net
snowflake-stun stun:stun.stunprotocol.org:3478 snowflake-stun stun:stun.stunprotocol.org:3478
moat-cdn https://d50gd378qj74g.cloudfront.net/ moat-cdn https://d50gd378qj74g.cloudfront.net/
moat-url https://moat.torproject.org.global.prod.fastly.net/ moat-url https://moat.torproject.org.global.prod.fastly.net/
moat-front fastly.jsdelivr.net moat-front cdn.sstatic.net

View File

@ -464,7 +464,7 @@ public class OrbotService extends VpnService implements OrbotConstants {
var capacity = 1; var capacity = 1;
var keepLocalAddresses = false; var keepLocalAddresses = false;
var unsafeLogging = false; var unsafeLogging = false;
var stunUrl = "stun:stun.l.g**gle.com:19302"; var stunUrl = "stun:stun.l.google.com:19302";
var relayUrl = "wss://snowflake.bamsoftware.com"; var relayUrl = "wss://snowflake.bamsoftware.com";
var natProbeUrl = "https://snowflake-broker.torproject.net:8443/probe"; var natProbeUrl = "https://snowflake-broker.torproject.net:8443/probe";
var brokerUrl = "https://snowflake-broker.torproject.net/"; var brokerUrl = "https://snowflake-broker.torproject.net/";
@ -1456,8 +1456,8 @@ public class OrbotService extends VpnService implements OrbotConstants {
private String writeDNSFile() throws IOException { private String writeDNSFile() throws IOException {
var file = new File(appBinHome, "resolv.conf"); var file = new File(appBinHome, "resolv.conf");
var bw = new PrintWriter(new FileWriter(file)); var bw = new PrintWriter(new FileWriter(file));
bw.println("nameserver 9.9.9.9"); bw.println("nameserver 8.8.8.8");
bw.println("nameserver 9.9.9.9"); bw.println("nameserver 8.8.4.4");
bw.close(); bw.close();
return file.getCanonicalPath(); return file.getCanonicalPath();
} }
@ -1588,9 +1588,9 @@ public class OrbotService extends VpnService implements OrbotConstants {
} }
private void startSnowflakeClientAmpRendezvous() { private void startSnowflakeClientAmpRendezvous() {
var stunServers = "stun:stun.l.g**gle.com:19302,stun:stun.antisip.com:3478,stun:stun.bluesip.net:3478,stun:stun.dus.net:3478,stun:stun.epygi.com:3478,stun:stun.sonetel.com:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.voys.nl:3478"; var stunServers = "stun:stun.l.google.com:19302,stun:stun.antisip.com:3478,stun:stun.bluesip.net:3478,stun:stun.dus.net:3478,stun:stun.epygi.com:3478,stun:stun.sonetel.com:3478,stun:stun.uls.co.za:3478,stun:stun.voipgate.com:3478,stun:stun.voys.nl:3478";
var target = "https://snowflake-broker.torproject.net/"; var target = "https://snowflake-broker.torproject.net/";
var front = "www.g**gle.com"; var front = "www.google.com";
var ampCache ="https://cdn.ampproject.org/"; var ampCache ="https://cdn.ampproject.org/";
IPtProxy.startSnowflake(stunServers, target, front, ampCache, null, true, false, false, 1); IPtProxy.startSnowflake(stunServers, target, front, ampCache, null, true, false, false, 1);
} }

View File

@ -26,7 +26,7 @@ android {
kotlinOptions { kotlinOptions {
jvmTarget = '1.8' jvmTarget = '1.8'
} }
namespace 'org.leos.telemetry' namespace 'org.mozilla.telemetry'
} }
dependencies { dependencies {

View File

@ -2,28 +2,28 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry; package org.mozilla.telemetry;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.event.TelemetryEvent; import org.mozilla.telemetry.event.TelemetryEvent;
import org.leos.telemetry.measurement.ClientIdMeasurement; import org.mozilla.telemetry.measurement.ClientIdMeasurement;
import org.leos.telemetry.measurement.DefaultSearchMeasurement; import org.mozilla.telemetry.measurement.DefaultSearchMeasurement;
import org.leos.telemetry.measurement.EventsMeasurement; import org.mozilla.telemetry.measurement.EventsMeasurement;
import org.leos.telemetry.measurement.ExperimentsMapMeasurement; import org.mozilla.telemetry.measurement.ExperimentsMapMeasurement;
import org.leos.telemetry.net.TelemetryClient; import org.mozilla.telemetry.net.TelemetryClient;
import org.leos.telemetry.ping.TelemetryCorePingBuilder; import org.mozilla.telemetry.ping.TelemetryCorePingBuilder;
import org.leos.telemetry.ping.TelemetryEventPingBuilder; import org.mozilla.telemetry.ping.TelemetryEventPingBuilder;
import org.leos.telemetry.ping.TelemetryMobileEventPingBuilder; import org.mozilla.telemetry.ping.TelemetryMobileEventPingBuilder;
import org.leos.telemetry.ping.TelemetryPing; import org.mozilla.telemetry.ping.TelemetryPing;
import org.leos.telemetry.ping.TelemetryPingBuilder; import org.mozilla.telemetry.ping.TelemetryPingBuilder;
import org.leos.telemetry.ping.TelemetryPocketEventPingBuilder; import org.mozilla.telemetry.ping.TelemetryPocketEventPingBuilder;
import org.leos.telemetry.schedule.TelemetryScheduler; import org.mozilla.telemetry.schedule.TelemetryScheduler;
import org.leos.telemetry.storage.TelemetryStorage; import org.mozilla.telemetry.storage.TelemetryStorage;
import java.util.Collection; import java.util.Collection;
import java.util.HashMap; import java.util.HashMap;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry; package org.mozilla.telemetry;
/** /**
* Holder of a static reference to the Telemetry instance. This is required for background services * Holder of a static reference to the Telemetry instance. This is required for background services

View File

@ -2,13 +2,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.config; package org.mozilla.telemetry.config;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import org.leos.telemetry.measurement.SettingsMeasurement; import org.mozilla.telemetry.measurement.SettingsMeasurement;
import org.leos.telemetry.util.ContextUtils; import org.mozilla.telemetry.util.ContextUtils;
import java.io.File; import java.io.File;
import java.util.Collections; import java.util.Collections;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.event; package org.mozilla.telemetry.event;
import android.os.SystemClock; import android.os.SystemClock;
import androidx.annotation.CheckResult; import androidx.annotation.CheckResult;
@ -11,8 +11,8 @@ import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;
import org.json.JSONArray; import org.json.JSONArray;
import org.json.JSONObject; import org.json.JSONObject;
import org.leos.telemetry.TelemetryHolder; import org.mozilla.telemetry.TelemetryHolder;
import org.leos.telemetry.util.StringUtils; import org.mozilla.telemetry.util.StringUtils;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.os.Build; import android.os.Build;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;

View File

@ -2,11 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import java.util.UUID; import java.util.UUID;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import java.text.DateFormat; import java.text.DateFormat;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
public class CreatedTimestampMeasurement extends TelemetryMeasurement { public class CreatedTimestampMeasurement extends TelemetryMeasurement {
private static final String FIELD_NAME = "created"; private static final String FIELD_NAME = "created";

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
/** /**
* The field 'created' from CreatedTimestampMeasurement will be deprecated for the `createdTimestamp` field * The field 'created' from CreatedTimestampMeasurement will be deprecated for the `createdTimestamp` field

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import org.json.JSONObject; import org.json.JSONObject;

View File

@ -2,13 +2,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.os.Build; import android.os.Build;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import org.leos.telemetry.util.StringUtils; import org.mozilla.telemetry.util.StringUtils;
public class DeviceMeasurement extends TelemetryMeasurement { public class DeviceMeasurement extends TelemetryMeasurement {
private static final String FIELD_NAME = "device"; private static final String FIELD_NAME = "device";

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
@ -10,9 +10,9 @@ import android.util.Log;
import org.json.JSONArray; import org.json.JSONArray;
import org.json.JSONException; import org.json.JSONException;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.event.TelemetryEvent; import org.mozilla.telemetry.event.TelemetryEvent;
import org.leos.telemetry.util.IOUtils; import org.mozilla.telemetry.util.IOUtils;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.BufferedWriter; import java.io.BufferedWriter;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement package org.mozilla.telemetry.measurement
import org.json.JSONObject import org.json.JSONObject
import kotlin.collections.forEach as withEach import kotlin.collections.forEach as withEach

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import org.json.JSONArray; import org.json.JSONArray;

View File

@ -2,12 +2,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import java.util.Locale; import java.util.Locale;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import org.json.JSONObject; import org.json.JSONObject;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
public class OperatingSystemMeasurement extends StaticMeasurement { public class OperatingSystemMeasurement extends StaticMeasurement {
private static final String FIELD_NAME = "os"; private static final String FIELD_NAME = "os";

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.os.Build; import android.os.Build;

View File

@ -2,11 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import java.util.UUID; import java.util.UUID;

View File

@ -2,9 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
public class ProcessStartTimestampMeasurement extends TelemetryMeasurement { public class ProcessStartTimestampMeasurement extends TelemetryMeasurement {
private static final String FIELD_NAME = "processStartTimestamp"; private static final String FIELD_NAME = "processStartTimestamp";

View File

@ -2,14 +2,14 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import java.util.Collections; import java.util.Collections;
import java.util.HashSet; import java.util.HashSet;

View File

@ -2,12 +2,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.ping.TelemetryPingBuilder; import org.mozilla.telemetry.ping.TelemetryPingBuilder;
public class SequenceMeasurement extends TelemetryMeasurement { public class SequenceMeasurement extends TelemetryMeasurement {
private static final String FIELD_NAME = "seq"; private static final String FIELD_NAME = "seq";

View File

@ -2,11 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
public class SessionCountMeasurement extends TelemetryMeasurement { public class SessionCountMeasurement extends TelemetryMeasurement {
private static final String FIELD_NAME = "sessions"; private static final String FIELD_NAME = "sessions";

View File

@ -2,12 +2,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;

View File

@ -2,13 +2,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import android.preference.PreferenceManager; import android.preference.PreferenceManager;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
public class StaticMeasurement extends TelemetryMeasurement { public class StaticMeasurement extends TelemetryMeasurement {
private final Object value; private final Object value;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
public abstract class TelemetryMeasurement { public abstract class TelemetryMeasurement {
private final String fieldName; private final String fieldName;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.measurement; package org.mozilla.telemetry.measurement;
public class VersionMeasurement extends StaticMeasurement { public class VersionMeasurement extends StaticMeasurement {
private static final String FIELD_NAME = "v"; private static final String FIELD_NAME = "v";

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.net package org.mozilla.telemetry.net
import androidx.annotation.VisibleForTesting import androidx.annotation.VisibleForTesting
import mozilla.components.concept.fetch.Client import mozilla.components.concept.fetch.Client
@ -10,7 +10,7 @@ import mozilla.components.concept.fetch.MutableHeaders
import mozilla.components.concept.fetch.Request import mozilla.components.concept.fetch.Request
import mozilla.components.concept.fetch.Response import mozilla.components.concept.fetch.Response
import mozilla.components.support.base.log.logger.Logger import mozilla.components.support.base.log.logger.Logger
import org.leos.telemetry.config.TelemetryConfiguration import org.mozilla.telemetry.config.TelemetryConfiguration
import java.io.IOException import java.io.IOException
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Calendar import java.util.Calendar

View File

@ -2,23 +2,23 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.measurement.ArchMeasurement; import org.mozilla.telemetry.measurement.ArchMeasurement;
import org.leos.telemetry.measurement.CreatedDateMeasurement; import org.mozilla.telemetry.measurement.CreatedDateMeasurement;
import org.leos.telemetry.measurement.DefaultSearchMeasurement; import org.mozilla.telemetry.measurement.DefaultSearchMeasurement;
import org.leos.telemetry.measurement.DeviceMeasurement; import org.mozilla.telemetry.measurement.DeviceMeasurement;
import org.leos.telemetry.measurement.ExperimentsMeasurement; import org.mozilla.telemetry.measurement.ExperimentsMeasurement;
import org.leos.telemetry.measurement.FirstRunProfileDateMeasurement; import org.mozilla.telemetry.measurement.FirstRunProfileDateMeasurement;
import org.leos.telemetry.measurement.LocaleMeasurement; import org.mozilla.telemetry.measurement.LocaleMeasurement;
import org.leos.telemetry.measurement.OperatingSystemMeasurement; import org.mozilla.telemetry.measurement.OperatingSystemMeasurement;
import org.leos.telemetry.measurement.OperatingSystemVersionMeasurement; import org.mozilla.telemetry.measurement.OperatingSystemVersionMeasurement;
import org.leos.telemetry.measurement.SearchesMeasurement; import org.mozilla.telemetry.measurement.SearchesMeasurement;
import org.leos.telemetry.measurement.SequenceMeasurement; import org.mozilla.telemetry.measurement.SequenceMeasurement;
import org.leos.telemetry.measurement.SessionCountMeasurement; import org.mozilla.telemetry.measurement.SessionCountMeasurement;
import org.leos.telemetry.measurement.SessionDurationMeasurement; import org.mozilla.telemetry.measurement.SessionDurationMeasurement;
import org.leos.telemetry.measurement.TimezoneOffsetMeasurement; import org.mozilla.telemetry.measurement.TimezoneOffsetMeasurement;
/** /**
* This mobile-specific ping is intended to provide the most critical data in a concise format, * This mobile-specific ping is intended to provide the most critical data in a concise format,

View File

@ -2,10 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.measurement.*; import org.mozilla.telemetry.measurement.*;
/** /**
* A telemetry ping builder for pings of type "focus-event". * A telemetry ping builder for pings of type "focus-event".

View File

@ -2,10 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.measurement.*; import org.mozilla.telemetry.measurement.*;
/** /**
* A telemetry ping builder for events of type "mobile-event". * A telemetry ping builder for events of type "mobile-event".

View File

@ -2,22 +2,22 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import org.json.JSONObject; import org.json.JSONObject;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.measurement.ArchMeasurement; import org.mozilla.telemetry.measurement.ArchMeasurement;
import org.leos.telemetry.measurement.CreatedDateMeasurementNew; import org.mozilla.telemetry.measurement.CreatedDateMeasurementNew;
import org.leos.telemetry.measurement.CreatedTimestampMeasurementNew; import org.mozilla.telemetry.measurement.CreatedTimestampMeasurementNew;
import org.leos.telemetry.measurement.DeviceMeasurement; import org.mozilla.telemetry.measurement.DeviceMeasurement;
import org.leos.telemetry.measurement.FirstRunProfileDateMeasurement; import org.mozilla.telemetry.measurement.FirstRunProfileDateMeasurement;
import org.leos.telemetry.measurement.LocaleMeasurement; import org.mozilla.telemetry.measurement.LocaleMeasurement;
import org.leos.telemetry.measurement.MetricsMeasurement; import org.mozilla.telemetry.measurement.MetricsMeasurement;
import org.leos.telemetry.measurement.OperatingSystemMeasurement; import org.mozilla.telemetry.measurement.OperatingSystemMeasurement;
import org.leos.telemetry.measurement.OperatingSystemVersionMeasurement; import org.mozilla.telemetry.measurement.OperatingSystemVersionMeasurement;
import org.leos.telemetry.measurement.ProcessStartTimestampMeasurement; import org.mozilla.telemetry.measurement.ProcessStartTimestampMeasurement;
import org.leos.telemetry.measurement.SequenceMeasurement; import org.mozilla.telemetry.measurement.SequenceMeasurement;
import org.leos.telemetry.measurement.TimezoneOffsetMeasurement; import org.mozilla.telemetry.measurement.TimezoneOffsetMeasurement;
/** /**
* A telemetry ping builder for events of type "mobile-metrics". * A telemetry ping builder for events of type "mobile-metrics".

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import java.util.Map; import java.util.Map;

View File

@ -2,16 +2,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.measurement.ClientIdMeasurement; import org.mozilla.telemetry.measurement.ClientIdMeasurement;
import org.leos.telemetry.measurement.TelemetryMeasurement; import org.mozilla.telemetry.measurement.TelemetryMeasurement;
import org.leos.telemetry.measurement.VersionMeasurement; import org.mozilla.telemetry.measurement.VersionMeasurement;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.LinkedList; import java.util.LinkedList;

View File

@ -2,19 +2,19 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.ping; package org.mozilla.telemetry.ping;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.measurement.CreatedTimestampMeasurement; import org.mozilla.telemetry.measurement.CreatedTimestampMeasurement;
import org.leos.telemetry.measurement.DeviceMeasurement; import org.mozilla.telemetry.measurement.DeviceMeasurement;
import org.leos.telemetry.measurement.EventsMeasurement; import org.mozilla.telemetry.measurement.EventsMeasurement;
import org.leos.telemetry.measurement.LocaleMeasurement; import org.mozilla.telemetry.measurement.LocaleMeasurement;
import org.leos.telemetry.measurement.OperatingSystemMeasurement; import org.mozilla.telemetry.measurement.OperatingSystemMeasurement;
import org.leos.telemetry.measurement.OperatingSystemVersionMeasurement; import org.mozilla.telemetry.measurement.OperatingSystemVersionMeasurement;
import org.leos.telemetry.measurement.PocketIdMeasurement; import org.mozilla.telemetry.measurement.PocketIdMeasurement;
import org.leos.telemetry.measurement.ProcessStartTimestampMeasurement; import org.mozilla.telemetry.measurement.ProcessStartTimestampMeasurement;
import org.leos.telemetry.measurement.SequenceMeasurement; import org.mozilla.telemetry.measurement.SequenceMeasurement;
import org.leos.telemetry.measurement.TimezoneOffsetMeasurement; import org.mozilla.telemetry.measurement.TimezoneOffsetMeasurement;
/** /**
* A telemetry ping builder for events of type "fire-tv-events". * A telemetry ping builder for events of type "fire-tv-events".

View File

@ -2,9 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.schedule; package org.mozilla.telemetry.schedule;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
public interface TelemetryScheduler { public interface TelemetryScheduler {
void scheduleUpload(TelemetryConfiguration configuration); void scheduleUpload(TelemetryConfiguration configuration);

View File

@ -2,15 +2,15 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.schedule.jobscheduler; package org.mozilla.telemetry.schedule.jobscheduler;
import android.app.job.JobInfo; import android.app.job.JobInfo;
import android.app.job.JobScheduler; import android.app.job.JobScheduler;
import android.content.ComponentName; import android.content.ComponentName;
import android.content.Context; import android.content.Context;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.schedule.TelemetryScheduler; import org.mozilla.telemetry.schedule.TelemetryScheduler;
/** /**
* TelemetryScheduler implementation that uses Android's JobScheduler API to schedule ping uploads. * TelemetryScheduler implementation that uses Android's JobScheduler API to schedule ping uploads.

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.schedule.jobscheduler; package org.mozilla.telemetry.schedule.jobscheduler;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.job.JobParameters; import android.app.job.JobParameters;
@ -12,12 +12,12 @@ import android.os.AsyncTask;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import android.util.Log; import android.util.Log;
import org.leos.telemetry.Telemetry; import org.mozilla.telemetry.Telemetry;
import org.leos.telemetry.TelemetryHolder; import org.mozilla.telemetry.TelemetryHolder;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.net.TelemetryClient; import org.mozilla.telemetry.net.TelemetryClient;
import org.leos.telemetry.ping.TelemetryPingBuilder; import org.mozilla.telemetry.ping.TelemetryPingBuilder;
import org.leos.telemetry.storage.TelemetryStorage; import org.mozilla.telemetry.storage.TelemetryStorage;
import java.util.Calendar; import java.util.Calendar;

View File

@ -2,11 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.serialize; package org.mozilla.telemetry.serialize;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import org.leos.telemetry.ping.TelemetryPing; import org.mozilla.telemetry.ping.TelemetryPing;
import java.util.Map; import java.util.Map;

View File

@ -2,9 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.serialize; package org.mozilla.telemetry.serialize;
import org.leos.telemetry.ping.TelemetryPing; import org.mozilla.telemetry.ping.TelemetryPing;
public interface TelemetryPingSerializer { public interface TelemetryPingSerializer {
String serialize(TelemetryPing ping); String serialize(TelemetryPing ping);

View File

@ -2,17 +2,17 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.storage; package org.mozilla.telemetry.storage;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;
import androidx.annotation.VisibleForTesting; import androidx.annotation.VisibleForTesting;
import android.util.Log; import android.util.Log;
import org.leos.telemetry.config.TelemetryConfiguration; import org.mozilla.telemetry.config.TelemetryConfiguration;
import org.leos.telemetry.ping.TelemetryPing; import org.mozilla.telemetry.ping.TelemetryPing;
import org.leos.telemetry.serialize.TelemetryPingSerializer; import org.mozilla.telemetry.serialize.TelemetryPingSerializer;
import org.leos.telemetry.util.FileUtils; import org.mozilla.telemetry.util.FileUtils;
import org.leos.telemetry.util.IOUtils; import org.mozilla.telemetry.util.IOUtils;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.BufferedWriter; import java.io.BufferedWriter;

View File

@ -2,9 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.storage; package org.mozilla.telemetry.storage;
import org.leos.telemetry.ping.TelemetryPing; import org.mozilla.telemetry.ping.TelemetryPing;
public interface TelemetryStorage { public interface TelemetryStorage {
interface TelemetryStorageCallback { interface TelemetryStorageCallback {

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.util; package org.mozilla.telemetry.util;
import android.content.Context; import android.content.Context;
import android.content.pm.ApplicationInfo; import android.content.pm.ApplicationInfo;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.util; package org.mozilla.telemetry.util;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.util; package org.mozilla.telemetry.util;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;

View File

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.leos.telemetry.util; package org.mozilla.telemetry.util;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo; import androidx.annotation.RestrictTo;

View File

@ -13,6 +13,7 @@ include ':app'
include ':shutterbug' include ':shutterbug'
include ':orbotmanager' include ':orbotmanager'
include ':android-database-sqlcipher' include ':android-database-sqlcipher'
include ':service-telemetry'
include ':tor-android' include ':tor-android'
include ':OrbotLib' include ':OrbotLib'
include ':xcrash_lib' include ':xcrash_lib'