mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-13 14:17:45 +01:00
Beginning IPeopleService
This commit is contained in:
parent
059d4a7b83
commit
adb160c25b
@ -1,11 +1,11 @@
|
|||||||
package com.google.android.gms.common.data;
|
package com.google.android.gms.common.data;
|
||||||
|
|
||||||
import org.microg.safeparcel.AutoSafeParcelable;
|
import org.microg.safeparcel.AutoSafeParcelable;
|
||||||
|
import org.microg.safeparcel.SafeParceled;
|
||||||
|
|
||||||
/**
|
|
||||||
* TODO: usage
|
|
||||||
*/
|
|
||||||
public class DataHolder extends AutoSafeParcelable {
|
public class DataHolder extends AutoSafeParcelable {
|
||||||
|
@SafeParceled(1000)
|
||||||
|
private int versionCode = 1;
|
||||||
|
|
||||||
public static final Creator<DataHolder> CREATOR = new AutoCreator<>(DataHolder.class);
|
public static final Creator<DataHolder> CREATOR = new AutoCreator<>(DataHolder.class);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
package com.google.android.gms.people.internal;
|
package com.google.android.gms.people.internal;
|
||||||
|
|
||||||
|
import com.google.android.gms.common.data.DataHolder;
|
||||||
|
|
||||||
interface IPeopleCallbacks {
|
interface IPeopleCallbacks {
|
||||||
|
void onDataHolders(int code, in Bundle meta, in DataHolder[] data) = 3;
|
||||||
}
|
}
|
||||||
|
@ -4,32 +4,32 @@ import com.google.android.gms.people.internal.IPeopleCallbacks;
|
|||||||
import com.google.android.gms.common.server.FavaDiagnosticsEntity;
|
import com.google.android.gms.common.server.FavaDiagnosticsEntity;
|
||||||
|
|
||||||
interface IPeopleService {
|
interface IPeopleService {
|
||||||
void unknown1();
|
// void loadOwners1(IPeopleCallbacks var1, boolean var2, boolean var3, String var4, String var5);
|
||||||
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 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<String> var5, int var6, boolean var7, long var8);
|
||||||
void loadPeopleOld(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, int var6, boolean var7, long var8);
|
// void loadAvatarLegacy(IPeopleCallbacks var1, String var2, int var3, int var4);
|
||||||
void loadAvatarLegacy(IPeopleCallbacks var1, String var2, int var3, int var4);
|
// void loadContactImageLegacy(IPeopleCallbacks var1, long var2, boolean var4);
|
||||||
void loadContactImageLegacy(IPeopleCallbacks var1, long var2, boolean var4);
|
// void blockPerson(IPeopleCallbacks var1, String var2, String var3, String var4, boolean var5);
|
||||||
void blockPerson(IPeopleCallbacks var1, String var2, String var3, String var4, boolean var5);
|
// Bundle syncRawContact(in Uri var1);
|
||||||
Bundle syncRawContact(in Uri var1);
|
// void loadPeopleForAggregation8(IPeopleCallbacks var1, String var2, String var3, String var4, boolean var5, int var6);
|
||||||
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);
|
||||||
void setSyncToContactsSettings(IPeopleCallbacks var1, String var2, boolean var3, in String[] var4);
|
// Bundle registerDataChangedListener(IPeopleCallbacks var1, boolean var2, String var3, String var4, int var5);
|
||||||
Bundle registerDataChangedListener(IPeopleCallbacks var1, boolean var2, String var3, String var4, int var5);
|
// Bundle startSync(String var1, String var2);
|
||||||
Bundle startSync(String var1, String var2);
|
// void requestSync(IPeopleCallbacks var1, String var2, String var3, in Uri var4);
|
||||||
void requestSync(IPeopleCallbacks var1, String var2, String var3, in Uri var4);
|
// void updatePersonCirclesOld(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, in List<String> var6);
|
||||||
void updatePersonCirclesOld(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, in List<String> var6);
|
// boolean isSyncToContactsEnabled();
|
||||||
void a(boolean var1);
|
// Bundle requestSyncOld(String var1, String var2);
|
||||||
boolean isSyncToContactsEnabled();
|
// void setAvatar(IPeopleCallbacks var1, String var2, String var3, in Uri var4, boolean var5);
|
||||||
Bundle requestSyncOld(String var1, String var2);
|
// void loadCircles(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6, boolean var7);
|
||||||
void setAvatar(IPeopleCallbacks var1, String var2, String var3, in Uri var4, boolean var5);
|
// Bundle requestSyncOld19(String var1, String var2, long var3);
|
||||||
void loadCircles(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6, boolean var7);
|
// void loadPeople20(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, int var6, boolean var7, long var8, String var10, int var11);
|
||||||
Bundle requestSyncOld19(String var1, String var2, long var3);
|
// void loadPeopleLive(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6);
|
||||||
void loadPeople20(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, int var6, boolean var7, long var8, String var10, int var11);
|
// void updatePersonCircles(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, in List<String> var6, in FavaDiagnosticsEntity var7);
|
||||||
void loadPeopleLive(IPeopleCallbacks var1, String var2, String var3, String var4, int var5, String var6);
|
// void loadRemoteImageLegacy(IPeopleCallbacks var1, String var2);
|
||||||
void updatePersonCircles(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> var5, in List<String> var6, in FavaDiagnosticsEntity var7);
|
// void loadContactsGaiaIds24(IPeopleCallbacks var1, String var2, String var3);
|
||||||
void loadRemoteImageLegacy(IPeopleCallbacks var1, String var2);
|
// Bundle requestSyncOld25(String var1, String var2, long var3, boolean var5);
|
||||||
void loadContactsGaiaIds24(IPeopleCallbacks var1, String var2, String var3);
|
// void addCircle(IPeopleCallbacks var1, String var2, String var3, String var4, String var5);
|
||||||
Bundle requestSyncOld25(String var1, String var2, long var3, boolean var5);
|
// void addPeopleToCircle(IPeopleCallbacks var1, String var2, String var3, String var4, in List<String> 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<String> var5);
|
void loadOwners(IPeopleCallbacks callbacks, boolean var2, boolean var3, String var4, String var5, int var6) = 304;
|
||||||
}
|
}
|
||||||
|
28
src/com/google/android/gms/people/model/AccountMetadata.java
Normal file
28
src/com/google/android/gms/people/model/AccountMetadata.java
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* 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.people.model;
|
||||||
|
|
||||||
|
import org.microg.safeparcel.AutoSafeParcelable;
|
||||||
|
import org.microg.safeparcel.SafeParceled;
|
||||||
|
|
||||||
|
public class AccountMetadata extends AutoSafeParcelable {
|
||||||
|
|
||||||
|
@SafeParceled(1)
|
||||||
|
private int versionCode = 2;
|
||||||
|
|
||||||
|
public static Creator<AccountMetadata> CREATOR = new AutoCreator<>(AccountMetadata.class);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user