<commit_before>package com.simperium.android;

import android.content.Context;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteDatabase;

import com.koushikdutta.async.http.AsyncHttpClient;

import org.thoughtcrime.ssl.pinning.PinningTrustManager;
import org.thoughtcrime.ssl.pinning.SystemKeyStore;

import com.simperium.BuildConfig;
import com.simperium.Simperium;
import com.simperium.Version;
import com.simperium.client.ClientFactory;
import com.simperium.util.Uuid;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
import javax.net.ssl.TrustManager;

import android.net.Uri;
import android.util.Log;

/**
 * Refactoring as much of the android specific components of the client
 * and decoupling different parts of the API.
 */
public class AndroidClient implements ClientFactory {

    public static final String TAG = "Simperium.AndroidClient";
    public static final String SHARED_PREFERENCES_NAME = "simperium";
    public static final String DEFAULT_DATABASE_NAME = "simperium-store";
    public static final String SESSION_ID_PREFERENCE = "simperium-session-id";

    public static final String WEBSOCKET_URL = "https://api.simperium.com/sock/1/%s/websocket";
    public static final String USER_AGENT_HEADER = "User-Agent";

    protected Context mContext;
    protected SQLiteDatabase mDatabase;
    protected final String mSessionId;
<commit_msg>Removing unused imports<commit_after>package com.simperium.android;

import android.content.Context;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteDatabase;

import com.koushikdutta.async.http.AsyncHttpClient;

import org.thoughtcrime.ssl.pinning.PinningTrustManager;
import org.thoughtcrime.ssl.pinning.SystemKeyStore;

import com.simperium.BuildConfig;
import com.simperium.Version;
import com.simperium.client.ClientFactory;
import com.simperium.util.Uuid;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.ExecutorService;
import javax.net.ssl.TrustManager;

import android.util.Log;

/**
 * Refactoring as much of the android specific components of the client
 * and decoupling different parts of the API.
 */
public class AndroidClient implements ClientFactory {

    public static final String TAG = "Simperium.AndroidClient";
    public static final String SHARED_PREFERENCES_NAME = "simperium";
    public static final String DEFAULT_DATABASE_NAME = "simperium-store";
    public static final String SESSION_ID_PREFERENCE = "simperium-session-id";

    public static final String WEBSOCKET_URL = "https://api.simperium.com/sock/1/%s/websocket";
    public static final String USER_AGENT_HEADER = "User-Agent";

    protected Context mContext;
    protected SQLiteDatabase mDatabase;
    protected final String mSessionId;

{'fraction_non_alphanumeric': 0.08177408177408177, 'fraction_numerical': 0.000693000693000693, 'mean_word_length': 5.345054945054945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '828050', 'n_tokens_mistral': 858, 'n_tokens_neox': 831, 'n_words': 208}