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:
80
apk_decompiled/sources/A1/a.java
Normal file
80
apk_decompiled/sources/A1/a.java
Normal file
@@ -0,0 +1,80 @@
|
||||
package A1;
|
||||
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import com.adif.elcanomovil.serviceStorage.database.AvisaStationDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationCategoryEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.util.ArrayList;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class a implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f33a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ w f34b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ AvisaStationDao_Impl f35c;
|
||||
|
||||
public /* synthetic */ a(AvisaStationDao_Impl avisaStationDao_Impl, w wVar, int i) {
|
||||
this.f33a = i;
|
||||
this.f35c = avisaStationDao_Impl;
|
||||
this.f34b = wVar;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
u uVar;
|
||||
Cursor M3;
|
||||
u uVar2;
|
||||
switch (this.f33a) {
|
||||
case 0:
|
||||
uVar = this.f35c.__db;
|
||||
M3 = AbstractC0105a.M(uVar, this.f34b, false);
|
||||
try {
|
||||
int r4 = m3.l.r(M3, "catId");
|
||||
int r5 = m3.l.r(M3, "title");
|
||||
ArrayList arrayList = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
arrayList.add(new AvisaStationCategoryEntity(M3.getString(r4), M3.getString(r5)));
|
||||
}
|
||||
return arrayList;
|
||||
} finally {
|
||||
}
|
||||
default:
|
||||
uVar2 = this.f35c.__db;
|
||||
M3 = AbstractC0105a.M(uVar2, this.f34b, false);
|
||||
try {
|
||||
int r6 = m3.l.r(M3, "stId");
|
||||
int r7 = m3.l.r(M3, AppMeasurementSdk.ConditionalUserProperty.NAME);
|
||||
int r8 = m3.l.r(M3, "code");
|
||||
int r9 = m3.l.r(M3, "latitude");
|
||||
int r10 = m3.l.r(M3, "longitude");
|
||||
ArrayList arrayList2 = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
arrayList2.add(new AvisaStationEntity(M3.getString(r6), M3.getString(r7), M3.getString(r8), M3.isNull(r9) ? null : Double.valueOf(M3.getDouble(r9)), M3.isNull(r10) ? null : Double.valueOf(M3.getDouble(r10))));
|
||||
}
|
||||
return arrayList2;
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void finalize() {
|
||||
switch (this.f33a) {
|
||||
case 0:
|
||||
this.f34b.release();
|
||||
return;
|
||||
default:
|
||||
this.f34b.release();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
168
apk_decompiled/sources/A1/b.java
Normal file
168
apk_decompiled/sources/A1/b.java
Normal file
@@ -0,0 +1,168 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteTrainEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationCategoryEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionAuxEntity;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class b extends androidx.room.j {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ int f36d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public /* synthetic */ b(u uVar, int i) {
|
||||
super(uVar);
|
||||
this.f36d = i;
|
||||
}
|
||||
|
||||
@Override // androidx.room.y
|
||||
public final String b() {
|
||||
switch (this.f36d) {
|
||||
case 0:
|
||||
return "INSERT OR REPLACE INTO `AvisaStation` (`stId`,`name`,`code`,`latitude`,`longitude`) VALUES (?,?,?,?,?)";
|
||||
case 1:
|
||||
return "INSERT OR REPLACE INTO `AvisaStationCategory` (`catId`,`title`) VALUES (?,?)";
|
||||
case 2:
|
||||
return "INSERT OR REPLACE INTO `FavouriteEntity` (`favouriteId`,`identifierStation`,`stationName`,`identifierToStation`,`stationToName`,`type`,`isCercanias`,`isRodalies`) VALUES (nullif(?, 0),?,?,?,?,?,?,?)";
|
||||
case 3:
|
||||
return "INSERT OR REPLACE INTO `FavouriteTrainEntity` (`commercialNumber`,`originStationCode`,`destinationStationCode`,`launchingDate`,`operator`,`commercialProduct`,`timeStationFrom`,`timeStationTo`) VALUES (?,?,?,?,?,?,?,?)";
|
||||
case 4:
|
||||
return "INSERT OR REPLACE INTO `StationEntity` (`stationCode`,`stationType`,`longName`,`shortName`,`longNameToFind`,`shortNameToFind`,`latitude`,`longitude`,`trafficType`,`commercialZoneType`,`commuterNetwork`,`akaName`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)";
|
||||
default:
|
||||
return "INSERT OR REPLACE INTO `SubscriptionAuxEntity` (`subcriptionAuxId`,`subscriptionType`,`operator`,`commercialProduct`) VALUES (nullif(?, 0),?,?,?)";
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.room.j
|
||||
public final void d(InterfaceC0649e interfaceC0649e, Object obj) {
|
||||
switch (this.f36d) {
|
||||
case 0:
|
||||
AvisaStationEntity avisaStationEntity = (AvisaStationEntity) obj;
|
||||
interfaceC0649e.k(1, avisaStationEntity.getStId());
|
||||
interfaceC0649e.k(2, avisaStationEntity.getName());
|
||||
interfaceC0649e.k(3, avisaStationEntity.getCode());
|
||||
if (avisaStationEntity.getLatitude() == null) {
|
||||
interfaceC0649e.t(4);
|
||||
} else {
|
||||
interfaceC0649e.v(4, avisaStationEntity.getLatitude().doubleValue());
|
||||
}
|
||||
if (avisaStationEntity.getLongitude() == null) {
|
||||
interfaceC0649e.t(5);
|
||||
return;
|
||||
} else {
|
||||
interfaceC0649e.v(5, avisaStationEntity.getLongitude().doubleValue());
|
||||
return;
|
||||
}
|
||||
case 1:
|
||||
AvisaStationCategoryEntity avisaStationCategoryEntity = (AvisaStationCategoryEntity) obj;
|
||||
interfaceC0649e.k(1, avisaStationCategoryEntity.getCatId());
|
||||
interfaceC0649e.k(2, avisaStationCategoryEntity.getTitle());
|
||||
return;
|
||||
case 2:
|
||||
FavouriteEntity favouriteEntity = (FavouriteEntity) obj;
|
||||
interfaceC0649e.I(1, favouriteEntity.getFavouriteId());
|
||||
if (favouriteEntity.getIdentifierStation() == null) {
|
||||
interfaceC0649e.t(2);
|
||||
} else {
|
||||
interfaceC0649e.k(2, favouriteEntity.getIdentifierStation());
|
||||
}
|
||||
if (favouriteEntity.getStationName() == null) {
|
||||
interfaceC0649e.t(3);
|
||||
} else {
|
||||
interfaceC0649e.k(3, favouriteEntity.getStationName());
|
||||
}
|
||||
if (favouriteEntity.getIdentifierToStation() == null) {
|
||||
interfaceC0649e.t(4);
|
||||
} else {
|
||||
interfaceC0649e.k(4, favouriteEntity.getIdentifierToStation());
|
||||
}
|
||||
if (favouriteEntity.getStationToName() == null) {
|
||||
interfaceC0649e.t(5);
|
||||
} else {
|
||||
interfaceC0649e.k(5, favouriteEntity.getStationToName());
|
||||
}
|
||||
interfaceC0649e.k(6, favouriteEntity.getType());
|
||||
if ((favouriteEntity.isCercanias() == null ? null : Integer.valueOf(favouriteEntity.isCercanias().booleanValue() ? 1 : 0)) == null) {
|
||||
interfaceC0649e.t(7);
|
||||
} else {
|
||||
interfaceC0649e.I(7, r4.intValue());
|
||||
}
|
||||
if ((favouriteEntity.isRodalies() != null ? Integer.valueOf(favouriteEntity.isRodalies().booleanValue() ? 1 : 0) : null) == null) {
|
||||
interfaceC0649e.t(8);
|
||||
return;
|
||||
} else {
|
||||
interfaceC0649e.I(8, r0.intValue());
|
||||
return;
|
||||
}
|
||||
case 3:
|
||||
FavouriteTrainEntity favouriteTrainEntity = (FavouriteTrainEntity) obj;
|
||||
interfaceC0649e.k(1, favouriteTrainEntity.getCommercialNumber());
|
||||
interfaceC0649e.k(2, favouriteTrainEntity.getOriginStationCode());
|
||||
interfaceC0649e.k(3, favouriteTrainEntity.getDestinationStationCode());
|
||||
interfaceC0649e.I(4, favouriteTrainEntity.getLaunchingDate());
|
||||
if (favouriteTrainEntity.getOperator() == null) {
|
||||
interfaceC0649e.t(5);
|
||||
} else {
|
||||
interfaceC0649e.k(5, favouriteTrainEntity.getOperator());
|
||||
}
|
||||
if (favouriteTrainEntity.getCommercialProduct() == null) {
|
||||
interfaceC0649e.t(6);
|
||||
} else {
|
||||
interfaceC0649e.k(6, favouriteTrainEntity.getCommercialProduct());
|
||||
}
|
||||
if (favouriteTrainEntity.getTimeStationFrom() == null) {
|
||||
interfaceC0649e.t(7);
|
||||
} else {
|
||||
interfaceC0649e.k(7, favouriteTrainEntity.getTimeStationFrom());
|
||||
}
|
||||
if (favouriteTrainEntity.getTimeStationTo() == null) {
|
||||
interfaceC0649e.t(8);
|
||||
return;
|
||||
} else {
|
||||
interfaceC0649e.k(8, favouriteTrainEntity.getTimeStationTo());
|
||||
return;
|
||||
}
|
||||
case 4:
|
||||
StationEntity stationEntity = (StationEntity) obj;
|
||||
interfaceC0649e.k(1, stationEntity.getStationCode());
|
||||
interfaceC0649e.k(2, stationEntity.getStationType());
|
||||
interfaceC0649e.k(3, stationEntity.getLongName());
|
||||
interfaceC0649e.k(4, stationEntity.getShortName());
|
||||
interfaceC0649e.k(5, stationEntity.getLongNameToFind());
|
||||
interfaceC0649e.k(6, stationEntity.getShortNameToFind());
|
||||
interfaceC0649e.v(7, stationEntity.getLatitude());
|
||||
interfaceC0649e.v(8, stationEntity.getLongitude());
|
||||
interfaceC0649e.I(9, stationEntity.getTrafficType());
|
||||
if (stationEntity.getCommercialZoneType() == null) {
|
||||
interfaceC0649e.t(10);
|
||||
} else {
|
||||
interfaceC0649e.k(10, stationEntity.getCommercialZoneType());
|
||||
}
|
||||
interfaceC0649e.k(11, stationEntity.getCommuterNetwork());
|
||||
interfaceC0649e.k(12, stationEntity.getAkaName());
|
||||
return;
|
||||
default:
|
||||
SubscriptionAuxEntity subscriptionAuxEntity = (SubscriptionAuxEntity) obj;
|
||||
interfaceC0649e.I(1, subscriptionAuxEntity.getSubcriptionAuxId());
|
||||
interfaceC0649e.k(2, subscriptionAuxEntity.getSubscriptionType());
|
||||
if (subscriptionAuxEntity.getOperator() == null) {
|
||||
interfaceC0649e.t(3);
|
||||
} else {
|
||||
interfaceC0649e.k(3, subscriptionAuxEntity.getOperator());
|
||||
}
|
||||
if (subscriptionAuxEntity.getCommercialProduct() == null) {
|
||||
interfaceC0649e.t(4);
|
||||
return;
|
||||
} else {
|
||||
interfaceC0649e.k(4, subscriptionAuxEntity.getCommercialProduct());
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
43
apk_decompiled/sources/A1/c.java
Normal file
43
apk_decompiled/sources/A1/c.java
Normal file
@@ -0,0 +1,43 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class c extends y {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ int f37d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public /* synthetic */ c(u uVar, int i) {
|
||||
super(uVar);
|
||||
this.f37d = i;
|
||||
}
|
||||
|
||||
@Override // androidx.room.y
|
||||
public final String b() {
|
||||
switch (this.f37d) {
|
||||
case 0:
|
||||
return "DELETE FROM AvisaStation";
|
||||
case 1:
|
||||
return "DELETE FROM AvisaStationCategory";
|
||||
case 2:
|
||||
return "DELETE FROM FavouriteEntity";
|
||||
case 3:
|
||||
return "DELETE FROM FavouriteEntity WHERE identifierStation = ? AND isCercanias = ? AND type LIKE ?";
|
||||
case 4:
|
||||
return "DELETE FROM FavouriteEntity WHERE identifierStation = ? AND identifierToStation =? AND isCercanias = ? AND type LIKE ?";
|
||||
case 5:
|
||||
return "DELETE FROM FavouriteTrainEntity WHERE commercialNumber = ? AND originStationCode = ? AND destinationStationCode = ?";
|
||||
case 6:
|
||||
return "DELETE FROM IncidenceEntity";
|
||||
case 7:
|
||||
return "DELETE FROM StationEntity";
|
||||
case 8:
|
||||
return "DELETE FROM SubscriptionEntity WHERE active = ? ";
|
||||
default:
|
||||
return "DELETE FROM SubscriptionEntity WHERE subcriptionId = ? ";
|
||||
}
|
||||
}
|
||||
}
|
||||
50
apk_decompiled/sources/A1/d.java
Normal file
50
apk_decompiled/sources/A1/d.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package A1;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.AvisaStationDao_Impl;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class d implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f38a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ List f39b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ AvisaStationDao_Impl f40c;
|
||||
|
||||
public /* synthetic */ d(AvisaStationDao_Impl avisaStationDao_Impl, List list, int i) {
|
||||
this.f38a = i;
|
||||
this.f40c = avisaStationDao_Impl;
|
||||
this.f39b = list;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
AvisaStationDao_Impl avisaStationDao_Impl;
|
||||
switch (this.f38a) {
|
||||
case 0:
|
||||
avisaStationDao_Impl = this.f40c;
|
||||
AvisaStationDao_Impl.access$000(avisaStationDao_Impl).beginTransaction();
|
||||
try {
|
||||
AvisaStationDao_Impl.access$100(avisaStationDao_Impl).e(this.f39b);
|
||||
AvisaStationDao_Impl.access$000(avisaStationDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
default:
|
||||
avisaStationDao_Impl = this.f40c;
|
||||
AvisaStationDao_Impl.access$000(avisaStationDao_Impl).beginTransaction();
|
||||
try {
|
||||
AvisaStationDao_Impl.access$200(avisaStationDao_Impl).e(this.f39b);
|
||||
AvisaStationDao_Impl.access$000(avisaStationDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
74
apk_decompiled/sources/A1/e.java
Normal file
74
apk_decompiled/sources/A1/e.java
Normal file
@@ -0,0 +1,74 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.AvisaStationDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class e implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f41a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ AvisaStationDao_Impl f42b;
|
||||
|
||||
public /* synthetic */ e(AvisaStationDao_Impl avisaStationDao_Impl, int i) {
|
||||
this.f41a = i;
|
||||
this.f42b = avisaStationDao_Impl;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
AvisaStationDao_Impl avisaStationDao_Impl;
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
y yVar3;
|
||||
y yVar4;
|
||||
u uVar3;
|
||||
u uVar4;
|
||||
switch (this.f41a) {
|
||||
case 0:
|
||||
avisaStationDao_Impl = this.f42b;
|
||||
yVar = avisaStationDao_Impl.__preparedStmtOfDeleteAll;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
try {
|
||||
uVar = avisaStationDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar2 = avisaStationDao_Impl.__db;
|
||||
uVar2.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
} finally {
|
||||
yVar2 = avisaStationDao_Impl.__preparedStmtOfDeleteAll;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
default:
|
||||
avisaStationDao_Impl = this.f42b;
|
||||
yVar3 = avisaStationDao_Impl.__preparedStmtOfDeleteCategories;
|
||||
InterfaceC0649e a4 = yVar3.a();
|
||||
try {
|
||||
uVar3 = avisaStationDao_Impl.__db;
|
||||
uVar3.beginTransaction();
|
||||
try {
|
||||
a4.o();
|
||||
uVar4 = avisaStationDao_Impl.__db;
|
||||
uVar4.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
} finally {
|
||||
yVar4 = avisaStationDao_Impl.__preparedStmtOfDeleteCategories;
|
||||
yVar4.c(a4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
62
apk_decompiled/sources/A1/g.java
Normal file
62
apk_decompiled/sources/A1/g.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class g implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f44a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f45b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ String f46c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ FavouritesDao_Impl f47d;
|
||||
|
||||
public g(FavouritesDao_Impl favouritesDao_Impl, int i, boolean z3, String str) {
|
||||
this.f47d = favouritesDao_Impl;
|
||||
this.f44a = i;
|
||||
this.f45b = z3;
|
||||
this.f46c = str;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
FavouritesDao_Impl favouritesDao_Impl = this.f47d;
|
||||
yVar = favouritesDao_Impl.__preparedStmtOfDeleteFavouriteStationType;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
a2.I(1, this.f44a);
|
||||
a2.I(2, this.f45b ? 1L : 0L);
|
||||
a2.k(3, this.f46c);
|
||||
try {
|
||||
uVar = favouritesDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar3 = favouritesDao_Impl.__db;
|
||||
uVar3.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar2 = favouritesDao_Impl.__db;
|
||||
uVar2.endTransaction();
|
||||
}
|
||||
} finally {
|
||||
yVar2 = favouritesDao_Impl.__preparedStmtOfDeleteFavouriteStationType;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
}
|
||||
}
|
||||
67
apk_decompiled/sources/A1/h.java
Normal file
67
apk_decompiled/sources/A1/h.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class h implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f48a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ int f49b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f50c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ String f51d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ FavouritesDao_Impl f52e;
|
||||
|
||||
public h(FavouritesDao_Impl favouritesDao_Impl, int i, int i4, boolean z3, String str) {
|
||||
this.f52e = favouritesDao_Impl;
|
||||
this.f48a = i;
|
||||
this.f49b = i4;
|
||||
this.f50c = z3;
|
||||
this.f51d = str;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
FavouritesDao_Impl favouritesDao_Impl = this.f52e;
|
||||
yVar = favouritesDao_Impl.__preparedStmtOfDeleteFavouriteRouteType;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
a2.I(1, this.f48a);
|
||||
a2.I(2, this.f49b);
|
||||
a2.I(3, this.f50c ? 1L : 0L);
|
||||
a2.k(4, this.f51d);
|
||||
try {
|
||||
uVar = favouritesDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar3 = favouritesDao_Impl.__db;
|
||||
uVar3.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar2 = favouritesDao_Impl.__db;
|
||||
uVar2.endTransaction();
|
||||
}
|
||||
} finally {
|
||||
yVar2 = favouritesDao_Impl.__preparedStmtOfDeleteFavouriteRouteType;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
}
|
||||
}
|
||||
62
apk_decompiled/sources/A1/i.java
Normal file
62
apk_decompiled/sources/A1/i.java
Normal file
@@ -0,0 +1,62 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class i implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ String f53a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ String f54b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ String f55c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ FavouritesDao_Impl f56d;
|
||||
|
||||
public i(FavouritesDao_Impl favouritesDao_Impl, String str, String str2, String str3) {
|
||||
this.f56d = favouritesDao_Impl;
|
||||
this.f53a = str;
|
||||
this.f54b = str2;
|
||||
this.f55c = str3;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
FavouritesDao_Impl favouritesDao_Impl = this.f56d;
|
||||
yVar = favouritesDao_Impl.__preparedStmtOfDeleteFavouriteTrain;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
a2.k(1, this.f53a);
|
||||
a2.k(2, this.f54b);
|
||||
a2.k(3, this.f55c);
|
||||
try {
|
||||
uVar = favouritesDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar3 = favouritesDao_Impl.__db;
|
||||
uVar3.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar2 = favouritesDao_Impl.__db;
|
||||
uVar2.endTransaction();
|
||||
}
|
||||
} finally {
|
||||
yVar2 = favouritesDao_Impl.__preparedStmtOfDeleteFavouriteTrain;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
}
|
||||
}
|
||||
208
apk_decompiled/sources/A1/j.java
Normal file
208
apk_decompiled/sources/A1/j.java
Normal file
@@ -0,0 +1,208 @@
|
||||
package A1;
|
||||
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.FavouriteTrainEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationFavouritesEntity;
|
||||
import java.util.ArrayList;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class j implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f57a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ w f58b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ FavouritesDao_Impl f59c;
|
||||
|
||||
public /* synthetic */ j(FavouritesDao_Impl favouritesDao_Impl, w wVar, int i) {
|
||||
this.f57a = i;
|
||||
this.f59c = favouritesDao_Impl;
|
||||
this.f58b = wVar;
|
||||
}
|
||||
|
||||
/* JADX WARN: Finally extract failed */
|
||||
/* JADX WARN: Type inference failed for: r14v3, types: [s.e, s.j] */
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
u uVar;
|
||||
Cursor M3;
|
||||
Boolean valueOf;
|
||||
FavouritesDao_Impl favouritesDao_Impl;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
u uVar4;
|
||||
FavouritesDao_Impl favouritesDao_Impl2;
|
||||
u uVar5;
|
||||
u uVar6;
|
||||
int i;
|
||||
u uVar7;
|
||||
u uVar8;
|
||||
u uVar9;
|
||||
switch (this.f57a) {
|
||||
case 0:
|
||||
uVar = this.f59c.__db;
|
||||
M3 = AbstractC0105a.M(uVar, this.f58b, false);
|
||||
try {
|
||||
int r4 = m3.l.r(M3, "favouriteId");
|
||||
int r5 = m3.l.r(M3, "identifierStation");
|
||||
int r6 = m3.l.r(M3, "stationName");
|
||||
int r7 = m3.l.r(M3, "identifierToStation");
|
||||
int r8 = m3.l.r(M3, "stationToName");
|
||||
int r9 = m3.l.r(M3, "type");
|
||||
int r10 = m3.l.r(M3, "isCercanias");
|
||||
int r11 = m3.l.r(M3, "isRodalies");
|
||||
ArrayList arrayList = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
int i4 = M3.getInt(r4);
|
||||
Boolean bool = null;
|
||||
String string = M3.isNull(r5) ? null : M3.getString(r5);
|
||||
String string2 = M3.isNull(r6) ? null : M3.getString(r6);
|
||||
String string3 = M3.isNull(r7) ? null : M3.getString(r7);
|
||||
String string4 = M3.isNull(r8) ? null : M3.getString(r8);
|
||||
String string5 = M3.getString(r9);
|
||||
Integer valueOf2 = M3.isNull(r10) ? null : Integer.valueOf(M3.getInt(r10));
|
||||
boolean z3 = true;
|
||||
if (valueOf2 == null) {
|
||||
valueOf = null;
|
||||
} else {
|
||||
valueOf = Boolean.valueOf(valueOf2.intValue() != 0);
|
||||
}
|
||||
Integer valueOf3 = M3.isNull(r11) ? null : Integer.valueOf(M3.getInt(r11));
|
||||
if (valueOf3 != null) {
|
||||
if (valueOf3.intValue() == 0) {
|
||||
z3 = false;
|
||||
}
|
||||
bool = Boolean.valueOf(z3);
|
||||
}
|
||||
arrayList.add(new FavouriteEntity(i4, string, string2, string3, string4, string5, valueOf, bool));
|
||||
}
|
||||
return arrayList;
|
||||
} finally {
|
||||
M3.close();
|
||||
}
|
||||
case 1:
|
||||
favouritesDao_Impl = this.f59c;
|
||||
uVar2 = favouritesDao_Impl.__db;
|
||||
uVar2.beginTransaction();
|
||||
try {
|
||||
try {
|
||||
uVar4 = favouritesDao_Impl.__db;
|
||||
M3 = AbstractC0105a.M(uVar4, this.f58b, true);
|
||||
try {
|
||||
int r12 = m3.l.r(M3, "stationCode");
|
||||
int r13 = m3.l.r(M3, "stationType");
|
||||
int r14 = m3.l.r(M3, "longName");
|
||||
int r15 = m3.l.r(M3, "shortName");
|
||||
int r16 = m3.l.r(M3, "longNameToFind");
|
||||
int r17 = m3.l.r(M3, "shortNameToFind");
|
||||
int r18 = m3.l.r(M3, "latitude");
|
||||
int r19 = m3.l.r(M3, "longitude");
|
||||
int r20 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC);
|
||||
int r21 = m3.l.r(M3, "commercialZoneType");
|
||||
int r22 = m3.l.r(M3, "commuterNetwork");
|
||||
int r23 = m3.l.r(M3, "akaName");
|
||||
?? jVar = new s.j(0);
|
||||
while (M3.moveToNext()) {
|
||||
String string6 = M3.getString(r12);
|
||||
if (jVar.containsKey(string6)) {
|
||||
i = r23;
|
||||
} else {
|
||||
i = r23;
|
||||
jVar.put(string6, new ArrayList());
|
||||
}
|
||||
r23 = i;
|
||||
}
|
||||
int i5 = r23;
|
||||
M3.moveToPosition(-1);
|
||||
favouritesDao_Impl.__fetchRelationshipFavouriteEntityAscomAdifElcanomovilServiceStorageModelFavouriteEntity(jVar);
|
||||
ArrayList arrayList2 = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
int i6 = i5;
|
||||
FavouritesDao_Impl favouritesDao_Impl3 = favouritesDao_Impl2;
|
||||
int i7 = r13;
|
||||
try {
|
||||
arrayList2.add(new StationFavouritesEntity(new StationEntity(M3.getString(r12), M3.getString(r13), M3.getString(r14), M3.getString(r15), M3.getString(r16), M3.getString(r17), M3.getDouble(r18), M3.getDouble(r19), M3.getInt(r20), M3.isNull(r21) ? null : M3.getString(r21), M3.getString(r22), M3.getString(i6)), (ArrayList) jVar.get(M3.getString(r12))));
|
||||
r13 = i7;
|
||||
i5 = i6;
|
||||
r12 = r12;
|
||||
favouritesDao_Impl2 = favouritesDao_Impl3;
|
||||
} catch (Throwable th) {
|
||||
th = th;
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
FavouritesDao_Impl favouritesDao_Impl4 = favouritesDao_Impl2;
|
||||
uVar5 = favouritesDao_Impl4.__db;
|
||||
uVar5.setTransactionSuccessful();
|
||||
uVar6 = favouritesDao_Impl4.__db;
|
||||
uVar6.endTransaction();
|
||||
return arrayList2;
|
||||
} catch (Throwable th2) {
|
||||
th = th2;
|
||||
}
|
||||
} catch (Throwable th3) {
|
||||
th = th3;
|
||||
throw th;
|
||||
}
|
||||
} catch (Throwable th4) {
|
||||
th = th4;
|
||||
throw th;
|
||||
}
|
||||
default:
|
||||
favouritesDao_Impl = this.f59c;
|
||||
uVar7 = favouritesDao_Impl.__db;
|
||||
uVar7.beginTransaction();
|
||||
try {
|
||||
uVar8 = favouritesDao_Impl.__db;
|
||||
M3 = AbstractC0105a.M(uVar8, this.f58b, false);
|
||||
try {
|
||||
int r24 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER);
|
||||
int r25 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE);
|
||||
int r26 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE);
|
||||
int r27 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE);
|
||||
int r28 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_OPERATOR);
|
||||
int r29 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT);
|
||||
int r30 = m3.l.r(M3, "timeStationFrom");
|
||||
int r31 = m3.l.r(M3, "timeStationTo");
|
||||
ArrayList arrayList3 = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
arrayList3.add(new FavouriteTrainEntity(M3.getString(r24), M3.getString(r25), M3.getString(r26), M3.getLong(r27), M3.isNull(r28) ? null : M3.getString(r28), M3.isNull(r29) ? null : M3.getString(r29), M3.isNull(r30) ? null : M3.getString(r30), M3.isNull(r31) ? null : M3.getString(r31)));
|
||||
}
|
||||
uVar9 = favouritesDao_Impl.__db;
|
||||
uVar9.setTransactionSuccessful();
|
||||
return arrayList3;
|
||||
} catch (Throwable th5) {
|
||||
throw th5;
|
||||
}
|
||||
} finally {
|
||||
uVar3 = favouritesDao_Impl.__db;
|
||||
uVar3.endTransaction();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void finalize() {
|
||||
switch (this.f57a) {
|
||||
case 0:
|
||||
this.f58b.release();
|
||||
return;
|
||||
case 1:
|
||||
this.f58b.release();
|
||||
return;
|
||||
default:
|
||||
this.f58b.release();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
50
apk_decompiled/sources/A1/k.java
Normal file
50
apk_decompiled/sources/A1/k.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package A1;
|
||||
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class k implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f60a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ List f61b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ FavouritesDao_Impl f62c;
|
||||
|
||||
public /* synthetic */ k(FavouritesDao_Impl favouritesDao_Impl, List list, int i) {
|
||||
this.f60a = i;
|
||||
this.f62c = favouritesDao_Impl;
|
||||
this.f61b = list;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
FavouritesDao_Impl favouritesDao_Impl;
|
||||
switch (this.f60a) {
|
||||
case 0:
|
||||
favouritesDao_Impl = this.f62c;
|
||||
FavouritesDao_Impl.access$000(favouritesDao_Impl).beginTransaction();
|
||||
try {
|
||||
FavouritesDao_Impl.access$100(favouritesDao_Impl).e(this.f61b);
|
||||
FavouritesDao_Impl.access$000(favouritesDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
default:
|
||||
favouritesDao_Impl = this.f62c;
|
||||
FavouritesDao_Impl.access$000(favouritesDao_Impl).beginTransaction();
|
||||
try {
|
||||
FavouritesDao_Impl.access$200(favouritesDao_Impl).e(this.f61b);
|
||||
FavouritesDao_Impl.access$000(favouritesDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
86
apk_decompiled/sources/A1/l.java
Normal file
86
apk_decompiled/sources/A1/l.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.FavouritesDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationsDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class l implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f63a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f64b;
|
||||
|
||||
public /* synthetic */ l(Object obj, int i) {
|
||||
this.f63a = i;
|
||||
this.f64b = obj;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
switch (this.f63a) {
|
||||
case 0:
|
||||
FavouritesDao_Impl favouritesDao_Impl = (FavouritesDao_Impl) this.f64b;
|
||||
yVar = favouritesDao_Impl.__preparedStmtOfDeleteAll;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
try {
|
||||
uVar = favouritesDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar3 = favouritesDao_Impl.__db;
|
||||
uVar3.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar2 = favouritesDao_Impl.__db;
|
||||
uVar2.endTransaction();
|
||||
}
|
||||
} finally {
|
||||
yVar2 = favouritesDao_Impl.__preparedStmtOfDeleteAll;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
case 1:
|
||||
IncidenceDao_Impl incidenceDao_Impl = (IncidenceDao_Impl) this.f64b;
|
||||
InterfaceC0649e a4 = IncidenceDao_Impl.access$500(incidenceDao_Impl).a();
|
||||
try {
|
||||
IncidenceDao_Impl.access$200(incidenceDao_Impl).beginTransaction();
|
||||
try {
|
||||
a4.o();
|
||||
IncidenceDao_Impl.access$200(incidenceDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
IncidenceDao_Impl.access$200(incidenceDao_Impl).endTransaction();
|
||||
}
|
||||
} finally {
|
||||
IncidenceDao_Impl.access$500(incidenceDao_Impl).c(a4);
|
||||
}
|
||||
default:
|
||||
StationsDao_Impl stationsDao_Impl = (StationsDao_Impl) this.f64b;
|
||||
InterfaceC0649e a5 = StationsDao_Impl.access$200(stationsDao_Impl).a();
|
||||
try {
|
||||
StationsDao_Impl.access$000(stationsDao_Impl).beginTransaction();
|
||||
try {
|
||||
a5.o();
|
||||
StationsDao_Impl.access$000(stationsDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
StationsDao_Impl.access$000(stationsDao_Impl).endTransaction();
|
||||
}
|
||||
} finally {
|
||||
StationsDao_Impl.access$200(stationsDao_Impl).c(a5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
148
apk_decompiled/sources/A1/m.java
Normal file
148
apk_decompiled/sources/A1/m.java
Normal file
@@ -0,0 +1,148 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.CommentTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.DateConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.DestinationTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.OriginTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.PictureTypeConverter;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class m extends androidx.room.j {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ int f65d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f66e;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public /* synthetic */ m(Object obj, u uVar, int i) {
|
||||
super(uVar);
|
||||
this.f65d = i;
|
||||
this.f66e = obj;
|
||||
}
|
||||
|
||||
@Override // androidx.room.y
|
||||
public final String b() {
|
||||
switch (this.f65d) {
|
||||
case 0:
|
||||
return "INSERT OR REPLACE INTO `IncidenceEntity` (`id`,`incidenceCode`,`stationId`,`statusTypeId`,`description`,`notificationTypeId`,`createdTime`,`estimatedDateTo`,`solvedDate`,`categoryId`,`photos`,`comments`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)";
|
||||
default:
|
||||
return "INSERT OR REPLACE INTO `SubscriptionEntity` (`subcriptionId`,`destination`,`origin`,`repeats`,`subscriptionType`,`timeCenter`,`timeEnd`,`timeStart`,`active`,`operator`,`commercialProduct`) VALUES (nullif(?, 0),?,?,?,?,?,?,?,?,?,?)";
|
||||
}
|
||||
}
|
||||
|
||||
@Override // androidx.room.j
|
||||
public final void d(InterfaceC0649e interfaceC0649e, Object obj) {
|
||||
PictureTypeConverter pictureTypeConverter;
|
||||
CommentTypeConverter commentTypeConverter;
|
||||
DestinationTypeConverter destinationTypeConverter;
|
||||
OriginTypeConverter originTypeConverter;
|
||||
Object obj2 = this.f66e;
|
||||
switch (this.f65d) {
|
||||
case 0:
|
||||
IncidenceEntity incidenceEntity = (IncidenceEntity) obj;
|
||||
interfaceC0649e.I(1, incidenceEntity.getId());
|
||||
interfaceC0649e.k(2, incidenceEntity.getIncidenceCode());
|
||||
if (incidenceEntity.getStationId() == null) {
|
||||
interfaceC0649e.t(3);
|
||||
} else {
|
||||
interfaceC0649e.k(3, incidenceEntity.getStationId());
|
||||
}
|
||||
interfaceC0649e.I(4, incidenceEntity.getStatusTypeId());
|
||||
interfaceC0649e.k(5, incidenceEntity.getDescription());
|
||||
interfaceC0649e.I(6, incidenceEntity.getNotificationTypeId());
|
||||
DateConverter dateConverter = DateConverter.INSTANCE;
|
||||
Long timestamp = DateConverter.toTimestamp(incidenceEntity.getCreatedTime());
|
||||
if (timestamp == null) {
|
||||
interfaceC0649e.t(7);
|
||||
} else {
|
||||
interfaceC0649e.I(7, timestamp.longValue());
|
||||
}
|
||||
Long timestamp2 = DateConverter.toTimestamp(incidenceEntity.getEstimatedDateTo());
|
||||
if (timestamp2 == null) {
|
||||
interfaceC0649e.t(8);
|
||||
} else {
|
||||
interfaceC0649e.I(8, timestamp2.longValue());
|
||||
}
|
||||
Long timestamp3 = DateConverter.toTimestamp(incidenceEntity.getSolvedDate());
|
||||
if (timestamp3 == null) {
|
||||
interfaceC0649e.t(9);
|
||||
} else {
|
||||
interfaceC0649e.I(9, timestamp3.longValue());
|
||||
}
|
||||
if (incidenceEntity.getCategoryId() == null) {
|
||||
interfaceC0649e.t(10);
|
||||
} else {
|
||||
interfaceC0649e.k(10, incidenceEntity.getCategoryId());
|
||||
}
|
||||
IncidenceDao_Impl incidenceDao_Impl = (IncidenceDao_Impl) obj2;
|
||||
pictureTypeConverter = incidenceDao_Impl.__pictureTypeConverter;
|
||||
String listToString = pictureTypeConverter.listToString(incidenceEntity.getPhotos());
|
||||
if (listToString == null) {
|
||||
interfaceC0649e.t(11);
|
||||
} else {
|
||||
interfaceC0649e.k(11, listToString);
|
||||
}
|
||||
commentTypeConverter = incidenceDao_Impl.__commentTypeConverter;
|
||||
String listToString2 = commentTypeConverter.listToString(incidenceEntity.getComments());
|
||||
if (listToString2 == null) {
|
||||
interfaceC0649e.t(12);
|
||||
return;
|
||||
} else {
|
||||
interfaceC0649e.k(12, listToString2);
|
||||
return;
|
||||
}
|
||||
default:
|
||||
SubscriptionEntity subscriptionEntity = (SubscriptionEntity) obj;
|
||||
interfaceC0649e.I(1, subscriptionEntity.getSubcriptionId());
|
||||
SubscriptionsDao_Impl subscriptionsDao_Impl = (SubscriptionsDao_Impl) obj2;
|
||||
destinationTypeConverter = subscriptionsDao_Impl.__destinationTypeConverter;
|
||||
String destinationToString = destinationTypeConverter.destinationToString(subscriptionEntity.getDestination());
|
||||
if (destinationToString == null) {
|
||||
interfaceC0649e.t(2);
|
||||
} else {
|
||||
interfaceC0649e.k(2, destinationToString);
|
||||
}
|
||||
originTypeConverter = subscriptionsDao_Impl.__originTypeConverter;
|
||||
String origiginToString = originTypeConverter.origiginToString(subscriptionEntity.getOrigin());
|
||||
if (origiginToString == null) {
|
||||
interfaceC0649e.t(3);
|
||||
} else {
|
||||
interfaceC0649e.k(3, origiginToString);
|
||||
}
|
||||
interfaceC0649e.k(4, subscriptionEntity.getRepeats());
|
||||
interfaceC0649e.k(5, subscriptionEntity.getSubscriptionType());
|
||||
interfaceC0649e.k(6, subscriptionEntity.getTimeCenter());
|
||||
if (subscriptionEntity.getTimeEnd() == null) {
|
||||
interfaceC0649e.t(7);
|
||||
} else {
|
||||
interfaceC0649e.k(7, subscriptionEntity.getTimeEnd());
|
||||
}
|
||||
if (subscriptionEntity.getTimeStart() == null) {
|
||||
interfaceC0649e.t(8);
|
||||
} else {
|
||||
interfaceC0649e.k(8, subscriptionEntity.getTimeStart());
|
||||
}
|
||||
interfaceC0649e.I(9, subscriptionEntity.getActive() ? 1L : 0L);
|
||||
if (subscriptionEntity.getOperator() == null) {
|
||||
interfaceC0649e.t(10);
|
||||
} else {
|
||||
interfaceC0649e.k(10, subscriptionEntity.getOperator());
|
||||
}
|
||||
if (subscriptionEntity.getCommercialProduct() == null) {
|
||||
interfaceC0649e.t(11);
|
||||
return;
|
||||
} else {
|
||||
interfaceC0649e.k(11, subscriptionEntity.getCommercialProduct());
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
86
apk_decompiled/sources/A1/n.java
Normal file
86
apk_decompiled/sources/A1/n.java
Normal file
@@ -0,0 +1,86 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.CommentTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.DateConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.PictureTypeConverter;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class n extends androidx.room.i {
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public final /* synthetic */ IncidenceDao_Impl f67d;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public n(IncidenceDao_Impl incidenceDao_Impl, u database) {
|
||||
super(database);
|
||||
this.f67d = incidenceDao_Impl;
|
||||
Intrinsics.checkNotNullParameter(database, "database");
|
||||
}
|
||||
|
||||
@Override // androidx.room.y
|
||||
public final String b() {
|
||||
return "UPDATE OR ABORT `IncidenceEntity` SET `id` = ?,`incidenceCode` = ?,`stationId` = ?,`statusTypeId` = ?,`description` = ?,`notificationTypeId` = ?,`createdTime` = ?,`estimatedDateTo` = ?,`solvedDate` = ?,`categoryId` = ?,`photos` = ?,`comments` = ? WHERE `id` = ?";
|
||||
}
|
||||
|
||||
@Override // androidx.room.i
|
||||
public final void d(InterfaceC0649e interfaceC0649e, Object obj) {
|
||||
PictureTypeConverter pictureTypeConverter;
|
||||
CommentTypeConverter commentTypeConverter;
|
||||
IncidenceEntity incidenceEntity = (IncidenceEntity) obj;
|
||||
interfaceC0649e.I(1, incidenceEntity.getId());
|
||||
interfaceC0649e.k(2, incidenceEntity.getIncidenceCode());
|
||||
if (incidenceEntity.getStationId() == null) {
|
||||
interfaceC0649e.t(3);
|
||||
} else {
|
||||
interfaceC0649e.k(3, incidenceEntity.getStationId());
|
||||
}
|
||||
interfaceC0649e.I(4, incidenceEntity.getStatusTypeId());
|
||||
interfaceC0649e.k(5, incidenceEntity.getDescription());
|
||||
interfaceC0649e.I(6, incidenceEntity.getNotificationTypeId());
|
||||
DateConverter dateConverter = DateConverter.INSTANCE;
|
||||
Long timestamp = DateConverter.toTimestamp(incidenceEntity.getCreatedTime());
|
||||
if (timestamp == null) {
|
||||
interfaceC0649e.t(7);
|
||||
} else {
|
||||
interfaceC0649e.I(7, timestamp.longValue());
|
||||
}
|
||||
Long timestamp2 = DateConverter.toTimestamp(incidenceEntity.getEstimatedDateTo());
|
||||
if (timestamp2 == null) {
|
||||
interfaceC0649e.t(8);
|
||||
} else {
|
||||
interfaceC0649e.I(8, timestamp2.longValue());
|
||||
}
|
||||
Long timestamp3 = DateConverter.toTimestamp(incidenceEntity.getSolvedDate());
|
||||
if (timestamp3 == null) {
|
||||
interfaceC0649e.t(9);
|
||||
} else {
|
||||
interfaceC0649e.I(9, timestamp3.longValue());
|
||||
}
|
||||
if (incidenceEntity.getCategoryId() == null) {
|
||||
interfaceC0649e.t(10);
|
||||
} else {
|
||||
interfaceC0649e.k(10, incidenceEntity.getCategoryId());
|
||||
}
|
||||
IncidenceDao_Impl incidenceDao_Impl = this.f67d;
|
||||
pictureTypeConverter = incidenceDao_Impl.__pictureTypeConverter;
|
||||
String listToString = pictureTypeConverter.listToString(incidenceEntity.getPhotos());
|
||||
if (listToString == null) {
|
||||
interfaceC0649e.t(11);
|
||||
} else {
|
||||
interfaceC0649e.k(11, listToString);
|
||||
}
|
||||
commentTypeConverter = incidenceDao_Impl.__commentTypeConverter;
|
||||
String listToString2 = commentTypeConverter.listToString(incidenceEntity.getComments());
|
||||
if (listToString2 == null) {
|
||||
interfaceC0649e.t(12);
|
||||
} else {
|
||||
interfaceC0649e.k(12, listToString2);
|
||||
}
|
||||
interfaceC0649e.I(13, incidenceEntity.getId());
|
||||
}
|
||||
}
|
||||
256
apk_decompiled/sources/A1/o.java
Normal file
256
apk_decompiled/sources/A1/o.java
Normal file
@@ -0,0 +1,256 @@
|
||||
package A1;
|
||||
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.database.StationsDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsAuxDataDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.StationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.DestinationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.OriginEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionAuxEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.DestinationTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.OriginTypeConverter;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class o implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f68a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f69b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ Object f70c;
|
||||
|
||||
public /* synthetic */ o(int i, Object obj, Object obj2) {
|
||||
this.f68a = i;
|
||||
this.f69b = obj;
|
||||
this.f70c = obj2;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
IncidenceDao_Impl incidenceDao_Impl;
|
||||
u uVar;
|
||||
androidx.room.j jVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
androidx.room.i iVar;
|
||||
u uVar4;
|
||||
u uVar5;
|
||||
u uVar6;
|
||||
androidx.room.j jVar2;
|
||||
u uVar7;
|
||||
u uVar8;
|
||||
Cursor M3;
|
||||
SubscriptionsDao_Impl subscriptionsDao_Impl;
|
||||
u uVar9;
|
||||
androidx.room.j jVar3;
|
||||
u uVar10;
|
||||
u uVar11;
|
||||
androidx.room.j jVar4;
|
||||
u uVar12;
|
||||
u uVar13;
|
||||
DestinationTypeConverter destinationTypeConverter;
|
||||
DestinationEntity stringToDestination;
|
||||
OriginTypeConverter originTypeConverter;
|
||||
OriginEntity stringToOrigin;
|
||||
switch (this.f68a) {
|
||||
case 0:
|
||||
incidenceDao_Impl = (IncidenceDao_Impl) this.f69b;
|
||||
uVar = incidenceDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
jVar = incidenceDao_Impl.__insertionAdapterOfIncidenceEntity;
|
||||
jVar.e((List) this.f70c);
|
||||
uVar2 = incidenceDao_Impl.__db;
|
||||
uVar2.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
case 1:
|
||||
incidenceDao_Impl = (IncidenceDao_Impl) this.f69b;
|
||||
uVar3 = incidenceDao_Impl.__db;
|
||||
uVar3.beginTransaction();
|
||||
try {
|
||||
iVar = incidenceDao_Impl.__updateAdapterOfIncidenceEntity;
|
||||
IncidenceEntity incidenceEntity = (IncidenceEntity) this.f70c;
|
||||
InterfaceC0649e a2 = iVar.a();
|
||||
try {
|
||||
iVar.d(a2, incidenceEntity);
|
||||
a2.o();
|
||||
iVar.c(a2);
|
||||
uVar4 = incidenceDao_Impl.__db;
|
||||
uVar4.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} catch (Throwable th) {
|
||||
iVar.c(a2);
|
||||
throw th;
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
case 2:
|
||||
StationsDao_Impl stationsDao_Impl = (StationsDao_Impl) this.f69b;
|
||||
uVar5 = stationsDao_Impl.__db;
|
||||
uVar5.beginTransaction();
|
||||
try {
|
||||
jVar2 = stationsDao_Impl.__insertionAdapterOfStationEntity;
|
||||
jVar2.e((List) this.f70c);
|
||||
uVar7 = stationsDao_Impl.__db;
|
||||
uVar7.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar6 = stationsDao_Impl.__db;
|
||||
uVar6.endTransaction();
|
||||
}
|
||||
case 3:
|
||||
uVar8 = ((StationsDao_Impl) this.f69b).__db;
|
||||
M3 = AbstractC0105a.M(uVar8, (w) this.f70c, false);
|
||||
try {
|
||||
int r4 = m3.l.r(M3, "stationCode");
|
||||
int r5 = m3.l.r(M3, "stationType");
|
||||
int r6 = m3.l.r(M3, "longName");
|
||||
int r7 = m3.l.r(M3, "shortName");
|
||||
int r8 = m3.l.r(M3, "longNameToFind");
|
||||
int r9 = m3.l.r(M3, "shortNameToFind");
|
||||
int r10 = m3.l.r(M3, "latitude");
|
||||
int r11 = m3.l.r(M3, "longitude");
|
||||
int r12 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC);
|
||||
int r13 = m3.l.r(M3, "commercialZoneType");
|
||||
int r14 = m3.l.r(M3, "commuterNetwork");
|
||||
int r15 = m3.l.r(M3, "akaName");
|
||||
ArrayList arrayList = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
arrayList.add(new StationEntity(M3.getString(r4), M3.getString(r5), M3.getString(r6), M3.getString(r7), M3.getString(r8), M3.getString(r9), M3.getDouble(r10), M3.getDouble(r11), M3.getInt(r12), M3.isNull(r13) ? null : M3.getString(r13), M3.getString(r14), M3.getString(r15)));
|
||||
}
|
||||
return arrayList;
|
||||
} finally {
|
||||
M3.close();
|
||||
}
|
||||
case 4:
|
||||
SubscriptionsAuxDataDao_Impl subscriptionsAuxDataDao_Impl = (SubscriptionsAuxDataDao_Impl) this.f69b;
|
||||
SubscriptionsAuxDataDao_Impl.access$000(subscriptionsAuxDataDao_Impl).beginTransaction();
|
||||
try {
|
||||
androidx.room.j access$100 = SubscriptionsAuxDataDao_Impl.access$100(subscriptionsAuxDataDao_Impl);
|
||||
SubscriptionAuxEntity subscriptionAuxEntity = (SubscriptionAuxEntity) this.f70c;
|
||||
InterfaceC0649e a4 = access$100.a();
|
||||
try {
|
||||
access$100.d(a4, subscriptionAuxEntity);
|
||||
a4.T();
|
||||
access$100.c(a4);
|
||||
SubscriptionsAuxDataDao_Impl.access$000(subscriptionsAuxDataDao_Impl).setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} catch (Throwable th2) {
|
||||
access$100.c(a4);
|
||||
throw th2;
|
||||
}
|
||||
} finally {
|
||||
SubscriptionsAuxDataDao_Impl.access$000(subscriptionsAuxDataDao_Impl).endTransaction();
|
||||
}
|
||||
case 5:
|
||||
subscriptionsDao_Impl = (SubscriptionsDao_Impl) this.f69b;
|
||||
uVar9 = subscriptionsDao_Impl.__db;
|
||||
uVar9.beginTransaction();
|
||||
try {
|
||||
jVar3 = subscriptionsDao_Impl.__insertionAdapterOfSubscriptionEntity;
|
||||
jVar3.e((List) this.f70c);
|
||||
uVar10 = subscriptionsDao_Impl.__db;
|
||||
uVar10.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
}
|
||||
case 6:
|
||||
subscriptionsDao_Impl = (SubscriptionsDao_Impl) this.f69b;
|
||||
uVar11 = subscriptionsDao_Impl.__db;
|
||||
uVar11.beginTransaction();
|
||||
try {
|
||||
jVar4 = subscriptionsDao_Impl.__insertionAdapterOfSubscriptionEntity;
|
||||
SubscriptionEntity subscriptionEntity = (SubscriptionEntity) this.f70c;
|
||||
InterfaceC0649e a5 = jVar4.a();
|
||||
try {
|
||||
jVar4.d(a5, subscriptionEntity);
|
||||
a5.T();
|
||||
jVar4.c(a5);
|
||||
uVar12 = subscriptionsDao_Impl.__db;
|
||||
uVar12.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} catch (Throwable th3) {
|
||||
jVar4.c(a5);
|
||||
throw th3;
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
default:
|
||||
SubscriptionsDao_Impl subscriptionsDao_Impl2 = (SubscriptionsDao_Impl) this.f69b;
|
||||
uVar13 = subscriptionsDao_Impl2.__db;
|
||||
M3 = AbstractC0105a.M(uVar13, (w) this.f70c, false);
|
||||
try {
|
||||
int r16 = m3.l.r(M3, "subcriptionId");
|
||||
int r17 = m3.l.r(M3, FirebaseAnalytics.Param.DESTINATION);
|
||||
int r18 = m3.l.r(M3, "origin");
|
||||
int r19 = m3.l.r(M3, "repeats");
|
||||
int r20 = m3.l.r(M3, "subscriptionType");
|
||||
int r21 = m3.l.r(M3, "timeCenter");
|
||||
int r22 = m3.l.r(M3, "timeEnd");
|
||||
int r23 = m3.l.r(M3, "timeStart");
|
||||
int r24 = m3.l.r(M3, AppMeasurementSdk.ConditionalUserProperty.ACTIVE);
|
||||
int r25 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_OPERATOR);
|
||||
int r26 = m3.l.r(M3, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT);
|
||||
ArrayList arrayList2 = new ArrayList(M3.getCount());
|
||||
while (M3.moveToNext()) {
|
||||
int i = M3.getInt(r16);
|
||||
String string = M3.isNull(r17) ? null : M3.getString(r17);
|
||||
if (string == null) {
|
||||
stringToDestination = null;
|
||||
} else {
|
||||
destinationTypeConverter = subscriptionsDao_Impl2.__destinationTypeConverter;
|
||||
stringToDestination = destinationTypeConverter.stringToDestination(string);
|
||||
}
|
||||
String string2 = M3.isNull(r18) ? null : M3.getString(r18);
|
||||
if (string2 == null) {
|
||||
stringToOrigin = null;
|
||||
} else {
|
||||
originTypeConverter = subscriptionsDao_Impl2.__originTypeConverter;
|
||||
stringToOrigin = originTypeConverter.stringToOrigin(string2);
|
||||
}
|
||||
if (stringToOrigin == null) {
|
||||
throw new IllegalStateException("Expected NON-NULL 'com.adif.elcanomovil.serviceStorage.model.subscriptions.OriginEntity', but it was NULL.");
|
||||
}
|
||||
arrayList2.add(new SubscriptionEntity(i, stringToDestination, stringToOrigin, M3.getString(r19), M3.getString(r20), M3.getString(r21), M3.isNull(r22) ? null : M3.getString(r22), M3.isNull(r23) ? null : M3.getString(r23), M3.getInt(r24) != 0, M3.isNull(r25) ? null : M3.getString(r25), M3.isNull(r26) ? null : M3.getString(r26)));
|
||||
}
|
||||
return arrayList2;
|
||||
} catch (Throwable th4) {
|
||||
throw th4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void finalize() {
|
||||
switch (this.f68a) {
|
||||
case 3:
|
||||
((w) this.f70c).release();
|
||||
return;
|
||||
case 7:
|
||||
((w) this.f70c).release();
|
||||
return;
|
||||
default:
|
||||
super.finalize();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
228
apk_decompiled/sources/A1/p.java
Normal file
228
apk_decompiled/sources/A1/p.java
Normal file
@@ -0,0 +1,228 @@
|
||||
package A1;
|
||||
|
||||
import a.AbstractC0105a;
|
||||
import android.database.Cursor;
|
||||
import androidx.room.u;
|
||||
import androidx.room.w;
|
||||
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
|
||||
import com.adif.elcanomovil.serviceStorage.database.IncidenceDao_Impl;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationCategoryEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidencePictureEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceStationEntity;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.CommentTypeConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.DateConverter;
|
||||
import com.adif.elcanomovil.serviceStorage.utils.PictureTypeConverter;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class p implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f71a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ w f72b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public final /* synthetic */ IncidenceDao_Impl f73c;
|
||||
|
||||
public /* synthetic */ p(IncidenceDao_Impl incidenceDao_Impl, w wVar, int i) {
|
||||
this.f71a = i;
|
||||
this.f73c = incidenceDao_Impl;
|
||||
this.f72b = wVar;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
u uVar;
|
||||
Cursor cursor;
|
||||
int r4;
|
||||
int r5;
|
||||
int r6;
|
||||
int r7;
|
||||
int r8;
|
||||
int r9;
|
||||
int r10;
|
||||
int r11;
|
||||
int r12;
|
||||
int r13;
|
||||
int r14;
|
||||
int r15;
|
||||
int r16;
|
||||
int r17;
|
||||
int r18;
|
||||
int r19;
|
||||
int r20;
|
||||
int r21;
|
||||
ArrayList arrayList;
|
||||
int i;
|
||||
PictureTypeConverter pictureTypeConverter;
|
||||
CommentTypeConverter commentTypeConverter;
|
||||
u uVar2;
|
||||
PictureTypeConverter pictureTypeConverter2;
|
||||
CommentTypeConverter commentTypeConverter2;
|
||||
switch (this.f71a) {
|
||||
case 0:
|
||||
IncidenceDao_Impl incidenceDao_Impl = this.f73c;
|
||||
uVar = incidenceDao_Impl.__db;
|
||||
Cursor M3 = AbstractC0105a.M(uVar, this.f72b, false);
|
||||
try {
|
||||
r4 = m3.l.r(M3, NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN);
|
||||
r5 = m3.l.r(M3, "incidenceCode");
|
||||
r6 = m3.l.r(M3, "stationId");
|
||||
r7 = m3.l.r(M3, "statusTypeId");
|
||||
r8 = m3.l.r(M3, "description");
|
||||
r9 = m3.l.r(M3, "notificationTypeId");
|
||||
r10 = m3.l.r(M3, "createdTime");
|
||||
r11 = m3.l.r(M3, "estimatedDateTo");
|
||||
r12 = m3.l.r(M3, "solvedDate");
|
||||
r13 = m3.l.r(M3, "categoryId");
|
||||
r14 = m3.l.r(M3, "photos");
|
||||
r15 = m3.l.r(M3, "comments");
|
||||
r16 = m3.l.r(M3, "stId");
|
||||
int r22 = m3.l.r(M3, AppMeasurementSdk.ConditionalUserProperty.NAME);
|
||||
r17 = m3.l.r(M3, "code");
|
||||
r18 = m3.l.r(M3, "latitude");
|
||||
r19 = m3.l.r(M3, "longitude");
|
||||
r20 = m3.l.r(M3, "catId");
|
||||
r21 = m3.l.r(M3, "title");
|
||||
i = r22;
|
||||
arrayList = new ArrayList(M3.getCount());
|
||||
} catch (Throwable th) {
|
||||
th = th;
|
||||
cursor = M3;
|
||||
}
|
||||
while (M3.moveToNext()) {
|
||||
int i4 = M3.getInt(r4);
|
||||
String string = M3.getString(r5);
|
||||
int i5 = r4;
|
||||
String string2 = M3.isNull(r6) ? null : M3.getString(r6);
|
||||
int i6 = M3.getInt(r7);
|
||||
String string3 = M3.getString(r8);
|
||||
int i7 = M3.getInt(r9);
|
||||
Date date = DateConverter.toDate(M3.isNull(r10) ? null : Long.valueOf(M3.getLong(r10)));
|
||||
if (date == null) {
|
||||
cursor = M3;
|
||||
throw new IllegalStateException("Expected NON-NULL 'java.util.Date', but it was NULL.");
|
||||
}
|
||||
Date date2 = DateConverter.toDate(M3.isNull(r11) ? null : Long.valueOf(M3.getLong(r11)));
|
||||
Date date3 = DateConverter.toDate(M3.isNull(r12) ? null : Long.valueOf(M3.getLong(r12)));
|
||||
String string4 = M3.isNull(r13) ? null : M3.getString(r13);
|
||||
String string5 = M3.isNull(r14) ? null : M3.getString(r14);
|
||||
pictureTypeConverter = incidenceDao_Impl.__pictureTypeConverter;
|
||||
List<IncidencePictureEntity> stringToList = pictureTypeConverter.stringToList(string5);
|
||||
String string6 = M3.isNull(r15) ? null : M3.getString(r15);
|
||||
commentTypeConverter = incidenceDao_Impl.__commentTypeConverter;
|
||||
IncidenceEntity incidenceEntity = new IncidenceEntity(i4, string, string2, i6, string3, i7, date, date2, date3, string4, stringToList, commentTypeConverter.stringToList(string6));
|
||||
String string7 = M3.getString(r16);
|
||||
int i8 = i;
|
||||
String string8 = M3.getString(i8);
|
||||
int i9 = r5;
|
||||
int i10 = r17;
|
||||
String string9 = M3.getString(i10);
|
||||
r17 = i10;
|
||||
int i11 = r18;
|
||||
Double valueOf = M3.isNull(i11) ? null : Double.valueOf(M3.getDouble(i11));
|
||||
r18 = i11;
|
||||
int i12 = r19;
|
||||
AvisaStationEntity avisaStationEntity = new AvisaStationEntity(string7, string8, string9, valueOf, M3.isNull(i12) ? null : Double.valueOf(M3.getDouble(i12)));
|
||||
r19 = i12;
|
||||
int i13 = r6;
|
||||
int i14 = r20;
|
||||
int i15 = r7;
|
||||
String string10 = M3.getString(i14);
|
||||
int i16 = r21;
|
||||
int i17 = r8;
|
||||
cursor = M3;
|
||||
try {
|
||||
arrayList.add(new IncidenceStationEntity(null, incidenceEntity, avisaStationEntity, new AvisaStationCategoryEntity(string10, M3.getString(i16))));
|
||||
r7 = i15;
|
||||
r8 = i17;
|
||||
r5 = i9;
|
||||
r20 = i14;
|
||||
M3 = cursor;
|
||||
r4 = i5;
|
||||
r21 = i16;
|
||||
i = i8;
|
||||
r6 = i13;
|
||||
} catch (Throwable th2) {
|
||||
th = th2;
|
||||
}
|
||||
th = th2;
|
||||
cursor.close();
|
||||
throw th;
|
||||
break;
|
||||
}
|
||||
M3.close();
|
||||
return arrayList;
|
||||
default:
|
||||
IncidenceDao_Impl incidenceDao_Impl2 = this.f73c;
|
||||
uVar2 = incidenceDao_Impl2.__db;
|
||||
Cursor M4 = AbstractC0105a.M(uVar2, this.f72b, false);
|
||||
try {
|
||||
int r23 = m3.l.r(M4, NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN);
|
||||
int r24 = m3.l.r(M4, "incidenceCode");
|
||||
int r25 = m3.l.r(M4, "stationId");
|
||||
int r26 = m3.l.r(M4, "statusTypeId");
|
||||
int r27 = m3.l.r(M4, "description");
|
||||
int r28 = m3.l.r(M4, "notificationTypeId");
|
||||
int r29 = m3.l.r(M4, "createdTime");
|
||||
int r30 = m3.l.r(M4, "estimatedDateTo");
|
||||
int r31 = m3.l.r(M4, "solvedDate");
|
||||
int r32 = m3.l.r(M4, "categoryId");
|
||||
int r33 = m3.l.r(M4, "photos");
|
||||
int r34 = m3.l.r(M4, "comments");
|
||||
int r35 = m3.l.r(M4, "stId");
|
||||
int r36 = m3.l.r(M4, AppMeasurementSdk.ConditionalUserProperty.NAME);
|
||||
int r37 = m3.l.r(M4, "code");
|
||||
int r38 = m3.l.r(M4, "latitude");
|
||||
int r39 = m3.l.r(M4, "longitude");
|
||||
int r40 = m3.l.r(M4, "catId");
|
||||
int r41 = m3.l.r(M4, "title");
|
||||
IncidenceStationEntity incidenceStationEntity = null;
|
||||
if (M4.moveToFirst()) {
|
||||
int i18 = M4.getInt(r23);
|
||||
String string11 = M4.getString(r24);
|
||||
String string12 = M4.isNull(r25) ? null : M4.getString(r25);
|
||||
int i19 = M4.getInt(r26);
|
||||
String string13 = M4.getString(r27);
|
||||
int i20 = M4.getInt(r28);
|
||||
Date date4 = DateConverter.toDate(M4.isNull(r29) ? null : Long.valueOf(M4.getLong(r29)));
|
||||
if (date4 == null) {
|
||||
throw new IllegalStateException("Expected NON-NULL 'java.util.Date', but it was NULL.");
|
||||
}
|
||||
Date date5 = DateConverter.toDate(M4.isNull(r30) ? null : Long.valueOf(M4.getLong(r30)));
|
||||
Date date6 = DateConverter.toDate(M4.isNull(r31) ? null : Long.valueOf(M4.getLong(r31)));
|
||||
String string14 = M4.isNull(r32) ? null : M4.getString(r32);
|
||||
String string15 = M4.isNull(r33) ? null : M4.getString(r33);
|
||||
pictureTypeConverter2 = incidenceDao_Impl2.__pictureTypeConverter;
|
||||
List<IncidencePictureEntity> stringToList2 = pictureTypeConverter2.stringToList(string15);
|
||||
String string16 = M4.isNull(r34) ? null : M4.getString(r34);
|
||||
commentTypeConverter2 = incidenceDao_Impl2.__commentTypeConverter;
|
||||
incidenceStationEntity = new IncidenceStationEntity(null, new IncidenceEntity(i18, string11, string12, i19, string13, i20, date4, date5, date6, string14, stringToList2, commentTypeConverter2.stringToList(string16)), new AvisaStationEntity(M4.getString(r35), M4.getString(r36), M4.getString(r37), M4.isNull(r38) ? null : Double.valueOf(M4.getDouble(r38)), M4.isNull(r39) ? null : Double.valueOf(M4.getDouble(r39))), new AvisaStationCategoryEntity(M4.getString(r40), M4.getString(r41)));
|
||||
}
|
||||
M4.close();
|
||||
return incidenceStationEntity;
|
||||
} finally {
|
||||
M4.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void finalize() {
|
||||
switch (this.f71a) {
|
||||
case 0:
|
||||
this.f72b.release();
|
||||
return;
|
||||
default:
|
||||
this.f72b.release();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
52
apk_decompiled/sources/A1/q.java
Normal file
52
apk_decompiled/sources/A1/q.java
Normal file
@@ -0,0 +1,52 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class q implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ boolean f74a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ SubscriptionsDao_Impl f75b;
|
||||
|
||||
public q(SubscriptionsDao_Impl subscriptionsDao_Impl, boolean z3) {
|
||||
this.f75b = subscriptionsDao_Impl;
|
||||
this.f74a = z3;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
SubscriptionsDao_Impl subscriptionsDao_Impl = this.f75b;
|
||||
yVar = subscriptionsDao_Impl.__preparedStmtOfDeleteAllStatus;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
a2.I(1, this.f74a ? 1L : 0L);
|
||||
try {
|
||||
uVar = subscriptionsDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar3 = subscriptionsDao_Impl.__db;
|
||||
uVar3.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar2 = subscriptionsDao_Impl.__db;
|
||||
uVar2.endTransaction();
|
||||
}
|
||||
} finally {
|
||||
yVar2 = subscriptionsDao_Impl.__preparedStmtOfDeleteAllStatus;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
}
|
||||
}
|
||||
52
apk_decompiled/sources/A1/r.java
Normal file
52
apk_decompiled/sources/A1/r.java
Normal file
@@ -0,0 +1,52 @@
|
||||
package A1;
|
||||
|
||||
import androidx.room.u;
|
||||
import androidx.room.y;
|
||||
import com.adif.elcanomovil.serviceStorage.database.SubscriptionsDao_Impl;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlin.Unit;
|
||||
import w0.InterfaceC0649e;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class r implements Callable {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f76a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final /* synthetic */ SubscriptionsDao_Impl f77b;
|
||||
|
||||
public r(SubscriptionsDao_Impl subscriptionsDao_Impl, int i) {
|
||||
this.f77b = subscriptionsDao_Impl;
|
||||
this.f76a = i;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
y yVar;
|
||||
y yVar2;
|
||||
u uVar;
|
||||
u uVar2;
|
||||
u uVar3;
|
||||
SubscriptionsDao_Impl subscriptionsDao_Impl = this.f77b;
|
||||
yVar = subscriptionsDao_Impl.__preparedStmtOfDelete;
|
||||
InterfaceC0649e a2 = yVar.a();
|
||||
a2.I(1, this.f76a);
|
||||
try {
|
||||
uVar = subscriptionsDao_Impl.__db;
|
||||
uVar.beginTransaction();
|
||||
try {
|
||||
a2.o();
|
||||
uVar3 = subscriptionsDao_Impl.__db;
|
||||
uVar3.setTransactionSuccessful();
|
||||
return Unit.INSTANCE;
|
||||
} finally {
|
||||
uVar2 = subscriptionsDao_Impl.__db;
|
||||
uVar2.endTransaction();
|
||||
}
|
||||
} finally {
|
||||
yVar2 = subscriptionsDao_Impl.__preparedStmtOfDelete;
|
||||
yVar2.c(a2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user