From 059d4a7b835dc52b99b5313077fa3dfd2e61b831 Mon Sep 17 00:00:00 2001 From: mar-v-in Date: Tue, 3 Mar 2015 22:30:51 +0100 Subject: [PATCH] Start adding IPeopleService --- .../common/server/FavaDiagnosticsEntity.aidl | 3 ++ .../common/server/FavaDiagnosticsEntity.java | 24 ++++++++++++++ .../gms/people/internal/IPeopleCallbacks.aidl | 4 +++ .../gms/people/internal/IPeopleService.aidl | 32 ++++++++++++++++++- 4 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 src/com/google/android/gms/common/server/FavaDiagnosticsEntity.aidl create mode 100644 src/com/google/android/gms/common/server/FavaDiagnosticsEntity.java create mode 100644 src/com/google/android/gms/people/internal/IPeopleCallbacks.aidl diff --git a/src/com/google/android/gms/common/server/FavaDiagnosticsEntity.aidl b/src/com/google/android/gms/common/server/FavaDiagnosticsEntity.aidl new file mode 100644 index 0000000..69b856b --- /dev/null +++ b/src/com/google/android/gms/common/server/FavaDiagnosticsEntity.aidl @@ -0,0 +1,3 @@ +package com.google.android.gms.common.server; + +parcelable FavaDiagnosticsEntity; \ No newline at end of file diff --git a/src/com/google/android/gms/common/server/FavaDiagnosticsEntity.java b/src/com/google/android/gms/common/server/FavaDiagnosticsEntity.java new file mode 100644 index 0000000..6183e2f --- /dev/null +++ b/src/com/google/android/gms/common/server/FavaDiagnosticsEntity.java @@ -0,0 +1,24 @@ +/* + * Copyright 2013-2015 µg 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.common.server; + +import org.microg.safeparcel.AutoSafeParcelable; + +public class FavaDiagnosticsEntity extends AutoSafeParcelable { + + public static final Creator CREATOR = new AutoCreator<>(FavaDiagnosticsEntity.class); +} diff --git a/src/com/google/android/gms/people/internal/IPeopleCallbacks.aidl b/src/com/google/android/gms/people/internal/IPeopleCallbacks.aidl new file mode 100644 index 0000000..f1f0d5f --- /dev/null +++ b/src/com/google/android/gms/people/internal/IPeopleCallbacks.aidl @@ -0,0 +1,4 @@ +package com.google.android.gms.people.internal; + +interface IPeopleCallbacks { +} diff --git a/src/com/google/android/gms/people/internal/IPeopleService.aidl b/src/com/google/android/gms/people/internal/IPeopleService.aidl index 563c976..8c41d3a 100644 --- a/src/com/google/android/gms/people/internal/IPeopleService.aidl +++ b/src/com/google/android/gms/people/internal/IPeopleService.aidl @@ -1,5 +1,35 @@ package com.google.android.gms.people.internal; -interface IPeopleService { +import com.google.android.gms.people.internal.IPeopleCallbacks; +import com.google.android.gms.common.server.FavaDiagnosticsEntity; +interface IPeopleService { + void unknown1(); + void loadOwners1(IPeopleCallbacks var1, boolean var2, boolean var3, String var4, String var5); + void loadCirclesOld(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6); + void loadPeopleOld(IPeopleCallbacks var1, String var2, String var3, String var4, in List var5, int var6, boolean var7, long var8); + void loadAvatarLegacy(IPeopleCallbacks var1, String var2, int var3, int var4); + void loadContactImageLegacy(IPeopleCallbacks var1, long var2, boolean var4); + void blockPerson(IPeopleCallbacks var1, String var2, String var3, String var4, boolean var5); + Bundle syncRawContact(in Uri var1); + void loadPeopleForAggregation8(IPeopleCallbacks var1, String var2, String var3, String var4, boolean var5, int var6); + void setSyncToContactsSettings(IPeopleCallbacks var1, String var2, boolean var3, in String[] var4); + Bundle registerDataChangedListener(IPeopleCallbacks var1, boolean var2, String var3, String var4, int var5); + Bundle startSync(String var1, String var2); + void requestSync(IPeopleCallbacks var1, String var2, String var3, in Uri var4); + void updatePersonCirclesOld(IPeopleCallbacks var1, String var2, String var3, String var4, in List var5, in List var6); + void a(boolean var1); + boolean isSyncToContactsEnabled(); + Bundle requestSyncOld(String var1, String var2); + void setAvatar(IPeopleCallbacks var1, String var2, String var3, in Uri var4, boolean var5); + void loadCircles(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6, boolean var7); + Bundle requestSyncOld19(String var1, String var2, long var3); + void loadPeople20(IPeopleCallbacks var1, String var2, String var3, String var4, in List var5, int var6, boolean var7, long var8, String var10, int var11); + void loadPeopleLive(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6); + void updatePersonCircles(IPeopleCallbacks var1, String var2, String var3, String var4, in List var5, in List var6, in FavaDiagnosticsEntity var7); + void loadRemoteImageLegacy(IPeopleCallbacks var1, String var2); + void loadContactsGaiaIds24(IPeopleCallbacks var1, String var2, String var3); + Bundle requestSyncOld25(String var1, String var2, long var3, boolean var5); + void addCircle(IPeopleCallbacks var1, String var2, String var3, String var4, String var5); + void addPeopleToCircle(IPeopleCallbacks var1, String var2, String var3, String var4, in List var5); }