0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2025-01-06 23:41:01 +00:00

Merge GmsApi

This commit is contained in:
Marvin W 2020-06-14 23:25:01 +02:00
commit 4b6c61caaa
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A
613 changed files with 18614 additions and 0 deletions

View file

@ -0,0 +1,54 @@
/*
* 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.
*/
apply plugin: 'com.android.library'
String getMyVersionName() {
def stdout = new ByteArrayOutputStream()
if (rootProject.file("gradlew").exists())
exec { commandLine 'git', 'describe', '--tags', '--always', '--dirty'; standardOutput = stdout }
else // automatic build system, don't tag dirty
exec { commandLine 'git', 'describe', '--tags', '--always'; standardOutput = stdout }
return stdout.toString().trim().substring(1)
}
group = 'org.microg'
version = getMyVersionName()
android {
compileSdkVersion androidCompileSdk()
buildToolsVersion "$androidBuildVersionTools"
defaultConfig {
versionName getMyVersionName()
minSdkVersion androidMinSdk()
targetSdkVersion androidTargetSdk()
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
api project(':play-services-basement')
api project(':play-services-cast-api')
api project(':play-services-cast-framework-api')
api project(':play-services-iid-api')
api project(':play-services-location-api')
api project(':play-services-wearable-api')
}

View file

@ -0,0 +1,34 @@
#
# Copyright 2013-2016 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.
#
POM_NAME=Play Services Internal API
POM_DESCRIPTION=Interfaces and objects for IPC between Play Services Library and Play Services Core
POM_PACKAGING=aar
POM_URL=https://github.com/microg/android_external_GmsApi
POM_SCM_URL=https://github.com/microg/android_external_GmsApi
POM_SCM_CONNECTION=scm:git@github.com:microg/android_external_GmsApi.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:microg/android_external_GmsApi.git
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=mar-v-in
POM_DEVELOPER_NAME=Marvin W

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2013-2017 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.
-->
<manifest package="org.microg.gms.api"/>

View file

@ -0,0 +1,14 @@
package com.google.android.auth;
import android.os.Bundle;
import android.accounts.Account;
import com.google.android.gms.auth.AccountChangeEventsResponse;
import com.google.android.gms.auth.AccountChangeEventsRequest;
interface IAuthManagerService {
Bundle getToken(String accountName, String scope, in Bundle extras) = 0;
Bundle clearToken(String token, in Bundle extras) = 1;
AccountChangeEventsResponse getChangeEvents(in AccountChangeEventsRequest request) = 2;
Bundle getTokenWithAccount(in Account account, String scope, in Bundle extras) = 4;
}

View file

@ -0,0 +1,4 @@
package com.google.android.gms.ads;
interface AdManagerCreator {
}

View file

@ -0,0 +1,8 @@
package com.google.android.gms.ads.identifier.internal;
interface IAdvertisingIdService {
String getAdvertisingId() = 0;
boolean isAdTrackingLimited(boolean defaultHint) = 1;
String generateAdvertisingId(String packageName) = 2;
void setAdTrackingLimited(String packageName, boolean limited) = 3;
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable CorpusStatus;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable PIMEUpdate;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable PIMEUpdateResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable RequestIndexingSpecification;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable SuggestSpecification;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable SuggestionResults;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.appdatasearch;
parcelable UsageInfo;

View file

@ -0,0 +1,14 @@
package com.google.android.gms.appdatasearch.internal;
import com.google.android.gms.appdatasearch.CorpusStatus;
import com.google.android.gms.appdatasearch.PIMEUpdateResponse;
import com.google.android.gms.appdatasearch.RequestIndexingSpecification;
import com.google.android.gms.appdatasearch.SuggestionResults;
import com.google.android.gms.appdatasearch.SuggestSpecification;
interface IAppDataSearch {
SuggestionResults getSuggestions(String var1, String packageName, in String[] accounts, int maxNum, in SuggestSpecification specs) = 1;
boolean requestIndexing(String packageName, String accountName, long l, in RequestIndexingSpecification specs) = 3;
CorpusStatus getStatus(String packageName, String accountName) = 4;
PIMEUpdateResponse requestPIMEUpdate(String s1, String s2, int i, in byte[] bs) = 34;
}

View file

@ -0,0 +1,8 @@
package com.google.android.gms.appdatasearch.internal;
import com.google.android.gms.appdatasearch.internal.ILightweightAppDataSearchCallbacks;
import com.google.android.gms.appdatasearch.UsageInfo;
interface ILightweightAppDataSearch {
void view(ILightweightAppDataSearchCallbacks callbacks, String packageName, in UsageInfo[] usageInfos);
}

View file

@ -0,0 +1,4 @@
package com.google.android.gms.appdatasearch.internal;
interface ILightweightAppDataSearchCallbacks {
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth;
parcelable AccountChangeEventsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth;
parcelable AccountChangeEventsResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth.api.credentials;
parcelable Credential;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth.api.credentials;
parcelable CredentialRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth.api.credentials.internal;
parcelable DeleteRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth.api.credentials.internal;
parcelable GeneratePasswordRequest;

View file

@ -0,0 +1,10 @@
package com.google.android.gms.auth.api.credentials.internal;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.auth.api.credentials.Credential;
interface ICredentialsCallbacks {
void onStatusAndCredential(in Status status, in Credential credential) = 0;
void onStatus(in Status status) = 1;
void onStatusAndString(in Status status, String string) = 2;
}

View file

@ -0,0 +1,15 @@
package com.google.android.gms.auth.api.credentials.internal;
import com.google.android.gms.auth.api.credentials.CredentialRequest;
import com.google.android.gms.auth.api.credentials.internal.ICredentialsCallbacks;
import com.google.android.gms.auth.api.credentials.internal.DeleteRequest;
import com.google.android.gms.auth.api.credentials.internal.GeneratePasswordRequest;
import com.google.android.gms.auth.api.credentials.internal.SaveRequest;
interface ICredentialsService {
void request(ICredentialsCallbacks callbacks, in CredentialRequest request) = 0;
void save(ICredentialsCallbacks callbacks, in SaveRequest request) = 1;
void delete(ICredentialsCallbacks callbacks, in DeleteRequest request) = 2;
void disableAutoSignIn(ICredentialsCallbacks callbacks) = 3;
void generatePassword(ICredentialsCallbacks callbacks, in GeneratePasswordRequest request) = 4;
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.auth.api.credentials.internal;
parcelable SaveRequest;

View file

@ -0,0 +1,5 @@
package com.google.android.gms.checkin.internal;
interface ICheckinService {
String getDeviceDataVersionInfo();
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.clearcut;
parcelable LogEventParcelable;

View file

@ -0,0 +1,7 @@
package com.google.android.gms.clearcut.internal;
import com.google.android.gms.common.api.Status;
interface IClearcutLoggerCallbacks {
void onStatus(in Status status) = 0;
}

View file

@ -0,0 +1,8 @@
package com.google.android.gms.clearcut.internal;
import com.google.android.gms.clearcut.internal.IClearcutLoggerCallbacks;
import com.google.android.gms.clearcut.LogEventParcelable;
interface IClearcutLoggerService {
void log(IClearcutLoggerCallbacks callbacks, in LogEventParcelable event) = 0;
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.common.internal;
parcelable GoogleCertificatesQuery;

View file

@ -0,0 +1,8 @@
package com.google.android.gms.common.internal;
import com.google.android.gms.dynamic.IObjectWrapper;
interface ICertData {
IObjectWrapper getWrappedBytes();
int remoteHashCode();
}

View file

@ -0,0 +1,12 @@
package com.google.android.gms.common.internal;
import com.google.android.gms.common.internal.GoogleCertificatesQuery;
import com.google.android.gms.dynamic.IObjectWrapper;
interface IGoogleCertificatesApi {
IObjectWrapper getGoogleCertficates();
IObjectWrapper getGoogleReleaseCertificates();
boolean isGoogleReleaseSigned(String packageName, IObjectWrapper certData);
boolean isGoogleSigned(String packageName, IObjectWrapper certData);
boolean isGoogleOrPlatformSigned(in GoogleCertificatesQuery query, IObjectWrapper packageManager);
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable AddEventListenerRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable AddPermissionRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable AuthorizeAccessRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CancelPendingActionsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ChangeResourceParentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ChangeSequenceNumber;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ChangesResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CheckResourceIdsExistRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CloseContentsAndUpdateMetadataRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CloseContentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ContentsResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ControlProgressRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CreateContentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CreateFileIntentSenderRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CreateFileRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable CreateFolderRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DeleteResourceRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DeviceUsagePreferenceResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DisconnectRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DownloadProgressResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DriveIdResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DrivePreferencesResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable DriveServiceResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable EventResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable FetchThumbnailRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable FetchThumbnailResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable GetChangesRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable GetDriveIdFromUniqueIdRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable GetMetadataRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable GetPermissionsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable GetPermissionsResponse;

View file

@ -0,0 +1,95 @@
package com.google.android.gms.drive.internal;
import com.google.android.gms.drive.internal.DriveServiceResponse;
import com.google.android.gms.drive.internal.IDriveServiceCallbacks;
import com.google.android.gms.drive.internal.IEventCallback;
import com.google.android.gms.drive.internal.AddEventListenerRequest;
import com.google.android.gms.drive.internal.AddPermissionRequest;
import com.google.android.gms.drive.internal.AuthorizeAccessRequest;
import com.google.android.gms.drive.internal.CancelPendingActionsRequest;
import com.google.android.gms.drive.internal.ChangeResourceParentsRequest;
import com.google.android.gms.drive.internal.CheckResourceIdsExistRequest;
import com.google.android.gms.drive.internal.CloseContentsAndUpdateMetadataRequest;
import com.google.android.gms.drive.internal.CloseContentsRequest;
import com.google.android.gms.drive.internal.ControlProgressRequest;
import com.google.android.gms.drive.internal.CreateContentsRequest;
import com.google.android.gms.drive.internal.CreateFileRequest;
import com.google.android.gms.drive.internal.CreateFileIntentSenderRequest;
import com.google.android.gms.drive.internal.CreateFolderRequest;
import com.google.android.gms.drive.internal.DeleteResourceRequest;
import com.google.android.gms.drive.internal.DisconnectRequest;
import com.google.android.gms.drive.internal.FetchThumbnailRequest;
import com.google.android.gms.drive.internal.GetChangesRequest;
import com.google.android.gms.drive.internal.GetDriveIdFromUniqueIdRequest;
import com.google.android.gms.drive.internal.GetMetadataRequest;
import com.google.android.gms.drive.internal.GetPermissionsRequest;
import com.google.android.gms.drive.internal.ListParentsRequest;
import com.google.android.gms.drive.internal.LoadRealtimeRequest;
import com.google.android.gms.drive.internal.OpenContentsRequest;
import com.google.android.gms.drive.internal.OpenFileIntentSenderRequest;
import com.google.android.gms.drive.internal.RealtimeDocumentSyncRequest;
import com.google.android.gms.drive.internal.RemoveEventListenerRequest;
import com.google.android.gms.drive.internal.RemovePermissionRequest;
import com.google.android.gms.drive.internal.SetDrivePreferencesRequest;
import com.google.android.gms.drive.internal.SetFileUploadPreferencesRequest;
import com.google.android.gms.drive.internal.SetResourceParentsRequest;
import com.google.android.gms.drive.internal.StreamContentsRequest;
import com.google.android.gms.drive.internal.TrashResourceRequest;
import com.google.android.gms.drive.internal.UnsubscribeResourceRequest;
import com.google.android.gms.drive.internal.UntrashResourceRequest;
import com.google.android.gms.drive.internal.UpdateMetadataRequest;
import com.google.android.gms.drive.internal.UpdatePermissionRequest;
interface IDriveService {
void getMetadata(in GetMetadataRequest request, IDriveServiceCallbacks callbacks) = 0;
void updateMetadata(in UpdateMetadataRequest request, IDriveServiceCallbacks callbacks) = 2;
void createContents(in CreateContentsRequest request, IDriveServiceCallbacks callbacks) = 3;
void createFile(in CreateFileRequest request, IDriveServiceCallbacks callbacks) = 4;
void createFolder(in CreateFolderRequest request, IDriveServiceCallbacks callbacks) = 5;
DriveServiceResponse openContents(in OpenContentsRequest request, IDriveServiceCallbacks callbacks) = 6;
void closeContents(in CloseContentsRequest request, IDriveServiceCallbacks callbacks) = 7;
void requestSync(IDriveServiceCallbacks callbacks) = 8;
IntentSender openFileIntentSender(in OpenFileIntentSenderRequest request) = 9;
IntentSender createFileIntentSender(in CreateFileIntentSenderRequest request) = 10;
void authorizeAccess(in AuthorizeAccessRequest request, IDriveServiceCallbacks callbacks) = 11;
void listParents(in ListParentsRequest request, IDriveServiceCallbacks callbacks) = 12;
void addEventListener(in AddEventListenerRequest request, IEventCallback callback, String unused, IDriveServiceCallbacks callbacks) = 13;
void removeEventListener(in RemoveEventListenerRequest request, IEventCallback callback, String unused, IDriveServiceCallbacks callbacks) = 14;
void disconnect(in DisconnectRequest request) = 15;
void trashResource(in TrashResourceRequest request, IDriveServiceCallbacks callbacks) = 16;
void closeContentsAndUpdateMetadata(in CloseContentsAndUpdateMetadataRequest request, IDriveServiceCallbacks callbacks) = 17;
void deleteResource(in DeleteResourceRequest request, IDriveServiceCallbacks callbacks) = 23;
void loadRealtime(in LoadRealtimeRequest request, IDriveServiceCallbacks callbacks) = 26;
void setResourceParents(in SetResourceParentsRequest request, IDriveServiceCallbacks callbacks) = 27;
void getDriveIdFromUniqueId(in GetDriveIdFromUniqueIdRequest request, IDriveServiceCallbacks callbacks) = 28;
void checkResourceIdsExist(in CheckResourceIdsExistRequest request, IDriveServiceCallbacks callbacks) = 29;
void completePendingAction(IDriveServiceCallbacks callbacks) = 30;
void getDrivePreferences(IDriveServiceCallbacks callbacks) = 31;
void setDrivePreferences(in SetDrivePreferencesRequest request, IDriveServiceCallbacks callbacks) = 32;
void realtimeDocumentSync(in RealtimeDocumentSyncRequest request, IDriveServiceCallbacks callbacks) = 33;
void getDeviceUsagePreferences(IDriveServiceCallbacks callbacks) = 34;
void setFileUploadPreferences(in SetFileUploadPreferencesRequest request, IDriveServiceCallbacks callbacks) = 35;
void cancelPendingActions(in CancelPendingActionsRequest request, IDriveServiceCallbacks callbacks) = 36;
void untrashResource(in UntrashResourceRequest request, IDriveServiceCallbacks callbacks) = 37;
void isAutoBackupEnabled(IDriveServiceCallbacks callbacks) = 40;
void fetchThumbnail(in FetchThumbnailRequest request, IDriveServiceCallbacks callbacks) = 41;
void getChanges(in GetChangesRequest request, IDriveServiceCallbacks callbacks) = 43;
void unsubscribeResource(in UnsubscribeResourceRequest request, IDriveServiceCallbacks callbacks) = 45;
void getPermissions(in GetPermissionsRequest request, IDriveServiceCallbacks callbacks) = 46;
void addPermission(in AddPermissionRequest request, IDriveServiceCallbacks callbacks) = 47;
void updatePermission(in UpdatePermissionRequest request, IDriveServiceCallbacks callbacks) = 48;
void removePermission(in RemovePermissionRequest request, IDriveServiceCallbacks callbacks) = 49;
void removeQueryResultListener(IEventCallback callback, IDriveServiceCallbacks callbacks) = 51;
void controlProgress(in ControlProgressRequest request, IDriveServiceCallbacks callbacks) = 52;
void changeResourceParents(in ChangeResourceParentsRequest request, IDriveServiceCallbacks callbacks) = 54;
DriveServiceResponse streamContents(in StreamContentsRequest request, IDriveServiceCallbacks callbacks) = 55;
}

View file

@ -0,0 +1,48 @@
package com.google.android.gms.drive.internal;
import com.google.android.gms.drive.internal.IRealtimeService;
import com.google.android.gms.drive.internal.DownloadProgressResponse;
import com.google.android.gms.drive.internal.ListEntriesResponse;
import com.google.android.gms.drive.internal.DriveIdResponse;
import com.google.android.gms.drive.internal.MetadataResponse;
import com.google.android.gms.drive.internal.ContentsResponse;
import com.google.android.gms.drive.internal.ListParentsResponse;
import com.google.android.gms.drive.internal.SyncMoreResponse;
import com.google.android.gms.drive.internal.LoadRealtimeResponse;
import com.google.android.gms.drive.internal.ResourceIdSetResponse;
import com.google.android.gms.drive.internal.DrivePreferencesResponse;
import com.google.android.gms.drive.internal.DeviceUsagePreferenceResponse;
import com.google.android.gms.drive.internal.FetchThumbnailResponse;
import com.google.android.gms.drive.internal.ChangeSequenceNumber;
import com.google.android.gms.drive.internal.ChangesResponse;
import com.google.android.gms.drive.internal.GetPermissionsResponse;
import com.google.android.gms.drive.internal.StringListResponse;
import com.google.android.gms.drive.internal.StartStreamSession;
import com.google.android.gms.common.api.Status;
interface IDriveServiceCallbacks {
void onDownloadProgress(in DownloadProgressResponse response) = 0;
void onListEntries(in ListEntriesResponse response) = 1;
void onDriveId(in DriveIdResponse response) = 2;
void onMetadata(in MetadataResponse response) = 3;
void onContents(in ContentsResponse response) = 4;
void onStatus(in Status status) = 5;
void onSuccess() = 6;
void onListParents(in ListParentsResponse response) = 7;
void onSyncMore(in SyncMoreResponse response) = 8;
void onLoadRealtime(in LoadRealtimeResponse response, IRealtimeService realtimeService) = 10;
void onResourceIdSet(in ResourceIdSetResponse response) = 11;
void onDrivePreferences(in DrivePreferencesResponse response) = 12;
void onDeviceUsagePreference(in DeviceUsagePreferenceResponse response) = 13;
void onBooleanAnswer(boolean bool) = 14;
void onFetchThumbnail(in FetchThumbnailResponse response) = 15;
void onChangeSequenceNumber(in ChangeSequenceNumber csn) = 16;
void onChanges(in ChangesResponse response) = 17;
void onGetPermissions(in GetPermissionsResponse response) = 19;
void onStringList(in StringListResponse response) = 20;
void onStartStreamSession(in StartStreamSession response) = 21;
}

View file

@ -0,0 +1,7 @@
package com.google.android.gms.drive.internal;
import com.google.android.gms.drive.internal.EventResponse;
interface IEventCallback {
void onEventResponse(in EventResponse response) = 0;
}

View file

@ -0,0 +1,5 @@
package com.google.android.gms.drive.internal;
interface IRealtimeService {
// TODO
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ListEntriesResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ListParentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ListParentsResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable LoadRealtimeRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable LoadRealtimeResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable MetadataResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable OpenContentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable OpenFileIntentSenderRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable RealtimeDocumentSyncRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable RemoveEventListenerRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable RemovePermissionRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable ResourceIdSetResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable SetDrivePreferencesRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable SetFileUploadPreferencesRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable SetResourceParentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable StartStreamSession;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable StreamContentsRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable StringListResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable SyncMoreResponse;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable TrashResourceRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable UnsubscribeResourceRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable UntrashResourceRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable UpdateMetadataRequest;

View file

@ -0,0 +1,3 @@
package com.google.android.gms.drive.internal;
parcelable UpdatePermissionRequest;

View file

@ -0,0 +1,10 @@
package com.google.android.gms.dynamite;
import com.google.android.gms.dynamic.IObjectWrapper;
interface IDynamiteLoader {
int getModuleVersion(IObjectWrapper context, String moduleId) = 0;
int getModuleVersion2(IObjectWrapper context, String moduleId, boolean updateConfigIfRequired) = 2;
IObjectWrapper createModuleContext(IObjectWrapper context, String moduleId, int minVersion) = 1;
}

View file

@ -0,0 +1,47 @@
package com.google.android.gms.games.internal;
import com.google.android.gms.common.data.DataHolder;
import com.google.android.gms.games.multiplayer.realtime.RealTimeMessage;
interface IGamesCallbacks {
void onAuthTokenLoaded(int statusCode, String authToken) = 5000;
void onAchievementsLoaded(in DataHolder data) = 5001;
void onAchievementUpdated(int statusCode, String achievementId) = 5002;
void onLeaderboardsLoaded(in DataHolder data) = 5003;
void onLeaderboardScoresLoaded(in DataHolder leaderboard, in DataHolder scores) = 5004;
void onScoreSubmitted(in DataHolder data) = 5005;
void onPlayersLoaded(in DataHolder data) = 5006;
void onExtendedPlayersLoaded(in DataHolder data) = 5007;
void onGamesLoaded(in DataHolder data) = 5008;
void onExtendedGamesLoaded(in DataHolder data) = 5009;
void onGameInstancesLoaded(in DataHolder data) = 5010;
void onGameplayAclLoaded(in DataHolder data) = 5011;
void onGameplayAclUpdated(int statusCode) = 5012;
void onFAclLoaded(in DataHolder data) = 5013;
void onFAclUpdated(int statusCode) = 5014;
void onSignOutComplete() = 5015;
void onInvitationsLoaded(in DataHolder data) = 5016;
void onRoomCreated(in DataHolder data) = 5017;
void onJoinedRoom(in DataHolder data) = 5018;
void onLeftRoom(int statusCode, String roomId) = 5019;
void onRoomConnecting(in DataHolder data) = 5020;
void onRoomAutoMatching(in DataHolder data) = 5021;
void onRoomConnected(in DataHolder data) = 5022;
void onConnectedToRoom(in DataHolder data) = 5023;
void onDisconnectedFromRoom(in DataHolder data) = 5024;
void onPeerInvitedToRoom(in DataHolder data, in String[] participantIds) = 5025;
void onPeerJoinedRoom(in DataHolder data, in String[] participantIds) = 5026;
void onPeerLeftRoom(in DataHolder data, in String[] participantIds) = 5027;
void onPeerDeclined(in DataHolder data, in String[] participantIds) = 5028;
void onPeerConnected(in DataHolder data, in String[] participantIds) = 5029;
void onPeerDisconnected(in DataHolder data, in String[] participantIds) = 5030;
void onRealTimeMessageReceived(in RealTimeMessage message) = 5031;
void onMessageSent(int statusCode, int messageId, String recipientParticipantId) = 5032;
void onGameMuteStatusChanged(int statusCode, String externalGameId, boolean isMuted) = 5033;
void onNotifyAclLoaded(in DataHolder data) = 5034;
void onNotifyAclUpdated(int statusCode) = 5035;
void onInvitationReceived(in DataHolder data) = 5036;
void onGameMuteStatusLoaded(in DataHolder data) = 5037;
void onContactSettingsLoaded(in DataHolder data) = 5038;
void onContactSettingsUpdated(int statusCode) = 5039;
}

View file

@ -0,0 +1,80 @@
package com.google.android.gms.games.internal;
import android.net.Uri;
import android.os.Bundle;
import android.os.IBinder;
import com.google.android.gms.games.internal.IGamesCallbacks;
import com.google.android.gms.common.data.DataHolder;
interface IGamesService {
void clientDisconnecting(long clientId) = 5000;
void signOut(IGamesCallbacks callbacks) = 5001;
String getAppId() = 5002;
Bundle getConnectionHint() = 5003;
void showWelcomePopup(IBinder windowToken, in Bundle extraArgs) = 5004;
void cancelPopups() = 5005;
String getCurrentAccountName() = 5006;
void loadGameplayAclInternal(IGamesCallbacks callbacks, String gameId) = 5007;
void updateGameplayAclInternal(IGamesCallbacks callbacks, String gameId, String aclData) = 5008;
void loadFAclInternal(IGamesCallbacks callbacks, String gameId) = 5009;
void updateFAclInternal(IGamesCallbacks callbacks, String gameId, boolean allCirclesVisible, in long[] circleIds) = 5010;
String getCurrentPlayerId() = 5011;
DataHolder getCurrentPlayer() = 5012;
void loadPlayer(IGamesCallbacks callbacks, String playerId) = 5013;
void loadInvitablePlayers(IGamesCallbacks callbacks, int pageSize, boolean expandCachedData, boolean forceReload) = 5014;
void submitScore(IGamesCallbacks callbacks, String leaderboardId, long score) = 5015;
void loadLeaderboards(IGamesCallbacks callbacks) = 5016;
void loadLeaderboard(IGamesCallbacks callbacks, String leaderboardId) = 5017;
void loadTopScores(IGamesCallbacks callbacks, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5018;
void loadPlayerCenteredScores(IGamesCallbacks callbacks, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5019;
void loadMoreScores(IGamesCallbacks callbacks, in Bundle previousheader, int maxResults, int pageDirection) = 5020;
void loadAchievements(IGamesCallbacks callbacks) = 5021;
void revealAchievement(IGamesCallbacks callbacks, String achievementId, IBinder windowToken, in Bundle extraArgs) = 5022;
void unlockAchievement(IGamesCallbacks callbacks, String achievementId, IBinder windowToken, in Bundle extraArgs) = 5023;
void incrementAchievement(IGamesCallbacks callbacks, String achievementId, int numSteps, IBinder windowToken, in Bundle extraArgs) = 5024;
void loadGame(IGamesCallbacks callbacks) = 5025;
void loadInvitations(IGamesCallbacks callbacks) = 5026;
void declineInvitation(String invitationId, int invitationType) = 5027;
void dismissInvitation(String invitationId, int invitationType) = 5028;
void createRoom(IGamesCallbacks callbacks, IBinder processBinder, int variant, in String[] invitedPlayerIds, in Bundle autoMatchCriteria, boolean enableSockets, long clientId) = 5029;
void joinRoom(IGamesCallbacks callbacks, IBinder processBinder, String matchId, boolean enableSockets, long clientId) = 5030;
void leaveRoom(IGamesCallbacks callbacks, String matchId) = 5031;
int sendReliableMessage(IGamesCallbacks callbacks, in byte[] messageData, String matchId, String recipientParticipantId) = 5032;
int sendUnreliableMessage(in byte[] messageData, String matchId, in String[] recipientParticipantIds) = 5033;
String createSocketConnection(String participantId) = 5034;
void clearNotifications(int notificationTypes) = 5035;
void loadLeaderboardsFirstParty(IGamesCallbacks callbacks, String gameId) = 5036;
void loadLeaderboardFirstParty(IGamesCallbacks callbacks, String gameId, String leaderboardId) = 5037;
void loadTopScoresFirstParty(IGamesCallbacks callbacks, String gameId, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5038;
void loadPlayerCenteredScoresFirstParty(IGamesCallbacks callbacks, String gameId, String leaderboardId, int span, int leaderboardCollection, int maxResults, boolean forceReload) = 5039;
void loadAchievementsFirstParty(IGamesCallbacks callbacks, String playerId, String gameId) = 5040;
void loadGameFirstParty(IGamesCallbacks callbacks, String gameId) = 5041;
void loadGameInstancesFirstParty(IGamesCallbacks callbacks, String gameId) = 5042;
void loadGameCollectionFirstParty(IGamesCallbacks callbacks, int pageSize, int collectionType, boolean expandCachedData, boolean forceReload) = 5043;
void loadRecentlyPlayedGamesFirstParty(IGamesCallbacks callbacks, String externalPlayerId, int pageSize, boolean expandCachedData, boolean forceReload) = 5044;
void loadInvitablePlayersFirstParty(IGamesCallbacks callbacks, int pageSize, boolean expandCachedData, boolean forceReload) = 5045;
void loadRecentPlayersFirstParty(IGamesCallbacks callbacks) = 5046;
void loadCircledPlayersFirstParty(IGamesCallbacks callbacks, int pageSize, boolean expandCachedData, boolean forceReload) = 5047;
void loadSuggestedPlayersFirstParty(IGamesCallbacks callbacks) = 5048;
void dismissPlayerSuggestionFirstParty(String playerIdToDismiss) = 5049;
void declineInvitationFirstParty(String gameId, String invitationId, int invitationType) = 5050;
void loadInvitationsFirstParty(IGamesCallbacks callbacks, String gameId) = 5051;
int registerWaitingRoomListenerRestricted(IGamesCallbacks callbacks, String roomId) = 5052;
void setGameMuteStatusInternal(IGamesCallbacks callbacks, String gameId, boolean muted) = 5053;
void clearNotificationsFirstParty(String gameId, int notificationTypes) = 5054;
void loadNotifyAclInternal(IGamesCallbacks callbacks) = 5055;
void updateNotifyAclInternal(IGamesCallbacks callbacks, String aclData) = 5056;
void registerInvitationListener(IGamesCallbacks callbacks, long clientId) = 5057;
void unregisterInvitationListener(long clientId) = 5058;
int unregisterWaitingRoomListenerRestricted(String roomId) = 5059;
void isGameMutedInternal(IGamesCallbacks callbacks, String gameId) = 5060;
void loadContactSettingsInternal(IGamesCallbacks callbacks) = 5061;
void updateContactSettingsInternal(IGamesCallbacks callbacks, boolean enableMobileNotifications) = 5062;
String getSelectedAccountForGameFirstParty(String gamePackageName) = 5063;
void updateSelectedAccountForGameFirstParty(String gamePackageName, String accountName) = 5064;
Uri getGamesContentUriRestricted(String gameId) = 5065;
boolean shouldUseNewPlayerNotificationsFirstParty() = 5066;
void setUseNewPlayerNotificationsFirstParty(boolean newPlayerStyle) = 5067;
void searchForPlayersFirstParty(IGamesCallbacks callbacks, String query, int pageSize, boolean expandCachedData, boolean forceReload) = 5500;
DataHolder getCurrentGame() = 5501;
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.games.multiplayer.realtime;
parcelable RealTimeMessage;

View file

@ -0,0 +1,7 @@
package com.google.android.gms.http;
import android.os.Bundle;
interface IGoogleHttpService {
Bundle checkUrl(String url);
}

View file

@ -0,0 +1,5 @@
package com.google.android.gms.location.places.internal;
interface IGooglePlaceDetectionService {
}

View file

@ -0,0 +1,5 @@
package com.google.android.gms.location.places.internal;
interface IGooglePlacesService {
}

View file

@ -0,0 +1,3 @@
package com.google.android.gms.maps;
parcelable GoogleMapOptions;

View file

@ -0,0 +1,20 @@
package com.google.android.gms.maps.internal;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.LatLngBounds;
interface ICameraUpdateFactoryDelegate {
IObjectWrapper zoomIn();
IObjectWrapper zoomOut();
IObjectWrapper scrollBy(float x, float y);
IObjectWrapper zoomTo(float zoom);
IObjectWrapper zoomBy(float zoomDelta);
IObjectWrapper zoomByWithFocus(float zoomDelta, int x, int y);
IObjectWrapper newCameraPosition(in CameraPosition cameraPosition);
IObjectWrapper newLatLng(in LatLng latLng);
IObjectWrapper newLatLngZoom(in LatLng latLng, float zoom);
IObjectWrapper newLatLngBounds(in LatLngBounds bounds, int padding);
IObjectWrapper newLatLngBoundsWithSize(in LatLngBounds bounds, int width, int height, int padding);
}

Some files were not shown because too many files have changed in this diff Show more