Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
package com.google.android.gms.location;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.Objects;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@SafeParcelable.Class(creator = "ActivityTransitionCreator")
|
||||
@SafeParcelable.Reserved({1000})
|
||||
/* loaded from: classes3.dex */
|
||||
public class ActivityTransition extends AbstractSafeParcelable {
|
||||
public static final int ACTIVITY_TRANSITION_ENTER = 0;
|
||||
public static final int ACTIVITY_TRANSITION_EXIT = 1;
|
||||
public static final Parcelable.Creator<ActivityTransition> CREATOR = new zze();
|
||||
|
||||
@SafeParcelable.Field(getter = "getActivityType", id = 1)
|
||||
private final int zza;
|
||||
|
||||
@SafeParcelable.Field(getter = "getTransitionType", id = 2)
|
||||
private final int zzb;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public static class Builder {
|
||||
private int zza = -1;
|
||||
private int zzb = -1;
|
||||
|
||||
public ActivityTransition build() {
|
||||
Preconditions.checkState(this.zza != -1, "Activity type not set.");
|
||||
Preconditions.checkState(this.zzb != -1, "Activity transition type not set.");
|
||||
return new ActivityTransition(this.zza, this.zzb);
|
||||
}
|
||||
|
||||
public Builder setActivityTransition(int i) {
|
||||
ActivityTransition.zza(i);
|
||||
this.zzb = i;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setActivityType(int i) {
|
||||
this.zza = i;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface SupportedActivityTransition {
|
||||
}
|
||||
|
||||
@SafeParcelable.Constructor
|
||||
public ActivityTransition(@SafeParcelable.Param(id = 1) int i, @SafeParcelable.Param(id = 2) int i4) {
|
||||
this.zza = i;
|
||||
this.zzb = i4;
|
||||
}
|
||||
|
||||
public static void zza(int i) {
|
||||
boolean z3 = false;
|
||||
if (i >= 0 && i <= 1) {
|
||||
z3 = true;
|
||||
}
|
||||
Preconditions.checkArgument(z3, "Transition type " + i + " is not valid.");
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof ActivityTransition)) {
|
||||
return false;
|
||||
}
|
||||
ActivityTransition activityTransition = (ActivityTransition) obj;
|
||||
return this.zza == activityTransition.zza && this.zzb == activityTransition.zzb;
|
||||
}
|
||||
|
||||
public int getActivityType() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
public int getTransitionType() {
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return Objects.hashCode(Integer.valueOf(this.zza), Integer.valueOf(this.zzb));
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ActivityTransition [mActivityType=" + this.zza + ", mTransitionType=" + this.zzb + "]";
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public void writeToParcel(Parcel parcel, int i) {
|
||||
Preconditions.checkNotNull(parcel);
|
||||
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeInt(parcel, 1, getActivityType());
|
||||
SafeParcelWriter.writeInt(parcel, 2, getTransitionType());
|
||||
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user