Merge GmsApi
This commit is contained in:
commit
4b6c61caaa
613 changed files with 18614 additions and 0 deletions
54
play-services-api/build.gradle
Normal file
54
play-services-api/build.gradle
Normal 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')
|
||||
}
|
||||
34
play-services-api/gradle.properties
Normal file
34
play-services-api/gradle.properties
Normal 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
|
||||
|
||||
18
play-services-api/src/main/AndroidManifest.xml
Normal file
18
play-services-api/src/main/AndroidManifest.xml
Normal 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"/>
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
package com.google.android.gms.ads;
|
||||
|
||||
interface AdManagerCreator {
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable CorpusStatus;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable PIMEUpdate;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable PIMEUpdateResponse;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable RequestIndexingSpecification;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable SuggestSpecification;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable SuggestionResults;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.appdatasearch;
|
||||
|
||||
parcelable UsageInfo;
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
package com.google.android.gms.appdatasearch.internal;
|
||||
|
||||
interface ILightweightAppDataSearchCallbacks {
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.auth;
|
||||
|
||||
parcelable AccountChangeEventsRequest;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.auth;
|
||||
|
||||
parcelable AccountChangeEventsResponse;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.auth.api.credentials;
|
||||
|
||||
parcelable Credential;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.google.android.gms.auth.api.credentials;
|
||||
|
||||
parcelable CredentialRequest;
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue