mirror of
https://github.com/moparisthebest/android_external_GmsApi
synced 2024-11-27 02:52:17 -05:00
Update safe-parcel, add new features to icing
This commit is contained in:
parent
562e231775
commit
8928053170
2
extern/SafeParcel
vendored
2
extern/SafeParcel
vendored
@ -1 +1 @@
|
||||
Subproject commit b383701659ca342ee08ff2b2f15b5611daaac2f4
|
||||
Subproject commit 26d9c429770c37ad3e087d4469c4d4b3042e4f25
|
@ -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;
|
@ -1,10 +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,5 @@
|
||||
package com.google.android.gms.search.administration.internal;
|
||||
|
||||
interface ISearchAdministrationService {
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.google.android.gms.search.corpora.internal;
|
||||
|
||||
interface ISearchCorporaService {
|
||||
|
||||
}
|
@ -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.appdatasearch;
|
||||
|
||||
import org.microg.safeparcel.AutoSafeParcelable;
|
||||
|
||||
public class PIMEUpdate extends AutoSafeParcelable {
|
||||
|
||||
public static final Creator<PIMEUpdate> CREATOR = new AutoCreator<>(PIMEUpdate.class);
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.appdatasearch;
|
||||
|
||||
import org.microg.safeparcel.AutoSafeParcelable;
|
||||
import org.microg.safeparcel.SafeParceled;
|
||||
|
||||
public class PIMEUpdateResponse extends AutoSafeParcelable {
|
||||
@SafeParceled(1000)
|
||||
private int versionCode = 1;
|
||||
|
||||
@SafeParceled(1)
|
||||
private String b;
|
||||
|
||||
@SafeParceled(2)
|
||||
public final byte[] bytes;
|
||||
|
||||
@SafeParceled(3)
|
||||
public final PIMEUpdate[] updates;
|
||||
|
||||
public PIMEUpdateResponse() {
|
||||
this.bytes = null;
|
||||
this.updates = new PIMEUpdate[0];
|
||||
}
|
||||
|
||||
public static final Creator<PIMEUpdateResponse> CREATOR = new AutoCreator<>(PIMEUpdateResponse.class);
|
||||
}
|
@ -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.appdatasearch;
|
||||
|
||||
import org.microg.safeparcel.AutoSafeParcelable;
|
||||
import org.microg.safeparcel.SafeParceled;
|
||||
|
||||
public class RequestIndexingSpecification extends AutoSafeParcelable {
|
||||
|
||||
@SafeParceled(1000)
|
||||
private int versionCode;
|
||||
|
||||
public static final Creator<RequestIndexingSpecification> CREATOR = new AutoCreator<>(RequestIndexingSpecification.class);
|
||||
}
|
@ -131,6 +131,7 @@ public final class Services {
|
||||
|
||||
public static final class PLAY_LOG {
|
||||
public static final int SERVICE_ID = 24;
|
||||
public static final String ACTION = "com.google.android.gms.playlog.service.START";
|
||||
}
|
||||
|
||||
public static final class DROIDGUARD {
|
||||
|
Loading…
Reference in New Issue
Block a user