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 DescriptorISliceListener + const DescriptorISliceManager + const MethodISliceListenerOnSliceUpdated + const MethodISliceManagerApplyRestore + const MethodISliceManagerCheckSlicePermission + const MethodISliceManagerGetBackupPayload + const MethodISliceManagerGetPinnedSlices + const MethodISliceManagerGetPinnedSpecs + const MethodISliceManagerGrantPermissionFromUser + const MethodISliceManagerGrantSlicePermission + const MethodISliceManagerHasSliceAccess + const MethodISliceManagerPinSlice + const MethodISliceManagerRevokeSlicePermission + const MethodISliceManagerUnpinSlice + const TransactionISliceListenerOnSliceUpdated + const TransactionISliceManagerApplyRestore + const TransactionISliceManagerCheckSlicePermission + const TransactionISliceManagerGetBackupPayload + const TransactionISliceManagerGetPinnedSlices + const TransactionISliceManagerGetPinnedSpecs + const TransactionISliceManagerGrantPermissionFromUser + const TransactionISliceManagerGrantSlicePermission + const TransactionISliceManagerHasSliceAccess + const TransactionISliceManagerPinSlice + const TransactionISliceManagerRevokeSlicePermission + const TransactionISliceManagerUnpinSlice + type ISliceListener interface + AsBinder func() binder.IBinder + OnSliceUpdated func(ctx context.Context, s_ Slice) error + func NewSliceListenerStub(impl ISliceListenerServer) ISliceListener + type ISliceListenerServer interface + OnSliceUpdated func(ctx context.Context, s_ Slice) error + type ISliceManager interface + ApplyRestore func(ctx context.Context, payload []byte, user int32) error + AsBinder func() binder.IBinder + CheckSlicePermission func(ctx context.Context, uri net.Uri, callingPkg string, pid int32, uid int32, ...) (int32, error) + GetBackupPayload func(ctx context.Context, user int32) ([]byte, error) + GetPinnedSlices func(ctx context.Context, pkg string) ([]net.Uri, error) + GetPinnedSpecs func(ctx context.Context, uri net.Uri, pkg string) ([]SliceSpec, error) + GrantPermissionFromUser func(ctx context.Context, uri net.Uri, pkg string, callingPkg string, ...) error + GrantSlicePermission func(ctx context.Context, callingPkg string, toPkg string, uri net.Uri) error + HasSliceAccess func(ctx context.Context, pkg string) (bool, error) + PinSlice func(ctx context.Context, pkg string, uri net.Uri, specs []SliceSpec, ...) error + RevokeSlicePermission func(ctx context.Context, callingPkg string, toPkg string, uri net.Uri) error + UnpinSlice func(ctx context.Context, pkg string, uri net.Uri, token binder.IBinder) error + func NewSliceManagerStub(impl ISliceManagerServer) ISliceManager + type ISliceManagerServer interface + ApplyRestore func(ctx context.Context, payload []byte, user int32) error + CheckSlicePermission func(ctx context.Context, uri net.Uri, callingPkg string, pid int32, uid int32, ...) (int32, error) + GetBackupPayload func(ctx context.Context, user int32) ([]byte, error) + GetPinnedSlices func(ctx context.Context, pkg string) ([]net.Uri, error) + GetPinnedSpecs func(ctx context.Context, uri net.Uri, pkg string) ([]SliceSpec, error) + GrantPermissionFromUser func(ctx context.Context, uri net.Uri, pkg string, callingPkg string, ...) error + GrantSlicePermission func(ctx context.Context, callingPkg string, toPkg string, uri net.Uri) error + HasSliceAccess func(ctx context.Context, pkg string) (bool, error) + PinSlice func(ctx context.Context, pkg string, uri net.Uri, specs []SliceSpec, ...) error + RevokeSlicePermission func(ctx context.Context, callingPkg string, toPkg string, uri net.Uri) error + UnpinSlice func(ctx context.Context, pkg string, uri net.Uri, token binder.IBinder) error + type Slice struct + func (s *Slice) MarshalParcel(p *parcel.Parcel) error + func (s *Slice) UnmarshalParcel(p *parcel.Parcel) error + type SliceListenerProxy struct + Remote binder.IBinder + func NewSliceListenerProxy(remote binder.IBinder) *SliceListenerProxy + func (p *SliceListenerProxy) AsBinder() binder.IBinder + func (p *SliceListenerProxy) OnSliceUpdated(ctx context.Context, s_ Slice) error + type SliceListenerStub struct + Impl ISliceListener + Transport binder.VersionAwareTransport + func (s *SliceListenerStub) Descriptor() string + func (s *SliceListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type SliceManagerProxy struct + Remote binder.IBinder + func NewSliceManagerProxy(remote binder.IBinder) *SliceManagerProxy + func (p *SliceManagerProxy) ApplyRestore(ctx context.Context, payload []byte, user int32) error + func (p *SliceManagerProxy) AsBinder() binder.IBinder + func (p *SliceManagerProxy) CheckSlicePermission(ctx context.Context, uri net.Uri, callingPkg string, pid int32, uid int32, ...) (int32, error) + func (p *SliceManagerProxy) GetBackupPayload(ctx context.Context, user int32) ([]byte, error) + func (p *SliceManagerProxy) GetPinnedSlices(ctx context.Context, pkg string) ([]net.Uri, error) + func (p *SliceManagerProxy) GetPinnedSpecs(ctx context.Context, uri net.Uri, pkg string) ([]SliceSpec, error) + func (p *SliceManagerProxy) GrantPermissionFromUser(ctx context.Context, uri net.Uri, pkg string, callingPkg string, ...) error + func (p *SliceManagerProxy) GrantSlicePermission(ctx context.Context, callingPkg string, toPkg string, uri net.Uri) error + func (p *SliceManagerProxy) HasSliceAccess(ctx context.Context, pkg string) (bool, error) + func (p *SliceManagerProxy) PinSlice(ctx context.Context, pkg string, uri net.Uri, specs []SliceSpec, ...) error + func (p *SliceManagerProxy) RevokeSlicePermission(ctx context.Context, callingPkg string, toPkg string, uri net.Uri) error + func (p *SliceManagerProxy) UnpinSlice(ctx context.Context, pkg string, uri net.Uri, token binder.IBinder) error + type SliceManagerStub struct + Impl ISliceManager + Transport binder.VersionAwareTransport + func (s *SliceManagerStub) Descriptor() string + func (s *SliceManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type SliceSpec struct + Revision int32 + Type string + func (s *SliceSpec) MarshalParcel(p *parcel.Parcel) error + func (s *SliceSpec) UnmarshalParcel(p *parcel.Parcel) error