Help us shape the future of Go! Take the 2026 Go Developer Survey

bluetooth

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DescriptorSystemServiceMessage = "com.android.server.bluetooth.SystemServiceMessage"

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemServiceMessage

type SystemServiceMessage interface {
	AsBinder() binder.IBinder
}

func NewSystemServiceMessageStub

func NewSystemServiceMessageStub(
	impl SystemServiceMessageServer,
) SystemServiceMessage

NewSystemServiceMessageStub creates a server-side SystemServiceMessage wrapping the given server implementation. The returned value satisfies SystemServiceMessage and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type SystemServiceMessageDisable

type SystemServiceMessageDisable struct {
	AttributionSource content.AttributionSource
	BleToken          binder.IBinder
	Persist           bool
}

func (*SystemServiceMessageDisable) MarshalParcel

func (s *SystemServiceMessageDisable) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageDisable) UnmarshalParcel

func (s *SystemServiceMessageDisable) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageDisableReply

type SystemServiceMessageDisableReply struct {
	Value bool
}

func (*SystemServiceMessageDisableReply) MarshalParcel

func (s *SystemServiceMessageDisableReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageDisableReply) UnmarshalParcel

func (s *SystemServiceMessageDisableReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageEnable

type SystemServiceMessageEnable struct {
	AttributionSource content.AttributionSource
	BleToken          binder.IBinder
	IsQuiet           bool
}

func (*SystemServiceMessageEnable) MarshalParcel

func (s *SystemServiceMessageEnable) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageEnable) UnmarshalParcel

func (s *SystemServiceMessageEnable) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageEnableReply

type SystemServiceMessageEnableReply struct {
	Value bool
}

func (*SystemServiceMessageEnableReply) MarshalParcel

func (s *SystemServiceMessageEnableReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageEnableReply) UnmarshalParcel

func (s *SystemServiceMessageEnableReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageFactoryReset

type SystemServiceMessageFactoryReset struct {
	AttributionSource content.AttributionSource
}

func (*SystemServiceMessageFactoryReset) MarshalParcel

func (s *SystemServiceMessageFactoryReset) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageFactoryReset) UnmarshalParcel

func (s *SystemServiceMessageFactoryReset) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageFactoryResetReply

type SystemServiceMessageFactoryResetReply struct {
	Value bool
}

func (*SystemServiceMessageFactoryResetReply) MarshalParcel

func (s *SystemServiceMessageFactoryResetReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageFactoryResetReply) UnmarshalParcel

func (s *SystemServiceMessageFactoryResetReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageGetAddress

type SystemServiceMessageGetAddress struct {
	AttributionSource content.AttributionSource
}

func (*SystemServiceMessageGetAddress) MarshalParcel

func (s *SystemServiceMessageGetAddress) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageGetAddress) UnmarshalParcel

func (s *SystemServiceMessageGetAddress) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageGetAddressReply

type SystemServiceMessageGetAddressReply struct {
	Value string
}

func (*SystemServiceMessageGetAddressReply) MarshalParcel

func (s *SystemServiceMessageGetAddressReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageGetAddressReply) UnmarshalParcel

func (s *SystemServiceMessageGetAddressReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageGetName

type SystemServiceMessageGetName struct {
	AttributionSource content.AttributionSource
}

func (*SystemServiceMessageGetName) MarshalParcel

func (s *SystemServiceMessageGetName) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageGetName) UnmarshalParcel

func (s *SystemServiceMessageGetName) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageGetNameReply

type SystemServiceMessageGetNameReply struct {
	Value string
}

func (*SystemServiceMessageGetNameReply) MarshalParcel

func (s *SystemServiceMessageGetNameReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageGetNameReply) UnmarshalParcel

func (s *SystemServiceMessageGetNameReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageGetSnoopLog

type SystemServiceMessageGetSnoopLog struct {
}

func (*SystemServiceMessageGetSnoopLog) MarshalParcel

func (s *SystemServiceMessageGetSnoopLog) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageGetSnoopLog) UnmarshalParcel

func (s *SystemServiceMessageGetSnoopLog) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageGetSnoopLogReply

type SystemServiceMessageGetSnoopLogReply struct {
	Value int32
}

func (*SystemServiceMessageGetSnoopLogReply) MarshalParcel

func (s *SystemServiceMessageGetSnoopLogReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageGetSnoopLogReply) UnmarshalParcel

func (s *SystemServiceMessageGetSnoopLogReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageIsAutoEnabled

type SystemServiceMessageIsAutoEnabled struct {
}

func (*SystemServiceMessageIsAutoEnabled) MarshalParcel

func (s *SystemServiceMessageIsAutoEnabled) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageIsAutoEnabled) UnmarshalParcel

func (s *SystemServiceMessageIsAutoEnabled) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageIsAutoEnabledReply

type SystemServiceMessageIsAutoEnabledReply struct {
	Value bool
}

func (*SystemServiceMessageIsAutoEnabledReply) MarshalParcel

func (*SystemServiceMessageIsAutoEnabledReply) UnmarshalParcel

func (s *SystemServiceMessageIsAutoEnabledReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageIsAutoSupported

type SystemServiceMessageIsAutoSupported struct {
}

func (*SystemServiceMessageIsAutoSupported) MarshalParcel

func (s *SystemServiceMessageIsAutoSupported) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageIsAutoSupported) UnmarshalParcel

func (s *SystemServiceMessageIsAutoSupported) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageIsAutoSupportedReply

type SystemServiceMessageIsAutoSupportedReply struct {
	Value bool
}

func (*SystemServiceMessageIsAutoSupportedReply) MarshalParcel

func (*SystemServiceMessageIsAutoSupportedReply) UnmarshalParcel

func (s *SystemServiceMessageIsAutoSupportedReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageIsBleScanAvailable

type SystemServiceMessageIsBleScanAvailable struct {
}

func (*SystemServiceMessageIsBleScanAvailable) MarshalParcel

func (*SystemServiceMessageIsBleScanAvailable) UnmarshalParcel

func (s *SystemServiceMessageIsBleScanAvailable) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageIsBleScanAvailableReply

type SystemServiceMessageIsBleScanAvailableReply struct {
	Value bool
}

func (*SystemServiceMessageIsBleScanAvailableReply) MarshalParcel

func (*SystemServiceMessageIsBleScanAvailableReply) UnmarshalParcel

type SystemServiceMessageIsHearingAidSupported

type SystemServiceMessageIsHearingAidSupported struct {
}

func (*SystemServiceMessageIsHearingAidSupported) MarshalParcel

func (*SystemServiceMessageIsHearingAidSupported) UnmarshalParcel

type SystemServiceMessageIsHearingAidSupportedReply

type SystemServiceMessageIsHearingAidSupportedReply struct {
	Value bool
}

func (*SystemServiceMessageIsHearingAidSupportedReply) MarshalParcel

func (*SystemServiceMessageIsHearingAidSupportedReply) UnmarshalParcel

type SystemServiceMessageProxy

type SystemServiceMessageProxy struct {
	Remote binder.IBinder
}

func NewSystemServiceMessageProxy

func NewSystemServiceMessageProxy(
	remote binder.IBinder,
) *SystemServiceMessageProxy

func (*SystemServiceMessageProxy) AsBinder

type SystemServiceMessageRegisterAdapter

type SystemServiceMessageRegisterAdapter struct {
	Binder androidBluetooth.IBluetoothManagerCallback
}

func (*SystemServiceMessageRegisterAdapter) MarshalParcel

func (s *SystemServiceMessageRegisterAdapter) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageRegisterAdapter) UnmarshalParcel

func (s *SystemServiceMessageRegisterAdapter) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageRegisterAdapterReply

type SystemServiceMessageRegisterAdapterReply struct {
	Value binder.IBinder
}

func (*SystemServiceMessageRegisterAdapterReply) MarshalParcel

func (*SystemServiceMessageRegisterAdapterReply) UnmarshalParcel

func (s *SystemServiceMessageRegisterAdapterReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageServer

type SystemServiceMessageServer interface {
}

SystemServiceMessageServer is the server-side interface that user implementations provide to NewSystemServiceMessageStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type SystemServiceMessageSetAutoOnEnabled

type SystemServiceMessageSetAutoOnEnabled struct {
	EnabledStatus bool
}

func (*SystemServiceMessageSetAutoOnEnabled) MarshalParcel

func (s *SystemServiceMessageSetAutoOnEnabled) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageSetAutoOnEnabled) UnmarshalParcel

func (s *SystemServiceMessageSetAutoOnEnabled) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageSetAutoOnEnabledReply

type SystemServiceMessageSetAutoOnEnabledReply struct {
}

func (*SystemServiceMessageSetAutoOnEnabledReply) MarshalParcel

func (*SystemServiceMessageSetAutoOnEnabledReply) UnmarshalParcel

type SystemServiceMessageSetSnoopLog

type SystemServiceMessageSetSnoopLog struct {
	Mode int32
}

func (*SystemServiceMessageSetSnoopLog) MarshalParcel

func (s *SystemServiceMessageSetSnoopLog) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageSetSnoopLog) UnmarshalParcel

func (s *SystemServiceMessageSetSnoopLog) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageSetSnoopLogReply

type SystemServiceMessageSetSnoopLogReply struct {
}

func (*SystemServiceMessageSetSnoopLogReply) MarshalParcel

func (s *SystemServiceMessageSetSnoopLogReply) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageSetSnoopLogReply) UnmarshalParcel

func (s *SystemServiceMessageSetSnoopLogReply) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageStub

type SystemServiceMessageStub struct {
	Impl      SystemServiceMessage
	Transport binder.VersionAwareTransport
}

SystemServiceMessageStub dispatches incoming binder transactions to a typed SystemServiceMessage implementation.

func (*SystemServiceMessageStub) Descriptor

func (s *SystemServiceMessageStub) Descriptor() string

func (*SystemServiceMessageStub) OnTransaction

func (s *SystemServiceMessageStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type SystemServiceMessageUnregisterAdapter

type SystemServiceMessageUnregisterAdapter struct {
	Binder androidBluetooth.IBluetoothManagerCallback
}

func (*SystemServiceMessageUnregisterAdapter) MarshalParcel

func (s *SystemServiceMessageUnregisterAdapter) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SystemServiceMessageUnregisterAdapter) UnmarshalParcel

func (s *SystemServiceMessageUnregisterAdapter) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SystemServiceMessageUnregisterAdapterReply

type SystemServiceMessageUnregisterAdapterReply struct {
}

func (*SystemServiceMessageUnregisterAdapterReply) MarshalParcel

func (*SystemServiceMessageUnregisterAdapterReply) UnmarshalParcel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL