Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIBackupCallback + const DescriptorIBackupManager + const DescriptorIBackupManagerMonitor + const DescriptorIBackupObserver + const DescriptorIFullBackupRestoreObserver + const DescriptorIRestoreObserver + const DescriptorIRestoreSession + const DescriptorISelectBackupTransportCallback + const MethodIBackupCallbackOperationComplete + const MethodIBackupManagerAcknowledgeFullBackupOrRestore + const MethodIBackupManagerAcknowledgeFullBackupOrRestoreForUser + const MethodIBackupManagerAdbBackup + const MethodIBackupManagerAdbRestore + const MethodIBackupManagerAgentConnected + const MethodIBackupManagerAgentConnectedForUser + const MethodIBackupManagerAgentDisconnected + const MethodIBackupManagerAgentDisconnectedForUser + const MethodIBackupManagerBackupNow + const MethodIBackupManagerBackupNowForUser + const MethodIBackupManagerBeginRestoreSessionForUser + const MethodIBackupManagerCancelBackups + const MethodIBackupManagerCancelBackupsForUser + const MethodIBackupManagerClearBackupData + const MethodIBackupManagerClearBackupDataForUser + const MethodIBackupManagerDataChanged + const MethodIBackupManagerDataChangedForUser + const MethodIBackupManagerExcludeKeysFromRestore + const MethodIBackupManagerFilterAppsEligibleForBackupForUser + const MethodIBackupManagerFullTransportBackupForUser + const MethodIBackupManagerGetAvailableRestoreTokenForUser + const MethodIBackupManagerGetConfigurationIntent + const MethodIBackupManagerGetConfigurationIntentForUser + const MethodIBackupManagerGetCurrentTransport + const MethodIBackupManagerGetCurrentTransportComponentForUser + const MethodIBackupManagerGetCurrentTransportForUser + const MethodIBackupManagerGetDataManagementIntent + const MethodIBackupManagerGetDataManagementIntentForUser + const MethodIBackupManagerGetDataManagementLabelForUser + const MethodIBackupManagerGetDestinationString + const MethodIBackupManagerGetDestinationStringForUser + const MethodIBackupManagerGetTransportWhitelist + const MethodIBackupManagerGetUserForAncestralSerialNumber + const MethodIBackupManagerHasBackupPassword + const MethodIBackupManagerInitializeTransportsForUser + const MethodIBackupManagerIsAppEligibleForBackupForUser + const MethodIBackupManagerIsBackupEnabled + const MethodIBackupManagerIsBackupEnabledForUser + const MethodIBackupManagerIsBackupServiceActive + const MethodIBackupManagerIsUserReadyForBackup + const MethodIBackupManagerListAllTransportComponentsForUser + const MethodIBackupManagerListAllTransports + const MethodIBackupManagerListAllTransportsForUser + const MethodIBackupManagerMonitorOnEvent + const MethodIBackupManagerOpComplete + const MethodIBackupManagerOpCompleteForUser + const MethodIBackupManagerReportDelayedRestoreResult + const MethodIBackupManagerRequestBackup + const MethodIBackupManagerRequestBackupForUser + const MethodIBackupManagerRestoreAtInstall + const MethodIBackupManagerRestoreAtInstallForUser + const MethodIBackupManagerSelectBackupTransport + const MethodIBackupManagerSelectBackupTransportAsyncForUser + const MethodIBackupManagerSelectBackupTransportForUser + const MethodIBackupManagerSetAncestralSerialNumber + const MethodIBackupManagerSetAutoRestore + const MethodIBackupManagerSetAutoRestoreForUser + const MethodIBackupManagerSetBackupEnabled + const MethodIBackupManagerSetBackupEnabledForUser + const MethodIBackupManagerSetBackupPassword + const MethodIBackupManagerSetBackupServiceActive + const MethodIBackupManagerSetFrameworkSchedulingEnabledForUser + const MethodIBackupManagerUpdateTransportAttributesForUser + const MethodIBackupObserverBackupFinished + const MethodIBackupObserverOnResult + const MethodIBackupObserverOnUpdate + const MethodIFullBackupRestoreObserverOnBackupPackage + const MethodIFullBackupRestoreObserverOnEndBackup + const MethodIFullBackupRestoreObserverOnEndRestore + const MethodIFullBackupRestoreObserverOnRestorePackage + const MethodIFullBackupRestoreObserverOnStartBackup + const MethodIFullBackupRestoreObserverOnStartRestore + const MethodIFullBackupRestoreObserverOnTimeout + const MethodIRestoreObserverOnUpdate + const MethodIRestoreObserverRestoreFinished + const MethodIRestoreObserverRestoreSetsAvailable + const MethodIRestoreObserverRestoreStarting + const MethodIRestoreSessionEndRestoreSession + const MethodIRestoreSessionGetAvailableRestoreSets + const MethodIRestoreSessionRestoreAll + const MethodIRestoreSessionRestorePackage + const MethodIRestoreSessionRestorePackages + const MethodISelectBackupTransportCallbackOnFailure + const MethodISelectBackupTransportCallbackOnSuccess + const TransactionIBackupCallbackOperationComplete + const TransactionIBackupManagerAcknowledgeFullBackupOrRestore + const TransactionIBackupManagerAcknowledgeFullBackupOrRestoreForUser + const TransactionIBackupManagerAdbBackup + const TransactionIBackupManagerAdbRestore + const TransactionIBackupManagerAgentConnected + const TransactionIBackupManagerAgentConnectedForUser + const TransactionIBackupManagerAgentDisconnected + const TransactionIBackupManagerAgentDisconnectedForUser + const TransactionIBackupManagerBackupNow + const TransactionIBackupManagerBackupNowForUser + const TransactionIBackupManagerBeginRestoreSessionForUser + const TransactionIBackupManagerCancelBackups + const TransactionIBackupManagerCancelBackupsForUser + const TransactionIBackupManagerClearBackupData + const TransactionIBackupManagerClearBackupDataForUser + const TransactionIBackupManagerDataChanged + const TransactionIBackupManagerDataChangedForUser + const TransactionIBackupManagerExcludeKeysFromRestore + const TransactionIBackupManagerFilterAppsEligibleForBackupForUser + const TransactionIBackupManagerFullTransportBackupForUser + const TransactionIBackupManagerGetAvailableRestoreTokenForUser + const TransactionIBackupManagerGetConfigurationIntent + const TransactionIBackupManagerGetConfigurationIntentForUser + const TransactionIBackupManagerGetCurrentTransport + const TransactionIBackupManagerGetCurrentTransportComponentForUser + const TransactionIBackupManagerGetCurrentTransportForUser + const TransactionIBackupManagerGetDataManagementIntent + const TransactionIBackupManagerGetDataManagementIntentForUser + const TransactionIBackupManagerGetDataManagementLabelForUser + const TransactionIBackupManagerGetDestinationString + const TransactionIBackupManagerGetDestinationStringForUser + const TransactionIBackupManagerGetTransportWhitelist + const TransactionIBackupManagerGetUserForAncestralSerialNumber + const TransactionIBackupManagerHasBackupPassword + const TransactionIBackupManagerInitializeTransportsForUser + const TransactionIBackupManagerIsAppEligibleForBackupForUser + const TransactionIBackupManagerIsBackupEnabled + const TransactionIBackupManagerIsBackupEnabledForUser + const TransactionIBackupManagerIsBackupServiceActive + const TransactionIBackupManagerIsUserReadyForBackup + const TransactionIBackupManagerListAllTransportComponentsForUser + const TransactionIBackupManagerListAllTransports + const TransactionIBackupManagerListAllTransportsForUser + const TransactionIBackupManagerMonitorOnEvent + const TransactionIBackupManagerOpComplete + const TransactionIBackupManagerOpCompleteForUser + const TransactionIBackupManagerReportDelayedRestoreResult + const TransactionIBackupManagerRequestBackup + const TransactionIBackupManagerRequestBackupForUser + const TransactionIBackupManagerRestoreAtInstall + const TransactionIBackupManagerRestoreAtInstallForUser + const TransactionIBackupManagerSelectBackupTransport + const TransactionIBackupManagerSelectBackupTransportAsyncForUser + const TransactionIBackupManagerSelectBackupTransportForUser + const TransactionIBackupManagerSetAncestralSerialNumber + const TransactionIBackupManagerSetAutoRestore + const TransactionIBackupManagerSetAutoRestoreForUser + const TransactionIBackupManagerSetBackupEnabled + const TransactionIBackupManagerSetBackupEnabledForUser + const TransactionIBackupManagerSetBackupPassword + const TransactionIBackupManagerSetBackupServiceActive + const TransactionIBackupManagerSetFrameworkSchedulingEnabledForUser + const TransactionIBackupManagerUpdateTransportAttributesForUser + const TransactionIBackupObserverBackupFinished + const TransactionIBackupObserverOnResult + const TransactionIBackupObserverOnUpdate + const TransactionIFullBackupRestoreObserverOnBackupPackage + const TransactionIFullBackupRestoreObserverOnEndBackup + const TransactionIFullBackupRestoreObserverOnEndRestore + const TransactionIFullBackupRestoreObserverOnRestorePackage + const TransactionIFullBackupRestoreObserverOnStartBackup + const TransactionIFullBackupRestoreObserverOnStartRestore + const TransactionIFullBackupRestoreObserverOnTimeout + const TransactionIRestoreObserverOnUpdate + const TransactionIRestoreObserverRestoreFinished + const TransactionIRestoreObserverRestoreSetsAvailable + const TransactionIRestoreObserverRestoreStarting + const TransactionIRestoreSessionEndRestoreSession + const TransactionIRestoreSessionGetAvailableRestoreSets + const TransactionIRestoreSessionRestoreAll + const TransactionIRestoreSessionRestorePackage + const TransactionIRestoreSessionRestorePackages + const TransactionISelectBackupTransportCallbackOnFailure + const TransactionISelectBackupTransportCallbackOnSuccess + type BackupCallbackProxy struct + Remote binder.IBinder + func NewBackupCallbackProxy(remote binder.IBinder) *BackupCallbackProxy + func (p *BackupCallbackProxy) AsBinder() binder.IBinder + func (p *BackupCallbackProxy) OperationComplete(ctx context.Context, result int64) error + type BackupCallbackStub struct + Impl IBackupCallback + Transport binder.VersionAwareTransport + func (s *BackupCallbackStub) Descriptor() string + func (s *BackupCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type BackupManagerMonitorProxy struct + Remote binder.IBinder + func NewBackupManagerMonitorProxy(remote binder.IBinder) *BackupManagerMonitorProxy + func (p *BackupManagerMonitorProxy) AsBinder() binder.IBinder + func (p *BackupManagerMonitorProxy) OnEvent(ctx context.Context, event os.Bundle) error + type BackupManagerMonitorStub struct + Impl IBackupManagerMonitor + Transport binder.VersionAwareTransport + func (s *BackupManagerMonitorStub) Descriptor() string + func (s *BackupManagerMonitorStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type BackupManagerProxy struct + Remote binder.IBinder + func NewBackupManagerProxy(remote binder.IBinder) *BackupManagerProxy + func (p *BackupManagerProxy) AcknowledgeFullBackupOrRestore(ctx context.Context, token int32, allow bool, curPassword string, ...) error + func (p *BackupManagerProxy) AcknowledgeFullBackupOrRestoreForUser(ctx context.Context, token int32, allow bool, curPassword string, ...) error + func (p *BackupManagerProxy) AdbBackup(ctx context.Context, fd int32, includeApks bool, includeObbs bool, ...) error + func (p *BackupManagerProxy) AdbRestore(ctx context.Context, fd int32) error + func (p *BackupManagerProxy) AgentConnected(ctx context.Context, packageName string, agent binder.IBinder) error + func (p *BackupManagerProxy) AgentConnectedForUser(ctx context.Context, packageName string, agent binder.IBinder) error + func (p *BackupManagerProxy) AgentDisconnected(ctx context.Context, packageName string) error + func (p *BackupManagerProxy) AgentDisconnectedForUser(ctx context.Context, packageName string) error + func (p *BackupManagerProxy) AsBinder() binder.IBinder + func (p *BackupManagerProxy) BackupNow(ctx context.Context) error + func (p *BackupManagerProxy) BackupNowForUser(ctx context.Context) error + func (p *BackupManagerProxy) BeginRestoreSessionForUser(ctx context.Context, packageName string, transportID string) (IRestoreSession, error) + func (p *BackupManagerProxy) CancelBackups(ctx context.Context) error + func (p *BackupManagerProxy) CancelBackupsForUser(ctx context.Context) error + func (p *BackupManagerProxy) ClearBackupData(ctx context.Context, transportName string, packageName string) error + func (p *BackupManagerProxy) ClearBackupDataForUser(ctx context.Context, transportName string, packageName string) error + func (p *BackupManagerProxy) DataChanged(ctx context.Context, packageName string) error + func (p *BackupManagerProxy) DataChangedForUser(ctx context.Context, packageName string) error + func (p *BackupManagerProxy) ExcludeKeysFromRestore(ctx context.Context, packageName string, keys []string) error + func (p *BackupManagerProxy) FilterAppsEligibleForBackupForUser(ctx context.Context, packages []string) ([]string, error) + func (p *BackupManagerProxy) FullTransportBackupForUser(ctx context.Context, packageNames []string) error + func (p *BackupManagerProxy) GetAvailableRestoreTokenForUser(ctx context.Context, packageName string) (int64, error) + func (p *BackupManagerProxy) GetConfigurationIntent(ctx context.Context, transport string) (content.Intent, error) + func (p *BackupManagerProxy) GetConfigurationIntentForUser(ctx context.Context, transport string) (content.Intent, error) + func (p *BackupManagerProxy) GetCurrentTransport(ctx context.Context) (string, error) + func (p *BackupManagerProxy) GetCurrentTransportComponentForUser(ctx context.Context) (content.ComponentName, error) + func (p *BackupManagerProxy) GetCurrentTransportForUser(ctx context.Context) (string, error) + func (p *BackupManagerProxy) GetDataManagementIntent(ctx context.Context, transport string) (content.Intent, error) + func (p *BackupManagerProxy) GetDataManagementIntentForUser(ctx context.Context, transport string) (content.Intent, error) + func (p *BackupManagerProxy) GetDataManagementLabelForUser(ctx context.Context, transport string) (string, error) + func (p *BackupManagerProxy) GetDestinationString(ctx context.Context, transport string) (string, error) + func (p *BackupManagerProxy) GetDestinationStringForUser(ctx context.Context, transport string) (string, error) + func (p *BackupManagerProxy) GetTransportWhitelist(ctx context.Context) ([]string, error) + func (p *BackupManagerProxy) GetUserForAncestralSerialNumber(ctx context.Context, ancestralSerialNumber int64) (os.UserHandle, error) + func (p *BackupManagerProxy) HasBackupPassword(ctx context.Context) (bool, error) + func (p *BackupManagerProxy) InitializeTransportsForUser(ctx context.Context, transportNames []string, observer IBackupObserver) error + func (p *BackupManagerProxy) IsAppEligibleForBackupForUser(ctx context.Context, packageName string) (bool, error) + func (p *BackupManagerProxy) IsBackupEnabled(ctx context.Context) (bool, error) + func (p *BackupManagerProxy) IsBackupEnabledForUser(ctx context.Context) (bool, error) + func (p *BackupManagerProxy) IsBackupServiceActive(ctx context.Context, whichUser int32) (bool, error) + func (p *BackupManagerProxy) IsUserReadyForBackup(ctx context.Context) (bool, error) + func (p *BackupManagerProxy) ListAllTransportComponentsForUser(ctx context.Context) ([]content.ComponentName, error) + func (p *BackupManagerProxy) ListAllTransports(ctx context.Context) ([]string, error) + func (p *BackupManagerProxy) ListAllTransportsForUser(ctx context.Context) ([]string, error) + func (p *BackupManagerProxy) OpComplete(ctx context.Context, token int32, result int64) error + func (p *BackupManagerProxy) OpCompleteForUser(ctx context.Context, token int32, result int64) error + func (p *BackupManagerProxy) ReportDelayedRestoreResult(ctx context.Context, packageName string, ...) error + func (p *BackupManagerProxy) RequestBackup(ctx context.Context, packages []string, observer IBackupObserver, ...) (int32, error) + func (p *BackupManagerProxy) RequestBackupForUser(ctx context.Context, packages []string, observer IBackupObserver, ...) (int32, error) + func (p *BackupManagerProxy) RestoreAtInstall(ctx context.Context, packageName string, token int32) error + func (p *BackupManagerProxy) RestoreAtInstallForUser(ctx context.Context, packageName string, token int32) error + func (p *BackupManagerProxy) SelectBackupTransport(ctx context.Context, transport string) (string, error) + func (p *BackupManagerProxy) SelectBackupTransportAsyncForUser(ctx context.Context, transport content.ComponentName, ...) error + func (p *BackupManagerProxy) SelectBackupTransportForUser(ctx context.Context, transport string) (string, error) + func (p *BackupManagerProxy) SetAncestralSerialNumber(ctx context.Context, ancestralSerialNumber int64) error + func (p *BackupManagerProxy) SetAutoRestore(ctx context.Context, doAutoRestore bool) error + func (p *BackupManagerProxy) SetAutoRestoreForUser(ctx context.Context, doAutoRestore bool) error + func (p *BackupManagerProxy) SetBackupEnabled(ctx context.Context, isEnabled bool) error + func (p *BackupManagerProxy) SetBackupEnabledForUser(ctx context.Context, isEnabled bool) error + func (p *BackupManagerProxy) SetBackupPassword(ctx context.Context, currentPw string, newPw string) (bool, error) + func (p *BackupManagerProxy) SetBackupServiceActive(ctx context.Context, whichUser int32, makeActive bool) error + func (p *BackupManagerProxy) SetFrameworkSchedulingEnabledForUser(ctx context.Context, isEnabled bool) error + func (p *BackupManagerProxy) UpdateTransportAttributesForUser(ctx context.Context, transportComponent content.ComponentName, name string, ...) error + type BackupManagerStub struct + Impl IBackupManager + Transport binder.VersionAwareTransport + func (s *BackupManagerStub) Descriptor() string + func (s *BackupManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type BackupObserverProxy struct + Remote binder.IBinder + func NewBackupObserverProxy(remote binder.IBinder) *BackupObserverProxy + func (p *BackupObserverProxy) AsBinder() binder.IBinder + func (p *BackupObserverProxy) BackupFinished(ctx context.Context, status int32) error + func (p *BackupObserverProxy) OnResult(ctx context.Context, target string, status int32) error + func (p *BackupObserverProxy) OnUpdate(ctx context.Context, currentPackage string, backupProgress BackupProgress) error + type BackupObserverStub struct + Impl IBackupObserver + Transport binder.VersionAwareTransport + func (s *BackupObserverStub) Descriptor() string + func (s *BackupObserverStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type BackupProgress struct + BytesExpected int64 + BytesTransferred int64 + func (s *BackupProgress) MarshalParcel(p *parcel.Parcel) error + func (s *BackupProgress) UnmarshalParcel(p *parcel.Parcel) error + type BackupRestoreEventLoggerDataTypeResult struct + func (s *BackupRestoreEventLoggerDataTypeResult) MarshalParcel(p *parcel.Parcel) error + func (s *BackupRestoreEventLoggerDataTypeResult) UnmarshalParcel(p *parcel.Parcel) error + type FullBackupRestoreObserverProxy struct + Remote binder.IBinder + func NewFullBackupRestoreObserverProxy(remote binder.IBinder) *FullBackupRestoreObserverProxy + func (p *FullBackupRestoreObserverProxy) AsBinder() binder.IBinder + func (p *FullBackupRestoreObserverProxy) OnBackupPackage(ctx context.Context, name string) error + func (p *FullBackupRestoreObserverProxy) OnEndBackup(ctx context.Context) error + func (p *FullBackupRestoreObserverProxy) OnEndRestore(ctx context.Context) error + func (p *FullBackupRestoreObserverProxy) OnRestorePackage(ctx context.Context, name string) error + func (p *FullBackupRestoreObserverProxy) OnStartBackup(ctx context.Context) error + func (p *FullBackupRestoreObserverProxy) OnStartRestore(ctx context.Context) error + func (p *FullBackupRestoreObserverProxy) OnTimeout(ctx context.Context) error + type FullBackupRestoreObserverStub struct + Impl IFullBackupRestoreObserver + Transport binder.VersionAwareTransport + func (s *FullBackupRestoreObserverStub) Descriptor() string + func (s *FullBackupRestoreObserverStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type IBackupCallback interface + AsBinder func() binder.IBinder + OperationComplete func(ctx context.Context, result int64) error + func NewBackupCallbackStub(impl IBackupCallbackServer) IBackupCallback + type IBackupCallbackServer interface + OperationComplete func(ctx context.Context, result int64) error + type IBackupManager interface + AcknowledgeFullBackupOrRestore func(ctx context.Context, token int32, allow bool, curPassword string, ...) error + AcknowledgeFullBackupOrRestoreForUser func(ctx context.Context, token int32, allow bool, curPassword string, ...) error + AdbBackup func(ctx context.Context, fd int32, includeApks bool, includeObbs bool, ...) error + AdbRestore func(ctx context.Context, fd int32) error + AgentConnected func(ctx context.Context, packageName string, agent binder.IBinder) error + AgentConnectedForUser func(ctx context.Context, packageName string, agent binder.IBinder) error + AgentDisconnected func(ctx context.Context, packageName string) error + AgentDisconnectedForUser func(ctx context.Context, packageName string) error + AsBinder func() binder.IBinder + BackupNow func(ctx context.Context) error + BackupNowForUser func(ctx context.Context) error + BeginRestoreSessionForUser func(ctx context.Context, packageName string, transportID string) (IRestoreSession, error) + CancelBackups func(ctx context.Context) error + CancelBackupsForUser func(ctx context.Context) error + ClearBackupData func(ctx context.Context, transportName string, packageName string) error + ClearBackupDataForUser func(ctx context.Context, transportName string, packageName string) error + DataChanged func(ctx context.Context, packageName string) error + DataChangedForUser func(ctx context.Context, packageName string) error + ExcludeKeysFromRestore func(ctx context.Context, packageName string, keys []string) error + FilterAppsEligibleForBackupForUser func(ctx context.Context, packages []string) ([]string, error) + FullTransportBackupForUser func(ctx context.Context, packageNames []string) error + GetAvailableRestoreTokenForUser func(ctx context.Context, packageName string) (int64, error) + GetConfigurationIntent func(ctx context.Context, transport string) (content.Intent, error) + GetConfigurationIntentForUser func(ctx context.Context, transport string) (content.Intent, error) + GetCurrentTransport func(ctx context.Context) (string, error) + GetCurrentTransportComponentForUser func(ctx context.Context) (content.ComponentName, error) + GetCurrentTransportForUser func(ctx context.Context) (string, error) + GetDataManagementIntent func(ctx context.Context, transport string) (content.Intent, error) + GetDataManagementIntentForUser func(ctx context.Context, transport string) (content.Intent, error) + GetDataManagementLabelForUser func(ctx context.Context, transport string) (string, error) + GetDestinationString func(ctx context.Context, transport string) (string, error) + GetDestinationStringForUser func(ctx context.Context, transport string) (string, error) + GetTransportWhitelist func(ctx context.Context) ([]string, error) + GetUserForAncestralSerialNumber func(ctx context.Context, ancestralSerialNumber int64) (os.UserHandle, error) + HasBackupPassword func(ctx context.Context) (bool, error) + InitializeTransportsForUser func(ctx context.Context, transportNames []string, observer IBackupObserver) error + IsAppEligibleForBackupForUser func(ctx context.Context, packageName string) (bool, error) + IsBackupEnabled func(ctx context.Context) (bool, error) + IsBackupEnabledForUser func(ctx context.Context) (bool, error) + IsBackupServiceActive func(ctx context.Context, whichUser int32) (bool, error) + IsUserReadyForBackup func(ctx context.Context) (bool, error) + ListAllTransportComponentsForUser func(ctx context.Context) ([]content.ComponentName, error) + ListAllTransports func(ctx context.Context) ([]string, error) + ListAllTransportsForUser func(ctx context.Context) ([]string, error) + OpComplete func(ctx context.Context, token int32, result int64) error + OpCompleteForUser func(ctx context.Context, token int32, result int64) error + ReportDelayedRestoreResult func(ctx context.Context, packageName string, ...) error + RequestBackup func(ctx context.Context, packages []string, observer IBackupObserver, ...) (int32, error) + RequestBackupForUser func(ctx context.Context, packages []string, observer IBackupObserver, ...) (int32, error) + RestoreAtInstall func(ctx context.Context, packageName string, token int32) error + RestoreAtInstallForUser func(ctx context.Context, packageName string, token int32) error + SelectBackupTransport func(ctx context.Context, transport string) (string, error) + SelectBackupTransportAsyncForUser func(ctx context.Context, transport content.ComponentName, ...) error + SelectBackupTransportForUser func(ctx context.Context, transport string) (string, error) + SetAncestralSerialNumber func(ctx context.Context, ancestralSerialNumber int64) error + SetAutoRestore func(ctx context.Context, doAutoRestore bool) error + SetAutoRestoreForUser func(ctx context.Context, doAutoRestore bool) error + SetBackupEnabled func(ctx context.Context, isEnabled bool) error + SetBackupEnabledForUser func(ctx context.Context, isEnabled bool) error + SetBackupPassword func(ctx context.Context, currentPw string, newPw string) (bool, error) + SetBackupServiceActive func(ctx context.Context, whichUser int32, makeActive bool) error + SetFrameworkSchedulingEnabledForUser func(ctx context.Context, isEnabled bool) error + UpdateTransportAttributesForUser func(ctx context.Context, transportComponent content.ComponentName, name string, ...) error + func NewBackupManagerStub(impl IBackupManagerServer) IBackupManager + type IBackupManagerMonitor interface + AsBinder func() binder.IBinder + OnEvent func(ctx context.Context, event os.Bundle) error + func NewBackupManagerMonitorStub(impl IBackupManagerMonitorServer) IBackupManagerMonitor + type IBackupManagerMonitorServer interface + OnEvent func(ctx context.Context, event os.Bundle) error + type IBackupManagerServer interface + AcknowledgeFullBackupOrRestore func(ctx context.Context, token int32, allow bool, curPassword string, ...) error + AcknowledgeFullBackupOrRestoreForUser func(ctx context.Context, token int32, allow bool, curPassword string, ...) error + AdbBackup func(ctx context.Context, fd int32, includeApks bool, includeObbs bool, ...) error + AdbRestore func(ctx context.Context, fd int32) error + AgentConnected func(ctx context.Context, packageName string, agent binder.IBinder) error + AgentConnectedForUser func(ctx context.Context, packageName string, agent binder.IBinder) error + AgentDisconnected func(ctx context.Context, packageName string) error + AgentDisconnectedForUser func(ctx context.Context, packageName string) error + BackupNow func(ctx context.Context) error + BackupNowForUser func(ctx context.Context) error + BeginRestoreSessionForUser func(ctx context.Context, packageName string, transportID string) (IRestoreSession, error) + CancelBackups func(ctx context.Context) error + CancelBackupsForUser func(ctx context.Context) error + ClearBackupData func(ctx context.Context, transportName string, packageName string) error + ClearBackupDataForUser func(ctx context.Context, transportName string, packageName string) error + DataChanged func(ctx context.Context, packageName string) error + DataChangedForUser func(ctx context.Context, packageName string) error + ExcludeKeysFromRestore func(ctx context.Context, packageName string, keys []string) error + FilterAppsEligibleForBackupForUser func(ctx context.Context, packages []string) ([]string, error) + FullTransportBackupForUser func(ctx context.Context, packageNames []string) error + GetAvailableRestoreTokenForUser func(ctx context.Context, packageName string) (int64, error) + GetConfigurationIntent func(ctx context.Context, transport string) (content.Intent, error) + GetConfigurationIntentForUser func(ctx context.Context, transport string) (content.Intent, error) + GetCurrentTransport func(ctx context.Context) (string, error) + GetCurrentTransportComponentForUser func(ctx context.Context) (content.ComponentName, error) + GetCurrentTransportForUser func(ctx context.Context) (string, error) + GetDataManagementIntent func(ctx context.Context, transport string) (content.Intent, error) + GetDataManagementIntentForUser func(ctx context.Context, transport string) (content.Intent, error) + GetDataManagementLabelForUser func(ctx context.Context, transport string) (string, error) + GetDestinationString func(ctx context.Context, transport string) (string, error) + GetDestinationStringForUser func(ctx context.Context, transport string) (string, error) + GetTransportWhitelist func(ctx context.Context) ([]string, error) + GetUserForAncestralSerialNumber func(ctx context.Context, ancestralSerialNumber int64) (os.UserHandle, error) + HasBackupPassword func(ctx context.Context) (bool, error) + InitializeTransportsForUser func(ctx context.Context, transportNames []string, observer IBackupObserver) error + IsAppEligibleForBackupForUser func(ctx context.Context, packageName string) (bool, error) + IsBackupEnabled func(ctx context.Context) (bool, error) + IsBackupEnabledForUser func(ctx context.Context) (bool, error) + IsBackupServiceActive func(ctx context.Context, whichUser int32) (bool, error) + IsUserReadyForBackup func(ctx context.Context) (bool, error) + ListAllTransportComponentsForUser func(ctx context.Context) ([]content.ComponentName, error) + ListAllTransports func(ctx context.Context) ([]string, error) + ListAllTransportsForUser func(ctx context.Context) ([]string, error) + OpComplete func(ctx context.Context, token int32, result int64) error + OpCompleteForUser func(ctx context.Context, token int32, result int64) error + ReportDelayedRestoreResult func(ctx context.Context, packageName string, ...) error + RequestBackup func(ctx context.Context, packages []string, observer IBackupObserver, ...) (int32, error) + RequestBackupForUser func(ctx context.Context, packages []string, observer IBackupObserver, ...) (int32, error) + RestoreAtInstall func(ctx context.Context, packageName string, token int32) error + RestoreAtInstallForUser func(ctx context.Context, packageName string, token int32) error + SelectBackupTransport func(ctx context.Context, transport string) (string, error) + SelectBackupTransportAsyncForUser func(ctx context.Context, transport content.ComponentName, ...) error + SelectBackupTransportForUser func(ctx context.Context, transport string) (string, error) + SetAncestralSerialNumber func(ctx context.Context, ancestralSerialNumber int64) error + SetAutoRestore func(ctx context.Context, doAutoRestore bool) error + SetAutoRestoreForUser func(ctx context.Context, doAutoRestore bool) error + SetBackupEnabled func(ctx context.Context, isEnabled bool) error + SetBackupEnabledForUser func(ctx context.Context, isEnabled bool) error + SetBackupPassword func(ctx context.Context, currentPw string, newPw string) (bool, error) + SetBackupServiceActive func(ctx context.Context, whichUser int32, makeActive bool) error + SetFrameworkSchedulingEnabledForUser func(ctx context.Context, isEnabled bool) error + UpdateTransportAttributesForUser func(ctx context.Context, transportComponent content.ComponentName, name string, ...) error + type IBackupObserver interface + AsBinder func() binder.IBinder + BackupFinished func(ctx context.Context, status int32) error + OnResult func(ctx context.Context, target string, status int32) error + OnUpdate func(ctx context.Context, currentPackage string, backupProgress BackupProgress) error + func NewBackupObserverStub(impl IBackupObserverServer) IBackupObserver + type IBackupObserverServer interface + BackupFinished func(ctx context.Context, status int32) error + OnResult func(ctx context.Context, target string, status int32) error + OnUpdate func(ctx context.Context, currentPackage string, backupProgress BackupProgress) error + type IFullBackupRestoreObserver interface + AsBinder func() binder.IBinder + OnBackupPackage func(ctx context.Context, name string) error + OnEndBackup func(ctx context.Context) error + OnEndRestore func(ctx context.Context) error + OnRestorePackage func(ctx context.Context, name string) error + OnStartBackup func(ctx context.Context) error + OnStartRestore func(ctx context.Context) error + OnTimeout func(ctx context.Context) error + func NewFullBackupRestoreObserverStub(impl IFullBackupRestoreObserverServer) IFullBackupRestoreObserver + type IFullBackupRestoreObserverServer interface + OnBackupPackage func(ctx context.Context, name string) error + OnEndBackup func(ctx context.Context) error + OnEndRestore func(ctx context.Context) error + OnRestorePackage func(ctx context.Context, name string) error + OnStartBackup func(ctx context.Context) error + OnStartRestore func(ctx context.Context) error + OnTimeout func(ctx context.Context) error + type IRestoreObserver interface + AsBinder func() binder.IBinder + OnUpdate func(ctx context.Context, nowBeingRestored int32, curentPackage string) error + RestoreFinished func(ctx context.Context, error_ int32) error + RestoreSetsAvailable func(ctx context.Context, result []RestoreSet) error + RestoreStarting func(ctx context.Context, numPackages int32) error + func NewRestoreObserverStub(impl IRestoreObserverServer) IRestoreObserver + type IRestoreObserverServer interface + OnUpdate func(ctx context.Context, nowBeingRestored int32, curentPackage string) error + RestoreFinished func(ctx context.Context, error_ int32) error + RestoreSetsAvailable func(ctx context.Context, result []RestoreSet) error + RestoreStarting func(ctx context.Context, numPackages int32) error + type IRestoreSession interface + AsBinder func() binder.IBinder + EndRestoreSession func(ctx context.Context) error + GetAvailableRestoreSets func(ctx context.Context, observer IRestoreObserver, monitor IBackupManagerMonitor) (int32, error) + RestoreAll func(ctx context.Context, token int64, observer IRestoreObserver, ...) (int32, error) + RestorePackage func(ctx context.Context, packageName string, observer IRestoreObserver, ...) (int32, error) + RestorePackages func(ctx context.Context, token int64, observer IRestoreObserver, packages []string, ...) (int32, error) + func NewRestoreSessionStub(impl IRestoreSessionServer) IRestoreSession + type IRestoreSessionServer interface + EndRestoreSession func(ctx context.Context) error + GetAvailableRestoreSets func(ctx context.Context, observer IRestoreObserver, monitor IBackupManagerMonitor) (int32, error) + RestoreAll func(ctx context.Context, token int64, observer IRestoreObserver, ...) (int32, error) + RestorePackage func(ctx context.Context, packageName string, observer IRestoreObserver, ...) (int32, error) + RestorePackages func(ctx context.Context, token int64, observer IRestoreObserver, packages []string, ...) (int32, error) + type ISelectBackupTransportCallback interface + AsBinder func() binder.IBinder + OnFailure func(ctx context.Context, reason int32) error + OnSuccess func(ctx context.Context, transportName string) error + func NewSelectBackupTransportCallbackStub(impl ISelectBackupTransportCallbackServer) ISelectBackupTransportCallback + type ISelectBackupTransportCallbackServer interface + OnFailure func(ctx context.Context, reason int32) error + OnSuccess func(ctx context.Context, transportName string) error + type RestoreDescription struct + DataType int32 + PackageName string + func (s *RestoreDescription) MarshalParcel(p *parcel.Parcel) error + func (s *RestoreDescription) UnmarshalParcel(p *parcel.Parcel) error + type RestoreObserverProxy struct + Remote binder.IBinder + func NewRestoreObserverProxy(remote binder.IBinder) *RestoreObserverProxy + func (p *RestoreObserverProxy) AsBinder() binder.IBinder + func (p *RestoreObserverProxy) OnUpdate(ctx context.Context, nowBeingRestored int32, curentPackage string) error + func (p *RestoreObserverProxy) RestoreFinished(ctx context.Context, error_ int32) error + func (p *RestoreObserverProxy) RestoreSetsAvailable(ctx context.Context, result []RestoreSet) error + func (p *RestoreObserverProxy) RestoreStarting(ctx context.Context, numPackages int32) error + type RestoreObserverStub struct + Impl IRestoreObserver + Transport binder.VersionAwareTransport + func (s *RestoreObserverStub) Descriptor() string + func (s *RestoreObserverStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RestoreSessionProxy struct + Remote binder.IBinder + func NewRestoreSessionProxy(remote binder.IBinder) *RestoreSessionProxy + func (p *RestoreSessionProxy) AsBinder() binder.IBinder + func (p *RestoreSessionProxy) EndRestoreSession(ctx context.Context) error + func (p *RestoreSessionProxy) GetAvailableRestoreSets(ctx context.Context, observer IRestoreObserver, monitor IBackupManagerMonitor) (int32, error) + func (p *RestoreSessionProxy) RestoreAll(ctx context.Context, token int64, observer IRestoreObserver, ...) (int32, error) + func (p *RestoreSessionProxy) RestorePackage(ctx context.Context, packageName string, observer IRestoreObserver, ...) (int32, error) + func (p *RestoreSessionProxy) RestorePackages(ctx context.Context, token int64, observer IRestoreObserver, packages []string, ...) (int32, error) + type RestoreSessionStub struct + Impl IRestoreSession + Transport binder.VersionAwareTransport + func (s *RestoreSessionStub) Descriptor() string + func (s *RestoreSessionStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type RestoreSet struct + BackupTransportFlags int32 + Device string + Name string + Token int64 + func (s *RestoreSet) MarshalParcel(p *parcel.Parcel) error + func (s *RestoreSet) UnmarshalParcel(p *parcel.Parcel) error + type SelectBackupTransportCallbackProxy struct + Remote binder.IBinder + func NewSelectBackupTransportCallbackProxy(remote binder.IBinder) *SelectBackupTransportCallbackProxy + func (p *SelectBackupTransportCallbackProxy) AsBinder() binder.IBinder + func (p *SelectBackupTransportCallbackProxy) OnFailure(ctx context.Context, reason int32) error + func (p *SelectBackupTransportCallbackProxy) OnSuccess(ctx context.Context, transportName string) error + type SelectBackupTransportCallbackStub struct + Impl ISelectBackupTransportCallback + Transport binder.VersionAwareTransport + func (s *SelectBackupTransportCallbackStub) Descriptor() string + func (s *SelectBackupTransportCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error)