Repo Created

This commit is contained in:
Fr4nz D13trich 2025-11-15 17:44:12 +01:00
parent eb305e2886
commit a8c22c65db
4784 changed files with 329907 additions and 2 deletions

View file

@ -0,0 +1,43 @@
/*
* SPDX-FileCopyrightText: 2022 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply plugin: 'signing'
android {
namespace "com.google.android.gms.drive"
compileSdkVersion androidCompileSdk
buildToolsVersion "$androidBuildVersionTools"
buildFeatures {
aidl = true
}
defaultConfig {
versionName version
minSdkVersion androidMinSdk
targetSdkVersion androidTargetSdk
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}
apply from: '../gradle/publish-android.gradle'
description = 'microG implementation of play-services-drive'
dependencies {
// Dependencies from play-services-drive:17.0.0
api "androidx.collection:collection:1.0.0"
api project(':play-services-base')
api project(':play-services-basement')
api project(':play-services-tasks')
annotationProcessor project(':safe-parcel-processor')
}

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ SPDX-FileCopyrightText: 2022 microG Project Team
~ SPDX-License-Identifier: Apache-2.0
-->
<manifest />

View file

@ -0,0 +1,8 @@
/**
* SPDX-FileCopyrightText: 2024 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.android.gms.drive;
parcelable Contents;

View file

@ -0,0 +1,8 @@
/**
* SPDX-FileCopyrightText: 2024 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.android.gms.drive;
parcelable DriveId;

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,81 @@
/**
* SPDX-FileCopyrightText: 2024 microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.android.gms.drive;
import android.os.Parcel;
import android.os.ParcelFileDescriptor;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelableCreatorAndWriter;
import org.microg.gms.common.Hide;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.OutputStream;
@Hide
@SafeParcelable.Class
public class Contents extends AbstractSafeParcelable {
@Field(value = 2, getterName = "getParcelFileDescriptor")
private final ParcelFileDescriptor fileDescriptor;
@Field(value = 3, getterName = "getRequestId")
private final int requestId;
@Field(value = 4, getterName = "getMode")
private final int mode;
@Field(value = 5, getterName = "getDriveId")
private final DriveId driveId;
@Field(value = 7)
final boolean unknown7;
@Field(value = 8)
@Nullable
final String unknown8;
@Constructor
public Contents(@Param(value = 2) ParcelFileDescriptor fileDescriptor, @Param(value = 3) int requestId, @Param(value = 4) int mode, @Param(value = 5) DriveId driveId, @Param(value = 7) boolean unknown7, @Param(value = 8) @Nullable String unknown8) {
this.fileDescriptor = fileDescriptor;
this.requestId = requestId;
this.mode = mode;
this.driveId = driveId;
this.unknown7 = unknown7;
this.unknown8 = unknown8;
}
public ParcelFileDescriptor getParcelFileDescriptor() {
return this.fileDescriptor;
}
public final DriveId getDriveId() {
return this.driveId;
}
public final FileInputStream getInputStream() {
return new FileInputStream(this.fileDescriptor.getFileDescriptor());
}
public final OutputStream getOutputStream() {
return new FileOutputStream(this.fileDescriptor.getFileDescriptor());
}
public final int getMode() {
return this.mode;
}
public final int getRequestId() {
return this.requestId;
}
@Override
public void writeToParcel(@NonNull Parcel dest, int flags) {
CREATOR.writeToParcel(this, dest, flags);
}
public static final SafeParcelableCreatorAndWriter<Contents> CREATOR = findCreator(Contents.class);
}

View file

@ -0,0 +1,120 @@
/*
* SPDX-FileCopyrightText: 2024 microG Project Team
* SPDX-License-Identifier: Apache-2.0
* Notice: Portions of this file are reproduced from work created and shared by Google and used
* according to terms described in the Creative Commons 4.0 Attribution License.
* See https://developers.google.com/readme/policies for details.
*/
package com.google.android.gms.drive;
import android.os.Parcel;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelableCreatorAndWriter;
import org.microg.gms.common.Hide;
/**
* A canonical identifier for a Drive resource. The identifier can be converted to a String representation for storage using {@link #encodeToString()}
* and then later converted back to the ID representation using {@link #decodeFromString(String)}. {@link #equals(Object)} can be used to see if two
* different identifiers refer to the same resource.
*/
@SafeParcelable.Class
public class DriveId extends AbstractSafeParcelable {
/**
* An unknown resource type, meaning the {@link DriveId} corresponds to either a file or a folder.
*/
public static final int RESOURCE_TYPE_UNKNOWN = -1;
/**
* A file resource type, meaning the {@link DriveId} corresponds to a file.
*/
public static final int RESOURCE_TYPE_FILE = 0;
/**
* A folder resource type, meaning the {@link DriveId} corresponds to a folder.
*/
public static final int RESOURCE_TYPE_FOLDER = 1;
@Field(value = 2, getterName = "getResourceId")
@Nullable
private final String resourceId;
@Field(value = 3)
private final long unknown3;
@Field(value = 4)
private final long unknown4;
@Field(value = 5, getterName = "getResourceType", defaultValue = "com.google.android.gms.drive.DriveId.RESOURCE_TYPE_UNKNOWN")
private final int resourceType;
@Constructor
@Hide
public DriveId(@Param(value = 2) @Nullable String resourceId, @Param(value = 3) long unknown3, @Param(value = 4) long unknown4, @Param(value = 5) int resourceType) {
this.resourceId = resourceId;
this.unknown3 = unknown3;
this.unknown4 = unknown4;
this.resourceType = resourceType;
}
/**
* Returns a String representation of this {@link DriveId} that can be safely persisted, and from which an equivalent {@link DriveId} can later be
* reconstructed using {@link #decodeFromString(String)}.
* <p>
* The String representation is not guaranteed to be stable over time for a given resource so should never be compared for equality. Always
* use {@link #decodeFromString(String)} and then {@link #equals(Object)} to compare two identifiers to see if they refer to the same resource.
* Otherwise, {@link #toInvariantString()} is stable and can be safely used for {@link DriveId} comparison.
*/
public final String encodeToString() {
throw new UnsupportedOperationException();
}
/**
* Returns the remote Drive resource id associated with the resource. May be {@code null} for local resources that have not yet been synchronized to
* the Drive service.
*/
@Nullable
public String getResourceId() {
return this.resourceId;
}
/**
* Returns the resource type corresponding to this {@link DriveId}. Possible values are {@link #RESOURCE_TYPE_FILE}, {@link #RESOURCE_TYPE_FOLDER} or
* {@link #RESOURCE_TYPE_UNKNOWN}.
* <p>
* The {@link #RESOURCE_TYPE_UNKNOWN} will only be returned if the {@link DriveId} instance has been created using {@link #decodeFromString(String)}, with an
* old string that was generated and persisted by the client with an old version of Google Play Services. If the client is not encoding, persisting
* and decoding {@link DriveId}s, this method will always return either {@link #RESOURCE_TYPE_FILE} or {@link #RESOURCE_TYPE_FOLDER}.
*/
public int getResourceType() {
return this.resourceType;
}
/**
* Returns an invariant string for this {@link DriveId}. This is stable over time, so for a given {@link DriveId}, this value will always remain the same, and is
* guaranteed to be unique for each {@link DriveId}. The client can use it directly to compare equality of {@link DriveId}s, since two {@link DriveId}s are equal
* if and only if its invariant string is equal.
* <p>
* Note: This value cannot be used to {@link #decodeFromString(String)}, since it's not meant to encode a {@link DriveId}, but can be useful for client-side
* string-based {@link DriveId} comparison, or for logging purposes.
*/
public final String toInvariantString() {
throw new UnsupportedOperationException();
}
/**
* Decodes the result of {@link #encodeToString()} back into a {@link DriveId}.
* @throws IllegalArgumentException if the argument is not a valid result of {@link #encodeToString()}.
*/
public static DriveId decodeFromString (String s) {
throw new UnsupportedOperationException();
}
@Override
public void writeToParcel(@NonNull Parcel dest, int flags) {
CREATOR.writeToParcel(this, dest, flags);
}
public static final SafeParcelableCreatorAndWriter<DriveId> CREATOR = findCreator(DriveId.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class AddEventListenerRequest extends AutoSafeParcelable {
public static Creator<AddEventListenerRequest> CREATOR = new AutoCreator<AddEventListenerRequest>(AddEventListenerRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class AddPermissionRequest extends AutoSafeParcelable {
public static Creator<AddPermissionRequest> CREATOR = new AutoCreator<AddPermissionRequest>(AddPermissionRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class AuthorizeAccessRequest extends AutoSafeParcelable {
public static Creator<AuthorizeAccessRequest> CREATOR = new AutoCreator<AuthorizeAccessRequest>(AuthorizeAccessRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CancelPendingActionsRequest extends AutoSafeParcelable {
public static Creator<CancelPendingActionsRequest> CREATOR = new AutoCreator<CancelPendingActionsRequest>(CancelPendingActionsRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ChangeResourceParentsRequest extends AutoSafeParcelable {
public static Creator<ChangeResourceParentsRequest> CREATOR = new AutoCreator<ChangeResourceParentsRequest>(ChangeResourceParentsRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ChangeSequenceNumber extends AutoSafeParcelable {
public static Creator<ChangeSequenceNumber> CREATOR = new AutoCreator<ChangeSequenceNumber>(ChangeSequenceNumber.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ChangesResponse extends AutoSafeParcelable {
public static Creator<ChangesResponse> CREATOR = new AutoCreator<ChangesResponse>(ChangesResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CheckResourceIdsExistRequest extends AutoSafeParcelable {
public static Creator<CheckResourceIdsExistRequest> CREATOR = new AutoCreator<CheckResourceIdsExistRequest>(CheckResourceIdsExistRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CloseContentsAndUpdateMetadataRequest extends AutoSafeParcelable {
public static Creator<CloseContentsAndUpdateMetadataRequest> CREATOR = new AutoCreator<CloseContentsAndUpdateMetadataRequest>(CloseContentsAndUpdateMetadataRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CloseContentsRequest extends AutoSafeParcelable {
public static Creator<CloseContentsRequest> CREATOR = new AutoCreator<CloseContentsRequest>(CloseContentsRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ContentsResponse extends AutoSafeParcelable {
public static Creator<ContentsResponse> CREATOR = new AutoCreator<ContentsResponse>(ContentsResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ControlProgressRequest extends AutoSafeParcelable {
public static Creator<ControlProgressRequest> CREATOR = new AutoCreator<ControlProgressRequest>(ControlProgressRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CreateContentsRequest extends AutoSafeParcelable {
public static Creator<CreateContentsRequest> CREATOR = new AutoCreator<CreateContentsRequest>(CreateContentsRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CreateFileIntentSenderRequest extends AutoSafeParcelable {
public static Creator<CreateFileIntentSenderRequest> CREATOR = new AutoCreator<CreateFileIntentSenderRequest>(CreateFileIntentSenderRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CreateFileRequest extends AutoSafeParcelable {
public static Creator<CreateFileRequest> CREATOR = new AutoCreator<CreateFileRequest>(CreateFileRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class CreateFolderRequest extends AutoSafeParcelable {
public static Creator<CreateFolderRequest> CREATOR = new AutoCreator<CreateFolderRequest>(CreateFolderRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DeleteResourceRequest extends AutoSafeParcelable {
public static Creator<DeleteResourceRequest> CREATOR = new AutoCreator<DeleteResourceRequest>(DeleteResourceRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DeviceUsagePreferenceResponse extends AutoSafeParcelable {
public static Creator<DeviceUsagePreferenceResponse> CREATOR = new AutoCreator<DeviceUsagePreferenceResponse>(DeviceUsagePreferenceResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DisconnectRequest extends AutoSafeParcelable {
public static Creator<DisconnectRequest> CREATOR = new AutoCreator<DisconnectRequest>(DisconnectRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DownloadProgressResponse extends AutoSafeParcelable {
public static Creator<DownloadProgressResponse> CREATOR = new AutoCreator<DownloadProgressResponse>(DownloadProgressResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DriveIdResponse extends AutoSafeParcelable {
public static Creator<DriveIdResponse> CREATOR = new AutoCreator<DriveIdResponse>(DriveIdResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DrivePreferencesResponse extends AutoSafeParcelable {
public static Creator<DrivePreferencesResponse> CREATOR = new AutoCreator<DrivePreferencesResponse>(DrivePreferencesResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class DriveServiceResponse extends AutoSafeParcelable {
public static Creator<DriveServiceResponse> CREATOR = new AutoCreator<DriveServiceResponse>(DriveServiceResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class EventResponse extends AutoSafeParcelable {
public static Creator<EventResponse> CREATOR = new AutoCreator<EventResponse>(EventResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class FetchThumbnailRequest extends AutoSafeParcelable {
public static Creator<FetchThumbnailRequest> CREATOR = new AutoCreator<FetchThumbnailRequest>(FetchThumbnailRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class FetchThumbnailResponse extends AutoSafeParcelable {
public static Creator<FetchThumbnailResponse> CREATOR = new AutoCreator<FetchThumbnailResponse>(FetchThumbnailResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class GetChangesRequest extends AutoSafeParcelable {
public static Creator<GetChangesRequest> CREATOR = new AutoCreator<GetChangesRequest>(GetChangesRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class GetDriveIdFromUniqueIdRequest extends AutoSafeParcelable {
public static Creator<GetDriveIdFromUniqueIdRequest> CREATOR = new AutoCreator<GetDriveIdFromUniqueIdRequest>(GetDriveIdFromUniqueIdRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class GetMetadataRequest extends AutoSafeParcelable {
public static Creator<GetMetadataRequest> CREATOR = new AutoCreator<GetMetadataRequest>(GetMetadataRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class GetPermissionsRequest extends AutoSafeParcelable {
public static Creator<GetPermissionsRequest> CREATOR = new AutoCreator<GetPermissionsRequest>(GetPermissionsRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class GetPermissionsResponse extends AutoSafeParcelable {
public static Creator<GetPermissionsResponse> CREATOR = new AutoCreator<GetPermissionsResponse>(GetPermissionsResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ListEntriesResponse extends AutoSafeParcelable {
public static Creator<ListEntriesResponse> CREATOR = new AutoCreator<ListEntriesResponse>(ListEntriesResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ListParentsRequest extends AutoSafeParcelable {
public static Creator<ListParentsRequest> CREATOR = new AutoCreator<ListParentsRequest>(ListParentsRequest.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class ListParentsResponse extends AutoSafeParcelable {
public static Creator<ListParentsResponse> CREATOR = new AutoCreator<ListParentsResponse>(ListParentsResponse.class);
}

View file

@ -0,0 +1,23 @@
/*
* 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.
*/
package com.google.android.gms.drive.internal;
import org.microg.safeparcel.AutoSafeParcelable;
public class LoadRealtimeRequest extends AutoSafeParcelable {
public static Creator<LoadRealtimeRequest> CREATOR = new AutoCreator<LoadRealtimeRequest>(LoadRealtimeRequest.class);
}

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