Удаление лишних комментариев /* loaded from: classes.dex */
This commit is contained in:
Generated
+1
-1
@@ -1,6 +1,6 @@
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.bda.controller;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class BaseEvent implements Parcelable {
|
||||
public static final Parcelable.Creator<BaseEvent> CREATOR = new ParcelableCreator();
|
||||
final int mControllerId;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.bda.controller;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public final class Constants {
|
||||
public static final int MSG_SET_ACTIVITY_EVENT = 1;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import com.bda.controller.IControllerListener;
|
||||
import com.bda.controller.IControllerMonitor;
|
||||
import com.bda.controller.IControllerService;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public final class Controller {
|
||||
public static final int ACTION_CONNECTED = 1;
|
||||
public static final int ACTION_CONNECTING = 2;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.bda.controller;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ControllerListener {
|
||||
void onKeyEvent(KeyEvent keyEvent);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.bda.controller;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ControllerMonitor {
|
||||
void onLog(int i, int i2, String str);
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IControllerListener extends IInterface {
|
||||
void onKeyEvent(KeyEvent keyEvent) throws RemoteException;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IControllerMonitor extends IInterface {
|
||||
void onLog(int i, int i2, String str) throws RemoteException;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import android.os.RemoteException;
|
||||
import com.bda.controller.IControllerListener;
|
||||
import com.bda.controller.IControllerMonitor;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IControllerService extends IInterface {
|
||||
void allowNewConnections() throws RemoteException;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.bda.controller;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public final class KeyEvent extends BaseEvent implements Parcelable {
|
||||
public static final int ACTION_DOWN = 0;
|
||||
public static final int ACTION_UP = 1;
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.SparseArray;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public final class MotionEvent extends BaseEvent implements Parcelable {
|
||||
public static final int AXIS_LTRIGGER = 17;
|
||||
public static final int AXIS_RTRIGGER = 18;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.bda.controller;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class StateEvent extends BaseEvent implements Parcelable {
|
||||
public static final int ACTION_CONNECTED = 1;
|
||||
public static final int ACTION_CONNECTING = 2;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.bda.controller;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class VersionInfo {
|
||||
public static final String VERSION = "1.3.0.130130";
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.app.Activity;
|
||||
import android.content.res.AssetManager;
|
||||
import android.os.Environment;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class EAIO {
|
||||
public static native void Shutdown();
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.EAMIO;
|
||||
import android.app.Activity;
|
||||
import android.os.Environment;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class StorageDirectory {
|
||||
public static Activity sActivity;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.eadp.deviceid;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface DeviceIdService {
|
||||
String getDeviceId();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.eadp.http.models;
|
||||
|
||||
import java.net.URL;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface HttpRequest {
|
||||
HttpResponse delete();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.eadp.http.models;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface HttpRequestListener {
|
||||
void onComplete(HttpResponse httpResponse);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.eadp.http.models;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface HttpResponse {
|
||||
String getBody();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.ea.eadp.http.models.HttpRequest;
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface HttpService {
|
||||
HttpRequest getResource(String str) throws MalformedURLException, IOException;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.eadp.pushnotification.listeners;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IPushListener {
|
||||
void onConnectionError(int i, String str);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import android.hardware.SensorEvent;
|
||||
import android.hardware.SensorEventListener;
|
||||
import android.hardware.SensorManager;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Accelerometer implements SensorEventListener {
|
||||
private int bufferReadIndex;
|
||||
private int bufferSize;
|
||||
|
||||
@@ -5,8 +5,11 @@ import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Typeface;
|
||||
import android.util.Log;
|
||||
|
||||
import nfs.mod.mpcore.MultiplayerCore;
|
||||
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class BitmapGraphics {
|
||||
private Bitmap bitmap;
|
||||
private Canvas canvas = new Canvas();
|
||||
@@ -55,7 +58,7 @@ public class BitmapGraphics {
|
||||
return Typeface.createFromFile(str);
|
||||
}
|
||||
|
||||
public void drawString(Paint paint, String str, int i, int i2) {
|
||||
this.canvas.drawText(str, i, i2, paint);
|
||||
public void drawString(Paint paint, String str, int x, int y) {
|
||||
this.canvas.drawText(str, x, y, paint);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.ironmonkey;
|
||||
|
||||
import javax.microedition.khronos.opengles.GL10;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface DrawFrameListener {
|
||||
void onDrawFrame(GL10 gl10);
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ import org.fmod.FMODAudioDevice;
|
||||
|
||||
import nfs.mod.mpcore.MultiplayerCore;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class GameActivityMain extends AppCompatActivity implements DrawFrameListener {
|
||||
private static final String DOWNLOAD_PROPERTIES = "downloadcontent/config.properties";
|
||||
public static final int LIFECYCLE_CREATED = 1;
|
||||
@@ -193,7 +193,6 @@ public class GameActivityMain extends AppCompatActivity implements DrawFrameList
|
||||
|
||||
@Override // android.app.Activity
|
||||
public void onCreate(Bundle bundle) {
|
||||
restoreSave();
|
||||
Log.setEnable(true);
|
||||
Log.i(TAG, "onCreate");
|
||||
super.onCreate(bundle);
|
||||
@@ -209,15 +208,7 @@ public class GameActivityMain extends AppCompatActivity implements DrawFrameList
|
||||
}
|
||||
this.handler = new Handler();
|
||||
setLifecycle(1);
|
||||
Log.d("Model", Build.MODEL);
|
||||
if (Build.MODEL.length() > 4 && Build.MODEL.substring(0, 4).equals("R800")) {
|
||||
this.isXperiaPlay = true;
|
||||
}
|
||||
String packageName = getPackageName();
|
||||
if (packageName.endsWith("_azn_na") || packageName.endsWith("_azn_row")) {
|
||||
Log.d(TAG, "It's Amazon dev");
|
||||
isAmazonDev = true;
|
||||
}
|
||||
|
||||
if (!isAtLeastAPI(18) && getRequestedOrientation() != ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE) {
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE);
|
||||
}
|
||||
@@ -227,8 +218,8 @@ public class GameActivityMain extends AppCompatActivity implements DrawFrameList
|
||||
}
|
||||
getWindow().setFlags(1024, 1024);
|
||||
requestWindowFeature(1);
|
||||
this.mOrientationListener = new OrientationEventListener(getApplicationContext()) { // from class: com.ea.ironmonkey.GameActivityMain.1
|
||||
@Override // android.view.OrientationEventListener
|
||||
this.mOrientationListener = new OrientationEventListener(getApplicationContext()) {
|
||||
@Override
|
||||
public void onOrientationChanged(int i) {
|
||||
int rotation;
|
||||
if (GameActivityMain.this.accelerometer == null || GameActivityMain.this.mRotation == (rotation = GameActivityMain.this.getWindow().getWindowManager().getDefaultDisplay().getRotation())) {
|
||||
@@ -251,21 +242,7 @@ public class GameActivityMain extends AppCompatActivity implements DrawFrameList
|
||||
sIsOtherMusicPlaying = mAudioManager.isMusicActive();
|
||||
Log.i(TAG, "onCreate() isMusicActive = " + Boolean.toString(sIsOtherMusicPlaying));
|
||||
this.mFMODAudioDevice = new FMODAudioDevice();
|
||||
if (isAmazonDev) {
|
||||
try {
|
||||
Log.d(TAG, "onCreate open resources.json");
|
||||
InputStream open = getAssetManager().open("resources.json");
|
||||
this.mResources = new Gson().fromJson(new InputStreamReader(open), new TypeToken<Map<String, Map<String, FSNode>>>() { // from class: com.ea.ironmonkey.GameActivityMain.2
|
||||
}.getType());
|
||||
Log.d(TAG, "onCreate resources.json contains " + Integer.toString(this.mResources.size()) + " items");
|
||||
open.close();
|
||||
this.mAssetLocationType = AssetLocationType.ASSETS;
|
||||
} catch (Exception e) {
|
||||
Log.d(TAG, "onCreate exception on opening resources.json");
|
||||
Log.e(TAG, e.getMessage());
|
||||
this.mResources = new HashMap();
|
||||
}
|
||||
}
|
||||
|
||||
if (this.mAssetLocationType != AssetLocationType.ASSETS) {
|
||||
try {
|
||||
InputStream open2 = getResources().getAssets().open("obb.size");
|
||||
|
||||
@@ -8,7 +8,7 @@ import javax.microedition.khronos.egl.EGLConfig;
|
||||
import javax.microedition.khronos.egl.EGLContext;
|
||||
import javax.microedition.khronos.egl.EGLDisplay;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class GameGLSurfaceView extends GLSurfaceView {
|
||||
private static final String TAG = "GameGLSurfaceView";
|
||||
private boolean enableHistoricalEvents;
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.opengl.GLSurfaceView;
|
||||
import javax.microedition.khronos.egl.EGLConfig;
|
||||
import javax.microedition.khronos.opengles.GL10;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class GameRenderer implements GLSurfaceView.Renderer {
|
||||
static GL10 _gl;
|
||||
private int _height;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.ironmonkey;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Log {
|
||||
private static boolean enable;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import com.bda.controller.KeyEvent;
|
||||
import com.bda.controller.MotionEvent;
|
||||
import com.bda.controller.StateEvent;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class MogaController implements ControllerListener {
|
||||
native void nativeOnKeyEvent(KeyEvent keyEvent);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.ironmonkey;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class ObbHelper {
|
||||
ObbHelper() {
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.provider.Settings;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
@@ -68,8 +69,8 @@ public class PermissionsActivity extends AppCompatActivity {
|
||||
permissions.add(Manifest.permission.READ_EXTERNAL_STORAGE);
|
||||
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
// Android 13+ - новые раздельные разрешения для медиа
|
||||
permissions.add(Manifest.permission.READ_MEDIA_IMAGES);
|
||||
permissions.add(Manifest.permission.READ_MEDIA_VIDEO);
|
||||
//permissions.add(Manifest.permission.READ_MEDIA_IMAGES);
|
||||
//permissions.add(Manifest.permission.READ_MEDIA_VIDEO);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
|
||||
// Android 14+ - дополнительно для аудио
|
||||
permissions.add(Manifest.permission.READ_MEDIA_AUDIO);
|
||||
@@ -79,6 +80,10 @@ public class PermissionsActivity extends AppCompatActivity {
|
||||
permissions.add(Manifest.permission.READ_EXTERNAL_STORAGE);
|
||||
}
|
||||
|
||||
permissions.forEach(e -> {
|
||||
Log.i("Permissions", e);
|
||||
});
|
||||
|
||||
return permissions.toArray(new String[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.ironmonkey;
|
||||
|
||||
import android.opengl.GLSurfaceView;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class RunLoop {
|
||||
public static final int STATE_RUNNING = 1;
|
||||
public static final int STATE_STOPPED = 0;
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.nio.ByteOrder;
|
||||
import java.nio.FloatBuffer;
|
||||
import javax.microedition.khronos.opengles.GL10;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class SplashScreen {
|
||||
private static final String TAG = "SplashScreen";
|
||||
private Activity _activity;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import android.app.Activity;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class ApplicationEnvironment {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.applicationEnvironment";
|
||||
public static final String NIMBLE_PARAMETER_ANDROID_ID = "androidId";
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class ApplicationEnvironmentImpl extends Component implements IApplicationEnvironment, LogSource {
|
||||
private static final String KEY_GAME_PLAYER_ID = "gamePlayerId";
|
||||
private static final int MILLIS_IN_AN_HOUR = 3600000;
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class ApplicationLifecycle {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.applicationlifecycle";
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import com.ea.nimble.Log;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class ApplicationLifecycleImpl extends Component implements IApplicationLifecycle, LogSource {
|
||||
private static final boolean RESTART_ON_CONFIG_CHANGE;
|
||||
private BaseCore m_core;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class BackgroundNetworkConnection extends NetworkConnection {
|
||||
@Override // com.ea.nimble.NetworkConnection
|
||||
void cancelForAppSuspend() {
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import com.ea.nimble.Log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Base {
|
||||
public static void setupNimble() {
|
||||
Log.Helper.LOGPUBLICFUNCS("Base");
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.lang.reflect.Method;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class BaseCore implements IApplicationLifecycle.ApplicationLifecycleCallbacks {
|
||||
public static final String NIMBLE_COMPONENT_LIST = "setting::components";
|
||||
public static final String NIMBLE_LOG_SETTING = "setting::log";
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.ListIterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class ByteBufferIOStream {
|
||||
protected static final int SEGMENT_SIZE = 4096;
|
||||
protected int m_availableSegment;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public abstract class Component {
|
||||
protected void cleanup() {
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.util.LinkedHashMap;
|
||||
import java.util.ListIterator;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class ComponentManager implements LogSource {
|
||||
private Map<String, Component> m_components = new LinkedHashMap();
|
||||
private Stage m_stage = Stage.CREATE;
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class EASPDataLoader {
|
||||
|
||||
public static class LogEvent {
|
||||
|
||||
@@ -19,7 +19,7 @@ import javax.crypto.SecretKeyFactory;
|
||||
import javax.crypto.spec.PBEKeySpec;
|
||||
import javax.crypto.spec.PBEParameterSpec;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class Encryptor {
|
||||
private static int ENCRYPTION_KEY_LENGHT = 128;
|
||||
private static int ENCRYPTION_KEY_ROUND = 997;
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class EnvironmentDataContainer implements ISynergyEnvironment, Externalizable, LogSource {
|
||||
private static final int SYNERGY_DIRECTOR_RESPONSE_APP_VERSION_OK = 0;
|
||||
private static final int SYNERGY_DIRECTOR_RESPONSE_APP_VERSION_UPGRADE_RECOMMENDED = 1;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Facebook {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.facebook";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface FacebookCallback {
|
||||
void callback(IFacebook iFacebook, boolean z, Exception exc);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class FacebookImpl extends Component implements IFacebook, LogSource, IApplicationLifecycle.ActivityLifecycleCallbacks, IApplicationLifecycle.ActivityEventCallbacks {
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Global {
|
||||
public static final String NIMBLE_AUTHENTICATOR_ANONYMOUS = "anonymous";
|
||||
public static final String NIMBLE_AUTHENTICATOR_FACEBOOK = "facebook";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class HttpError extends Error {
|
||||
public static final String ERROR_DOMAIN = "HttpError";
|
||||
private static final long serialVersionUID = 1;
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.net.URL;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class HttpRequest implements IHttpRequest {
|
||||
private static int DEFAULT_NETWORK_TIMEOUT = 30;
|
||||
public ByteArrayOutputStream data;
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class HttpResponse implements IHttpResponse {
|
||||
public Exception error;
|
||||
public URL url = null;
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.nimble;
|
||||
import android.content.Context;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IApplicationEnvironment {
|
||||
public static final String UNAVAILABLE_ADVERTISING_ID = "";
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IApplicationLifecycle {
|
||||
|
||||
public interface ActivityEventCallbacks {
|
||||
|
||||
@@ -6,7 +6,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.json.JSONArray;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IFacebook {
|
||||
public static final String NIMBLE_NOTIFICATION_FACEBOOK_STATUS_CHANGED = "nimble.notification.facebook.statuschanged";
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.net.URL;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IHttpResponse {
|
||||
InputStream getDataStream();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ILog {
|
||||
|
||||
public interface LogCallback {
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.ea.nimble.Network;
|
||||
import java.net.URL;
|
||||
import java.util.HashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface INetwork {
|
||||
void forceRedetectNetworkStatus();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface INimbleBadgeProvider {
|
||||
int getBadgeCount();
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface INimbleLocalNotifications {
|
||||
void cancelAllNotifications();
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.nimble;
|
||||
import java.util.List;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IOperationalTelemetryDispatch {
|
||||
public static final String EVENTTYPE_NETWORK_METRICS = "com.ea.nimble.network";
|
||||
public static final String EVENTTYPE_TRACKING_SYNERGY_PAYLOADS = "com.ea.nimble.trackingimpl.synergy";
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.nimble;
|
||||
import com.ea.nimble.Persistence;
|
||||
import com.ea.nimble.PersistenceService;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface IPersistenceService {
|
||||
void cleanPersistenceReference(String str, Persistence.Storage storage);
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ISynergyEnvironment {
|
||||
public static final int NETWORK_CONNECTION_NONE = 1;
|
||||
public static final int NETWORK_CONNECTION_UNKNOWN = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ISynergyIdManager {
|
||||
String getAnonymousSynergyId();
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.nimble;
|
||||
import com.ea.nimble.ISynergyRequest;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ISynergyNetwork {
|
||||
SynergyNetworkConnectionHandle sendGetRequest(String str, String str2, Map<String, String> map, SynergyNetworkConnectionCallback synergyNetworkConnectionCallback);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ISynergyRequest {
|
||||
|
||||
public interface IJsonData {
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface ISynergyResponse {
|
||||
Exception getError();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Log {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.NimbleLog";
|
||||
public static final int LEVEL_ALL = 0;
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.apache.http.HttpHeaders;
|
||||
|
||||
import kotlin.text.Charsets;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class LogImpl extends Component implements ILog {
|
||||
private static final int DEFAULT_CHECK_INTERVAL = 3600;
|
||||
private static final int DEFAULT_CONSOLE_OUTPUT_LIMIT = 4000;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface LogSource {
|
||||
String getLogSourceTitle();
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import java.net.URL;
|
||||
import java.net.URLEncoder;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Network {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.network";
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.json.JSONTokener;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class NetworkConnection implements NetworkConnectionHandle, Runnable, LogSource {
|
||||
private static final int MAXIMUM_RAW_DATA_LENGTH = 1048576;
|
||||
static int s_loggingIdCount = 100;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface NetworkConnectionCallback {
|
||||
void callback(NetworkConnectionHandle networkConnectionHandle);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface NetworkConnectionHandle {
|
||||
void cancel();
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class NetworkImpl extends Component implements INetwork, LogSource {
|
||||
private static final String BACKUP_NETWORK_REACHABILITY_CHECK_URL = "https://www.google.com";
|
||||
private static final int DETECTION_TIMEOUT = 30;
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.app.Activity;
|
||||
import android.content.pm.PackageManager;
|
||||
import com.ea.nimble.Log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class NimbleApplicationConfiguration {
|
||||
private static final String LOG_TITLE = "AppConfig";
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import com.ea.nimble.Log;
|
||||
|
||||
import org.apache.http.BuildConfig;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public enum NimbleConfiguration {
|
||||
UNKNOWN,
|
||||
INTEGRATION,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class NimbleFacebookError extends Error {
|
||||
public static final String NIMBLE_FACEBOOK_ERROR_DOMAIN = "NimbleFacebookError";
|
||||
private static final long serialVersionUID = 1;
|
||||
|
||||
@@ -5,7 +5,7 @@ import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class NimbleLocalNotificationReceiver extends BroadcastReceiver {
|
||||
public static final String NIMBLE_LOCAL_NOTIFICATION_RECEIVED = "nimble.notification.localNotificationReceived";
|
||||
private static final String NOTIFICATION_TRACKING2_LOG_EVENT = "nimble.notification.tracking2.logEvent";
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import com.ea.nimble.Log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class NimbleLocalNotifications {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.base.localNotifications";
|
||||
static final String KEY_NOTIFICATION_ID = "pushId";
|
||||
|
||||
@@ -8,7 +8,7 @@ import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class NimbleLocalNotificationsImpl extends Component implements INimbleLocalNotifications {
|
||||
private static String BADGE_ID = "Nimble_BadgeNotification";
|
||||
private static final String NOTIFICATION_TRACKING2_LOG_EVENT = "nimble.notification.tracking2.logEvent";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class OperationalTelemetryDispatch {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.operationaltelemetrydispatch";
|
||||
public static final String LOG_TAG = "OTDispatch";
|
||||
|
||||
@@ -9,7 +9,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class OperationalTelemetryDispatchImpl extends Component implements IOperationalTelemetryDispatch, LogSource {
|
||||
private List<OperationalTelemetryEvent> m_networkMetricsArray = new ArrayList();
|
||||
private List<OperationalTelemetryEvent> m_networkPayloadsArray = new ArrayList();
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.nimble;
|
||||
import java.util.Date;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface OperationalTelemetryEvent {
|
||||
JSONObject getEventDictionary();
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.ea.nimble;
|
||||
import java.util.Date;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class OperationalTelemetryEventImpl implements OperationalTelemetryEvent {
|
||||
private JSONObject m_eventDictionary;
|
||||
private String m_eventType;
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class Persistence implements LogSource {
|
||||
private static int PERSISTENCE_VERSION = 101;
|
||||
static final Object s_dataLock = new Object();
|
||||
|
||||
@@ -10,7 +10,7 @@ import com.ea.nimble.Persistence;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class PersistenceService {
|
||||
private static final String APPLICATION_PERSISTENCE_ID = "[APPLICATION]";
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.persistence";
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.util.Iterator;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class PersistenceServiceImpl extends Component implements IPersistenceService, LogSource {
|
||||
private Encryptor m_encryptor;
|
||||
protected ConcurrentMap<String, Persistence> m_persistences;
|
||||
|
||||
@@ -2,7 +2,7 @@ package com.ea.nimble;
|
||||
|
||||
import com.ea.nimble.Persistence;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class QA {
|
||||
static String getPersistencePath(String str, Persistence.Storage storage) {
|
||||
return Persistence.getPersistencePath(str, storage);
|
||||
|
||||
@@ -5,7 +5,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import com.ea.nimble.Log;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class ReferrerReceiver extends BroadcastReceiver {
|
||||
@Override // android.content.BroadcastReceiver
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class SynergyEnvironment {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.synergyEnvironment";
|
||||
public static final int INVALID_INT_VALUE = -1;
|
||||
|
||||
@@ -12,7 +12,7 @@ import com.ea.nimble.SynergyEnvironmentUpdater;
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class SynergyEnvironmentImpl extends Component implements ISynergyEnvironment, LogSource {
|
||||
private static final String PERSISTENCE_DATA_ID = "environmentData";
|
||||
public static final int SYNERGY_APP_VERSION_OK = 0;
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class SynergyEnvironmentUpdater implements LogSource {
|
||||
private static final int GET_ANONUID_MAX_RETRY_ATTEMPTS = 3;
|
||||
private static final int GET_DIRECTION_MAX_RETRY_ATTEMPTS = 3;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class SynergyIdManager {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.synergyidmanager";
|
||||
public static final String LOG_TAG = "SynergyID";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class SynergyIdManagerError extends Error {
|
||||
public static final String ERROR_DOMAIN = "NimbleSynergyIdManager";
|
||||
private static final long serialVersionUID = 1;
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.ea.nimble.Persistence;
|
||||
import com.ea.nimble.SynergyIdManagerError;
|
||||
import java.util.HashMap;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class SynergyIdManagerImpl extends Component implements ISynergyIdManager, LogSource {
|
||||
private static final String ANONYMOUS_ID_PERSISTENCE_DATA_ID = "anonymousId";
|
||||
private static final String AUTHENTICATOR_PERSISTENCE_DATA_ID = "authenticator";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public class SynergyNetwork {
|
||||
public static final String COMPONENT_ID = "com.ea.nimble.synergynetwork";
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import java.util.Map;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
class SynergyNetworkConnection implements SynergyNetworkConnectionHandle {
|
||||
private SynergyNetworkConnectionCallback m_completionCallback;
|
||||
private SynergyRequest m_request;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
|
||||
public interface SynergyNetworkConnectionCallback {
|
||||
void callback(SynergyNetworkConnectionHandle synergyNetworkConnectionHandle);
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user