Loading play-services-api/src/main/aidl/com/google/android/gms/location/internal/FusedLocationProviderResult.aidl 0 → 100644 +3 −0 Original line number Diff line number Diff line package com.google.android.gms.location.internal; parcelable FusedLocationProviderResult; play-services-api/src/main/aidl/com/google/android/gms/location/internal/IFusedLocationProviderCallback.aidl 0 → 100644 +7 −0 Original line number Diff line number Diff line package com.google.android.gms.location.internal; import com.google.android.gms.location.internal.FusedLocationProviderResult; interface IFusedLocationProviderCallback { void onFusedLocationProviderResult(in FusedLocationProviderResult result) = 0; } play-services-api/src/main/java/com/google/android/gms/location/internal/FusedLocationProviderResult.java 0 → 100644 +40 −0 Original line number Diff line number Diff line /* * Copyright 2013-2015 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.android.gms.location.internal; import com.google.android.gms.common.api.Status; import org.microg.safeparcel.AutoSafeParcelable; import org.microg.safeparcel.SafeParceled; public class FusedLocationProviderResult extends AutoSafeParcelable { public static final FusedLocationProviderResult SUCCESS = FusedLocationProviderResult.create(Status.SUCCESS); @SafeParceled(1000) private int versionCode = 1; @SafeParceled(1) public Status status; public static FusedLocationProviderResult create(Status status) { FusedLocationProviderResult result = new FusedLocationProviderResult(); result.status = status; return result; } public static final Creator<FusedLocationProviderResult> CREATOR = new AutoCreator<FusedLocationProviderResult>(FusedLocationProviderResult.class); } play-services-api/src/main/java/com/google/android/gms/location/internal/LocationRequestUpdateData.java +5 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.app.PendingIntent; import com.google.android.gms.location.ILocationCallback; import com.google.android.gms.location.ILocationListener; import com.google.android.gms.location.internal.IFusedLocationProviderCallback; import org.microg.safeparcel.AutoSafeParcelable; import org.microg.safeparcel.SafeParceled; Loading Loading @@ -47,6 +48,9 @@ public class LocationRequestUpdateData extends AutoSafeParcelable { @SafeParceled(5) public ILocationCallback callback; @SafeParceled(6) public IFusedLocationProviderCallback fusedLocationProviderCallback; @Override public String toString() { return "LocationRequestUpdateData{" + Loading @@ -55,6 +59,7 @@ public class LocationRequestUpdateData extends AutoSafeParcelable { ", listener=" + listener + ", pendingIntent=" + pendingIntent + ", callback=" + callback + ", fusedLocationProviderCallback=" + fusedLocationProviderCallback + '}'; } Loading Loading
play-services-api/src/main/aidl/com/google/android/gms/location/internal/FusedLocationProviderResult.aidl 0 → 100644 +3 −0 Original line number Diff line number Diff line package com.google.android.gms.location.internal; parcelable FusedLocationProviderResult;
play-services-api/src/main/aidl/com/google/android/gms/location/internal/IFusedLocationProviderCallback.aidl 0 → 100644 +7 −0 Original line number Diff line number Diff line package com.google.android.gms.location.internal; import com.google.android.gms.location.internal.FusedLocationProviderResult; interface IFusedLocationProviderCallback { void onFusedLocationProviderResult(in FusedLocationProviderResult result) = 0; }
play-services-api/src/main/java/com/google/android/gms/location/internal/FusedLocationProviderResult.java 0 → 100644 +40 −0 Original line number Diff line number Diff line /* * Copyright 2013-2015 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.android.gms.location.internal; import com.google.android.gms.common.api.Status; import org.microg.safeparcel.AutoSafeParcelable; import org.microg.safeparcel.SafeParceled; public class FusedLocationProviderResult extends AutoSafeParcelable { public static final FusedLocationProviderResult SUCCESS = FusedLocationProviderResult.create(Status.SUCCESS); @SafeParceled(1000) private int versionCode = 1; @SafeParceled(1) public Status status; public static FusedLocationProviderResult create(Status status) { FusedLocationProviderResult result = new FusedLocationProviderResult(); result.status = status; return result; } public static final Creator<FusedLocationProviderResult> CREATOR = new AutoCreator<FusedLocationProviderResult>(FusedLocationProviderResult.class); }
play-services-api/src/main/java/com/google/android/gms/location/internal/LocationRequestUpdateData.java +5 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.app.PendingIntent; import com.google.android.gms.location.ILocationCallback; import com.google.android.gms.location.ILocationListener; import com.google.android.gms.location.internal.IFusedLocationProviderCallback; import org.microg.safeparcel.AutoSafeParcelable; import org.microg.safeparcel.SafeParceled; Loading Loading @@ -47,6 +48,9 @@ public class LocationRequestUpdateData extends AutoSafeParcelable { @SafeParceled(5) public ILocationCallback callback; @SafeParceled(6) public IFusedLocationProviderCallback fusedLocationProviderCallback; @Override public String toString() { return "LocationRequestUpdateData{" + Loading @@ -55,6 +59,7 @@ public class LocationRequestUpdateData extends AutoSafeParcelable { ", listener=" + listener + ", pendingIntent=" + pendingIntent + ", callback=" + callback + ", fusedLocationProviderCallback=" + fusedLocationProviderCallback + '}'; } Loading