net

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Overview

Package net provides Go bindings for android.net.

Index

Constants

View Source
const (
	Creator                                = consts.Creator
	NetworkProbeDns                        = consts.NetworkProbeDns
	NetworkProbeFallback                   = consts.NetworkProbeFallback
	NetworkProbeHttp                       = consts.NetworkProbeHttp
	NetworkProbeHttps                      = consts.NetworkProbeHttps
	NetworkProbePrivateDns                 = consts.NetworkProbePrivateDns
	NetworkValidationResultInvalid         = consts.NetworkValidationResultInvalid
	NetworkValidationResultPartiallyValid  = consts.NetworkValidationResultPartiallyValid
	NetworkValidationResultSkipped         = consts.NetworkValidationResultSkipped
	NetworkValidationResultValid           = consts.NetworkValidationResultValid
	DetectionMethodDnsEvents               = consts.DetectionMethodDnsEvents
	DetectionMethodTcpMetrics              = consts.DetectionMethodTcpMetrics
	RtnThrow                               = consts.RtnThrow
	RtnUnicast                             = consts.RtnUnicast
	RtnUnreachable                         = consts.RtnUnreachable
	BroadcastAddress                       = consts.BroadcastAddress
	TypeBroadcast                          = consts.TypeBroadcast
	TypeMulticast                          = consts.TypeMulticast
	TypeUnicast                            = consts.TypeUnicast
	HeaderCompression6lowpan               = consts.HeaderCompression6lowpan
	HeaderCompressionAny                   = consts.HeaderCompressionAny
	HeaderCompressionNone                  = consts.HeaderCompressionNone
	PsmAny                                 = consts.PsmAny
	RoleAny                                = consts.RoleAny
	RoleClient                             = consts.RoleClient
	RoleServer                             = consts.RoleServer
	ErrorClassNotRecoverable               = consts.ErrorClassNotRecoverable
	ErrorClassRecoverable                  = consts.ErrorClassRecoverable
	ErrorCodeNetworkIo                     = consts.ErrorCodeNetworkIo
	ErrorCodeNetworkLost                   = consts.ErrorCodeNetworkLost
	ErrorCodeNetworkProtocolTimeout        = consts.ErrorCodeNetworkProtocolTimeout
	ErrorCodeNetworkUnknownHost            = consts.ErrorCodeNetworkUnknownHost
	NetCapabilityCaptivePortal             = consts.NetCapabilityCaptivePortal
	NetCapabilityCbs                       = consts.NetCapabilityCbs
	NetCapabilityDun                       = consts.NetCapabilityDun
	NetCapabilityEims                      = consts.NetCapabilityEims
	NetCapabilityEnterprise                = consts.NetCapabilityEnterprise
	NetCapabilityForeground                = consts.NetCapabilityForeground
	NetCapabilityFota                      = consts.NetCapabilityFota
	NetCapabilityHeadUnit                  = consts.NetCapabilityHeadUnit
	NetCapabilityIa                        = consts.NetCapabilityIa
	NetCapabilityIms                       = consts.NetCapabilityIms
	NetCapabilityInternet                  = consts.NetCapabilityInternet
	NetCapabilityLocalNetwork              = consts.NetCapabilityLocalNetwork
	NetCapabilityMcx                       = consts.NetCapabilityMcx
	NetCapabilityMms                       = consts.NetCapabilityMms
	NetCapabilityMmtel                     = consts.NetCapabilityMmtel
	NetCapabilityNotBandwidthConstrained   = consts.NetCapabilityNotBandwidthConstrained
	NetCapabilityNotCongested              = consts.NetCapabilityNotCongested
	NetCapabilityNotMetered                = consts.NetCapabilityNotMetered
	NetCapabilityNotRestricted             = consts.NetCapabilityNotRestricted
	NetCapabilityNotRoaming                = consts.NetCapabilityNotRoaming
	NetCapabilityNotSuspended              = consts.NetCapabilityNotSuspended
	NetCapabilityNotVpn                    = consts.NetCapabilityNotVpn
	NetCapabilityPrioritizeBandwidth       = consts.NetCapabilityPrioritizeBandwidth
	NetCapabilityPrioritizeLatency         = consts.NetCapabilityPrioritizeLatency
	NetCapabilityRcs                       = consts.NetCapabilityRcs
	NetCapabilitySupl                      = consts.NetCapabilitySupl
	NetCapabilityTemporarilyNotMetered     = consts.NetCapabilityTemporarilyNotMetered
	NetCapabilityTrusted                   = consts.NetCapabilityTrusted
	NetCapabilityValidated                 = consts.NetCapabilityValidated
	NetCapabilityWifiP2p                   = consts.NetCapabilityWifiP2p
	NetCapabilityXcap                      = consts.NetCapabilityXcap
	NetEnterpriseId1                       = consts.NetEnterpriseId1
	NetEnterpriseId2                       = consts.NetEnterpriseId2
	NetEnterpriseId3                       = consts.NetEnterpriseId3
	NetEnterpriseId4                       = consts.NetEnterpriseId4
	NetEnterpriseId5                       = consts.NetEnterpriseId5
	SignalStrengthUnspecified              = consts.SignalStrengthUnspecified
	TransportBluetooth                     = consts.TransportBluetooth
	TransportCellular                      = consts.TransportCellular
	TransportEthernet                      = consts.TransportEthernet
	TransportLowpan                        = consts.TransportLowpan
	TransportSatellite                     = consts.TransportSatellite
	TransportThread                        = consts.TransportThread
	TransportUsb                           = consts.TransportUsb
	TransportVpn                           = consts.TransportVpn
	TransportWifi                          = consts.TransportWifi
	TransportWifiAware                     = consts.TransportWifiAware
	SocketDgram                            = consts.SocketDgram
	SocketSeqpacket                        = consts.SocketSeqpacket
	SocketStream                           = consts.SocketStream
	ErrorHardwareError                     = consts.ErrorHardwareError
	ErrorInsufficientResources             = consts.ErrorInsufficientResources
	ErrorInvalidInterval                   = consts.ErrorInvalidInterval
	ErrorInvalidIpAddress                  = consts.ErrorInvalidIpAddress
	ErrorInvalidLength                     = consts.ErrorInvalidLength
	ErrorInvalidNetwork                    = consts.ErrorInvalidNetwork
	ErrorInvalidPort                       = consts.ErrorInvalidPort
	ErrorInvalidSocket                     = consts.ErrorInvalidSocket
	ErrorSocketNotIdle                     = consts.ErrorSocketNotIdle
	ErrorUnsupported                       = consts.ErrorUnsupported
	DirectionIn                            = consts.DirectionIn
	DirectionOut                           = consts.DirectionOut
	ClassIn                                = consts.ClassIn
	ErrorParse                             = consts.ErrorParse
	ErrorSystem                            = consts.ErrorSystem
	FlagEmpty                              = consts.FlagEmpty
	FlagNoCacheLookup                      = consts.FlagNoCacheLookup
	FlagNoCacheStore                       = consts.FlagNoCacheStore
	FlagNoRetry                            = consts.FlagNoRetry
	TypeA                                  = consts.TypeA
	TypeAaaa                               = consts.TypeAaaa
	Unsupported                            = consts.Unsupported
	Abstract                               = consts.Abstract
	Filesystem                             = consts.Filesystem
	Reserved                               = consts.Reserved
	TypeIkev2IpsecPsk                      = consts.TypeIkev2IpsecPsk
	TypeIkev2IpsecRsa                      = consts.TypeIkev2IpsecRsa
	TypeIkev2IpsecUserPass                 = consts.TypeIkev2IpsecUserPass
	ConnectivityScopeGlobal                = consts.ConnectivityScopeGlobal
	TetheringWifi                          = consts.TetheringWifi
	TetherErrorDhcpserverError             = consts.TetherErrorDhcpserverError
	TetherErrorDisableForwardingError      = consts.TetherErrorDisableForwardingError
	TetherErrorDuplicateRequest            = consts.TetherErrorDuplicateRequest
	TetherErrorEnableForwardingError       = consts.TetherErrorEnableForwardingError
	TetherErrorEntitlementUnknown          = consts.TetherErrorEntitlementUnknown
	TetherErrorIfaceCfgError               = consts.TetherErrorIfaceCfgError
	TetherErrorInternalError               = consts.TetherErrorInternalError
	TetherErrorNoAccessTetheringPermission = consts.TetherErrorNoAccessTetheringPermission
	TetherErrorNoChangeTetheringPermission = consts.TetherErrorNoChangeTetheringPermission
	TetherErrorNoError                     = consts.TetherErrorNoError
	TetherErrorProvisioningFailed          = consts.TetherErrorProvisioningFailed
	TetherErrorServiceUnavail              = consts.TetherErrorServiceUnavail
	TetherErrorTetherIfaceError            = consts.TetherErrorTetherIfaceError
	TetherErrorUnavailIface                = consts.TetherErrorUnavailIface
	TetherErrorUnknownIface                = consts.TetherErrorUnknownIface
	TetherErrorUnknownRequest              = consts.TetherErrorUnknownRequest
	TetherErrorUnknownType                 = consts.TetherErrorUnknownType
	TetherErrorUnsupported                 = consts.TetherErrorUnsupported
	TetherErrorUntetherIfaceError          = consts.TetherErrorUntetherIfaceError
	DefaultNetworkPreference               = consts.DefaultNetworkPreference
	MultipathPreferenceHandover            = consts.MultipathPreferenceHandover
	MultipathPreferencePerformance         = consts.MultipathPreferencePerformance
	MultipathPreferenceReliability         = consts.MultipathPreferenceReliability
	RestrictBackgroundStatusDisabled       = consts.RestrictBackgroundStatusDisabled
	RestrictBackgroundStatusEnabled        = consts.RestrictBackgroundStatusEnabled
	RestrictBackgroundStatusWhitelisted    = consts.RestrictBackgroundStatusWhitelisted
	TypeBluetooth                          = consts.TypeBluetooth
	TypeDummy                              = consts.TypeDummy
	TypeEthernet                           = consts.TypeEthernet
	TypeMobile                             = consts.TypeMobile
	TypeMobileDun                          = consts.TypeMobileDun
	TypeMobileHipri                        = consts.TypeMobileHipri
	TypeMobileMms                          = consts.TypeMobileMms
	TypeMobileSupl                         = consts.TypeMobileSupl
	TypeVpn                                = consts.TypeVpn
	TypeWifi                               = consts.TypeWifi
	TypeWimax                              = consts.TypeWimax
	FlagIncludeLocationInfo                = consts.FlagIncludeLocationInfo
	Authenticating                         = consts.Authenticating
	Blocked                                = consts.Blocked
	CaptivePortalCheck                     = consts.CaptivePortalCheck
	Connected                              = consts.Connected
	Connecting                             = consts.Connecting
	Disconnected                           = consts.Disconnected
	Disconnecting                          = consts.Disconnecting
	Failed                                 = consts.Failed
	Idle                                   = consts.Idle
	ObtainingIpaddr                        = consts.ObtainingIpaddr
	Scanning                               = consts.Scanning
	Suspended                              = consts.Suspended
	VerifyingPoorLink                      = consts.VerifyingPoorLink
	Unknown                                = consts.Unknown
	AllButNulAndAngleBracketsLegal         = consts.AllButNulAndAngleBracketsLegal
	AllButNulLegal                         = consts.AllButNulLegal
	AllButWhitespaceLegal                  = consts.AllButWhitespaceLegal
	AllIllegal                             = consts.AllIllegal
	AllOk                                  = consts.AllOk
	AllWhitespaceOk                        = consts.AllWhitespaceOk
	AmpAndSpaceLegal                       = consts.AmpAndSpaceLegal
	AmpLegal                               = consts.AmpLegal
	AmpOk                                  = consts.AmpOk
	DquoteOk                               = consts.DquoteOk
	GtOk                                   = consts.GtOk
	LtOk                                   = consts.LtOk
	Non7BitAsciiOk                         = consts.Non7BitAsciiOk
	NulOk                                  = consts.NulOk
	OtherWhitespaceOk                      = consts.OtherWhitespaceOk
	PctOk                                  = consts.PctOk
	ScriptUrlOk                            = consts.ScriptUrlOk
	SpaceLegal                             = consts.SpaceLegal
	SpaceOk                                = consts.SpaceOk
	SquoteOk                               = consts.SquoteOk
	UrlAndSpaceLegal                       = consts.UrlAndSpaceLegal
	UrlLegal                               = consts.UrlLegal
	StateConnected                         = consts.StateConnected
	StateConnecting                        = consts.StateConnecting
	StateDisconnected                      = consts.StateDisconnected
	StateFailed                            = consts.StateFailed
)
View Source
const (
	KeyNetworkProbesAttemptedBitmask    = consts.KeyNetworkProbesAttemptedBitmask
	KeyNetworkProbesSucceededBitmask    = consts.KeyNetworkProbesSucceededBitmask
	KeyNetworkValidationResult          = consts.KeyNetworkValidationResult
	KeyDnsConsecutiveTimeouts           = consts.KeyDnsConsecutiveTimeouts
	KeyTcpMetricsCollectionPeriodMillis = consts.KeyTcpMetricsCollectionPeriodMillis
	KeyTcpPacketFailRate                = consts.KeyTcpPacketFailRate
	MailtoScheme                        = consts.MailtoScheme
	ActionVpnManagerEvent               = consts.ActionVpnManagerEvent
	CategoryEventAlwaysOnStateChanged   = consts.CategoryEventAlwaysOnStateChanged
	CategoryEventDeactivatedByUser      = consts.CategoryEventDeactivatedByUser
	CategoryEventIkeError               = consts.CategoryEventIkeError
	CategoryEventNetworkError           = consts.CategoryEventNetworkError
	ExtraErrorClass                     = consts.ExtraErrorClass
	ExtraErrorCode                      = consts.ExtraErrorCode
	ExtraSessionKey                     = consts.ExtraSessionKey
	ExtraTimestampMillis                = consts.ExtraTimestampMillis
	ExtraUnderlyingLinkProperties       = consts.ExtraUnderlyingLinkProperties
	ExtraUnderlyingNetwork              = consts.ExtraUnderlyingNetwork
	ExtraUnderlyingNetworkCapabilities  = consts.ExtraUnderlyingNetworkCapabilities
	ExtraVpnProfileState                = consts.ExtraVpnProfileState
	ActionBackgroundDataSettingChanged  = consts.ActionBackgroundDataSettingChanged
	ActionCaptivePortalSignIn           = consts.ActionCaptivePortalSignIn
	ActionRestrictBackgroundChanged     = consts.ActionRestrictBackgroundChanged
	ConnectivityAction                  = consts.ConnectivityAction
	ExtraCaptivePortal                  = consts.ExtraCaptivePortal
	ExtraCaptivePortalUrl               = consts.ExtraCaptivePortalUrl
	ExtraExtraInfo                      = consts.ExtraExtraInfo
	ExtraIsFailover                     = consts.ExtraIsFailover
	ExtraNetwork                        = consts.ExtraNetwork
	ExtraNetworkInfo                    = consts.ExtraNetworkInfo
	ExtraNetworkRequest                 = consts.ExtraNetworkRequest
	ExtraNetworkType                    = consts.ExtraNetworkType
	ExtraNoConnectivity                 = consts.ExtraNoConnectivity
	ExtraOtherNetworkInfo               = consts.ExtraOtherNetworkInfo
	ExtraReason                         = consts.ExtraReason
	AuthAesCmac                         = consts.AuthAesCmac
	AuthAesXcbc                         = consts.AuthAesXcbc
	AuthCryptAesGcm                     = consts.AuthCryptAesGcm
	AuthCryptChacha20Poly1305           = consts.AuthCryptChacha20Poly1305
	AuthHmacMd5                         = consts.AuthHmacMd5
	AuthHmacSha1                        = consts.AuthHmacSha1
	AuthHmacSha256                      = consts.AuthHmacSha256
	AuthHmacSha384                      = consts.AuthHmacSha384
	AuthHmacSha512                      = consts.AuthHmacSha512
	CryptAesCbc                         = consts.CryptAesCbc
	CryptAesCtr                         = consts.CryptAesCtr
	ProxyChangeAction                   = consts.ProxyChangeAction
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

func NewworkCapabilities added in v0.0.7

func NewworkCapabilities(vm *jni.VM) (*workCapabilities, error)

NewworkCapabilities creates a new android.net.NetworkCapabilities instance.

func NewworkInfo added in v0.0.7

func NewworkInfo(vm *jni.VM, arg0 int32, arg1 int32, arg2 string, arg3 string) (*workInfo, error)

NewworkInfo creates a new android.net.NetworkInfo instance.

Types

type CaptivePortal added in v0.0.7

type CaptivePortal struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CaptivePortal wraps android.net.CaptivePortal.

func (*CaptivePortal) DescribeContents added in v0.0.7

func (m *CaptivePortal) DescribeContents() (int32, error)

DescribeContents calls android.net.CaptivePortal.describeContents.

func (*CaptivePortal) IgnoreNetwork added in v0.0.7

func (m *CaptivePortal) IgnoreNetwork() error

IgnoreNetwork calls android.net.CaptivePortal.ignoreNetwork.

func (*CaptivePortal) ReportCaptivePortalDismissed added in v0.0.7

func (m *CaptivePortal) ReportCaptivePortalDismissed() error

ReportCaptivePortalDismissed calls android.net.CaptivePortal.reportCaptivePortalDismissed.

func (*CaptivePortal) WriteToParcel added in v0.0.7

func (m *CaptivePortal) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.CaptivePortal.writeToParcel.

type ConnectivityDiagnosticsManager added in v0.0.7

type ConnectivityDiagnosticsManager struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

ConnectivityDiagnosticsManager wraps android.net.ConnectivityDiagnosticsManager.

func NewConnectivityDiagnosticsManager added in v0.0.7

func NewConnectivityDiagnosticsManager(ctx *app.Context) (*ConnectivityDiagnosticsManager, error)

NewConnectivityDiagnosticsManager obtains android.net.ConnectivityDiagnosticsManager from the Android system service manager.

func (*ConnectivityDiagnosticsManager) Close added in v0.0.7

func (m *ConnectivityDiagnosticsManager) Close()

Close releases the global reference to the underlying Java object. After Close, the ConnectivityDiagnosticsManager must not be used.

func (*ConnectivityDiagnosticsManager) RegisterConnectivityDiagnosticsCallback added in v0.0.7

func (m *ConnectivityDiagnosticsManager) RegisterConnectivityDiagnosticsCallback(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

RegisterConnectivityDiagnosticsCallback calls android.net.ConnectivityDiagnosticsManager.registerConnectivityDiagnosticsCallback.

func (*ConnectivityDiagnosticsManager) UnregisterConnectivityDiagnosticsCallback added in v0.0.7

func (m *ConnectivityDiagnosticsManager) UnregisterConnectivityDiagnosticsCallback(arg0 *jni.Object) error

UnregisterConnectivityDiagnosticsCallback calls android.net.ConnectivityDiagnosticsManager.unregisterConnectivityDiagnosticsCallback.

type ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback added in v0.0.7

type ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback wraps android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback.

func (*ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback) OnConnectivityReportAvailable added in v0.0.7

func (m *ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback) OnConnectivityReportAvailable(arg0 *jni.Object) error

OnConnectivityReportAvailable calls android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback.onConnectivityReportAvailable.

func (*ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback) OnDataStallSuspected added in v0.0.7

OnDataStallSuspected calls android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback.onDataStallSuspected.

func (*ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback) OnNetworkConnectivityReported added in v0.0.7

func (m *ConnectivityDiagnosticsManagerConnectivityDiagnosticsCallback) OnNetworkConnectivityReported(arg0 *jni.Object, arg1 bool) error

OnNetworkConnectivityReported calls android.net.ConnectivityDiagnosticsManager$ConnectivityDiagnosticsCallback.onNetworkConnectivityReported.

type ConnectivityDiagnosticsManagerConnectivityReport added in v0.0.7

type ConnectivityDiagnosticsManagerConnectivityReport struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ConnectivityDiagnosticsManagerConnectivityReport wraps android.net.ConnectivityDiagnosticsManager$ConnectivityReport.

func (*ConnectivityDiagnosticsManagerConnectivityReport) DescribeContents added in v0.0.7

DescribeContents calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.describeContents.

func (*ConnectivityDiagnosticsManagerConnectivityReport) Equals added in v0.0.7

Equals calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.equals.

func (*ConnectivityDiagnosticsManagerConnectivityReport) GetAdditionalInfo added in v0.0.7

GetAdditionalInfo calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.getAdditionalInfo.

func (*ConnectivityDiagnosticsManagerConnectivityReport) GetLinkProperties added in v0.0.7

GetLinkProperties calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.getLinkProperties.

func (*ConnectivityDiagnosticsManagerConnectivityReport) GetNetwork added in v0.0.7

GetNetwork calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.getNetwork.

func (*ConnectivityDiagnosticsManagerConnectivityReport) GetNetworkCapabilities added in v0.0.7

func (m *ConnectivityDiagnosticsManagerConnectivityReport) GetNetworkCapabilities() (*jni.Object, error)

GetNetworkCapabilities calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.getNetworkCapabilities.

func (*ConnectivityDiagnosticsManagerConnectivityReport) GetReportTimestamp added in v0.0.7

GetReportTimestamp calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.getReportTimestamp.

func (*ConnectivityDiagnosticsManagerConnectivityReport) HashCode added in v0.0.7

HashCode calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.hashCode.

func (*ConnectivityDiagnosticsManagerConnectivityReport) WriteToParcel added in v0.0.7

WriteToParcel calls android.net.ConnectivityDiagnosticsManager$ConnectivityReport.writeToParcel.

type ConnectivityDiagnosticsManagerDataStallReport added in v0.0.7

type ConnectivityDiagnosticsManagerDataStallReport struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ConnectivityDiagnosticsManagerDataStallReport wraps android.net.ConnectivityDiagnosticsManager$DataStallReport.

func (*ConnectivityDiagnosticsManagerDataStallReport) DescribeContents added in v0.0.7

DescribeContents calls android.net.ConnectivityDiagnosticsManager$DataStallReport.describeContents.

func (*ConnectivityDiagnosticsManagerDataStallReport) Equals added in v0.0.7

Equals calls android.net.ConnectivityDiagnosticsManager$DataStallReport.equals.

func (*ConnectivityDiagnosticsManagerDataStallReport) GetDetectionMethod added in v0.0.7

func (m *ConnectivityDiagnosticsManagerDataStallReport) GetDetectionMethod() (int32, error)

GetDetectionMethod calls android.net.ConnectivityDiagnosticsManager$DataStallReport.getDetectionMethod.

func (*ConnectivityDiagnosticsManagerDataStallReport) GetLinkProperties added in v0.0.7

GetLinkProperties calls android.net.ConnectivityDiagnosticsManager$DataStallReport.getLinkProperties.

func (*ConnectivityDiagnosticsManagerDataStallReport) GetNetwork added in v0.0.7

GetNetwork calls android.net.ConnectivityDiagnosticsManager$DataStallReport.getNetwork.

func (*ConnectivityDiagnosticsManagerDataStallReport) GetNetworkCapabilities added in v0.0.7

func (m *ConnectivityDiagnosticsManagerDataStallReport) GetNetworkCapabilities() (*jni.Object, error)

GetNetworkCapabilities calls android.net.ConnectivityDiagnosticsManager$DataStallReport.getNetworkCapabilities.

func (*ConnectivityDiagnosticsManagerDataStallReport) GetReportTimestamp added in v0.0.7

func (m *ConnectivityDiagnosticsManagerDataStallReport) GetReportTimestamp() (int64, error)

GetReportTimestamp calls android.net.ConnectivityDiagnosticsManager$DataStallReport.getReportTimestamp.

func (*ConnectivityDiagnosticsManagerDataStallReport) GetStallDetails added in v0.0.7

GetStallDetails calls android.net.ConnectivityDiagnosticsManager$DataStallReport.getStallDetails.

func (*ConnectivityDiagnosticsManagerDataStallReport) HashCode added in v0.0.7

HashCode calls android.net.ConnectivityDiagnosticsManager$DataStallReport.hashCode.

func (*ConnectivityDiagnosticsManagerDataStallReport) WriteToParcel added in v0.0.7

func (m *ConnectivityDiagnosticsManagerDataStallReport) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.ConnectivityDiagnosticsManager$DataStallReport.writeToParcel.

type ConnectivityManager added in v0.0.4

type ConnectivityManager struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

ConnectivityManager wraps android.net.ConnectivityManager.

func NewConnectivityManager added in v0.0.4

func NewConnectivityManager(ctx *app.Context) (*ConnectivityManager, error)

NewConnectivityManager obtains android.net.ConnectivityManager from the Android system service manager.

func (*ConnectivityManager) AddDefaultNetworkActiveListener added in v0.0.4

func (m *ConnectivityManager) AddDefaultNetworkActiveListener(arg0 *jni.Object) error

AddDefaultNetworkActiveListener calls android.net.ConnectivityManager.addDefaultNetworkActiveListener.

func (*ConnectivityManager) BindProcessToNetwork added in v0.0.4

func (m *ConnectivityManager) BindProcessToNetwork(arg0 *jni.Object) (bool, error)

BindProcessToNetwork calls android.net.ConnectivityManager.bindProcessToNetwork.

func (*ConnectivityManager) Close added in v0.0.4

func (m *ConnectivityManager) Close()

Close releases the global reference to the underlying Java object. After Close, the ConnectivityManager must not be used.

func (*ConnectivityManager) CreateSocketKeepalive added in v0.0.4

func (m *ConnectivityManager) CreateSocketKeepalive(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
	arg3 *jni.Object,
	arg4 *jni.Object,
	arg5 *jni.Object,
) (*jni.Object, error)

CreateSocketKeepalive calls android.net.ConnectivityManager.createSocketKeepalive.

func (*ConnectivityManager) GetActiveNetwork added in v0.0.4

func (m *ConnectivityManager) GetActiveNetwork() (*jni.Object, error)

GetActiveNetwork calls android.net.ConnectivityManager.getActiveNetwork.

func (*ConnectivityManager) GetActiveNetworkInfo added in v0.0.4

func (m *ConnectivityManager) GetActiveNetworkInfo() (*jni.Object, error)

GetActiveNetworkInfo calls android.net.ConnectivityManager.getActiveNetworkInfo.

func (*ConnectivityManager) GetAllNetworkInfo added in v0.0.4

func (m *ConnectivityManager) GetAllNetworkInfo() (*jni.Object, error)

GetAllNetworkInfo calls android.net.ConnectivityManager.getAllNetworkInfo.

func (*ConnectivityManager) GetAllNetworks added in v0.0.4

func (m *ConnectivityManager) GetAllNetworks() (*jni.Object, error)

GetAllNetworks calls android.net.ConnectivityManager.getAllNetworks.

func (*ConnectivityManager) GetBackgroundDataSetting added in v0.0.4

func (m *ConnectivityManager) GetBackgroundDataSetting() (bool, error)

GetBackgroundDataSetting calls android.net.ConnectivityManager.getBackgroundDataSetting.

func (*ConnectivityManager) GetBoundNetworkForProcess added in v0.0.4

func (m *ConnectivityManager) GetBoundNetworkForProcess() (*jni.Object, error)

GetBoundNetworkForProcess calls android.net.ConnectivityManager.getBoundNetworkForProcess.

func (*ConnectivityManager) GetConnectionOwnerUid added in v0.0.4

func (m *ConnectivityManager) GetConnectionOwnerUid(
	arg0 int32,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (int32, error)

GetConnectionOwnerUid calls android.net.ConnectivityManager.getConnectionOwnerUid.

func (*ConnectivityManager) GetDefaultProxy added in v0.0.4

func (m *ConnectivityManager) GetDefaultProxy() (*jni.Object, error)

GetDefaultProxy calls android.net.ConnectivityManager.getDefaultProxy.

func (*ConnectivityManager) GetLinkProperties added in v0.0.4

func (m *ConnectivityManager) GetLinkProperties(arg0 *jni.Object) (*jni.Object, error)

GetLinkProperties calls android.net.ConnectivityManager.getLinkProperties.

func (*ConnectivityManager) GetMultipathPreference added in v0.0.4

func (m *ConnectivityManager) GetMultipathPreference(arg0 *jni.Object) (int32, error)

GetMultipathPreference calls android.net.ConnectivityManager.getMultipathPreference.

func (*ConnectivityManager) GetNetworkCapabilities added in v0.0.4

func (m *ConnectivityManager) GetNetworkCapabilities(arg0 *jni.Object) (*jni.Object, error)

GetNetworkCapabilities calls android.net.ConnectivityManager.getNetworkCapabilities.

func (*ConnectivityManager) GetNetworkInfo1 added in v0.0.4

func (m *ConnectivityManager) GetNetworkInfo1(arg0 *jni.Object) (*jni.Object, error)

GetNetworkInfo1 calls android.net.ConnectivityManager.getNetworkInfo.

func (*ConnectivityManager) GetNetworkInfo1_1 added in v0.0.4

func (m *ConnectivityManager) GetNetworkInfo1_1(arg0 int32) (*jni.Object, error)

GetNetworkInfo1_1 calls android.net.ConnectivityManager.getNetworkInfo.

func (*ConnectivityManager) GetNetworkPreference added in v0.0.4

func (m *ConnectivityManager) GetNetworkPreference() (int32, error)

GetNetworkPreference calls android.net.ConnectivityManager.getNetworkPreference.

func (*ConnectivityManager) GetNetworkWatchlistConfigHash added in v0.0.4

func (m *ConnectivityManager) GetNetworkWatchlistConfigHash() (*jni.Object, error)

GetNetworkWatchlistConfigHash calls android.net.ConnectivityManager.getNetworkWatchlistConfigHash.

func (*ConnectivityManager) GetProcessDefaultNetwork added in v0.0.4

func (m *ConnectivityManager) GetProcessDefaultNetwork() (*jni.Object, error)

GetProcessDefaultNetwork calls android.net.ConnectivityManager.getProcessDefaultNetwork.

func (*ConnectivityManager) GetRestrictBackgroundStatus added in v0.0.4

func (m *ConnectivityManager) GetRestrictBackgroundStatus() (int32, error)

GetRestrictBackgroundStatus calls android.net.ConnectivityManager.getRestrictBackgroundStatus.

func (*ConnectivityManager) IsActiveNetworkMetered added in v0.0.4

func (m *ConnectivityManager) IsActiveNetworkMetered() (bool, error)

IsActiveNetworkMetered calls android.net.ConnectivityManager.isActiveNetworkMetered.

func (*ConnectivityManager) IsDefaultNetworkActive added in v0.0.4

func (m *ConnectivityManager) IsDefaultNetworkActive() (bool, error)

IsDefaultNetworkActive calls android.net.ConnectivityManager.isDefaultNetworkActive.

func (*ConnectivityManager) IsNetworkTypeValid added in v0.0.4

func (m *ConnectivityManager) IsNetworkTypeValid(arg0 int32) (bool, error)

IsNetworkTypeValid calls android.net.ConnectivityManager.isNetworkTypeValid.

func (*ConnectivityManager) RegisterDefaultNetworkCallback added in v0.0.4

func (m *ConnectivityManager) RegisterDefaultNetworkCallback(arg0 *jni.Object) error

RegisterDefaultNetworkCallback calls android.net.ConnectivityManager.registerDefaultNetworkCallback.

func (*ConnectivityManager) RegisterNetworkCallback2 added in v0.0.4

func (m *ConnectivityManager) RegisterNetworkCallback2(arg0 *jni.Object, arg1 *jni.Object) error

RegisterNetworkCallback2 calls android.net.ConnectivityManager.registerNetworkCallback.

func (*ConnectivityManager) RegisterNetworkCallback2_1 added in v0.0.4

func (m *ConnectivityManager) RegisterNetworkCallback2_1(arg0 *jni.Object, arg1 *jni.Object) error

RegisterNetworkCallback2_1 calls android.net.ConnectivityManager.registerNetworkCallback.

func (*ConnectivityManager) ReleaseNetworkRequest added in v0.0.4

func (m *ConnectivityManager) ReleaseNetworkRequest(arg0 *jni.Object) error

ReleaseNetworkRequest calls android.net.ConnectivityManager.releaseNetworkRequest.

func (*ConnectivityManager) RemoveDefaultNetworkActiveListener added in v0.0.4

func (m *ConnectivityManager) RemoveDefaultNetworkActiveListener(arg0 *jni.Object) error

RemoveDefaultNetworkActiveListener calls android.net.ConnectivityManager.removeDefaultNetworkActiveListener.

func (*ConnectivityManager) ReportBadNetwork added in v0.0.4

func (m *ConnectivityManager) ReportBadNetwork(arg0 *jni.Object) error

ReportBadNetwork calls android.net.ConnectivityManager.reportBadNetwork.

func (*ConnectivityManager) ReportNetworkConnectivity added in v0.0.4

func (m *ConnectivityManager) ReportNetworkConnectivity(arg0 *jni.Object, arg1 bool) error

ReportNetworkConnectivity calls android.net.ConnectivityManager.reportNetworkConnectivity.

func (*ConnectivityManager) RequestBandwidthUpdate added in v0.0.4

func (m *ConnectivityManager) RequestBandwidthUpdate(arg0 *jni.Object) (bool, error)

RequestBandwidthUpdate calls android.net.ConnectivityManager.requestBandwidthUpdate.

func (*ConnectivityManager) RequestNetwork2 added in v0.0.4

func (m *ConnectivityManager) RequestNetwork2(arg0 *jni.Object, arg1 *jni.Object) error

RequestNetwork2 calls android.net.ConnectivityManager.requestNetwork.

func (*ConnectivityManager) RequestNetwork2_1 added in v0.0.4

func (m *ConnectivityManager) RequestNetwork2_1(arg0 *jni.Object, arg1 *jni.Object) error

RequestNetwork2_1 calls android.net.ConnectivityManager.requestNetwork.

func (*ConnectivityManager) RequestNetwork3_2 added in v0.0.4

func (m *ConnectivityManager) RequestNetwork3_2(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

RequestNetwork3_2 calls android.net.ConnectivityManager.requestNetwork.

func (*ConnectivityManager) SetNetworkPreference added in v0.0.4

func (m *ConnectivityManager) SetNetworkPreference(arg0 int32) error

SetNetworkPreference calls android.net.ConnectivityManager.setNetworkPreference.

func (*ConnectivityManager) SetProcessDefaultNetwork added in v0.0.4

func (m *ConnectivityManager) SetProcessDefaultNetwork(arg0 *jni.Object) (bool, error)

SetProcessDefaultNetwork calls android.net.ConnectivityManager.setProcessDefaultNetwork.

func (*ConnectivityManager) UnregisterNetworkCallback1 added in v0.0.4

func (m *ConnectivityManager) UnregisterNetworkCallback1(arg0 *jni.Object) error

UnregisterNetworkCallback1 calls android.net.ConnectivityManager.unregisterNetworkCallback.

func (*ConnectivityManager) UnregisterNetworkCallback1_1 added in v0.0.4

func (m *ConnectivityManager) UnregisterNetworkCallback1_1(arg0 *jni.Object) error

UnregisterNetworkCallback1_1 calls android.net.ConnectivityManager.unregisterNetworkCallback.

type ConnectivityManagerNetworkCallback added in v0.0.7

type ConnectivityManagerNetworkCallback struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ConnectivityManagerNetworkCallback wraps android.net.ConnectivityManager$NetworkCallback.

func (*ConnectivityManagerNetworkCallback) OnAvailable added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnAvailable(arg0 *jni.Object) error

OnAvailable calls android.net.ConnectivityManager$NetworkCallback.onAvailable.

func (*ConnectivityManagerNetworkCallback) OnBlockedStatusChanged added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnBlockedStatusChanged(arg0 *jni.Object, arg1 bool) error

OnBlockedStatusChanged calls android.net.ConnectivityManager$NetworkCallback.onBlockedStatusChanged.

func (*ConnectivityManagerNetworkCallback) OnCapabilitiesChanged added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnCapabilitiesChanged(arg0 *jni.Object, arg1 *jni.Object) error

OnCapabilitiesChanged calls android.net.ConnectivityManager$NetworkCallback.onCapabilitiesChanged.

func (*ConnectivityManagerNetworkCallback) OnLinkPropertiesChanged added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnLinkPropertiesChanged(arg0 *jni.Object, arg1 *jni.Object) error

OnLinkPropertiesChanged calls android.net.ConnectivityManager$NetworkCallback.onLinkPropertiesChanged.

func (*ConnectivityManagerNetworkCallback) OnLosing added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnLosing(arg0 *jni.Object, arg1 int32) error

OnLosing calls android.net.ConnectivityManager$NetworkCallback.onLosing.

func (*ConnectivityManagerNetworkCallback) OnLost added in v0.0.7

OnLost calls android.net.ConnectivityManager$NetworkCallback.onLost.

func (*ConnectivityManagerNetworkCallback) OnReserved added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnReserved(arg0 *jni.Object) error

OnReserved calls android.net.ConnectivityManager$NetworkCallback.onReserved.

func (*ConnectivityManagerNetworkCallback) OnUnavailable added in v0.0.7

func (m *ConnectivityManagerNetworkCallback) OnUnavailable() error

OnUnavailable calls android.net.ConnectivityManager$NetworkCallback.onUnavailable.

type ConnectivityManagerOnNetworkActiveListener added in v0.0.7

type ConnectivityManagerOnNetworkActiveListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ConnectivityManagerOnNetworkActiveListener wraps android.net.ConnectivityManager$OnNetworkActiveListener.

func (*ConnectivityManagerOnNetworkActiveListener) OnNetworkActive added in v0.0.7

OnNetworkActive calls android.net.ConnectivityManager$OnNetworkActiveListener.onNetworkActive.

type Credentials added in v0.0.7

type Credentials struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Credentials wraps android.net.Credentials.

func NewCredentials added in v0.0.7

func NewCredentials(vm *jni.VM, arg0 int32, arg1 int32, arg2 int32) (*Credentials, error)

NewCredentials creates a new android.net.Credentials instance.

func (*Credentials) GetGid added in v0.0.7

func (m *Credentials) GetGid() (int32, error)

GetGid calls android.net.Credentials.getGid.

func (*Credentials) GetPid added in v0.0.7

func (m *Credentials) GetPid() (int32, error)

GetPid calls android.net.Credentials.getPid.

func (*Credentials) GetUid added in v0.0.7

func (m *Credentials) GetUid() (int32, error)

GetUid calls android.net.Credentials.getUid.

type DhcpInfo added in v0.0.7

type DhcpInfo struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DhcpInfo wraps android.net.DhcpInfo.

func NewDhcpInfo added in v0.0.7

func NewDhcpInfo(vm *jni.VM) (*DhcpInfo, error)

NewDhcpInfo creates a new android.net.DhcpInfo instance.

func (*DhcpInfo) DescribeContents added in v0.0.7

func (m *DhcpInfo) DescribeContents() (int32, error)

DescribeContents calls android.net.DhcpInfo.describeContents.

func (*DhcpInfo) ToString added in v0.0.7

func (m *DhcpInfo) ToString() (string, error)

ToString calls android.net.DhcpInfo.toString.

func (*DhcpInfo) WriteToParcel added in v0.0.7

func (m *DhcpInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.DhcpInfo.writeToParcel.

type DnsResolver added in v0.0.7

type DnsResolver struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DnsResolver wraps android.net.DnsResolver.

func (*DnsResolver) GetInstance added in v0.0.7

func (m *DnsResolver) GetInstance() (*jni.Object, error)

GetInstance calls android.net.DnsResolver.getInstance.

type DnsResolverCallback added in v0.0.7

type DnsResolverCallback struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DnsResolverCallback wraps android.net.DnsResolver$Callback.

func (*DnsResolverCallback) OnError added in v0.0.7

func (m *DnsResolverCallback) OnError(arg0 *jni.Object) error

OnError calls android.net.DnsResolver$Callback.onError.

type EthernetNetworkSpecifier added in v0.0.7

type EthernetNetworkSpecifier struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

EthernetNetworkSpecifier wraps android.net.EthernetNetworkSpecifier.

func NewEthernetNetworkSpecifier added in v0.0.7

func NewEthernetNetworkSpecifier(vm *jni.VM, arg0 string) (*EthernetNetworkSpecifier, error)

NewEthernetNetworkSpecifier creates a new android.net.EthernetNetworkSpecifier instance.

func (*EthernetNetworkSpecifier) CanBeSatisfiedBy added in v0.0.7

func (m *EthernetNetworkSpecifier) CanBeSatisfiedBy(arg0 *jni.Object) (bool, error)

CanBeSatisfiedBy calls android.net.EthernetNetworkSpecifier.canBeSatisfiedBy.

func (*EthernetNetworkSpecifier) DescribeContents added in v0.0.7

func (m *EthernetNetworkSpecifier) DescribeContents() (int32, error)

DescribeContents calls android.net.EthernetNetworkSpecifier.describeContents.

func (*EthernetNetworkSpecifier) Equals added in v0.0.7

func (m *EthernetNetworkSpecifier) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.EthernetNetworkSpecifier.equals.

func (*EthernetNetworkSpecifier) GetInterfaceName added in v0.0.7

func (m *EthernetNetworkSpecifier) GetInterfaceName() (string, error)

GetInterfaceName calls android.net.EthernetNetworkSpecifier.getInterfaceName.

func (*EthernetNetworkSpecifier) HashCode added in v0.0.7

func (m *EthernetNetworkSpecifier) HashCode() (int32, error)

HashCode calls android.net.EthernetNetworkSpecifier.hashCode.

func (*EthernetNetworkSpecifier) ToString added in v0.0.7

func (m *EthernetNetworkSpecifier) ToString() (string, error)

ToString calls android.net.EthernetNetworkSpecifier.toString.

func (*EthernetNetworkSpecifier) WriteToParcel added in v0.0.7

func (m *EthernetNetworkSpecifier) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.EthernetNetworkSpecifier.writeToParcel.

type Ikev2VpnProfile added in v0.0.7

type Ikev2VpnProfile struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Ikev2VpnProfile wraps android.net.Ikev2VpnProfile.

func (*Ikev2VpnProfile) Equals added in v0.0.7

func (m *Ikev2VpnProfile) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.Ikev2VpnProfile.equals.

func (*Ikev2VpnProfile) GetIkeTunnelConnectionParams added in v0.0.7

func (m *Ikev2VpnProfile) GetIkeTunnelConnectionParams() (*jni.Object, error)

GetIkeTunnelConnectionParams calls android.net.Ikev2VpnProfile.getIkeTunnelConnectionParams.

func (*Ikev2VpnProfile) GetMaxMtu added in v0.0.7

func (m *Ikev2VpnProfile) GetMaxMtu() (int32, error)

GetMaxMtu calls android.net.Ikev2VpnProfile.getMaxMtu.

func (*Ikev2VpnProfile) GetPassword added in v0.0.7

func (m *Ikev2VpnProfile) GetPassword() (string, error)

GetPassword calls android.net.Ikev2VpnProfile.getPassword.

func (*Ikev2VpnProfile) GetPresharedKey added in v0.0.7

func (m *Ikev2VpnProfile) GetPresharedKey() (*jni.Object, error)

GetPresharedKey calls android.net.Ikev2VpnProfile.getPresharedKey.

func (*Ikev2VpnProfile) GetProxyInfo added in v0.0.7

func (m *Ikev2VpnProfile) GetProxyInfo() (*jni.Object, error)

GetProxyInfo calls android.net.Ikev2VpnProfile.getProxyInfo.

func (*Ikev2VpnProfile) GetRsaPrivateKey added in v0.0.7

func (m *Ikev2VpnProfile) GetRsaPrivateKey() (*jni.Object, error)

GetRsaPrivateKey calls android.net.Ikev2VpnProfile.getRsaPrivateKey.

func (*Ikev2VpnProfile) GetServerAddr added in v0.0.7

func (m *Ikev2VpnProfile) GetServerAddr() (string, error)

GetServerAddr calls android.net.Ikev2VpnProfile.getServerAddr.

func (*Ikev2VpnProfile) GetServerRootCaCert added in v0.0.7

func (m *Ikev2VpnProfile) GetServerRootCaCert() (*jni.Object, error)

GetServerRootCaCert calls android.net.Ikev2VpnProfile.getServerRootCaCert.

func (*Ikev2VpnProfile) GetUserCert added in v0.0.7

func (m *Ikev2VpnProfile) GetUserCert() (*jni.Object, error)

GetUserCert calls android.net.Ikev2VpnProfile.getUserCert.

func (*Ikev2VpnProfile) GetUserIdentity added in v0.0.7

func (m *Ikev2VpnProfile) GetUserIdentity() (string, error)

GetUserIdentity calls android.net.Ikev2VpnProfile.getUserIdentity.

func (*Ikev2VpnProfile) GetUsername added in v0.0.7

func (m *Ikev2VpnProfile) GetUsername() (string, error)

GetUsername calls android.net.Ikev2VpnProfile.getUsername.

func (*Ikev2VpnProfile) HashCode added in v0.0.7

func (m *Ikev2VpnProfile) HashCode() (int32, error)

HashCode calls android.net.Ikev2VpnProfile.hashCode.

func (*Ikev2VpnProfile) IsAutomaticIpVersionSelectionEnabled added in v0.0.7

func (m *Ikev2VpnProfile) IsAutomaticIpVersionSelectionEnabled() (bool, error)

IsAutomaticIpVersionSelectionEnabled calls android.net.Ikev2VpnProfile.isAutomaticIpVersionSelectionEnabled.

func (*Ikev2VpnProfile) IsAutomaticNattKeepaliveTimerEnabled added in v0.0.7

func (m *Ikev2VpnProfile) IsAutomaticNattKeepaliveTimerEnabled() (bool, error)

IsAutomaticNattKeepaliveTimerEnabled calls android.net.Ikev2VpnProfile.isAutomaticNattKeepaliveTimerEnabled.

func (*Ikev2VpnProfile) IsBypassable added in v0.0.7

func (m *Ikev2VpnProfile) IsBypassable() (bool, error)

IsBypassable calls android.net.Ikev2VpnProfile.isBypassable.

func (*Ikev2VpnProfile) IsMetered added in v0.0.7

func (m *Ikev2VpnProfile) IsMetered() (bool, error)

IsMetered calls android.net.Ikev2VpnProfile.isMetered.

func (*Ikev2VpnProfile) ToString added in v0.0.7

func (m *Ikev2VpnProfile) ToString() (string, error)

ToString calls android.net.Ikev2VpnProfile.toString.

type Ikev2VpnProfileBuilder added in v0.0.7

type Ikev2VpnProfileBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Ikev2VpnProfileBuilder wraps android.net.Ikev2VpnProfile$Builder.

func (*Ikev2VpnProfileBuilder) Build added in v0.0.7

func (m *Ikev2VpnProfileBuilder) Build() (*jni.Object, error)

Build calls android.net.Ikev2VpnProfile$Builder.build.

func (*Ikev2VpnProfileBuilder) SetAuthDigitalSignature added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetAuthDigitalSignature(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (*jni.Object, error)

SetAuthDigitalSignature calls android.net.Ikev2VpnProfile$Builder.setAuthDigitalSignature.

func (*Ikev2VpnProfileBuilder) SetAuthPsk added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetAuthPsk(arg0 *jni.Object) (*jni.Object, error)

SetAuthPsk calls android.net.Ikev2VpnProfile$Builder.setAuthPsk.

func (*Ikev2VpnProfileBuilder) SetAuthUsernamePassword added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetAuthUsernamePassword(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

SetAuthUsernamePassword calls android.net.Ikev2VpnProfile$Builder.setAuthUsernamePassword.

func (*Ikev2VpnProfileBuilder) SetAutomaticIpVersionSelectionEnabled added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetAutomaticIpVersionSelectionEnabled(arg0 bool) (*jni.Object, error)

SetAutomaticIpVersionSelectionEnabled calls android.net.Ikev2VpnProfile$Builder.setAutomaticIpVersionSelectionEnabled.

func (*Ikev2VpnProfileBuilder) SetAutomaticNattKeepaliveTimerEnabled added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetAutomaticNattKeepaliveTimerEnabled(arg0 bool) (*jni.Object, error)

SetAutomaticNattKeepaliveTimerEnabled calls android.net.Ikev2VpnProfile$Builder.setAutomaticNattKeepaliveTimerEnabled.

func (*Ikev2VpnProfileBuilder) SetBypassable added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetBypassable(arg0 bool) (*jni.Object, error)

SetBypassable calls android.net.Ikev2VpnProfile$Builder.setBypassable.

func (*Ikev2VpnProfileBuilder) SetLocalRoutesExcluded added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetLocalRoutesExcluded(arg0 bool) (*jni.Object, error)

SetLocalRoutesExcluded calls android.net.Ikev2VpnProfile$Builder.setLocalRoutesExcluded.

func (*Ikev2VpnProfileBuilder) SetMaxMtu added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetMaxMtu(arg0 int32) (*jni.Object, error)

SetMaxMtu calls android.net.Ikev2VpnProfile$Builder.setMaxMtu.

func (*Ikev2VpnProfileBuilder) SetMetered added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetMetered(arg0 bool) (*jni.Object, error)

SetMetered calls android.net.Ikev2VpnProfile$Builder.setMetered.

func (*Ikev2VpnProfileBuilder) SetProxy added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetProxy(arg0 *jni.Object) (*jni.Object, error)

SetProxy calls android.net.Ikev2VpnProfile$Builder.setProxy.

func (*Ikev2VpnProfileBuilder) SetRequiresInternetValidation added in v0.0.7

func (m *Ikev2VpnProfileBuilder) SetRequiresInternetValidation(arg0 bool) (*jni.Object, error)

SetRequiresInternetValidation calls android.net.Ikev2VpnProfile$Builder.setRequiresInternetValidation.

type InetAddresses added in v0.0.7

type InetAddresses struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

InetAddresses wraps android.net.InetAddresses.

func (*InetAddresses) IsNumericAddress added in v0.0.7

func (m *InetAddresses) IsNumericAddress(arg0 string) (bool, error)

IsNumericAddress calls android.net.InetAddresses.isNumericAddress.

func (*InetAddresses) ParseNumericAddress added in v0.0.7

func (m *InetAddresses) ParseNumericAddress(arg0 string) (*jni.Object, error)

ParseNumericAddress calls android.net.InetAddresses.parseNumericAddress.

type IpConfiguration added in v0.0.7

type IpConfiguration struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpConfiguration wraps android.net.IpConfiguration.

func (*IpConfiguration) DescribeContents added in v0.0.7

func (m *IpConfiguration) DescribeContents() (int32, error)

DescribeContents calls android.net.IpConfiguration.describeContents.

func (*IpConfiguration) Equals added in v0.0.7

func (m *IpConfiguration) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.IpConfiguration.equals.

func (*IpConfiguration) GetHttpProxy added in v0.0.7

func (m *IpConfiguration) GetHttpProxy() (*jni.Object, error)

GetHttpProxy calls android.net.IpConfiguration.getHttpProxy.

func (*IpConfiguration) GetStaticIpConfiguration added in v0.0.7

func (m *IpConfiguration) GetStaticIpConfiguration() (*jni.Object, error)

GetStaticIpConfiguration calls android.net.IpConfiguration.getStaticIpConfiguration.

func (*IpConfiguration) HashCode added in v0.0.7

func (m *IpConfiguration) HashCode() (int32, error)

HashCode calls android.net.IpConfiguration.hashCode.

func (*IpConfiguration) ToString added in v0.0.7

func (m *IpConfiguration) ToString() (string, error)

ToString calls android.net.IpConfiguration.toString.

func (*IpConfiguration) WriteToParcel added in v0.0.7

func (m *IpConfiguration) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.IpConfiguration.writeToParcel.

type IpConfigurationBuilder added in v0.0.7

type IpConfigurationBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpConfigurationBuilder wraps android.net.IpConfiguration$Builder.

func (*IpConfigurationBuilder) Build added in v0.0.7

func (m *IpConfigurationBuilder) Build() (*jni.Object, error)

Build calls android.net.IpConfiguration$Builder.build.

func (*IpConfigurationBuilder) SetHttpProxy added in v0.0.7

func (m *IpConfigurationBuilder) SetHttpProxy(arg0 *jni.Object) (*jni.Object, error)

SetHttpProxy calls android.net.IpConfiguration$Builder.setHttpProxy.

func (*IpConfigurationBuilder) SetStaticIpConfiguration added in v0.0.7

func (m *IpConfigurationBuilder) SetStaticIpConfiguration(arg0 *jni.Object) (*jni.Object, error)

SetStaticIpConfiguration calls android.net.IpConfiguration$Builder.setStaticIpConfiguration.

type IpPrefix added in v0.0.7

type IpPrefix struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpPrefix wraps android.net.IpPrefix.

func NewIpPrefix added in v0.0.7

func NewIpPrefix(vm *jni.VM, arg0 *jni.Object, arg1 int32) (*IpPrefix, error)

NewIpPrefix creates a new android.net.IpPrefix instance.

func (*IpPrefix) Contains added in v0.0.7

func (m *IpPrefix) Contains(arg0 *jni.Object) (bool, error)

Contains calls android.net.IpPrefix.contains.

func (*IpPrefix) DescribeContents added in v0.0.7

func (m *IpPrefix) DescribeContents() (int32, error)

DescribeContents calls android.net.IpPrefix.describeContents.

func (*IpPrefix) Equals added in v0.0.7

func (m *IpPrefix) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.IpPrefix.equals.

func (*IpPrefix) GetAddress added in v0.0.7

func (m *IpPrefix) GetAddress() (*jni.Object, error)

GetAddress calls android.net.IpPrefix.getAddress.

func (*IpPrefix) GetPrefixLength added in v0.0.7

func (m *IpPrefix) GetPrefixLength() (int32, error)

GetPrefixLength calls android.net.IpPrefix.getPrefixLength.

func (*IpPrefix) GetRawAddress added in v0.0.7

func (m *IpPrefix) GetRawAddress() (*jni.Object, error)

GetRawAddress calls android.net.IpPrefix.getRawAddress.

func (*IpPrefix) HashCode added in v0.0.7

func (m *IpPrefix) HashCode() (int32, error)

HashCode calls android.net.IpPrefix.hashCode.

func (*IpPrefix) ToString added in v0.0.7

func (m *IpPrefix) ToString() (string, error)

ToString calls android.net.IpPrefix.toString.

func (*IpPrefix) WriteToParcel added in v0.0.7

func (m *IpPrefix) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.IpPrefix.writeToParcel.

type IpSecAlgorithm added in v0.0.7

type IpSecAlgorithm struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecAlgorithm wraps android.net.IpSecAlgorithm.

func NewIpSecAlgorithm added in v0.0.7

func NewIpSecAlgorithm(vm *jni.VM, arg0 string, arg1 *jni.Object) (*IpSecAlgorithm, error)

NewIpSecAlgorithm creates a new android.net.IpSecAlgorithm instance.

func (*IpSecAlgorithm) DescribeContents added in v0.0.7

func (m *IpSecAlgorithm) DescribeContents() (int32, error)

DescribeContents calls android.net.IpSecAlgorithm.describeContents.

func (*IpSecAlgorithm) GetKey added in v0.0.7

func (m *IpSecAlgorithm) GetKey() (*jni.Object, error)

GetKey calls android.net.IpSecAlgorithm.getKey.

func (*IpSecAlgorithm) GetName added in v0.0.7

func (m *IpSecAlgorithm) GetName() (string, error)

GetName calls android.net.IpSecAlgorithm.getName.

func (*IpSecAlgorithm) GetTruncationLengthBits added in v0.0.7

func (m *IpSecAlgorithm) GetTruncationLengthBits() (int32, error)

GetTruncationLengthBits calls android.net.IpSecAlgorithm.getTruncationLengthBits.

func (*IpSecAlgorithm) ToString added in v0.0.7

func (m *IpSecAlgorithm) ToString() (string, error)

ToString calls android.net.IpSecAlgorithm.toString.

func (*IpSecAlgorithm) WriteToParcel added in v0.0.7

func (m *IpSecAlgorithm) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.IpSecAlgorithm.writeToParcel.

type IpSecManager added in v0.0.7

type IpSecManager struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

IpSecManager wraps android.net.IpSecManager.

func NewIpSecManager added in v0.0.7

func NewIpSecManager(ctx *app.Context) (*IpSecManager, error)

NewIpSecManager obtains android.net.IpSecManager from the Android system service manager.

func (*IpSecManager) AllocateSecurityParameterIndex1 added in v0.0.7

func (m *IpSecManager) AllocateSecurityParameterIndex1(arg0 *jni.Object) (*jni.Object, error)

AllocateSecurityParameterIndex1 calls android.net.IpSecManager.allocateSecurityParameterIndex.

func (*IpSecManager) AllocateSecurityParameterIndex2_1 added in v0.0.7

func (m *IpSecManager) AllocateSecurityParameterIndex2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

AllocateSecurityParameterIndex2_1 calls android.net.IpSecManager.allocateSecurityParameterIndex.

func (*IpSecManager) ApplyTransportModeTransform3 added in v0.0.7

func (m *IpSecManager) ApplyTransportModeTransform3(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
) error

ApplyTransportModeTransform3 calls android.net.IpSecManager.applyTransportModeTransform.

func (*IpSecManager) ApplyTransportModeTransform3_1 added in v0.0.7

func (m *IpSecManager) ApplyTransportModeTransform3_1(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
) error

ApplyTransportModeTransform3_1 calls android.net.IpSecManager.applyTransportModeTransform.

func (*IpSecManager) ApplyTransportModeTransform3_2 added in v0.0.7

func (m *IpSecManager) ApplyTransportModeTransform3_2(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
) error

ApplyTransportModeTransform3_2 calls android.net.IpSecManager.applyTransportModeTransform.

func (*IpSecManager) Close added in v0.0.7

func (m *IpSecManager) Close()

Close releases the global reference to the underlying Java object. After Close, the IpSecManager must not be used.

func (*IpSecManager) OpenUdpEncapsulationSocket0 added in v0.0.7

func (m *IpSecManager) OpenUdpEncapsulationSocket0() (*jni.Object, error)

OpenUdpEncapsulationSocket0 calls android.net.IpSecManager.openUdpEncapsulationSocket.

func (*IpSecManager) OpenUdpEncapsulationSocket1_1 added in v0.0.7

func (m *IpSecManager) OpenUdpEncapsulationSocket1_1(arg0 int32) (*jni.Object, error)

OpenUdpEncapsulationSocket1_1 calls android.net.IpSecManager.openUdpEncapsulationSocket.

func (*IpSecManager) RemoveTransportModeTransforms1 added in v0.0.7

func (m *IpSecManager) RemoveTransportModeTransforms1(arg0 *jni.Object) error

RemoveTransportModeTransforms1 calls android.net.IpSecManager.removeTransportModeTransforms.

func (*IpSecManager) RemoveTransportModeTransforms1_1 added in v0.0.7

func (m *IpSecManager) RemoveTransportModeTransforms1_1(arg0 *jni.Object) error

RemoveTransportModeTransforms1_1 calls android.net.IpSecManager.removeTransportModeTransforms.

func (*IpSecManager) RemoveTransportModeTransforms1_2 added in v0.0.7

func (m *IpSecManager) RemoveTransportModeTransforms1_2(arg0 *jni.Object) error

RemoveTransportModeTransforms1_2 calls android.net.IpSecManager.removeTransportModeTransforms.

type IpSecManagerSecurityParameterIndex added in v0.0.7

type IpSecManagerSecurityParameterIndex struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecManagerSecurityParameterIndex wraps android.net.IpSecManager$SecurityParameterIndex.

func (*IpSecManagerSecurityParameterIndex) Close added in v0.0.7

Close calls android.net.IpSecManager$SecurityParameterIndex.close.

func (*IpSecManagerSecurityParameterIndex) GetSpi added in v0.0.7

GetSpi calls android.net.IpSecManager$SecurityParameterIndex.getSpi.

func (*IpSecManagerSecurityParameterIndex) ToString added in v0.0.7

ToString calls android.net.IpSecManager$SecurityParameterIndex.toString.

type IpSecManagerSpiUnavailableException added in v0.0.7

type IpSecManagerSpiUnavailableException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecManagerSpiUnavailableException wraps android.net.IpSecManager$SpiUnavailableException.

func (*IpSecManagerSpiUnavailableException) GetSpi added in v0.0.7

GetSpi calls android.net.IpSecManager$SpiUnavailableException.getSpi.

type IpSecManagerUdpEncapsulationSocket added in v0.0.7

type IpSecManagerUdpEncapsulationSocket struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecManagerUdpEncapsulationSocket wraps android.net.IpSecManager$UdpEncapsulationSocket.

func (*IpSecManagerUdpEncapsulationSocket) Close added in v0.0.7

Close calls android.net.IpSecManager$UdpEncapsulationSocket.close.

func (*IpSecManagerUdpEncapsulationSocket) GetFileDescriptor added in v0.0.7

func (m *IpSecManagerUdpEncapsulationSocket) GetFileDescriptor() (*jni.Object, error)

GetFileDescriptor calls android.net.IpSecManager$UdpEncapsulationSocket.getFileDescriptor.

func (*IpSecManagerUdpEncapsulationSocket) GetPort added in v0.0.7

GetPort calls android.net.IpSecManager$UdpEncapsulationSocket.getPort.

func (*IpSecManagerUdpEncapsulationSocket) ToString added in v0.0.7

ToString calls android.net.IpSecManager$UdpEncapsulationSocket.toString.

type IpSecTransform added in v0.0.7

type IpSecTransform struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecTransform wraps android.net.IpSecTransform.

func (*IpSecTransform) Close added in v0.0.7

func (m *IpSecTransform) Close() error

Close calls android.net.IpSecTransform.close.

func (*IpSecTransform) Equals added in v0.0.7

func (m *IpSecTransform) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.IpSecTransform.equals.

func (*IpSecTransform) ToString added in v0.0.7

func (m *IpSecTransform) ToString() (string, error)

ToString calls android.net.IpSecTransform.toString.

type IpSecTransformBuilder added in v0.0.7

type IpSecTransformBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecTransformBuilder wraps android.net.IpSecTransform$Builder.

func (*IpSecTransformBuilder) BuildTransportModeTransform added in v0.0.7

func (m *IpSecTransformBuilder) BuildTransportModeTransform(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

BuildTransportModeTransform calls android.net.IpSecTransform$Builder.buildTransportModeTransform.

func (*IpSecTransformBuilder) SetAuthenticatedEncryption added in v0.0.7

func (m *IpSecTransformBuilder) SetAuthenticatedEncryption(arg0 *jni.Object) (*jni.Object, error)

SetAuthenticatedEncryption calls android.net.IpSecTransform$Builder.setAuthenticatedEncryption.

func (*IpSecTransformBuilder) SetAuthentication added in v0.0.7

func (m *IpSecTransformBuilder) SetAuthentication(arg0 *jni.Object) (*jni.Object, error)

SetAuthentication calls android.net.IpSecTransform$Builder.setAuthentication.

func (*IpSecTransformBuilder) SetEncryption added in v0.0.7

func (m *IpSecTransformBuilder) SetEncryption(arg0 *jni.Object) (*jni.Object, error)

SetEncryption calls android.net.IpSecTransform$Builder.setEncryption.

func (*IpSecTransformBuilder) SetIpv4Encapsulation added in v0.0.7

func (m *IpSecTransformBuilder) SetIpv4Encapsulation(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

SetIpv4Encapsulation calls android.net.IpSecTransform$Builder.setIpv4Encapsulation.

type IpSecTransformState added in v0.0.7

type IpSecTransformState struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecTransformState wraps android.net.IpSecTransformState.

func (*IpSecTransformState) DescribeContents added in v0.0.7

func (m *IpSecTransformState) DescribeContents() (int32, error)

DescribeContents calls android.net.IpSecTransformState.describeContents.

func (*IpSecTransformState) GetByteCount added in v0.0.7

func (m *IpSecTransformState) GetByteCount() (int64, error)

GetByteCount calls android.net.IpSecTransformState.getByteCount.

func (*IpSecTransformState) GetPacketCount added in v0.0.7

func (m *IpSecTransformState) GetPacketCount() (int64, error)

GetPacketCount calls android.net.IpSecTransformState.getPacketCount.

func (*IpSecTransformState) GetReplayBitmap added in v0.0.7

func (m *IpSecTransformState) GetReplayBitmap() (*jni.Object, error)

GetReplayBitmap calls android.net.IpSecTransformState.getReplayBitmap.

func (*IpSecTransformState) GetRxHighestSequenceNumber added in v0.0.7

func (m *IpSecTransformState) GetRxHighestSequenceNumber() (int64, error)

GetRxHighestSequenceNumber calls android.net.IpSecTransformState.getRxHighestSequenceNumber.

func (*IpSecTransformState) GetTimestampMillis added in v0.0.7

func (m *IpSecTransformState) GetTimestampMillis() (int64, error)

GetTimestampMillis calls android.net.IpSecTransformState.getTimestampMillis.

func (*IpSecTransformState) GetTxHighestSequenceNumber added in v0.0.7

func (m *IpSecTransformState) GetTxHighestSequenceNumber() (int64, error)

GetTxHighestSequenceNumber calls android.net.IpSecTransformState.getTxHighestSequenceNumber.

func (*IpSecTransformState) WriteToParcel added in v0.0.7

func (m *IpSecTransformState) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.IpSecTransformState.writeToParcel.

type IpSecTransformStateBuilder added in v0.0.7

type IpSecTransformStateBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IpSecTransformStateBuilder wraps android.net.IpSecTransformState$Builder.

func (*IpSecTransformStateBuilder) Build added in v0.0.7

func (m *IpSecTransformStateBuilder) Build() (*jni.Object, error)

Build calls android.net.IpSecTransformState$Builder.build.

func (*IpSecTransformStateBuilder) SetByteCount added in v0.0.7

func (m *IpSecTransformStateBuilder) SetByteCount(arg0 int64) (*jni.Object, error)

SetByteCount calls android.net.IpSecTransformState$Builder.setByteCount.

func (*IpSecTransformStateBuilder) SetPacketCount added in v0.0.7

func (m *IpSecTransformStateBuilder) SetPacketCount(arg0 int64) (*jni.Object, error)

SetPacketCount calls android.net.IpSecTransformState$Builder.setPacketCount.

func (*IpSecTransformStateBuilder) SetReplayBitmap added in v0.0.7

func (m *IpSecTransformStateBuilder) SetReplayBitmap(arg0 *jni.Object) (*jni.Object, error)

SetReplayBitmap calls android.net.IpSecTransformState$Builder.setReplayBitmap.

func (*IpSecTransformStateBuilder) SetRxHighestSequenceNumber added in v0.0.7

func (m *IpSecTransformStateBuilder) SetRxHighestSequenceNumber(arg0 int64) (*jni.Object, error)

SetRxHighestSequenceNumber calls android.net.IpSecTransformState$Builder.setRxHighestSequenceNumber.

func (*IpSecTransformStateBuilder) SetTimestampMillis added in v0.0.7

func (m *IpSecTransformStateBuilder) SetTimestampMillis(arg0 int64) (*jni.Object, error)

SetTimestampMillis calls android.net.IpSecTransformState$Builder.setTimestampMillis.

func (*IpSecTransformStateBuilder) SetTxHighestSequenceNumber added in v0.0.7

func (m *IpSecTransformStateBuilder) SetTxHighestSequenceNumber(arg0 int64) (*jni.Object, error)

SetTxHighestSequenceNumber calls android.net.IpSecTransformState$Builder.setTxHighestSequenceNumber.

type L2capNetworkSpecifier added in v0.0.7

type L2capNetworkSpecifier struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

L2capNetworkSpecifier wraps android.net.L2capNetworkSpecifier.

func (*L2capNetworkSpecifier) CanBeSatisfiedBy added in v0.0.7

func (m *L2capNetworkSpecifier) CanBeSatisfiedBy(arg0 *jni.Object) (bool, error)

CanBeSatisfiedBy calls android.net.L2capNetworkSpecifier.canBeSatisfiedBy.

func (*L2capNetworkSpecifier) DescribeContents added in v0.0.7

func (m *L2capNetworkSpecifier) DescribeContents() (int32, error)

DescribeContents calls android.net.L2capNetworkSpecifier.describeContents.

func (*L2capNetworkSpecifier) Equals added in v0.0.7

func (m *L2capNetworkSpecifier) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.L2capNetworkSpecifier.equals.

func (*L2capNetworkSpecifier) GetHeaderCompression added in v0.0.7

func (m *L2capNetworkSpecifier) GetHeaderCompression() (int32, error)

GetHeaderCompression calls android.net.L2capNetworkSpecifier.getHeaderCompression.

func (*L2capNetworkSpecifier) GetPsm added in v0.0.7

func (m *L2capNetworkSpecifier) GetPsm() (int32, error)

GetPsm calls android.net.L2capNetworkSpecifier.getPsm.

func (*L2capNetworkSpecifier) GetRemoteAddress added in v0.0.7

func (m *L2capNetworkSpecifier) GetRemoteAddress() (*jni.Object, error)

GetRemoteAddress calls android.net.L2capNetworkSpecifier.getRemoteAddress.

func (*L2capNetworkSpecifier) GetRole added in v0.0.7

func (m *L2capNetworkSpecifier) GetRole() (int32, error)

GetRole calls android.net.L2capNetworkSpecifier.getRole.

func (*L2capNetworkSpecifier) HashCode added in v0.0.7

func (m *L2capNetworkSpecifier) HashCode() (int32, error)

HashCode calls android.net.L2capNetworkSpecifier.hashCode.

func (*L2capNetworkSpecifier) Redact added in v0.0.7

func (m *L2capNetworkSpecifier) Redact() (*jni.Object, error)

Redact calls android.net.L2capNetworkSpecifier.redact.

func (*L2capNetworkSpecifier) ToString added in v0.0.7

func (m *L2capNetworkSpecifier) ToString() (string, error)

ToString calls android.net.L2capNetworkSpecifier.toString.

func (*L2capNetworkSpecifier) WriteToParcel added in v0.0.7

func (m *L2capNetworkSpecifier) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.L2capNetworkSpecifier.writeToParcel.

type L2capNetworkSpecifierBuilder added in v0.0.7

type L2capNetworkSpecifierBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

L2capNetworkSpecifierBuilder wraps android.net.L2capNetworkSpecifier$Builder.

func (*L2capNetworkSpecifierBuilder) Build added in v0.0.7

Build calls android.net.L2capNetworkSpecifier$Builder.build.

func (*L2capNetworkSpecifierBuilder) SetHeaderCompression added in v0.0.7

func (m *L2capNetworkSpecifierBuilder) SetHeaderCompression(arg0 int32) (*jni.Object, error)

SetHeaderCompression calls android.net.L2capNetworkSpecifier$Builder.setHeaderCompression.

func (*L2capNetworkSpecifierBuilder) SetPsm added in v0.0.7

func (m *L2capNetworkSpecifierBuilder) SetPsm(arg0 int32) (*jni.Object, error)

SetPsm calls android.net.L2capNetworkSpecifier$Builder.setPsm.

func (*L2capNetworkSpecifierBuilder) SetRemoteAddress added in v0.0.7

func (m *L2capNetworkSpecifierBuilder) SetRemoteAddress(arg0 *jni.Object) (*jni.Object, error)

SetRemoteAddress calls android.net.L2capNetworkSpecifier$Builder.setRemoteAddress.

func (*L2capNetworkSpecifierBuilder) SetRole added in v0.0.7

func (m *L2capNetworkSpecifierBuilder) SetRole(arg0 int32) (*jni.Object, error)

SetRole calls android.net.L2capNetworkSpecifier$Builder.setRole.

type LinkAddress added in v0.0.7

type LinkAddress struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LinkAddress wraps android.net.LinkAddress.

func (*LinkAddress) DescribeContents added in v0.0.7

func (m *LinkAddress) DescribeContents() (int32, error)

DescribeContents calls android.net.LinkAddress.describeContents.

func (*LinkAddress) Equals added in v0.0.7

func (m *LinkAddress) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.LinkAddress.equals.

func (*LinkAddress) GetAddress added in v0.0.7

func (m *LinkAddress) GetAddress() (*jni.Object, error)

GetAddress calls android.net.LinkAddress.getAddress.

func (*LinkAddress) GetFlags added in v0.0.7

func (m *LinkAddress) GetFlags() (int32, error)

GetFlags calls android.net.LinkAddress.getFlags.

func (*LinkAddress) GetPrefixLength added in v0.0.7

func (m *LinkAddress) GetPrefixLength() (int32, error)

GetPrefixLength calls android.net.LinkAddress.getPrefixLength.

func (*LinkAddress) GetScope added in v0.0.7

func (m *LinkAddress) GetScope() (int32, error)

GetScope calls android.net.LinkAddress.getScope.

func (*LinkAddress) HashCode added in v0.0.7

func (m *LinkAddress) HashCode() (int32, error)

HashCode calls android.net.LinkAddress.hashCode.

func (*LinkAddress) ToString added in v0.0.7

func (m *LinkAddress) ToString() (string, error)

ToString calls android.net.LinkAddress.toString.

func (*LinkAddress) WriteToParcel added in v0.0.7

func (m *LinkAddress) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.LinkAddress.writeToParcel.

type LinkProperties added in v0.0.7

type LinkProperties struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LinkProperties wraps android.net.LinkProperties.

func NewLinkProperties added in v0.0.7

func NewLinkProperties(vm *jni.VM) (*LinkProperties, error)

NewLinkProperties creates a new android.net.LinkProperties instance.

func (*LinkProperties) AddRoute added in v0.0.7

func (m *LinkProperties) AddRoute(arg0 *jni.Object) (bool, error)

AddRoute calls android.net.LinkProperties.addRoute.

func (*LinkProperties) Clear added in v0.0.7

func (m *LinkProperties) Clear() error

Clear calls android.net.LinkProperties.clear.

func (*LinkProperties) DescribeContents added in v0.0.7

func (m *LinkProperties) DescribeContents() (int32, error)

DescribeContents calls android.net.LinkProperties.describeContents.

func (*LinkProperties) Equals added in v0.0.7

func (m *LinkProperties) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.LinkProperties.equals.

func (*LinkProperties) GetDhcpServerAddress added in v0.0.7

func (m *LinkProperties) GetDhcpServerAddress() (*jni.Object, error)

GetDhcpServerAddress calls android.net.LinkProperties.getDhcpServerAddress.

func (*LinkProperties) GetDomains added in v0.0.7

func (m *LinkProperties) GetDomains() (string, error)

GetDomains calls android.net.LinkProperties.getDomains.

func (*LinkProperties) GetHttpProxy added in v0.0.7

func (m *LinkProperties) GetHttpProxy() (*jni.Object, error)

GetHttpProxy calls android.net.LinkProperties.getHttpProxy.

func (*LinkProperties) GetInterfaceName added in v0.0.7

func (m *LinkProperties) GetInterfaceName() (string, error)

GetInterfaceName calls android.net.LinkProperties.getInterfaceName.

func (*LinkProperties) GetMtu added in v0.0.7

func (m *LinkProperties) GetMtu() (int32, error)

GetMtu calls android.net.LinkProperties.getMtu.

func (*LinkProperties) GetNat64Prefix added in v0.0.7

func (m *LinkProperties) GetNat64Prefix() (*jni.Object, error)

GetNat64Prefix calls android.net.LinkProperties.getNat64Prefix.

func (*LinkProperties) GetPrivateDnsServerName added in v0.0.7

func (m *LinkProperties) GetPrivateDnsServerName() (string, error)

GetPrivateDnsServerName calls android.net.LinkProperties.getPrivateDnsServerName.

func (*LinkProperties) HashCode added in v0.0.7

func (m *LinkProperties) HashCode() (int32, error)

HashCode calls android.net.LinkProperties.hashCode.

func (*LinkProperties) IsPrivateDnsActive added in v0.0.7

func (m *LinkProperties) IsPrivateDnsActive() (bool, error)

IsPrivateDnsActive calls android.net.LinkProperties.isPrivateDnsActive.

func (*LinkProperties) IsWakeOnLanSupported added in v0.0.7

func (m *LinkProperties) IsWakeOnLanSupported() (bool, error)

IsWakeOnLanSupported calls android.net.LinkProperties.isWakeOnLanSupported.

func (*LinkProperties) SetDhcpServerAddress added in v0.0.7

func (m *LinkProperties) SetDhcpServerAddress(arg0 *jni.Object) error

SetDhcpServerAddress calls android.net.LinkProperties.setDhcpServerAddress.

func (*LinkProperties) SetDomains added in v0.0.7

func (m *LinkProperties) SetDomains(arg0 string) error

SetDomains calls android.net.LinkProperties.setDomains.

func (*LinkProperties) SetHttpProxy added in v0.0.7

func (m *LinkProperties) SetHttpProxy(arg0 *jni.Object) error

SetHttpProxy calls android.net.LinkProperties.setHttpProxy.

func (*LinkProperties) SetInterfaceName added in v0.0.7

func (m *LinkProperties) SetInterfaceName(arg0 string) error

SetInterfaceName calls android.net.LinkProperties.setInterfaceName.

func (*LinkProperties) SetMtu added in v0.0.7

func (m *LinkProperties) SetMtu(arg0 int32) error

SetMtu calls android.net.LinkProperties.setMtu.

func (*LinkProperties) SetNat64Prefix added in v0.0.7

func (m *LinkProperties) SetNat64Prefix(arg0 *jni.Object) error

SetNat64Prefix calls android.net.LinkProperties.setNat64Prefix.

func (*LinkProperties) ToString added in v0.0.7

func (m *LinkProperties) ToString() (string, error)

ToString calls android.net.LinkProperties.toString.

func (*LinkProperties) WriteToParcel added in v0.0.7

func (m *LinkProperties) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.LinkProperties.writeToParcel.

type LocalServerSocket added in v0.0.7

type LocalServerSocket struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LocalServerSocket wraps android.net.LocalServerSocket.

func NewLocalServerSocket added in v0.0.7

func NewLocalServerSocket(vm *jni.VM, arg0 *jni.Object) (*LocalServerSocket, error)

NewLocalServerSocket creates a new android.net.LocalServerSocket instance.

func (*LocalServerSocket) Accept added in v0.0.7

func (m *LocalServerSocket) Accept() (*jni.Object, error)

Accept calls android.net.LocalServerSocket.accept.

func (*LocalServerSocket) Close added in v0.0.7

func (m *LocalServerSocket) Close() error

Close calls android.net.LocalServerSocket.close.

func (*LocalServerSocket) GetFileDescriptor added in v0.0.7

func (m *LocalServerSocket) GetFileDescriptor() (*jni.Object, error)

GetFileDescriptor calls android.net.LocalServerSocket.getFileDescriptor.

func (*LocalServerSocket) GetLocalSocketAddress added in v0.0.7

func (m *LocalServerSocket) GetLocalSocketAddress() (*jni.Object, error)

GetLocalSocketAddress calls android.net.LocalServerSocket.getLocalSocketAddress.

type LocalSocket added in v0.0.7

type LocalSocket struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LocalSocket wraps android.net.LocalSocket.

func NewLocalSocket added in v0.0.7

func NewLocalSocket(vm *jni.VM) (*LocalSocket, error)

NewLocalSocket creates a new android.net.LocalSocket instance.

func (*LocalSocket) Bind added in v0.0.7

func (m *LocalSocket) Bind(arg0 *jni.Object) error

Bind calls android.net.LocalSocket.bind.

func (*LocalSocket) Close added in v0.0.7

func (m *LocalSocket) Close() error

Close calls android.net.LocalSocket.close.

func (*LocalSocket) Connect1 added in v0.0.7

func (m *LocalSocket) Connect1(arg0 *jni.Object) error

Connect1 calls android.net.LocalSocket.connect.

func (*LocalSocket) Connect2_1 added in v0.0.7

func (m *LocalSocket) Connect2_1(arg0 *jni.Object, arg1 int32) error

Connect2_1 calls android.net.LocalSocket.connect.

func (*LocalSocket) GetAncillaryFileDescriptors added in v0.0.7

func (m *LocalSocket) GetAncillaryFileDescriptors() (*jni.Object, error)

GetAncillaryFileDescriptors calls android.net.LocalSocket.getAncillaryFileDescriptors.

func (*LocalSocket) GetFileDescriptor added in v0.0.7

func (m *LocalSocket) GetFileDescriptor() (*jni.Object, error)

GetFileDescriptor calls android.net.LocalSocket.getFileDescriptor.

func (*LocalSocket) GetInputStream added in v0.0.7

func (m *LocalSocket) GetInputStream() (*jni.Object, error)

GetInputStream calls android.net.LocalSocket.getInputStream.

func (*LocalSocket) GetLocalSocketAddress added in v0.0.7

func (m *LocalSocket) GetLocalSocketAddress() (*jni.Object, error)

GetLocalSocketAddress calls android.net.LocalSocket.getLocalSocketAddress.

func (*LocalSocket) GetOutputStream added in v0.0.7

func (m *LocalSocket) GetOutputStream() (*jni.Object, error)

GetOutputStream calls android.net.LocalSocket.getOutputStream.

func (*LocalSocket) GetPeerCredentials added in v0.0.7

func (m *LocalSocket) GetPeerCredentials() (*jni.Object, error)

GetPeerCredentials calls android.net.LocalSocket.getPeerCredentials.

func (*LocalSocket) GetReceiveBufferSize added in v0.0.7

func (m *LocalSocket) GetReceiveBufferSize() (int32, error)

GetReceiveBufferSize calls android.net.LocalSocket.getReceiveBufferSize.

func (*LocalSocket) GetRemoteSocketAddress added in v0.0.7

func (m *LocalSocket) GetRemoteSocketAddress() (*jni.Object, error)

GetRemoteSocketAddress calls android.net.LocalSocket.getRemoteSocketAddress.

func (*LocalSocket) GetSendBufferSize added in v0.0.7

func (m *LocalSocket) GetSendBufferSize() (int32, error)

GetSendBufferSize calls android.net.LocalSocket.getSendBufferSize.

func (*LocalSocket) GetSoTimeout added in v0.0.7

func (m *LocalSocket) GetSoTimeout() (int32, error)

GetSoTimeout calls android.net.LocalSocket.getSoTimeout.

func (*LocalSocket) IsClosed added in v0.0.7

func (m *LocalSocket) IsClosed() (bool, error)

IsClosed calls android.net.LocalSocket.isClosed.

func (*LocalSocket) IsInputShutdown added in v0.0.7

func (m *LocalSocket) IsInputShutdown() (bool, error)

IsInputShutdown calls android.net.LocalSocket.isInputShutdown.

func (*LocalSocket) IsOutputShutdown added in v0.0.7

func (m *LocalSocket) IsOutputShutdown() (bool, error)

IsOutputShutdown calls android.net.LocalSocket.isOutputShutdown.

func (*LocalSocket) SetFileDescriptorsForSend added in v0.0.7

func (m *LocalSocket) SetFileDescriptorsForSend(arg0 *jni.Object) error

SetFileDescriptorsForSend calls android.net.LocalSocket.setFileDescriptorsForSend.

func (*LocalSocket) SetReceiveBufferSize added in v0.0.7

func (m *LocalSocket) SetReceiveBufferSize(arg0 int32) error

SetReceiveBufferSize calls android.net.LocalSocket.setReceiveBufferSize.

func (*LocalSocket) SetSendBufferSize added in v0.0.7

func (m *LocalSocket) SetSendBufferSize(arg0 int32) error

SetSendBufferSize calls android.net.LocalSocket.setSendBufferSize.

func (*LocalSocket) SetSoTimeout added in v0.0.7

func (m *LocalSocket) SetSoTimeout(arg0 int32) error

SetSoTimeout calls android.net.LocalSocket.setSoTimeout.

func (*LocalSocket) ShutdownInput added in v0.0.7

func (m *LocalSocket) ShutdownInput() error

ShutdownInput calls android.net.LocalSocket.shutdownInput.

func (*LocalSocket) ShutdownOutput added in v0.0.7

func (m *LocalSocket) ShutdownOutput() error

ShutdownOutput calls android.net.LocalSocket.shutdownOutput.

func (*LocalSocket) ToString added in v0.0.7

func (m *LocalSocket) ToString() (string, error)

ToString calls android.net.LocalSocket.toString.

type LocalSocketAddress added in v0.0.7

type LocalSocketAddress struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LocalSocketAddress wraps android.net.LocalSocketAddress.

func NewLocalSocketAddress added in v0.0.7

func NewLocalSocketAddress(vm *jni.VM, arg0 string) (*LocalSocketAddress, error)

NewLocalSocketAddress creates a new android.net.LocalSocketAddress instance.

func (*LocalSocketAddress) GetName added in v0.0.7

func (m *LocalSocketAddress) GetName() (string, error)

GetName calls android.net.LocalSocketAddress.getName.

func (*LocalSocketAddress) GetNamespace added in v0.0.7

func (m *LocalSocketAddress) GetNamespace() (*jni.Object, error)

GetNamespace calls android.net.LocalSocketAddress.getNamespace.

type LocalSocketAddressNamespace added in v0.0.7

type LocalSocketAddressNamespace struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LocalSocketAddressNamespace wraps android.net.LocalSocketAddress$Namespace.

func (*LocalSocketAddressNamespace) ValueOf added in v0.0.7

func (m *LocalSocketAddressNamespace) ValueOf(arg0 string) (*jni.Object, error)

ValueOf calls android.net.LocalSocketAddress$Namespace.valueOf.

func (*LocalSocketAddressNamespace) Values added in v0.0.7

func (m *LocalSocketAddressNamespace) Values() (*jni.Object, error)

Values calls android.net.LocalSocketAddress$Namespace.values.

type MacAddress added in v0.0.7

type MacAddress struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MacAddress wraps android.net.MacAddress.

func (*MacAddress) DescribeContents added in v0.0.7

func (m *MacAddress) DescribeContents() (int32, error)

DescribeContents calls android.net.MacAddress.describeContents.

func (*MacAddress) Equals added in v0.0.7

func (m *MacAddress) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.MacAddress.equals.

func (*MacAddress) FromBytes added in v0.0.7

func (m *MacAddress) FromBytes(arg0 *jni.Object) (*jni.Object, error)

FromBytes calls android.net.MacAddress.fromBytes.

func (*MacAddress) FromString added in v0.0.7

func (m *MacAddress) FromString(arg0 string) (*jni.Object, error)

FromString calls android.net.MacAddress.fromString.

func (*MacAddress) GetAddressType added in v0.0.7

func (m *MacAddress) GetAddressType() (int32, error)

GetAddressType calls android.net.MacAddress.getAddressType.

func (*MacAddress) GetLinkLocalIpv6FromEui48Mac added in v0.0.7

func (m *MacAddress) GetLinkLocalIpv6FromEui48Mac() (*jni.Object, error)

GetLinkLocalIpv6FromEui48Mac calls android.net.MacAddress.getLinkLocalIpv6FromEui48Mac.

func (*MacAddress) HashCode added in v0.0.7

func (m *MacAddress) HashCode() (int32, error)

HashCode calls android.net.MacAddress.hashCode.

func (*MacAddress) IsLocallyAssigned added in v0.0.7

func (m *MacAddress) IsLocallyAssigned() (bool, error)

IsLocallyAssigned calls android.net.MacAddress.isLocallyAssigned.

func (*MacAddress) Matches added in v0.0.7

func (m *MacAddress) Matches(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

Matches calls android.net.MacAddress.matches.

func (*MacAddress) ToByteArray added in v0.0.7

func (m *MacAddress) ToByteArray() (*jni.Object, error)

ToByteArray calls android.net.MacAddress.toByteArray.

func (*MacAddress) ToOuiString added in v0.0.7

func (m *MacAddress) ToOuiString() (string, error)

ToOuiString calls android.net.MacAddress.toOuiString.

func (*MacAddress) ToString added in v0.0.7

func (m *MacAddress) ToString() (string, error)

ToString calls android.net.MacAddress.toString.

func (*MacAddress) WriteToParcel added in v0.0.7

func (m *MacAddress) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.MacAddress.writeToParcel.

type MailTo added in v0.0.7

type MailTo struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MailTo wraps android.net.MailTo.

func (*MailTo) GetBody added in v0.0.7

func (m *MailTo) GetBody() (string, error)

GetBody calls android.net.MailTo.getBody.

func (*MailTo) GetCc added in v0.0.7

func (m *MailTo) GetCc() (string, error)

GetCc calls android.net.MailTo.getCc.

func (*MailTo) GetSubject added in v0.0.7

func (m *MailTo) GetSubject() (string, error)

GetSubject calls android.net.MailTo.getSubject.

func (*MailTo) GetTo added in v0.0.7

func (m *MailTo) GetTo() (string, error)

GetTo calls android.net.MailTo.getTo.

func (*MailTo) IsMailTo added in v0.0.7

func (m *MailTo) IsMailTo(arg0 string) (bool, error)

IsMailTo calls android.net.MailTo.isMailTo.

func (*MailTo) Parse added in v0.0.7

func (m *MailTo) Parse(arg0 string) (*jni.Object, error)

Parse calls android.net.MailTo.parse.

func (*MailTo) ToString added in v0.0.7

func (m *MailTo) ToString() (string, error)

ToString calls android.net.MailTo.toString.

type ParseException added in v0.0.7

type ParseException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ParseException wraps android.net.ParseException.

func NewParseException added in v0.0.7

func NewParseException(vm *jni.VM, arg0 string) (*ParseException, error)

NewParseException creates a new android.net.ParseException instance.

type PlatformVpnProfile added in v0.0.7

type PlatformVpnProfile struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

PlatformVpnProfile wraps android.net.PlatformVpnProfile.

func (*PlatformVpnProfile) AreLocalRoutesExcluded added in v0.0.7

func (m *PlatformVpnProfile) AreLocalRoutesExcluded() (bool, error)

AreLocalRoutesExcluded calls android.net.PlatformVpnProfile.areLocalRoutesExcluded.

func (*PlatformVpnProfile) GetType added in v0.0.7

func (m *PlatformVpnProfile) GetType() (int32, error)

GetType calls android.net.PlatformVpnProfile.getType.

func (*PlatformVpnProfile) GetTypeString added in v0.0.7

func (m *PlatformVpnProfile) GetTypeString() (string, error)

GetTypeString calls android.net.PlatformVpnProfile.getTypeString.

func (*PlatformVpnProfile) IsInternetValidationRequired added in v0.0.7

func (m *PlatformVpnProfile) IsInternetValidationRequired() (bool, error)

IsInternetValidationRequired calls android.net.PlatformVpnProfile.isInternetValidationRequired.

type Proxy added in v0.0.7

type Proxy struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Proxy wraps android.net.Proxy.

func NewProxy added in v0.0.7

func NewProxy(vm *jni.VM) (*Proxy, error)

NewProxy creates a new android.net.Proxy instance.

func (*Proxy) GetDefaultHost added in v0.0.7

func (m *Proxy) GetDefaultHost() (string, error)

GetDefaultHost calls android.net.Proxy.getDefaultHost.

func (*Proxy) GetDefaultPort added in v0.0.7

func (m *Proxy) GetDefaultPort() (int32, error)

GetDefaultPort calls android.net.Proxy.getDefaultPort.

func (*Proxy) GetHost added in v0.0.7

func (m *Proxy) GetHost(arg0 *jni.Object) (string, error)

GetHost calls android.net.Proxy.getHost.

func (*Proxy) GetPort added in v0.0.7

func (m *Proxy) GetPort(arg0 *jni.Object) (int32, error)

GetPort calls android.net.Proxy.getPort.

type ProxyInfo added in v0.0.7

type ProxyInfo struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ProxyInfo wraps android.net.ProxyInfo.

func NewProxyInfo added in v0.0.7

func NewProxyInfo(vm *jni.VM, arg0 *jni.Object) (*ProxyInfo, error)

NewProxyInfo creates a new android.net.ProxyInfo instance.

func (*ProxyInfo) BuildDirectProxy added in v0.0.7

func (m *ProxyInfo) BuildDirectProxy(arg0 string, arg1 int32) (*jni.Object, error)

BuildDirectProxy calls android.net.ProxyInfo.buildDirectProxy.

func (*ProxyInfo) BuildPacProxy1 added in v0.0.7

func (m *ProxyInfo) BuildPacProxy1(arg0 *jni.Object) (*jni.Object, error)

BuildPacProxy1 calls android.net.ProxyInfo.buildPacProxy.

func (*ProxyInfo) BuildPacProxy2_1 added in v0.0.7

func (m *ProxyInfo) BuildPacProxy2_1(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

BuildPacProxy2_1 calls android.net.ProxyInfo.buildPacProxy.

func (*ProxyInfo) DescribeContents added in v0.0.7

func (m *ProxyInfo) DescribeContents() (int32, error)

DescribeContents calls android.net.ProxyInfo.describeContents.

func (*ProxyInfo) Equals added in v0.0.7

func (m *ProxyInfo) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.ProxyInfo.equals.

func (*ProxyInfo) GetExclusionList added in v0.0.7

func (m *ProxyInfo) GetExclusionList() (*jni.Object, error)

GetExclusionList calls android.net.ProxyInfo.getExclusionList.

func (*ProxyInfo) GetHost added in v0.0.7

func (m *ProxyInfo) GetHost() (string, error)

GetHost calls android.net.ProxyInfo.getHost.

func (*ProxyInfo) GetPacFileUrl added in v0.0.7

func (m *ProxyInfo) GetPacFileUrl() (*jni.Object, error)

GetPacFileUrl calls android.net.ProxyInfo.getPacFileUrl.

func (*ProxyInfo) GetPort added in v0.0.7

func (m *ProxyInfo) GetPort() (int32, error)

GetPort calls android.net.ProxyInfo.getPort.

func (*ProxyInfo) HashCode added in v0.0.7

func (m *ProxyInfo) HashCode() (int32, error)

HashCode calls android.net.ProxyInfo.hashCode.

func (*ProxyInfo) IsValid added in v0.0.7

func (m *ProxyInfo) IsValid() (bool, error)

IsValid calls android.net.ProxyInfo.isValid.

func (*ProxyInfo) ToString added in v0.0.7

func (m *ProxyInfo) ToString() (string, error)

ToString calls android.net.ProxyInfo.toString.

func (*ProxyInfo) WriteToParcel added in v0.0.7

func (m *ProxyInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.ProxyInfo.writeToParcel.

type RouteInfo added in v0.0.7

type RouteInfo struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

RouteInfo wraps android.net.RouteInfo.

func (*RouteInfo) DescribeContents added in v0.0.7

func (m *RouteInfo) DescribeContents() (int32, error)

DescribeContents calls android.net.RouteInfo.describeContents.

func (*RouteInfo) Equals added in v0.0.7

func (m *RouteInfo) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.RouteInfo.equals.

func (*RouteInfo) GetDestination added in v0.0.7

func (m *RouteInfo) GetDestination() (*jni.Object, error)

GetDestination calls android.net.RouteInfo.getDestination.

func (*RouteInfo) GetGateway added in v0.0.7

func (m *RouteInfo) GetGateway() (*jni.Object, error)

GetGateway calls android.net.RouteInfo.getGateway.

func (*RouteInfo) GetInterface added in v0.0.7

func (m *RouteInfo) GetInterface() (string, error)

GetInterface calls android.net.RouteInfo.getInterface.

func (*RouteInfo) GetType added in v0.0.7

func (m *RouteInfo) GetType() (int32, error)

GetType calls android.net.RouteInfo.getType.

func (*RouteInfo) HasGateway added in v0.0.7

func (m *RouteInfo) HasGateway() (bool, error)

HasGateway calls android.net.RouteInfo.hasGateway.

func (*RouteInfo) HashCode added in v0.0.7

func (m *RouteInfo) HashCode() (int32, error)

HashCode calls android.net.RouteInfo.hashCode.

func (*RouteInfo) IsDefaultRoute added in v0.0.7

func (m *RouteInfo) IsDefaultRoute() (bool, error)

IsDefaultRoute calls android.net.RouteInfo.isDefaultRoute.

func (*RouteInfo) Matches added in v0.0.7

func (m *RouteInfo) Matches(arg0 *jni.Object) (bool, error)

Matches calls android.net.RouteInfo.matches.

func (*RouteInfo) ToString added in v0.0.7

func (m *RouteInfo) ToString() (string, error)

ToString calls android.net.RouteInfo.toString.

func (*RouteInfo) WriteToParcel added in v0.0.7

func (m *RouteInfo) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.RouteInfo.writeToParcel.

type SSLCertificateSocketFactory added in v0.0.7

type SSLCertificateSocketFactory struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SSLCertificateSocketFactory wraps android.net.SSLCertificateSocketFactory.

func NewSSLCertificateSocketFactory added in v0.0.7

func NewSSLCertificateSocketFactory(vm *jni.VM, arg0 int32) (*SSLCertificateSocketFactory, error)

NewSSLCertificateSocketFactory creates a new android.net.SSLCertificateSocketFactory instance.

func (*SSLCertificateSocketFactory) CreateSocket0 added in v0.0.7

func (m *SSLCertificateSocketFactory) CreateSocket0() (*jni.Object, error)

CreateSocket0 calls android.net.SSLCertificateSocketFactory.createSocket.

func (*SSLCertificateSocketFactory) CreateSocket2_1 added in v0.0.7

func (m *SSLCertificateSocketFactory) CreateSocket2_1(arg0 string, arg1 int32) (*jni.Object, error)

CreateSocket2_1 calls android.net.SSLCertificateSocketFactory.createSocket.

func (*SSLCertificateSocketFactory) CreateSocket2_3 added in v0.0.7

func (m *SSLCertificateSocketFactory) CreateSocket2_3(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

CreateSocket2_3 calls android.net.SSLCertificateSocketFactory.createSocket.

func (*SSLCertificateSocketFactory) CreateSocket4_2 added in v0.0.7

func (m *SSLCertificateSocketFactory) CreateSocket4_2(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
	arg3 int32,
) (*jni.Object, error)

CreateSocket4_2 calls android.net.SSLCertificateSocketFactory.createSocket.

func (*SSLCertificateSocketFactory) CreateSocket4_4 added in v0.0.7

func (m *SSLCertificateSocketFactory) CreateSocket4_4(
	arg0 *jni.Object,
	arg1 int32,
	arg2 *jni.Object,
	arg3 int32,
) (*jni.Object, error)

CreateSocket4_4 calls android.net.SSLCertificateSocketFactory.createSocket.

func (*SSLCertificateSocketFactory) CreateSocket4_5 added in v0.0.7

func (m *SSLCertificateSocketFactory) CreateSocket4_5(
	arg0 *jni.Object,
	arg1 string,
	arg2 int32,
	arg3 bool,
) (*jni.Object, error)

CreateSocket4_5 calls android.net.SSLCertificateSocketFactory.createSocket.

func (*SSLCertificateSocketFactory) GetDefault1 added in v0.0.7

func (m *SSLCertificateSocketFactory) GetDefault1(arg0 int32) (*jni.Object, error)

GetDefault1 calls android.net.SSLCertificateSocketFactory.getDefault.

func (*SSLCertificateSocketFactory) GetDefault2_1 added in v0.0.7

func (m *SSLCertificateSocketFactory) GetDefault2_1(arg0 int32, arg1 *jni.Object) (*jni.Object, error)

GetDefault2_1 calls android.net.SSLCertificateSocketFactory.getDefault.

func (*SSLCertificateSocketFactory) GetDefaultCipherSuites added in v0.0.7

func (m *SSLCertificateSocketFactory) GetDefaultCipherSuites() (*jni.Object, error)

GetDefaultCipherSuites calls android.net.SSLCertificateSocketFactory.getDefaultCipherSuites.

func (*SSLCertificateSocketFactory) GetInsecure added in v0.0.7

func (m *SSLCertificateSocketFactory) GetInsecure(arg0 int32, arg1 *jni.Object) (*jni.Object, error)

GetInsecure calls android.net.SSLCertificateSocketFactory.getInsecure.

func (*SSLCertificateSocketFactory) GetNpnSelectedProtocol added in v0.0.7

func (m *SSLCertificateSocketFactory) GetNpnSelectedProtocol(arg0 *jni.Object) (*jni.Object, error)

GetNpnSelectedProtocol calls android.net.SSLCertificateSocketFactory.getNpnSelectedProtocol.

func (*SSLCertificateSocketFactory) GetSupportedCipherSuites added in v0.0.7

func (m *SSLCertificateSocketFactory) GetSupportedCipherSuites() (*jni.Object, error)

GetSupportedCipherSuites calls android.net.SSLCertificateSocketFactory.getSupportedCipherSuites.

func (*SSLCertificateSocketFactory) SetHostname added in v0.0.7

func (m *SSLCertificateSocketFactory) SetHostname(arg0 *jni.Object, arg1 string) error

SetHostname calls android.net.SSLCertificateSocketFactory.setHostname.

func (*SSLCertificateSocketFactory) SetKeyManagers added in v0.0.7

func (m *SSLCertificateSocketFactory) SetKeyManagers(arg0 *jni.Object) error

SetKeyManagers calls android.net.SSLCertificateSocketFactory.setKeyManagers.

func (*SSLCertificateSocketFactory) SetNpnProtocols added in v0.0.7

func (m *SSLCertificateSocketFactory) SetNpnProtocols(arg0 *jni.Object) error

SetNpnProtocols calls android.net.SSLCertificateSocketFactory.setNpnProtocols.

func (*SSLCertificateSocketFactory) SetTrustManagers added in v0.0.7

func (m *SSLCertificateSocketFactory) SetTrustManagers(arg0 *jni.Object) error

SetTrustManagers calls android.net.SSLCertificateSocketFactory.setTrustManagers.

func (*SSLCertificateSocketFactory) SetUseSessionTickets added in v0.0.7

func (m *SSLCertificateSocketFactory) SetUseSessionTickets(arg0 *jni.Object, arg1 bool) error

SetUseSessionTickets calls android.net.SSLCertificateSocketFactory.setUseSessionTickets.

type SSLSessionCache added in v0.0.7

type SSLSessionCache struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SSLSessionCache wraps android.net.SSLSessionCache.

func NewSSLSessionCache added in v0.0.7

func NewSSLSessionCache(vm *jni.VM, arg0 *jni.Object) (*SSLSessionCache, error)

NewSSLSessionCache creates a new android.net.SSLSessionCache instance.

type SocketKeepalive added in v0.0.7

type SocketKeepalive struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SocketKeepalive wraps android.net.SocketKeepalive.

func (*SocketKeepalive) Close added in v0.0.7

func (m *SocketKeepalive) Close() error

Close calls android.net.SocketKeepalive.close.

func (*SocketKeepalive) Start added in v0.0.7

func (m *SocketKeepalive) Start(arg0 int32) error

Start calls android.net.SocketKeepalive.start.

func (*SocketKeepalive) Stop added in v0.0.7

func (m *SocketKeepalive) Stop() error

Stop calls android.net.SocketKeepalive.stop.

type SocketKeepaliveCallback added in v0.0.7

type SocketKeepaliveCallback struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SocketKeepaliveCallback wraps android.net.SocketKeepalive$Callback.

func (*SocketKeepaliveCallback) OnDataReceived added in v0.0.7

func (m *SocketKeepaliveCallback) OnDataReceived() error

OnDataReceived calls android.net.SocketKeepalive$Callback.onDataReceived.

func (*SocketKeepaliveCallback) OnError added in v0.0.7

func (m *SocketKeepaliveCallback) OnError(arg0 int32) error

OnError calls android.net.SocketKeepalive$Callback.onError.

func (*SocketKeepaliveCallback) OnStarted added in v0.0.7

func (m *SocketKeepaliveCallback) OnStarted() error

OnStarted calls android.net.SocketKeepalive$Callback.onStarted.

func (*SocketKeepaliveCallback) OnStopped added in v0.0.7

func (m *SocketKeepaliveCallback) OnStopped() error

OnStopped calls android.net.SocketKeepalive$Callback.onStopped.

type StaticIpConfiguration added in v0.0.7

type StaticIpConfiguration struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

StaticIpConfiguration wraps android.net.StaticIpConfiguration.

func (*StaticIpConfiguration) DescribeContents added in v0.0.7

func (m *StaticIpConfiguration) DescribeContents() (int32, error)

DescribeContents calls android.net.StaticIpConfiguration.describeContents.

func (*StaticIpConfiguration) Equals added in v0.0.7

func (m *StaticIpConfiguration) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.StaticIpConfiguration.equals.

func (*StaticIpConfiguration) GetDomains added in v0.0.7

func (m *StaticIpConfiguration) GetDomains() (string, error)

GetDomains calls android.net.StaticIpConfiguration.getDomains.

func (*StaticIpConfiguration) GetGateway added in v0.0.7

func (m *StaticIpConfiguration) GetGateway() (*jni.Object, error)

GetGateway calls android.net.StaticIpConfiguration.getGateway.

func (*StaticIpConfiguration) GetIpAddress added in v0.0.7

func (m *StaticIpConfiguration) GetIpAddress() (*jni.Object, error)

GetIpAddress calls android.net.StaticIpConfiguration.getIpAddress.

func (*StaticIpConfiguration) HashCode added in v0.0.7

func (m *StaticIpConfiguration) HashCode() (int32, error)

HashCode calls android.net.StaticIpConfiguration.hashCode.

func (*StaticIpConfiguration) ToString added in v0.0.7

func (m *StaticIpConfiguration) ToString() (string, error)

ToString calls android.net.StaticIpConfiguration.toString.

func (*StaticIpConfiguration) WriteToParcel added in v0.0.7

func (m *StaticIpConfiguration) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.StaticIpConfiguration.writeToParcel.

type StaticIpConfigurationBuilder added in v0.0.7

type StaticIpConfigurationBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

StaticIpConfigurationBuilder wraps android.net.StaticIpConfiguration$Builder.

func (*StaticIpConfigurationBuilder) Build added in v0.0.7

Build calls android.net.StaticIpConfiguration$Builder.build.

func (*StaticIpConfigurationBuilder) SetDomains added in v0.0.7

func (m *StaticIpConfigurationBuilder) SetDomains(arg0 string) (*jni.Object, error)

SetDomains calls android.net.StaticIpConfiguration$Builder.setDomains.

func (*StaticIpConfigurationBuilder) SetGateway added in v0.0.7

func (m *StaticIpConfigurationBuilder) SetGateway(arg0 *jni.Object) (*jni.Object, error)

SetGateway calls android.net.StaticIpConfiguration$Builder.setGateway.

func (*StaticIpConfigurationBuilder) SetIpAddress added in v0.0.7

func (m *StaticIpConfigurationBuilder) SetIpAddress(arg0 *jni.Object) (*jni.Object, error)

SetIpAddress calls android.net.StaticIpConfiguration$Builder.setIpAddress.

type TelephonyNetworkSpecifier added in v0.0.7

type TelephonyNetworkSpecifier struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TelephonyNetworkSpecifier wraps android.net.TelephonyNetworkSpecifier.

func (*TelephonyNetworkSpecifier) DescribeContents added in v0.0.7

func (m *TelephonyNetworkSpecifier) DescribeContents() (int32, error)

DescribeContents calls android.net.TelephonyNetworkSpecifier.describeContents.

func (*TelephonyNetworkSpecifier) Equals added in v0.0.7

func (m *TelephonyNetworkSpecifier) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.TelephonyNetworkSpecifier.equals.

func (*TelephonyNetworkSpecifier) GetSubscriptionId added in v0.0.7

func (m *TelephonyNetworkSpecifier) GetSubscriptionId() (int32, error)

GetSubscriptionId calls android.net.TelephonyNetworkSpecifier.getSubscriptionId.

func (*TelephonyNetworkSpecifier) HashCode added in v0.0.7

func (m *TelephonyNetworkSpecifier) HashCode() (int32, error)

HashCode calls android.net.TelephonyNetworkSpecifier.hashCode.

func (*TelephonyNetworkSpecifier) ToString added in v0.0.7

func (m *TelephonyNetworkSpecifier) ToString() (string, error)

ToString calls android.net.TelephonyNetworkSpecifier.toString.

func (*TelephonyNetworkSpecifier) WriteToParcel added in v0.0.7

func (m *TelephonyNetworkSpecifier) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.TelephonyNetworkSpecifier.writeToParcel.

type TelephonyNetworkSpecifierBuilder added in v0.0.7

type TelephonyNetworkSpecifierBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TelephonyNetworkSpecifierBuilder wraps android.net.TelephonyNetworkSpecifier$Builder.

func (*TelephonyNetworkSpecifierBuilder) Build added in v0.0.7

Build calls android.net.TelephonyNetworkSpecifier$Builder.build.

func (*TelephonyNetworkSpecifierBuilder) SetSubscriptionId added in v0.0.7

func (m *TelephonyNetworkSpecifierBuilder) SetSubscriptionId(arg0 int32) (*jni.Object, error)

SetSubscriptionId calls android.net.TelephonyNetworkSpecifier$Builder.setSubscriptionId.

type TetheringInterface added in v0.0.7

type TetheringInterface struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TetheringInterface wraps android.net.TetheringInterface.

func NewTetheringInterface added in v0.0.7

func NewTetheringInterface(vm *jni.VM, arg0 int32, arg1 string) (*TetheringInterface, error)

NewTetheringInterface creates a new android.net.TetheringInterface instance.

func (*TetheringInterface) DescribeContents added in v0.0.7

func (m *TetheringInterface) DescribeContents() (int32, error)

DescribeContents calls android.net.TetheringInterface.describeContents.

func (*TetheringInterface) Equals added in v0.0.7

func (m *TetheringInterface) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.TetheringInterface.equals.

func (*TetheringInterface) GetInterface added in v0.0.7

func (m *TetheringInterface) GetInterface() (string, error)

GetInterface calls android.net.TetheringInterface.getInterface.

func (*TetheringInterface) GetSoftApConfiguration added in v0.0.7

func (m *TetheringInterface) GetSoftApConfiguration() (*jni.Object, error)

GetSoftApConfiguration calls android.net.TetheringInterface.getSoftApConfiguration.

func (*TetheringInterface) GetType added in v0.0.7

func (m *TetheringInterface) GetType() (int32, error)

GetType calls android.net.TetheringInterface.getType.

func (*TetheringInterface) HashCode added in v0.0.7

func (m *TetheringInterface) HashCode() (int32, error)

HashCode calls android.net.TetheringInterface.hashCode.

func (*TetheringInterface) ToString added in v0.0.7

func (m *TetheringInterface) ToString() (string, error)

ToString calls android.net.TetheringInterface.toString.

func (*TetheringInterface) WriteToParcel added in v0.0.7

func (m *TetheringInterface) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.TetheringInterface.writeToParcel.

type TetheringManager added in v0.0.7

type TetheringManager struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

TetheringManager wraps android.net.TetheringManager.

func NewTetheringManager added in v0.0.7

func NewTetheringManager(ctx *app.Context) (*TetheringManager, error)

NewTetheringManager obtains android.net.TetheringManager from the Android system service manager.

func (*TetheringManager) Close added in v0.0.7

func (m *TetheringManager) Close()

Close releases the global reference to the underlying Java object. After Close, the TetheringManager must not be used.

func (*TetheringManager) RegisterTetheringEventCallback added in v0.0.7

func (m *TetheringManager) RegisterTetheringEventCallback(arg0 *jni.Object, arg1 *jni.Object) error

RegisterTetheringEventCallback calls android.net.TetheringManager.registerTetheringEventCallback.

func (*TetheringManager) StartTethering added in v0.0.7

func (m *TetheringManager) StartTethering(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

StartTethering calls android.net.TetheringManager.startTethering.

func (*TetheringManager) StopTethering added in v0.0.7

func (m *TetheringManager) StopTethering(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) error

StopTethering calls android.net.TetheringManager.stopTethering.

func (*TetheringManager) UnregisterTetheringEventCallback added in v0.0.7

func (m *TetheringManager) UnregisterTetheringEventCallback(arg0 *jni.Object) error

UnregisterTetheringEventCallback calls android.net.TetheringManager.unregisterTetheringEventCallback.

type TetheringManagerTetheringRequest added in v0.0.7

type TetheringManagerTetheringRequest struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TetheringManagerTetheringRequest wraps android.net.TetheringManager$TetheringRequest.

func (*TetheringManagerTetheringRequest) DescribeContents added in v0.0.7

func (m *TetheringManagerTetheringRequest) DescribeContents() (int32, error)

DescribeContents calls android.net.TetheringManager$TetheringRequest.describeContents.

func (*TetheringManagerTetheringRequest) Equals added in v0.0.7

Equals calls android.net.TetheringManager$TetheringRequest.equals.

func (*TetheringManagerTetheringRequest) GetSoftApConfiguration added in v0.0.7

func (m *TetheringManagerTetheringRequest) GetSoftApConfiguration() (*jni.Object, error)

GetSoftApConfiguration calls android.net.TetheringManager$TetheringRequest.getSoftApConfiguration.

func (*TetheringManagerTetheringRequest) HashCode added in v0.0.7

func (m *TetheringManagerTetheringRequest) HashCode() (int32, error)

HashCode calls android.net.TetheringManager$TetheringRequest.hashCode.

func (*TetheringManagerTetheringRequest) ToString added in v0.0.7

ToString calls android.net.TetheringManager$TetheringRequest.toString.

func (*TetheringManagerTetheringRequest) WriteToParcel added in v0.0.7

func (m *TetheringManagerTetheringRequest) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.TetheringManager$TetheringRequest.writeToParcel.

type TrafficStats added in v0.0.7

type TrafficStats struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TrafficStats wraps android.net.TrafficStats.

func NewTrafficStats added in v0.0.7

func NewTrafficStats(vm *jni.VM) (*TrafficStats, error)

NewTrafficStats creates a new android.net.TrafficStats instance.

func (*TrafficStats) ClearThreadStatsTag added in v0.0.7

func (m *TrafficStats) ClearThreadStatsTag() error

ClearThreadStatsTag calls android.net.TrafficStats.clearThreadStatsTag.

func (*TrafficStats) ClearThreadStatsUid added in v0.0.7

func (m *TrafficStats) ClearThreadStatsUid() error

ClearThreadStatsUid calls android.net.TrafficStats.clearThreadStatsUid.

func (*TrafficStats) GetAndSetThreadStatsTag added in v0.0.7

func (m *TrafficStats) GetAndSetThreadStatsTag(arg0 int32) (int32, error)

GetAndSetThreadStatsTag calls android.net.TrafficStats.getAndSetThreadStatsTag.

func (*TrafficStats) GetMobileRxBytes added in v0.0.7

func (m *TrafficStats) GetMobileRxBytes() (int64, error)

GetMobileRxBytes calls android.net.TrafficStats.getMobileRxBytes.

func (*TrafficStats) GetMobileRxPackets added in v0.0.7

func (m *TrafficStats) GetMobileRxPackets() (int64, error)

GetMobileRxPackets calls android.net.TrafficStats.getMobileRxPackets.

func (*TrafficStats) GetMobileTxBytes added in v0.0.7

func (m *TrafficStats) GetMobileTxBytes() (int64, error)

GetMobileTxBytes calls android.net.TrafficStats.getMobileTxBytes.

func (*TrafficStats) GetMobileTxPackets added in v0.0.7

func (m *TrafficStats) GetMobileTxPackets() (int64, error)

GetMobileTxPackets calls android.net.TrafficStats.getMobileTxPackets.

func (*TrafficStats) GetRxBytes added in v0.0.7

func (m *TrafficStats) GetRxBytes(arg0 string) (int64, error)

GetRxBytes calls android.net.TrafficStats.getRxBytes.

func (*TrafficStats) GetRxPackets added in v0.0.7

func (m *TrafficStats) GetRxPackets(arg0 string) (int64, error)

GetRxPackets calls android.net.TrafficStats.getRxPackets.

func (*TrafficStats) GetThreadStatsTag added in v0.0.7

func (m *TrafficStats) GetThreadStatsTag() (int32, error)

GetThreadStatsTag calls android.net.TrafficStats.getThreadStatsTag.

func (*TrafficStats) GetThreadStatsUid added in v0.0.7

func (m *TrafficStats) GetThreadStatsUid() (int32, error)

GetThreadStatsUid calls android.net.TrafficStats.getThreadStatsUid.

func (*TrafficStats) GetTotalRxBytes added in v0.0.7

func (m *TrafficStats) GetTotalRxBytes() (int64, error)

GetTotalRxBytes calls android.net.TrafficStats.getTotalRxBytes.

func (*TrafficStats) GetTotalRxPackets added in v0.0.7

func (m *TrafficStats) GetTotalRxPackets() (int64, error)

GetTotalRxPackets calls android.net.TrafficStats.getTotalRxPackets.

func (*TrafficStats) GetTotalTxBytes added in v0.0.7

func (m *TrafficStats) GetTotalTxBytes() (int64, error)

GetTotalTxBytes calls android.net.TrafficStats.getTotalTxBytes.

func (*TrafficStats) GetTotalTxPackets added in v0.0.7

func (m *TrafficStats) GetTotalTxPackets() (int64, error)

GetTotalTxPackets calls android.net.TrafficStats.getTotalTxPackets.

func (*TrafficStats) GetTxBytes added in v0.0.7

func (m *TrafficStats) GetTxBytes(arg0 string) (int64, error)

GetTxBytes calls android.net.TrafficStats.getTxBytes.

func (*TrafficStats) GetTxPackets added in v0.0.7

func (m *TrafficStats) GetTxPackets(arg0 string) (int64, error)

GetTxPackets calls android.net.TrafficStats.getTxPackets.

func (*TrafficStats) GetUidRxBytes added in v0.0.7

func (m *TrafficStats) GetUidRxBytes(arg0 int32) (int64, error)

GetUidRxBytes calls android.net.TrafficStats.getUidRxBytes.

func (*TrafficStats) GetUidRxPackets added in v0.0.7

func (m *TrafficStats) GetUidRxPackets(arg0 int32) (int64, error)

GetUidRxPackets calls android.net.TrafficStats.getUidRxPackets.

func (*TrafficStats) GetUidTcpRxBytes added in v0.0.7

func (m *TrafficStats) GetUidTcpRxBytes(arg0 int32) (int64, error)

GetUidTcpRxBytes calls android.net.TrafficStats.getUidTcpRxBytes.

func (*TrafficStats) GetUidTcpRxSegments added in v0.0.7

func (m *TrafficStats) GetUidTcpRxSegments(arg0 int32) (int64, error)

GetUidTcpRxSegments calls android.net.TrafficStats.getUidTcpRxSegments.

func (*TrafficStats) GetUidTcpTxBytes added in v0.0.7

func (m *TrafficStats) GetUidTcpTxBytes(arg0 int32) (int64, error)

GetUidTcpTxBytes calls android.net.TrafficStats.getUidTcpTxBytes.

func (*TrafficStats) GetUidTcpTxSegments added in v0.0.7

func (m *TrafficStats) GetUidTcpTxSegments(arg0 int32) (int64, error)

GetUidTcpTxSegments calls android.net.TrafficStats.getUidTcpTxSegments.

func (*TrafficStats) GetUidTxBytes added in v0.0.7

func (m *TrafficStats) GetUidTxBytes(arg0 int32) (int64, error)

GetUidTxBytes calls android.net.TrafficStats.getUidTxBytes.

func (*TrafficStats) GetUidTxPackets added in v0.0.7

func (m *TrafficStats) GetUidTxPackets(arg0 int32) (int64, error)

GetUidTxPackets calls android.net.TrafficStats.getUidTxPackets.

func (*TrafficStats) GetUidUdpRxBytes added in v0.0.7

func (m *TrafficStats) GetUidUdpRxBytes(arg0 int32) (int64, error)

GetUidUdpRxBytes calls android.net.TrafficStats.getUidUdpRxBytes.

func (*TrafficStats) GetUidUdpRxPackets added in v0.0.7

func (m *TrafficStats) GetUidUdpRxPackets(arg0 int32) (int64, error)

GetUidUdpRxPackets calls android.net.TrafficStats.getUidUdpRxPackets.

func (*TrafficStats) GetUidUdpTxBytes added in v0.0.7

func (m *TrafficStats) GetUidUdpTxBytes(arg0 int32) (int64, error)

GetUidUdpTxBytes calls android.net.TrafficStats.getUidUdpTxBytes.

func (*TrafficStats) GetUidUdpTxPackets added in v0.0.7

func (m *TrafficStats) GetUidUdpTxPackets(arg0 int32) (int64, error)

GetUidUdpTxPackets calls android.net.TrafficStats.getUidUdpTxPackets.

func (*TrafficStats) IncrementOperationCount1 added in v0.0.7

func (m *TrafficStats) IncrementOperationCount1(arg0 int32) error

IncrementOperationCount1 calls android.net.TrafficStats.incrementOperationCount.

func (*TrafficStats) IncrementOperationCount2_1 added in v0.0.7

func (m *TrafficStats) IncrementOperationCount2_1(arg0 int32, arg1 int32) error

IncrementOperationCount2_1 calls android.net.TrafficStats.incrementOperationCount.

func (*TrafficStats) SetThreadStatsTag added in v0.0.7

func (m *TrafficStats) SetThreadStatsTag(arg0 int32) error

SetThreadStatsTag calls android.net.TrafficStats.setThreadStatsTag.

func (*TrafficStats) SetThreadStatsUid added in v0.0.7

func (m *TrafficStats) SetThreadStatsUid(arg0 int32) error

SetThreadStatsUid calls android.net.TrafficStats.setThreadStatsUid.

func (*TrafficStats) TagDatagramSocket added in v0.0.7

func (m *TrafficStats) TagDatagramSocket(arg0 *jni.Object) error

TagDatagramSocket calls android.net.TrafficStats.tagDatagramSocket.

func (*TrafficStats) TagFileDescriptor added in v0.0.7

func (m *TrafficStats) TagFileDescriptor(arg0 *jni.Object) error

TagFileDescriptor calls android.net.TrafficStats.tagFileDescriptor.

func (*TrafficStats) TagSocket added in v0.0.7

func (m *TrafficStats) TagSocket(arg0 *jni.Object) error

TagSocket calls android.net.TrafficStats.tagSocket.

func (*TrafficStats) UntagDatagramSocket added in v0.0.7

func (m *TrafficStats) UntagDatagramSocket(arg0 *jni.Object) error

UntagDatagramSocket calls android.net.TrafficStats.untagDatagramSocket.

func (*TrafficStats) UntagFileDescriptor added in v0.0.7

func (m *TrafficStats) UntagFileDescriptor(arg0 *jni.Object) error

UntagFileDescriptor calls android.net.TrafficStats.untagFileDescriptor.

func (*TrafficStats) UntagSocket added in v0.0.7

func (m *TrafficStats) UntagSocket(arg0 *jni.Object) error

UntagSocket calls android.net.TrafficStats.untagSocket.

type UrlQuerySanitizer added in v0.0.7

type UrlQuerySanitizer struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

UrlQuerySanitizer wraps android.net.UrlQuerySanitizer.

func NewUrlQuerySanitizer added in v0.0.7

func NewUrlQuerySanitizer(vm *jni.VM) (*UrlQuerySanitizer, error)

NewUrlQuerySanitizer creates a new android.net.UrlQuerySanitizer instance.

func (*UrlQuerySanitizer) GetAllButNulAndAngleBracketsLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetAllButNulAndAngleBracketsLegal() (*jni.Object, error)

GetAllButNulAndAngleBracketsLegal calls android.net.UrlQuerySanitizer.getAllButNulAndAngleBracketsLegal.

func (*UrlQuerySanitizer) GetAllButNulLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetAllButNulLegal() (*jni.Object, error)

GetAllButNulLegal calls android.net.UrlQuerySanitizer.getAllButNulLegal.

func (*UrlQuerySanitizer) GetAllButWhitespaceLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetAllButWhitespaceLegal() (*jni.Object, error)

GetAllButWhitespaceLegal calls android.net.UrlQuerySanitizer.getAllButWhitespaceLegal.

func (*UrlQuerySanitizer) GetAllIllegal added in v0.0.7

func (m *UrlQuerySanitizer) GetAllIllegal() (*jni.Object, error)

GetAllIllegal calls android.net.UrlQuerySanitizer.getAllIllegal.

func (*UrlQuerySanitizer) GetAllowUnregisteredParamaters added in v0.0.7

func (m *UrlQuerySanitizer) GetAllowUnregisteredParamaters() (bool, error)

GetAllowUnregisteredParamaters calls android.net.UrlQuerySanitizer.getAllowUnregisteredParamaters.

func (*UrlQuerySanitizer) GetAmpAndSpaceLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetAmpAndSpaceLegal() (*jni.Object, error)

GetAmpAndSpaceLegal calls android.net.UrlQuerySanitizer.getAmpAndSpaceLegal.

func (*UrlQuerySanitizer) GetAmpLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetAmpLegal() (*jni.Object, error)

GetAmpLegal calls android.net.UrlQuerySanitizer.getAmpLegal.

func (*UrlQuerySanitizer) GetEffectiveValueSanitizer added in v0.0.7

func (m *UrlQuerySanitizer) GetEffectiveValueSanitizer(arg0 string) (*jni.Object, error)

GetEffectiveValueSanitizer calls android.net.UrlQuerySanitizer.getEffectiveValueSanitizer.

func (*UrlQuerySanitizer) GetPreferFirstRepeatedParameter added in v0.0.7

func (m *UrlQuerySanitizer) GetPreferFirstRepeatedParameter() (bool, error)

GetPreferFirstRepeatedParameter calls android.net.UrlQuerySanitizer.getPreferFirstRepeatedParameter.

func (*UrlQuerySanitizer) GetSpaceLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetSpaceLegal() (*jni.Object, error)

GetSpaceLegal calls android.net.UrlQuerySanitizer.getSpaceLegal.

func (*UrlQuerySanitizer) GetUnregisteredParameterValueSanitizer added in v0.0.7

func (m *UrlQuerySanitizer) GetUnregisteredParameterValueSanitizer() (*jni.Object, error)

GetUnregisteredParameterValueSanitizer calls android.net.UrlQuerySanitizer.getUnregisteredParameterValueSanitizer.

func (*UrlQuerySanitizer) GetUrlAndSpaceLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetUrlAndSpaceLegal() (*jni.Object, error)

GetUrlAndSpaceLegal calls android.net.UrlQuerySanitizer.getUrlAndSpaceLegal.

func (*UrlQuerySanitizer) GetUrlLegal added in v0.0.7

func (m *UrlQuerySanitizer) GetUrlLegal() (*jni.Object, error)

GetUrlLegal calls android.net.UrlQuerySanitizer.getUrlLegal.

func (*UrlQuerySanitizer) GetValue added in v0.0.7

func (m *UrlQuerySanitizer) GetValue(arg0 string) (string, error)

GetValue calls android.net.UrlQuerySanitizer.getValue.

func (*UrlQuerySanitizer) GetValueSanitizer added in v0.0.7

func (m *UrlQuerySanitizer) GetValueSanitizer(arg0 string) (*jni.Object, error)

GetValueSanitizer calls android.net.UrlQuerySanitizer.getValueSanitizer.

func (*UrlQuerySanitizer) HasParameter added in v0.0.7

func (m *UrlQuerySanitizer) HasParameter(arg0 string) (bool, error)

HasParameter calls android.net.UrlQuerySanitizer.hasParameter.

func (*UrlQuerySanitizer) ParseQuery added in v0.0.7

func (m *UrlQuerySanitizer) ParseQuery(arg0 string) error

ParseQuery calls android.net.UrlQuerySanitizer.parseQuery.

func (*UrlQuerySanitizer) ParseUrl added in v0.0.7

func (m *UrlQuerySanitizer) ParseUrl(arg0 string) error

ParseUrl calls android.net.UrlQuerySanitizer.parseUrl.

func (*UrlQuerySanitizer) RegisterParameter added in v0.0.7

func (m *UrlQuerySanitizer) RegisterParameter(arg0 string, arg1 *jni.Object) error

RegisterParameter calls android.net.UrlQuerySanitizer.registerParameter.

func (*UrlQuerySanitizer) RegisterParameters added in v0.0.7

func (m *UrlQuerySanitizer) RegisterParameters(arg0 *jni.Object, arg1 *jni.Object) error

RegisterParameters calls android.net.UrlQuerySanitizer.registerParameters.

func (*UrlQuerySanitizer) SetAllowUnregisteredParamaters added in v0.0.7

func (m *UrlQuerySanitizer) SetAllowUnregisteredParamaters(arg0 bool) error

SetAllowUnregisteredParamaters calls android.net.UrlQuerySanitizer.setAllowUnregisteredParamaters.

func (*UrlQuerySanitizer) SetPreferFirstRepeatedParameter added in v0.0.7

func (m *UrlQuerySanitizer) SetPreferFirstRepeatedParameter(arg0 bool) error

SetPreferFirstRepeatedParameter calls android.net.UrlQuerySanitizer.setPreferFirstRepeatedParameter.

func (*UrlQuerySanitizer) SetUnregisteredParameterValueSanitizer added in v0.0.7

func (m *UrlQuerySanitizer) SetUnregisteredParameterValueSanitizer(arg0 *jni.Object) error

SetUnregisteredParameterValueSanitizer calls android.net.UrlQuerySanitizer.setUnregisteredParameterValueSanitizer.

func (*UrlQuerySanitizer) Unescape added in v0.0.7

func (m *UrlQuerySanitizer) Unescape(arg0 string) (string, error)

Unescape calls android.net.UrlQuerySanitizer.unescape.

type UrlQuerySanitizerIllegalCharacterValueSanitizer added in v0.0.7

type UrlQuerySanitizerIllegalCharacterValueSanitizer struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

UrlQuerySanitizerIllegalCharacterValueSanitizer wraps android.net.UrlQuerySanitizer$IllegalCharacterValueSanitizer.

func (*UrlQuerySanitizerIllegalCharacterValueSanitizer) Sanitize added in v0.0.7

Sanitize calls android.net.UrlQuerySanitizer$IllegalCharacterValueSanitizer.sanitize.

type UrlQuerySanitizerValueSanitizer added in v0.0.7

type UrlQuerySanitizerValueSanitizer struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

UrlQuerySanitizerValueSanitizer wraps android.net.UrlQuerySanitizer$ValueSanitizer.

func (*UrlQuerySanitizerValueSanitizer) Sanitize added in v0.0.7

func (m *UrlQuerySanitizerValueSanitizer) Sanitize(arg0 string) (string, error)

Sanitize calls android.net.UrlQuerySanitizer$ValueSanitizer.sanitize.

type VpnManager added in v0.0.7

type VpnManager struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

VpnManager wraps android.net.VpnManager.

func (*VpnManager) DeleteProvisionedVpnProfile added in v0.0.7

func (m *VpnManager) DeleteProvisionedVpnProfile() error

DeleteProvisionedVpnProfile calls android.net.VpnManager.deleteProvisionedVpnProfile.

func (*VpnManager) GetProvisionedVpnProfileState added in v0.0.7

func (m *VpnManager) GetProvisionedVpnProfileState() (*jni.Object, error)

GetProvisionedVpnProfileState calls android.net.VpnManager.getProvisionedVpnProfileState.

func (*VpnManager) ProvisionVpnProfile added in v0.0.7

func (m *VpnManager) ProvisionVpnProfile(arg0 *jni.Object) (*jni.Object, error)

ProvisionVpnProfile calls android.net.VpnManager.provisionVpnProfile.

func (*VpnManager) StartProvisionedVpnProfile added in v0.0.7

func (m *VpnManager) StartProvisionedVpnProfile() error

StartProvisionedVpnProfile calls android.net.VpnManager.startProvisionedVpnProfile.

func (*VpnManager) StartProvisionedVpnProfileSession added in v0.0.7

func (m *VpnManager) StartProvisionedVpnProfileSession() (string, error)

StartProvisionedVpnProfileSession calls android.net.VpnManager.startProvisionedVpnProfileSession.

func (*VpnManager) StopProvisionedVpnProfile added in v0.0.7

func (m *VpnManager) StopProvisionedVpnProfile() error

StopProvisionedVpnProfile calls android.net.VpnManager.stopProvisionedVpnProfile.

type VpnProfileState added in v0.0.7

type VpnProfileState struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

VpnProfileState wraps android.net.VpnProfileState.

func NewVpnProfileState added in v0.0.7

func NewVpnProfileState(vm *jni.VM, arg0 int32, arg1 string, arg2 bool, arg3 bool) (*VpnProfileState, error)

NewVpnProfileState creates a new android.net.VpnProfileState instance.

func (*VpnProfileState) DescribeContents added in v0.0.7

func (m *VpnProfileState) DescribeContents() (int32, error)

DescribeContents calls android.net.VpnProfileState.describeContents.

func (*VpnProfileState) Equals added in v0.0.7

func (m *VpnProfileState) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.net.VpnProfileState.equals.

func (*VpnProfileState) GetSessionId added in v0.0.7

func (m *VpnProfileState) GetSessionId() (string, error)

GetSessionId calls android.net.VpnProfileState.getSessionId.

func (*VpnProfileState) GetState added in v0.0.7

func (m *VpnProfileState) GetState() (int32, error)

GetState calls android.net.VpnProfileState.getState.

func (*VpnProfileState) HashCode added in v0.0.7

func (m *VpnProfileState) HashCode() (int32, error)

HashCode calls android.net.VpnProfileState.hashCode.

func (*VpnProfileState) IsAlwaysOn added in v0.0.7

func (m *VpnProfileState) IsAlwaysOn() (bool, error)

IsAlwaysOn calls android.net.VpnProfileState.isAlwaysOn.

func (*VpnProfileState) IsLockdownEnabled added in v0.0.7

func (m *VpnProfileState) IsLockdownEnabled() (bool, error)

IsLockdownEnabled calls android.net.VpnProfileState.isLockdownEnabled.

func (*VpnProfileState) ToString added in v0.0.7

func (m *VpnProfileState) ToString() (string, error)

ToString calls android.net.VpnProfileState.toString.

func (*VpnProfileState) WriteToParcel added in v0.0.7

func (m *VpnProfileState) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.net.VpnProfileState.writeToParcel.

Source Files

Directories

Path Synopsis
eap
Package eap provides Go bindings for android.net.eap.
Package eap provides Go bindings for android.net.eap.
Package http provides Go bindings for android.net.http.
Package http provides Go bindings for android.net.http.
ipsec
ike
Package ike provides Go bindings for android.net.ipsec.ike.
Package ike provides Go bindings for android.net.ipsec.ike.
ike/exceptions
Package exceptions provides Go bindings for android.net.ipsec.ike.exceptions.
Package exceptions provides Go bindings for android.net.ipsec.ike.exceptions.
nsd
Package nsd provides Go bindings for android.net.nsd.
Package nsd provides Go bindings for android.net.nsd.
rtp
Package rtp provides Go bindings for android.net.rtp.
Package rtp provides Go bindings for android.net.rtp.
sip
Package sip provides Go bindings for android.net.sip.
Package sip provides Go bindings for android.net.sip.
Package ssl provides Go bindings for android.net.ssl.
Package ssl provides Go bindings for android.net.ssl.
vcn
Package vcn provides Go bindings for android.net.vcn.
Package vcn provides Go bindings for android.net.vcn.
vpn
Package vpn provides Go bindings for android.net.
Package vpn provides Go bindings for android.net.
Package wifi provides Go bindings for android.net.wifi.
Package wifi provides Go bindings for android.net.wifi.
aware
Package aware provides Go bindings for android.net.wifi.aware.
Package aware provides Go bindings for android.net.wifi.aware.
hotspot2
Package hotspot2 provides Go bindings for android.net.wifi.hotspot2.
Package hotspot2 provides Go bindings for android.net.wifi.hotspot2.
hotspot2/omadm
Package omadm provides Go bindings for android.net.wifi.hotspot2.omadm.
Package omadm provides Go bindings for android.net.wifi.hotspot2.omadm.
hotspot2/pps
Package pps provides Go bindings for android.net.wifi.hotspot2.pps.
Package pps provides Go bindings for android.net.wifi.hotspot2.pps.
p2p
Package p2p provides Go bindings for android.net.wifi.p2p.
Package p2p provides Go bindings for android.net.wifi.p2p.
p2p/nsd
Package nsd provides Go bindings for android.net.wifi.p2p.nsd.
Package nsd provides Go bindings for android.net.wifi.p2p.nsd.
rtt
Package rtt provides Go bindings for android.net.wifi.rtt.
Package rtt provides Go bindings for android.net.wifi.rtt.

Jump to

Keyboard shortcuts

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