package com.android.internal.backup; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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. * #L% */ public interface IBackupTransport extends android.os.IInterface { // Classes public abstract static class Stub extends android.os.Binder implements IBackupTransport { // Constructors public Stub(){ super(); } // Methods public android.os.IBinder asBinder(){ return (android.os.IBinder) null; } public static IBackupTransport asInterface(android.os.IBinder arg1){ return (IBackupTransport) null; } public boolean onTransact(int arg1, android.os.Parcel arg2, android.os.Parcel arg3, int arg4) throws android.os.RemoteException{ return false; } } // Methods public int performBackup(android.content.pm.PackageInfo arg1, android.os.ParcelFileDescriptor arg2) throws android.os.RemoteException; public int clearBackupData(android.content.pm.PackageInfo arg1) throws android.os.RemoteException; public android.content.Intent configurationIntent() throws android.os.RemoteException; public java.lang.String currentDestinationString() throws android.os.RemoteException; public java.lang.String transportDirName() throws android.os.RemoteException; public long requestBackupTime() throws android.os.RemoteException; public int initializeDevice() throws android.os.RemoteException; public int finishBackup() throws android.os.RemoteException; public android.app.backup.RestoreSet [] getAvailableRestoreSets() throws android.os.RemoteException; public long getCurrentRestoreSet() throws android.os.RemoteException; public int startRestore(long arg1, android.content.pm.PackageInfo [] arg2) throws android.os.RemoteException; public java.lang.String nextRestorePackage() throws android.os.RemoteException; public int getRestoreData(android.os.ParcelFileDescriptor arg1) throws android.os.RemoteException; public void finishRestore() throws android.os.RemoteException; }