Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorIIpConnectivityMetrics + const DescriptorINetdEventCallback + const DescriptorINetworkManagementEventObserver + const DescriptorINetworkPolicyListener + const DescriptorINetworkPolicyManager + const DescriptorINetworkRecommendationProvider + const DescriptorINetworkScoreCache + const DescriptorINetworkScoreService + const DescriptorIPacProxyInstalledListener + const DescriptorIPacProxyManager + const DescriptorIVpnManager + const INetdEventCallbackCallbackCallerConnectivityService + const INetdEventCallbackCallbackCallerDevicePolicy + const INetdEventCallbackCallbackCallerNetworkWatchlist + const MethodIIpConnectivityMetricsAddNetdEventCallback + const MethodIIpConnectivityMetricsLogDefaultNetworkEvent + const MethodIIpConnectivityMetricsLogDefaultNetworkValidity + const MethodIIpConnectivityMetricsLogEvent + const MethodIIpConnectivityMetricsRemoveNetdEventCallback + const MethodINetdEventCallbackOnConnectEvent + const MethodINetdEventCallbackOnDnsEvent + const MethodINetdEventCallbackOnNat64PrefixEvent + const MethodINetdEventCallbackOnPrivateDnsValidationEvent + const MethodINetworkManagementEventObserverAddressRemoved + const MethodINetworkManagementEventObserverAddressUpdated + const MethodINetworkManagementEventObserverInterfaceAdded + const MethodINetworkManagementEventObserverInterfaceClassDataActivityChanged + const MethodINetworkManagementEventObserverInterfaceDnsServerInfo + const MethodINetworkManagementEventObserverInterfaceLinkStateChanged + const MethodINetworkManagementEventObserverInterfaceRemoved + const MethodINetworkManagementEventObserverInterfaceStatusChanged + const MethodINetworkManagementEventObserverLimitReached + const MethodINetworkManagementEventObserverRouteRemoved + const MethodINetworkManagementEventObserverRouteUpdated + const MethodINetworkPolicyListenerOnBlockedReasonChanged + const MethodINetworkPolicyListenerOnMeteredIfacesChanged + const MethodINetworkPolicyListenerOnRestrictBackgroundChanged + const MethodINetworkPolicyListenerOnSubscriptionOverride + const MethodINetworkPolicyListenerOnSubscriptionPlansChanged + const MethodINetworkPolicyListenerOnUidPoliciesChanged + const MethodINetworkPolicyListenerOnUidRulesChanged + const MethodINetworkPolicyManagerAddUidPolicy + const MethodINetworkPolicyManagerFactoryReset + const MethodINetworkPolicyManagerGetMultipathPreference + const MethodINetworkPolicyManagerGetNetworkPolicies + const MethodINetworkPolicyManagerGetRestrictBackground + const MethodINetworkPolicyManagerGetRestrictBackgroundByCaller + const MethodINetworkPolicyManagerGetRestrictBackgroundStatus + const MethodINetworkPolicyManagerGetSubscriptionPlan + const MethodINetworkPolicyManagerGetSubscriptionPlans + const MethodINetworkPolicyManagerGetSubscriptionPlansOwner + const MethodINetworkPolicyManagerGetUidPolicy + const MethodINetworkPolicyManagerGetUidsWithPolicy + const MethodINetworkPolicyManagerIsUidNetworkingBlocked + const MethodINetworkPolicyManagerIsUidRestrictedOnMeteredNetworks + const MethodINetworkPolicyManagerNotifyStatsProviderWarningOrLimitReached + const MethodINetworkPolicyManagerRegisterListener + const MethodINetworkPolicyManagerRemoveUidPolicy + const MethodINetworkPolicyManagerSetDeviceIdleMode + const MethodINetworkPolicyManagerSetNetworkPolicies + const MethodINetworkPolicyManagerSetRestrictBackground + const MethodINetworkPolicyManagerSetSubscriptionOverride + const MethodINetworkPolicyManagerSetSubscriptionPlans + const MethodINetworkPolicyManagerSetUidPolicy + const MethodINetworkPolicyManagerSetWifiMeteredOverride + const MethodINetworkPolicyManagerSnoozeLimit + const MethodINetworkPolicyManagerUnregisterListener + const MethodINetworkRecommendationProviderRequestScores + const MethodINetworkScoreCacheClearScores + const MethodINetworkScoreCacheUpdateScores + const MethodINetworkScoreServiceClearScores + const MethodINetworkScoreServiceDisableScoring + const MethodINetworkScoreServiceGetActiveScorer + const MethodINetworkScoreServiceGetActiveScorerPackage + const MethodINetworkScoreServiceGetAllValidScorers + const MethodINetworkScoreServiceIsCallerActiveScorer + const MethodINetworkScoreServiceRegisterNetworkScoreCache + const MethodINetworkScoreServiceRequestScores + const MethodINetworkScoreServiceSetActiveScorer + const MethodINetworkScoreServiceUnregisterNetworkScoreCache + const MethodINetworkScoreServiceUpdateScores + const MethodIPacProxyInstalledListenerOnPacProxyInstalled + const MethodIPacProxyManagerAddListener + const MethodIPacProxyManagerRemoveListener + const MethodIPacProxyManagerSetCurrentProxyScriptUrl + const MethodIVpnManagerAddVpnAddress + const MethodIVpnManagerDeleteVpnProfile + const MethodIVpnManagerEstablishVpn + const MethodIVpnManagerFactoryReset + const MethodIVpnManagerGetAlwaysOnVpnPackage + const MethodIVpnManagerGetAppExclusionList + const MethodIVpnManagerGetLegacyVpnInfo + const MethodIVpnManagerGetProvisionedVpnProfileState + const MethodIVpnManagerGetVpnConfig + const MethodIVpnManagerGetVpnLockdownAllowlist + const MethodIVpnManagerIsAlwaysOnVpnPackageSupported + const MethodIVpnManagerIsCallerCurrentAlwaysOnVpnApp + const MethodIVpnManagerIsCallerCurrentAlwaysOnVpnLockdownApp + const MethodIVpnManagerIsVpnLockdownEnabled + const MethodIVpnManagerPrepareVpn + const MethodIVpnManagerProvisionVpnProfile + const MethodIVpnManagerRemoveVpnAddress + const MethodIVpnManagerSetAlwaysOnVpnPackage + const MethodIVpnManagerSetAppExclusionList + const MethodIVpnManagerSetUnderlyingNetworksForVpn + const MethodIVpnManagerSetVpnPackageAuthorization + const MethodIVpnManagerStartLegacyVpn + const MethodIVpnManagerStartVpnProfile + const MethodIVpnManagerStopVpnProfile + const MethodIVpnManagerUpdateLockdownVpn + const TransactionIIpConnectivityMetricsAddNetdEventCallback + const TransactionIIpConnectivityMetricsLogDefaultNetworkEvent + const TransactionIIpConnectivityMetricsLogDefaultNetworkValidity + const TransactionIIpConnectivityMetricsLogEvent + const TransactionIIpConnectivityMetricsRemoveNetdEventCallback + const TransactionINetdEventCallbackOnConnectEvent + const TransactionINetdEventCallbackOnDnsEvent + const TransactionINetdEventCallbackOnNat64PrefixEvent + const TransactionINetdEventCallbackOnPrivateDnsValidationEvent + const TransactionINetworkManagementEventObserverAddressRemoved + const TransactionINetworkManagementEventObserverAddressUpdated + const TransactionINetworkManagementEventObserverInterfaceAdded + const TransactionINetworkManagementEventObserverInterfaceClassDataActivityChanged + const TransactionINetworkManagementEventObserverInterfaceDnsServerInfo + const TransactionINetworkManagementEventObserverInterfaceLinkStateChanged + const TransactionINetworkManagementEventObserverInterfaceRemoved + const TransactionINetworkManagementEventObserverInterfaceStatusChanged + const TransactionINetworkManagementEventObserverLimitReached + const TransactionINetworkManagementEventObserverRouteRemoved + const TransactionINetworkManagementEventObserverRouteUpdated + const TransactionINetworkPolicyListenerOnBlockedReasonChanged + const TransactionINetworkPolicyListenerOnMeteredIfacesChanged + const TransactionINetworkPolicyListenerOnRestrictBackgroundChanged + const TransactionINetworkPolicyListenerOnSubscriptionOverride + const TransactionINetworkPolicyListenerOnSubscriptionPlansChanged + const TransactionINetworkPolicyListenerOnUidPoliciesChanged + const TransactionINetworkPolicyListenerOnUidRulesChanged + const TransactionINetworkPolicyManagerAddUidPolicy + const TransactionINetworkPolicyManagerFactoryReset + const TransactionINetworkPolicyManagerGetMultipathPreference + const TransactionINetworkPolicyManagerGetNetworkPolicies + const TransactionINetworkPolicyManagerGetRestrictBackground + const TransactionINetworkPolicyManagerGetRestrictBackgroundByCaller + const TransactionINetworkPolicyManagerGetRestrictBackgroundStatus + const TransactionINetworkPolicyManagerGetSubscriptionPlan + const TransactionINetworkPolicyManagerGetSubscriptionPlans + const TransactionINetworkPolicyManagerGetSubscriptionPlansOwner + const TransactionINetworkPolicyManagerGetUidPolicy + const TransactionINetworkPolicyManagerGetUidsWithPolicy + const TransactionINetworkPolicyManagerIsUidNetworkingBlocked + const TransactionINetworkPolicyManagerIsUidRestrictedOnMeteredNetworks + const TransactionINetworkPolicyManagerNotifyStatsProviderWarningOrLimitReached + const TransactionINetworkPolicyManagerRegisterListener + const TransactionINetworkPolicyManagerRemoveUidPolicy + const TransactionINetworkPolicyManagerSetDeviceIdleMode + const TransactionINetworkPolicyManagerSetNetworkPolicies + const TransactionINetworkPolicyManagerSetRestrictBackground + const TransactionINetworkPolicyManagerSetSubscriptionOverride + const TransactionINetworkPolicyManagerSetSubscriptionPlans + const TransactionINetworkPolicyManagerSetUidPolicy + const TransactionINetworkPolicyManagerSetWifiMeteredOverride + const TransactionINetworkPolicyManagerSnoozeLimit + const TransactionINetworkPolicyManagerUnregisterListener + const TransactionINetworkRecommendationProviderRequestScores + const TransactionINetworkScoreCacheClearScores + const TransactionINetworkScoreCacheUpdateScores + const TransactionINetworkScoreServiceClearScores + const TransactionINetworkScoreServiceDisableScoring + const TransactionINetworkScoreServiceGetActiveScorer + const TransactionINetworkScoreServiceGetActiveScorerPackage + const TransactionINetworkScoreServiceGetAllValidScorers + const TransactionINetworkScoreServiceIsCallerActiveScorer + const TransactionINetworkScoreServiceRegisterNetworkScoreCache + const TransactionINetworkScoreServiceRequestScores + const TransactionINetworkScoreServiceSetActiveScorer + const TransactionINetworkScoreServiceUnregisterNetworkScoreCache + const TransactionINetworkScoreServiceUpdateScores + const TransactionIPacProxyInstalledListenerOnPacProxyInstalled + const TransactionIPacProxyManagerAddListener + const TransactionIPacProxyManagerRemoveListener + const TransactionIPacProxyManagerSetCurrentProxyScriptUrl + const TransactionIVpnManagerAddVpnAddress + const TransactionIVpnManagerDeleteVpnProfile + const TransactionIVpnManagerEstablishVpn + const TransactionIVpnManagerFactoryReset + const TransactionIVpnManagerGetAlwaysOnVpnPackage + const TransactionIVpnManagerGetAppExclusionList + const TransactionIVpnManagerGetLegacyVpnInfo + const TransactionIVpnManagerGetProvisionedVpnProfileState + const TransactionIVpnManagerGetVpnConfig + const TransactionIVpnManagerGetVpnLockdownAllowlist + const TransactionIVpnManagerIsAlwaysOnVpnPackageSupported + const TransactionIVpnManagerIsCallerCurrentAlwaysOnVpnApp + const TransactionIVpnManagerIsCallerCurrentAlwaysOnVpnLockdownApp + const TransactionIVpnManagerIsVpnLockdownEnabled + const TransactionIVpnManagerPrepareVpn + const TransactionIVpnManagerProvisionVpnProfile + const TransactionIVpnManagerRemoveVpnAddress + const TransactionIVpnManagerSetAlwaysOnVpnPackage + const TransactionIVpnManagerSetAppExclusionList + const TransactionIVpnManagerSetUnderlyingNetworksForVpn + const TransactionIVpnManagerSetVpnPackageAuthorization + const TransactionIVpnManagerStartLegacyVpn + const TransactionIVpnManagerStartVpnProfile + const TransactionIVpnManagerStopVpnProfile + const TransactionIVpnManagerUpdateLockdownVpn + type ConnectivityMetricsEvent struct + Ifname string + NetId int32 + Timestamp int64 + Transports int64 + func (s *ConnectivityMetricsEvent) MarshalParcel(p *parcel.Parcel) error + func (s *ConnectivityMetricsEvent) UnmarshalParcel(p *parcel.Parcel) error + type IIpConnectivityMetrics interface + AddNetdEventCallback func(ctx context.Context, callerType int32, callback INetdEventCallback) (bool, error) + AsBinder func() binder.IBinder + LogDefaultNetworkEvent func(ctx context.Context, defaultNetwork any, score int32, validated bool, lp any, ...) error + LogDefaultNetworkValidity func(ctx context.Context, valid bool) error + LogEvent func(ctx context.Context, event ConnectivityMetricsEvent) (int32, error) + RemoveNetdEventCallback func(ctx context.Context, callerType int32) (bool, error) + func NewIpConnectivityMetricsStub(impl IIpConnectivityMetricsServer) IIpConnectivityMetrics + type IIpConnectivityMetricsServer interface + AddNetdEventCallback func(ctx context.Context, callerType int32, callback INetdEventCallback) (bool, error) + LogDefaultNetworkEvent func(ctx context.Context, defaultNetwork any, score int32, validated bool, lp any, ...) error + LogDefaultNetworkValidity func(ctx context.Context, valid bool) error + LogEvent func(ctx context.Context, event ConnectivityMetricsEvent) (int32, error) + RemoveNetdEventCallback func(ctx context.Context, callerType int32) (bool, error) + type INetdEventCallback interface + AsBinder func() binder.IBinder + OnConnectEvent func(ctx context.Context, ipAddr string, port int32, timestamp int64, uid int32) error + OnDnsEvent func(ctx context.Context, netId int32, eventType int32, returnCode int32, ...) error + OnNat64PrefixEvent func(ctx context.Context, netId int32, added bool, prefixString string, ...) error + OnPrivateDnsValidationEvent func(ctx context.Context, netId int32, ipAddress string, hostname string, ...) error + func NewNetdEventCallbackStub(impl INetdEventCallbackServer) INetdEventCallback + type INetdEventCallbackServer interface + OnConnectEvent func(ctx context.Context, ipAddr string, port int32, timestamp int64, uid int32) error + OnDnsEvent func(ctx context.Context, netId int32, eventType int32, returnCode int32, ...) error + OnNat64PrefixEvent func(ctx context.Context, netId int32, added bool, prefixString string, ...) error + OnPrivateDnsValidationEvent func(ctx context.Context, netId int32, ipAddress string, hostname string, ...) error + type INetworkManagementEventObserver interface + AddressRemoved func(ctx context.Context, iface string, address data.LinkAddress) error + AddressUpdated func(ctx context.Context, iface string, address data.LinkAddress) error + AsBinder func() binder.IBinder + InterfaceAdded func(ctx context.Context, iface string) error + InterfaceClassDataActivityChanged func(ctx context.Context, label int32, active bool, tsNanos int64, uid int32) error + InterfaceDnsServerInfo func(ctx context.Context, iface string, lifetime int64, servers []string) error + InterfaceLinkStateChanged func(ctx context.Context, iface string, up bool) error + InterfaceRemoved func(ctx context.Context, iface string) error + InterfaceStatusChanged func(ctx context.Context, iface string, up bool) error + LimitReached func(ctx context.Context, limitName string, iface string) error + RouteRemoved func(ctx context.Context, route any) error + RouteUpdated func(ctx context.Context, route any) error + func NewNetworkManagementEventObserverStub(impl INetworkManagementEventObserverServer) INetworkManagementEventObserver + type INetworkManagementEventObserverServer interface + AddressRemoved func(ctx context.Context, iface string, address data.LinkAddress) error + AddressUpdated func(ctx context.Context, iface string, address data.LinkAddress) error + InterfaceAdded func(ctx context.Context, iface string) error + InterfaceClassDataActivityChanged func(ctx context.Context, label int32, active bool, tsNanos int64, uid int32) error + InterfaceDnsServerInfo func(ctx context.Context, iface string, lifetime int64, servers []string) error + InterfaceLinkStateChanged func(ctx context.Context, iface string, up bool) error + InterfaceRemoved func(ctx context.Context, iface string) error + InterfaceStatusChanged func(ctx context.Context, iface string, up bool) error + LimitReached func(ctx context.Context, limitName string, iface string) error + RouteRemoved func(ctx context.Context, route any) error + RouteUpdated func(ctx context.Context, route any) error + type INetworkPolicyListener interface + AsBinder func() binder.IBinder + OnBlockedReasonChanged func(ctx context.Context, uid int32, oldBlockedReason int32, newBlockedReason int32) error + OnMeteredIfacesChanged func(ctx context.Context, meteredIfaces []string) error + OnRestrictBackgroundChanged func(ctx context.Context, restrictBackground bool) error + OnSubscriptionOverride func(ctx context.Context, subId int32, overrideMask int32, overrideValue int32, ...) error + OnSubscriptionPlansChanged func(ctx context.Context, subId int32, plans []telephony.SubscriptionPlan) error + OnUidPoliciesChanged func(ctx context.Context, uid int32, uidPolicies int32) error + OnUidRulesChanged func(ctx context.Context, uid int32, uidRules int32) error + func NewNetworkPolicyListenerStub(impl INetworkPolicyListenerServer) INetworkPolicyListener + type INetworkPolicyListenerServer interface + OnBlockedReasonChanged func(ctx context.Context, uid int32, oldBlockedReason int32, newBlockedReason int32) error + OnMeteredIfacesChanged func(ctx context.Context, meteredIfaces []string) error + OnRestrictBackgroundChanged func(ctx context.Context, restrictBackground bool) error + OnSubscriptionOverride func(ctx context.Context, subId int32, overrideMask int32, overrideValue int32, ...) error + OnSubscriptionPlansChanged func(ctx context.Context, subId int32, plans []telephony.SubscriptionPlan) error + OnUidPoliciesChanged func(ctx context.Context, uid int32, uidPolicies int32) error + OnUidRulesChanged func(ctx context.Context, uid int32, uidRules int32) error + type INetworkPolicyManager interface + AddUidPolicy func(ctx context.Context, uid int32, policy int32) error + AsBinder func() binder.IBinder + FactoryReset func(ctx context.Context, subscriber string) error + GetMultipathPreference func(ctx context.Context, network any) (int32, error) + GetNetworkPolicies func(ctx context.Context) ([]NetworkPolicy, error) + GetRestrictBackground func(ctx context.Context) (bool, error) + GetRestrictBackgroundByCaller func(ctx context.Context) (int32, error) + GetRestrictBackgroundStatus func(ctx context.Context, uid int32) (int32, error) + GetSubscriptionPlan func(ctx context.Context, template any) (telephony.SubscriptionPlan, error) + GetSubscriptionPlans func(ctx context.Context, subId int32) ([]telephony.SubscriptionPlan, error) + GetSubscriptionPlansOwner func(ctx context.Context, subId int32) (string, error) + GetUidPolicy func(ctx context.Context, uid int32) (int32, error) + GetUidsWithPolicy func(ctx context.Context, policy int32) ([]int32, error) + IsUidNetworkingBlocked func(ctx context.Context, uid int32, meteredNetwork bool) (bool, error) + IsUidRestrictedOnMeteredNetworks func(ctx context.Context, uid int32) (bool, error) + NotifyStatsProviderWarningOrLimitReached func(ctx context.Context) error + RegisterListener func(ctx context.Context, listener INetworkPolicyListener) error + RemoveUidPolicy func(ctx context.Context, uid int32, policy int32) error + SetDeviceIdleMode func(ctx context.Context, enabled bool) error + SetNetworkPolicies func(ctx context.Context, policies []NetworkPolicy) error + SetRestrictBackground func(ctx context.Context, restrictBackground bool) error + SetSubscriptionOverride func(ctx context.Context, subId int32, overrideMask int32, overrideValue int32, ...) error + SetSubscriptionPlans func(ctx context.Context, subId int32, plans []telephony.SubscriptionPlan, ...) error + SetUidPolicy func(ctx context.Context, uid int32, policy int32) error + SetWifiMeteredOverride func(ctx context.Context, networkId string, meteredOverride int32) error + SnoozeLimit func(ctx context.Context, template any) error + UnregisterListener func(ctx context.Context, listener INetworkPolicyListener) error + func NewNetworkPolicyManagerStub(impl INetworkPolicyManagerServer) INetworkPolicyManager + type INetworkPolicyManagerServer interface + AddUidPolicy func(ctx context.Context, uid int32, policy int32) error + FactoryReset func(ctx context.Context, subscriber string) error + GetMultipathPreference func(ctx context.Context, network any) (int32, error) + GetNetworkPolicies func(ctx context.Context) ([]NetworkPolicy, error) + GetRestrictBackground func(ctx context.Context) (bool, error) + GetRestrictBackgroundByCaller func(ctx context.Context) (int32, error) + GetRestrictBackgroundStatus func(ctx context.Context, uid int32) (int32, error) + GetSubscriptionPlan func(ctx context.Context, template any) (telephony.SubscriptionPlan, error) + GetSubscriptionPlans func(ctx context.Context, subId int32) ([]telephony.SubscriptionPlan, error) + GetSubscriptionPlansOwner func(ctx context.Context, subId int32) (string, error) + GetUidPolicy func(ctx context.Context, uid int32) (int32, error) + GetUidsWithPolicy func(ctx context.Context, policy int32) ([]int32, error) + IsUidNetworkingBlocked func(ctx context.Context, uid int32, meteredNetwork bool) (bool, error) + IsUidRestrictedOnMeteredNetworks func(ctx context.Context, uid int32) (bool, error) + NotifyStatsProviderWarningOrLimitReached func(ctx context.Context) error + RegisterListener func(ctx context.Context, listener INetworkPolicyListener) error + RemoveUidPolicy func(ctx context.Context, uid int32, policy int32) error + SetDeviceIdleMode func(ctx context.Context, enabled bool) error + SetNetworkPolicies func(ctx context.Context, policies []NetworkPolicy) error + SetRestrictBackground func(ctx context.Context, restrictBackground bool) error + SetSubscriptionOverride func(ctx context.Context, subId int32, overrideMask int32, overrideValue int32, ...) error + SetSubscriptionPlans func(ctx context.Context, subId int32, plans []telephony.SubscriptionPlan, ...) error + SetUidPolicy func(ctx context.Context, uid int32, policy int32) error + SetWifiMeteredOverride func(ctx context.Context, networkId string, meteredOverride int32) error + SnoozeLimit func(ctx context.Context, template any) error + UnregisterListener func(ctx context.Context, listener INetworkPolicyListener) error + type INetworkRecommendationProvider interface + AsBinder func() binder.IBinder + RequestScores func(ctx context.Context, networks []NetworkKey) error + func NewNetworkRecommendationProviderStub(impl INetworkRecommendationProviderServer) INetworkRecommendationProvider + type INetworkRecommendationProviderServer interface + RequestScores func(ctx context.Context, networks []NetworkKey) error + type INetworkScoreCache interface + AsBinder func() binder.IBinder + ClearScores func(ctx context.Context) error + UpdateScores func(ctx context.Context, networks []ScoredNetwork) error + func NewNetworkScoreCacheStub(impl INetworkScoreCacheServer) INetworkScoreCache + type INetworkScoreCacheServer interface + ClearScores func(ctx context.Context) error + UpdateScores func(ctx context.Context, networks []ScoredNetwork) error + type INetworkScoreService interface + AsBinder func() binder.IBinder + ClearScores func(ctx context.Context) (bool, error) + DisableScoring func(ctx context.Context) error + GetActiveScorer func(ctx context.Context) (NetworkScorerAppData, error) + GetActiveScorerPackage func(ctx context.Context) (string, error) + GetAllValidScorers func(ctx context.Context) ([]NetworkScorerAppData, error) + IsCallerActiveScorer func(ctx context.Context) (bool, error) + RegisterNetworkScoreCache func(ctx context.Context, networkType int32, scoreCache INetworkScoreCache, ...) error + RequestScores func(ctx context.Context, networks []NetworkKey) (bool, error) + SetActiveScorer func(ctx context.Context, packageName string) (bool, error) + UnregisterNetworkScoreCache func(ctx context.Context, networkType int32, scoreCache INetworkScoreCache) error + UpdateScores func(ctx context.Context, networks []ScoredNetwork) (bool, error) + func NewNetworkScoreServiceStub(impl INetworkScoreServiceServer) INetworkScoreService + type INetworkScoreServiceServer interface + ClearScores func(ctx context.Context) (bool, error) + DisableScoring func(ctx context.Context) error + GetActiveScorer func(ctx context.Context) (NetworkScorerAppData, error) + GetActiveScorerPackage func(ctx context.Context) (string, error) + GetAllValidScorers func(ctx context.Context) ([]NetworkScorerAppData, error) + IsCallerActiveScorer func(ctx context.Context) (bool, error) + RegisterNetworkScoreCache func(ctx context.Context, networkType int32, scoreCache INetworkScoreCache, ...) error + RequestScores func(ctx context.Context, networks []NetworkKey) (bool, error) + SetActiveScorer func(ctx context.Context, packageName string) (bool, error) + UnregisterNetworkScoreCache func(ctx context.Context, networkType int32, scoreCache INetworkScoreCache) error + UpdateScores func(ctx context.Context, networks []ScoredNetwork) (bool, error) + type IPacProxyInstalledListener interface + AsBinder func() binder.IBinder + OnPacProxyInstalled func(ctx context.Context, network any, proxy any) error + func NewPacProxyInstalledListenerStub(impl IPacProxyInstalledListenerServer) IPacProxyInstalledListener + type IPacProxyInstalledListenerServer interface + OnPacProxyInstalled func(ctx context.Context, network any, proxy any) error + type IPacProxyManager interface + AddListener func(ctx context.Context, listener IPacProxyInstalledListener) error + AsBinder func() binder.IBinder + RemoveListener func(ctx context.Context, listener IPacProxyInstalledListener) error + SetCurrentProxyScriptUrl func(ctx context.Context, proxyInfo any) error + func NewPacProxyManagerStub(impl IPacProxyManagerServer) IPacProxyManager + type IPacProxyManagerServer interface + AddListener func(ctx context.Context, listener IPacProxyInstalledListener) error + RemoveListener func(ctx context.Context, listener IPacProxyInstalledListener) error + SetCurrentProxyScriptUrl func(ctx context.Context, proxyInfo any) error + type IVpnManager interface + AddVpnAddress func(ctx context.Context, address string, prefixLength int32) (bool, error) + AsBinder func() binder.IBinder + DeleteVpnProfile func(ctx context.Context, packageName string) error + EstablishVpn func(ctx context.Context, config internalNet.VpnConfig) (int32, error) + FactoryReset func(ctx context.Context) error + GetAlwaysOnVpnPackage func(ctx context.Context) (string, error) + GetAppExclusionList func(ctx context.Context, vpnPackage string) ([]string, error) + GetLegacyVpnInfo func(ctx context.Context) (internalNet.LegacyVpnInfo, error) + GetProvisionedVpnProfileState func(ctx context.Context, packageName string) (VpnProfileState, error) + GetVpnConfig func(ctx context.Context) (internalNet.VpnConfig, error) + GetVpnLockdownAllowlist func(ctx context.Context) ([]string, error) + IsAlwaysOnVpnPackageSupported func(ctx context.Context, packageName string) (bool, error) + IsCallerCurrentAlwaysOnVpnApp func(ctx context.Context) (bool, error) + IsCallerCurrentAlwaysOnVpnLockdownApp func(ctx context.Context) (bool, error) + IsVpnLockdownEnabled func(ctx context.Context) (bool, error) + PrepareVpn func(ctx context.Context, oldPackage string, newPackage string) (bool, error) + ProvisionVpnProfile func(ctx context.Context, profile internalNet.VpnProfile, packageName string) (bool, error) + RemoveVpnAddress func(ctx context.Context, address string, prefixLength int32) (bool, error) + SetAlwaysOnVpnPackage func(ctx context.Context, packageName string, lockdown bool, ...) (bool, error) + SetAppExclusionList func(ctx context.Context, vpnPackage string, excludedApps []string) (bool, error) + SetUnderlyingNetworksForVpn func(ctx context.Context, networks []any) (bool, error) + SetVpnPackageAuthorization func(ctx context.Context, packageName string, vpnType int32) error + StartLegacyVpn func(ctx context.Context, profile internalNet.VpnProfile) error + StartVpnProfile func(ctx context.Context, packageName string) (string, error) + StopVpnProfile func(ctx context.Context, packageName string) error + UpdateLockdownVpn func(ctx context.Context) (bool, error) + func NewVpnManagerStub(impl IVpnManagerServer) IVpnManager + type IVpnManagerServer interface + AddVpnAddress func(ctx context.Context, address string, prefixLength int32) (bool, error) + DeleteVpnProfile func(ctx context.Context, packageName string) error + EstablishVpn func(ctx context.Context, config internalNet.VpnConfig) (int32, error) + FactoryReset func(ctx context.Context) error + GetAlwaysOnVpnPackage func(ctx context.Context) (string, error) + GetAppExclusionList func(ctx context.Context, vpnPackage string) ([]string, error) + GetLegacyVpnInfo func(ctx context.Context) (internalNet.LegacyVpnInfo, error) + GetProvisionedVpnProfileState func(ctx context.Context, packageName string) (VpnProfileState, error) + GetVpnConfig func(ctx context.Context) (internalNet.VpnConfig, error) + GetVpnLockdownAllowlist func(ctx context.Context) ([]string, error) + IsAlwaysOnVpnPackageSupported func(ctx context.Context, packageName string) (bool, error) + IsCallerCurrentAlwaysOnVpnApp func(ctx context.Context) (bool, error) + IsCallerCurrentAlwaysOnVpnLockdownApp func(ctx context.Context) (bool, error) + IsVpnLockdownEnabled func(ctx context.Context) (bool, error) + PrepareVpn func(ctx context.Context, oldPackage string, newPackage string) (bool, error) + ProvisionVpnProfile func(ctx context.Context, profile internalNet.VpnProfile, packageName string) (bool, error) + RemoveVpnAddress func(ctx context.Context, address string, prefixLength int32) (bool, error) + SetAlwaysOnVpnPackage func(ctx context.Context, packageName string, lockdown bool, ...) (bool, error) + SetAppExclusionList func(ctx context.Context, vpnPackage string, excludedApps []string) (bool, error) + SetUnderlyingNetworksForVpn func(ctx context.Context, networks []any) (bool, error) + SetVpnPackageAuthorization func(ctx context.Context, packageName string, vpnType int32) error + StartLegacyVpn func(ctx context.Context, profile internalNet.VpnProfile) error + StartVpnProfile func(ctx context.Context, packageName string) (string, error) + StopVpnProfile func(ctx context.Context, packageName string) error + UpdateLockdownVpn func(ctx context.Context) (bool, error) + type InterfaceConfiguration struct + HwAddr string + func (s *InterfaceConfiguration) MarshalParcel(p *parcel.Parcel) error + func (s *InterfaceConfiguration) UnmarshalParcel(p *parcel.Parcel) error + type IpConnectivityMetricsProxy struct + Remote binder.IBinder + func NewIpConnectivityMetricsProxy(remote binder.IBinder) *IpConnectivityMetricsProxy + func (p *IpConnectivityMetricsProxy) AddNetdEventCallback(ctx context.Context, callerType int32, callback INetdEventCallback) (bool, error) + func (p *IpConnectivityMetricsProxy) AsBinder() binder.IBinder + func (p *IpConnectivityMetricsProxy) LogDefaultNetworkEvent(ctx context.Context, defaultNetwork any, score int32, validated bool, lp any, ...) error + func (p *IpConnectivityMetricsProxy) LogDefaultNetworkValidity(ctx context.Context, valid bool) error + func (p *IpConnectivityMetricsProxy) LogEvent(ctx context.Context, event ConnectivityMetricsEvent) (int32, error) + func (p *IpConnectivityMetricsProxy) RemoveNetdEventCallback(ctx context.Context, callerType int32) (bool, error) + type IpConnectivityMetricsStub struct + Impl IIpConnectivityMetrics + Transport binder.VersionAwareTransport + func (s *IpConnectivityMetricsStub) Descriptor() string + func (s *IpConnectivityMetricsStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type LinkQualityInfo struct + DataSampleDuration int32 + LastDataSampleTime int64 + NetworkType int32 + NormalizedSignalStrength int32 + ObjectType int32 + PacketCount int64 + PacketErrorCount int64 + TheoreticalLatency int32 + TheoreticalRxBandwidth int32 + TheoreticalTxBandwidth int32 + func (s *LinkQualityInfo) MarshalParcel(p *parcel.Parcel) error + func (s *LinkQualityInfo) UnmarshalParcel(p *parcel.Parcel) error + type NattKeepalivePacketData struct + func (s *NattKeepalivePacketData) MarshalParcel(p *parcel.Parcel) error + func (s *NattKeepalivePacketData) UnmarshalParcel(p *parcel.Parcel) error + type NetdEventCallbackProxy struct + Remote binder.IBinder + func NewNetdEventCallbackProxy(remote binder.IBinder) *NetdEventCallbackProxy + func (p *NetdEventCallbackProxy) AsBinder() binder.IBinder + func (p *NetdEventCallbackProxy) OnConnectEvent(ctx context.Context, ipAddr string, port int32, timestamp int64, uid int32) error + func (p *NetdEventCallbackProxy) OnDnsEvent(ctx context.Context, netId int32, eventType int32, returnCode int32, ...) error + func (p *NetdEventCallbackProxy) OnNat64PrefixEvent(ctx context.Context, netId int32, added bool, prefixString string, ...) error + func (p *NetdEventCallbackProxy) OnPrivateDnsValidationEvent(ctx context.Context, netId int32, ipAddress string, hostname string, ...) error + type NetdEventCallbackStub struct + Impl INetdEventCallback + Transport binder.VersionAwareTransport + func (s *NetdEventCallbackStub) Descriptor() string + func (s *NetdEventCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkKey struct + Type int32 + func (s *NetworkKey) MarshalParcel(p *parcel.Parcel) error + func (s *NetworkKey) UnmarshalParcel(p *parcel.Parcel) error + type NetworkManagementEventObserverProxy struct + Remote binder.IBinder + func NewNetworkManagementEventObserverProxy(remote binder.IBinder) *NetworkManagementEventObserverProxy + func (p *NetworkManagementEventObserverProxy) AddressRemoved(ctx context.Context, iface string, address data.LinkAddress) error + func (p *NetworkManagementEventObserverProxy) AddressUpdated(ctx context.Context, iface string, address data.LinkAddress) error + func (p *NetworkManagementEventObserverProxy) AsBinder() binder.IBinder + func (p *NetworkManagementEventObserverProxy) InterfaceAdded(ctx context.Context, iface string) error + func (p *NetworkManagementEventObserverProxy) InterfaceClassDataActivityChanged(ctx context.Context, label int32, active bool, tsNanos int64, uid int32) error + func (p *NetworkManagementEventObserverProxy) InterfaceDnsServerInfo(ctx context.Context, iface string, lifetime int64, servers []string) error + func (p *NetworkManagementEventObserverProxy) InterfaceLinkStateChanged(ctx context.Context, iface string, up bool) error + func (p *NetworkManagementEventObserverProxy) InterfaceRemoved(ctx context.Context, iface string) error + func (p *NetworkManagementEventObserverProxy) InterfaceStatusChanged(ctx context.Context, iface string, up bool) error + func (p *NetworkManagementEventObserverProxy) LimitReached(ctx context.Context, limitName string, iface string) error + func (p *NetworkManagementEventObserverProxy) RouteRemoved(ctx context.Context, route any) error + func (p *NetworkManagementEventObserverProxy) RouteUpdated(ctx context.Context, route any) error + type NetworkManagementEventObserverStub struct + Impl INetworkManagementEventObserver + Transport binder.VersionAwareTransport + func (s *NetworkManagementEventObserverStub) Descriptor() string + func (s *NetworkManagementEventObserverStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkPolicy struct + LastLimitSnooze int64 + LastRapidSnooze int64 + LastWarningSnooze int64 + LimitBytes int64 + WarningBytes int64 + func (s *NetworkPolicy) MarshalParcel(p *parcel.Parcel) error + func (s *NetworkPolicy) UnmarshalParcel(p *parcel.Parcel) error + type NetworkPolicyListenerProxy struct + Remote binder.IBinder + func NewNetworkPolicyListenerProxy(remote binder.IBinder) *NetworkPolicyListenerProxy + func (p *NetworkPolicyListenerProxy) AsBinder() binder.IBinder + func (p *NetworkPolicyListenerProxy) OnBlockedReasonChanged(ctx context.Context, uid int32, oldBlockedReason int32, newBlockedReason int32) error + func (p *NetworkPolicyListenerProxy) OnMeteredIfacesChanged(ctx context.Context, meteredIfaces []string) error + func (p *NetworkPolicyListenerProxy) OnRestrictBackgroundChanged(ctx context.Context, restrictBackground bool) error + func (p *NetworkPolicyListenerProxy) OnSubscriptionOverride(ctx context.Context, subId int32, overrideMask int32, overrideValue int32, ...) error + func (p *NetworkPolicyListenerProxy) OnSubscriptionPlansChanged(ctx context.Context, subId int32, plans []telephony.SubscriptionPlan) error + func (p *NetworkPolicyListenerProxy) OnUidPoliciesChanged(ctx context.Context, uid int32, uidPolicies int32) error + func (p *NetworkPolicyListenerProxy) OnUidRulesChanged(ctx context.Context, uid int32, uidRules int32) error + type NetworkPolicyListenerStub struct + Impl INetworkPolicyListener + Transport binder.VersionAwareTransport + func (s *NetworkPolicyListenerStub) Descriptor() string + func (s *NetworkPolicyListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkPolicyManagerProxy struct + Remote binder.IBinder + func GetNetworkPolicyManager(ctx context.Context, sm *servicemanager.ServiceManager) (*NetworkPolicyManagerProxy, error) + func NewNetworkPolicyManagerProxy(remote binder.IBinder) *NetworkPolicyManagerProxy + func (p *NetworkPolicyManagerProxy) AddUidPolicy(ctx context.Context, uid int32, policy int32) error + func (p *NetworkPolicyManagerProxy) AsBinder() binder.IBinder + func (p *NetworkPolicyManagerProxy) FactoryReset(ctx context.Context, subscriber string) error + func (p *NetworkPolicyManagerProxy) GetMultipathPreference(ctx context.Context, network any) (int32, error) + func (p *NetworkPolicyManagerProxy) GetNetworkPolicies(ctx context.Context) ([]NetworkPolicy, error) + func (p *NetworkPolicyManagerProxy) GetRestrictBackground(ctx context.Context) (bool, error) + func (p *NetworkPolicyManagerProxy) GetRestrictBackgroundByCaller(ctx context.Context) (int32, error) + func (p *NetworkPolicyManagerProxy) GetRestrictBackgroundStatus(ctx context.Context, uid int32) (int32, error) + func (p *NetworkPolicyManagerProxy) GetSubscriptionPlan(ctx context.Context, template any) (telephony.SubscriptionPlan, error) + func (p *NetworkPolicyManagerProxy) GetSubscriptionPlans(ctx context.Context, subId int32) ([]telephony.SubscriptionPlan, error) + func (p *NetworkPolicyManagerProxy) GetSubscriptionPlansOwner(ctx context.Context, subId int32) (string, error) + func (p *NetworkPolicyManagerProxy) GetUidPolicy(ctx context.Context, uid int32) (int32, error) + func (p *NetworkPolicyManagerProxy) GetUidsWithPolicy(ctx context.Context, policy int32) ([]int32, error) + func (p *NetworkPolicyManagerProxy) IsUidNetworkingBlocked(ctx context.Context, uid int32, meteredNetwork bool) (bool, error) + func (p *NetworkPolicyManagerProxy) IsUidRestrictedOnMeteredNetworks(ctx context.Context, uid int32) (bool, error) + func (p *NetworkPolicyManagerProxy) NotifyStatsProviderWarningOrLimitReached(ctx context.Context) error + func (p *NetworkPolicyManagerProxy) RegisterListener(ctx context.Context, listener INetworkPolicyListener) error + func (p *NetworkPolicyManagerProxy) RemoveUidPolicy(ctx context.Context, uid int32, policy int32) error + func (p *NetworkPolicyManagerProxy) SetDeviceIdleMode(ctx context.Context, enabled bool) error + func (p *NetworkPolicyManagerProxy) SetNetworkPolicies(ctx context.Context, policies []NetworkPolicy) error + func (p *NetworkPolicyManagerProxy) SetRestrictBackground(ctx context.Context, restrictBackground bool) error + func (p *NetworkPolicyManagerProxy) SetSubscriptionOverride(ctx context.Context, subId int32, overrideMask int32, overrideValue int32, ...) error + func (p *NetworkPolicyManagerProxy) SetSubscriptionPlans(ctx context.Context, subId int32, plans []telephony.SubscriptionPlan, ...) error + func (p *NetworkPolicyManagerProxy) SetUidPolicy(ctx context.Context, uid int32, policy int32) error + func (p *NetworkPolicyManagerProxy) SetWifiMeteredOverride(ctx context.Context, networkId string, meteredOverride int32) error + func (p *NetworkPolicyManagerProxy) SnoozeLimit(ctx context.Context, template any) error + func (p *NetworkPolicyManagerProxy) UnregisterListener(ctx context.Context, listener INetworkPolicyListener) error + type NetworkPolicyManagerStub struct + Impl INetworkPolicyManager + Transport binder.VersionAwareTransport + func (s *NetworkPolicyManagerStub) Descriptor() string + func (s *NetworkPolicyManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkQuotaInfo struct + func (s *NetworkQuotaInfo) MarshalParcel(p *parcel.Parcel) error + func (s *NetworkQuotaInfo) UnmarshalParcel(p *parcel.Parcel) error + type NetworkRecommendationProviderProxy struct + Remote binder.IBinder + func NewNetworkRecommendationProviderProxy(remote binder.IBinder) *NetworkRecommendationProviderProxy + func (p *NetworkRecommendationProviderProxy) AsBinder() binder.IBinder + func (p *NetworkRecommendationProviderProxy) RequestScores(ctx context.Context, networks []NetworkKey) error + type NetworkRecommendationProviderStub struct + Impl INetworkRecommendationProvider + Transport binder.VersionAwareTransport + func (s *NetworkRecommendationProviderStub) Descriptor() string + func (s *NetworkRecommendationProviderStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkScoreCacheProxy struct + Remote binder.IBinder + func NewNetworkScoreCacheProxy(remote binder.IBinder) *NetworkScoreCacheProxy + func (p *NetworkScoreCacheProxy) AsBinder() binder.IBinder + func (p *NetworkScoreCacheProxy) ClearScores(ctx context.Context) error + func (p *NetworkScoreCacheProxy) UpdateScores(ctx context.Context, networks []ScoredNetwork) error + type NetworkScoreCacheStub struct + Impl INetworkScoreCache + Transport binder.VersionAwareTransport + func (s *NetworkScoreCacheStub) Descriptor() string + func (s *NetworkScoreCacheStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkScoreServiceProxy struct + Remote binder.IBinder + func NewNetworkScoreServiceProxy(remote binder.IBinder) *NetworkScoreServiceProxy + func (p *NetworkScoreServiceProxy) AsBinder() binder.IBinder + func (p *NetworkScoreServiceProxy) ClearScores(ctx context.Context) (bool, error) + func (p *NetworkScoreServiceProxy) DisableScoring(ctx context.Context) error + func (p *NetworkScoreServiceProxy) GetActiveScorer(ctx context.Context) (NetworkScorerAppData, error) + func (p *NetworkScoreServiceProxy) GetActiveScorerPackage(ctx context.Context) (string, error) + func (p *NetworkScoreServiceProxy) GetAllValidScorers(ctx context.Context) ([]NetworkScorerAppData, error) + func (p *NetworkScoreServiceProxy) IsCallerActiveScorer(ctx context.Context) (bool, error) + func (p *NetworkScoreServiceProxy) RegisterNetworkScoreCache(ctx context.Context, networkType int32, scoreCache INetworkScoreCache, ...) error + func (p *NetworkScoreServiceProxy) RequestScores(ctx context.Context, networks []NetworkKey) (bool, error) + func (p *NetworkScoreServiceProxy) SetActiveScorer(ctx context.Context, packageName string) (bool, error) + func (p *NetworkScoreServiceProxy) UnregisterNetworkScoreCache(ctx context.Context, networkType int32, scoreCache INetworkScoreCache) error + func (p *NetworkScoreServiceProxy) UpdateScores(ctx context.Context, networks []ScoredNetwork) (bool, error) + type NetworkScoreServiceStub struct + Impl INetworkScoreService + Transport binder.VersionAwareTransport + func (s *NetworkScoreServiceStub) Descriptor() string + func (s *NetworkScoreServiceStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type NetworkScorerAppData struct + NetworkAvailableNotificationChannelId string + PackageUid int32 + RecommendationServiceLabel string + func (s *NetworkScorerAppData) MarshalParcel(p *parcel.Parcel) error + func (s *NetworkScorerAppData) UnmarshalParcel(p *parcel.Parcel) error + type NetworkState struct + func (s *NetworkState) MarshalParcel(p *parcel.Parcel) error + func (s *NetworkState) UnmarshalParcel(p *parcel.Parcel) error + type PacProxyInstalledListenerProxy struct + Remote binder.IBinder + func NewPacProxyInstalledListenerProxy(remote binder.IBinder) *PacProxyInstalledListenerProxy + func (p *PacProxyInstalledListenerProxy) AsBinder() binder.IBinder + func (p *PacProxyInstalledListenerProxy) OnPacProxyInstalled(ctx context.Context, network any, proxy any) error + type PacProxyInstalledListenerStub struct + Impl IPacProxyInstalledListener + Transport binder.VersionAwareTransport + func (s *PacProxyInstalledListenerStub) Descriptor() string + func (s *PacProxyInstalledListenerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type PacProxyManagerProxy struct + Remote binder.IBinder + func GetPacProxyManager(ctx context.Context, sm *servicemanager.ServiceManager) (*PacProxyManagerProxy, error) + func NewPacProxyManagerProxy(remote binder.IBinder) *PacProxyManagerProxy + func (p *PacProxyManagerProxy) AddListener(ctx context.Context, listener IPacProxyInstalledListener) error + func (p *PacProxyManagerProxy) AsBinder() binder.IBinder + func (p *PacProxyManagerProxy) RemoveListener(ctx context.Context, listener IPacProxyInstalledListener) error + func (p *PacProxyManagerProxy) SetCurrentProxyScriptUrl(ctx context.Context, proxyInfo any) error + type PacProxyManagerStub struct + Impl IPacProxyManager + Transport binder.VersionAwareTransport + func (s *PacProxyManagerStub) Descriptor() string + func (s *PacProxyManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type ScoredNetwork struct + func (s *ScoredNetwork) MarshalParcel(p *parcel.Parcel) error + func (s *ScoredNetwork) UnmarshalParcel(p *parcel.Parcel) error + type TcpKeepalivePacketData struct + func (s *TcpKeepalivePacketData) MarshalParcel(p *parcel.Parcel) error + func (s *TcpKeepalivePacketData) UnmarshalParcel(p *parcel.Parcel) error + type Uri struct + func (s *Uri) MarshalParcel(p *parcel.Parcel) error + func (s *Uri) UnmarshalParcel(p *parcel.Parcel) error + type VpnManagerProxy struct + Remote binder.IBinder + func GetVpnManager(ctx context.Context, sm *servicemanager.ServiceManager) (*VpnManagerProxy, error) + func NewVpnManagerProxy(remote binder.IBinder) *VpnManagerProxy + func (p *VpnManagerProxy) AddVpnAddress(ctx context.Context, address string, prefixLength int32) (bool, error) + func (p *VpnManagerProxy) AsBinder() binder.IBinder + func (p *VpnManagerProxy) DeleteVpnProfile(ctx context.Context, packageName string) error + func (p *VpnManagerProxy) EstablishVpn(ctx context.Context, config internalNet.VpnConfig) (int32, error) + func (p *VpnManagerProxy) FactoryReset(ctx context.Context) error + func (p *VpnManagerProxy) GetAlwaysOnVpnPackage(ctx context.Context) (string, error) + func (p *VpnManagerProxy) GetAppExclusionList(ctx context.Context, vpnPackage string) ([]string, error) + func (p *VpnManagerProxy) GetLegacyVpnInfo(ctx context.Context) (internalNet.LegacyVpnInfo, error) + func (p *VpnManagerProxy) GetProvisionedVpnProfileState(ctx context.Context, packageName string) (VpnProfileState, error) + func (p *VpnManagerProxy) GetVpnConfig(ctx context.Context) (internalNet.VpnConfig, error) + func (p *VpnManagerProxy) GetVpnLockdownAllowlist(ctx context.Context) ([]string, error) + func (p *VpnManagerProxy) IsAlwaysOnVpnPackageSupported(ctx context.Context, packageName string) (bool, error) + func (p *VpnManagerProxy) IsCallerCurrentAlwaysOnVpnApp(ctx context.Context) (bool, error) + func (p *VpnManagerProxy) IsCallerCurrentAlwaysOnVpnLockdownApp(ctx context.Context) (bool, error) + func (p *VpnManagerProxy) IsVpnLockdownEnabled(ctx context.Context) (bool, error) + func (p *VpnManagerProxy) PrepareVpn(ctx context.Context, oldPackage string, newPackage string) (bool, error) + func (p *VpnManagerProxy) ProvisionVpnProfile(ctx context.Context, profile internalNet.VpnProfile, packageName string) (bool, error) + func (p *VpnManagerProxy) RemoveVpnAddress(ctx context.Context, address string, prefixLength int32) (bool, error) + func (p *VpnManagerProxy) SetAlwaysOnVpnPackage(ctx context.Context, packageName string, lockdown bool, ...) (bool, error) + func (p *VpnManagerProxy) SetAppExclusionList(ctx context.Context, vpnPackage string, excludedApps []string) (bool, error) + func (p *VpnManagerProxy) SetUnderlyingNetworksForVpn(ctx context.Context, networks []any) (bool, error) + func (p *VpnManagerProxy) SetVpnPackageAuthorization(ctx context.Context, packageName string, vpnType int32) error + func (p *VpnManagerProxy) StartLegacyVpn(ctx context.Context, profile internalNet.VpnProfile) error + func (p *VpnManagerProxy) StartVpnProfile(ctx context.Context, packageName string) (string, error) + func (p *VpnManagerProxy) StopVpnProfile(ctx context.Context, packageName string) error + func (p *VpnManagerProxy) UpdateLockdownVpn(ctx context.Context) (bool, error) + type VpnManagerStub struct + Impl IVpnManager + Transport binder.VersionAwareTransport + func (s *VpnManagerStub) Descriptor() string + func (s *VpnManagerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type VpnProfileState struct + AlwaysOn bool + Lockdown bool + SessionKey string + State int32 + func (s *VpnProfileState) MarshalParcel(p *parcel.Parcel) error + func (s *VpnProfileState) UnmarshalParcel(p *parcel.Parcel) error