Methods Summary |
---|
public void | captivePortalCheckCompleted(boolean isCaptivePortal)
// not implemented
|
public void | defaultRouteSet(boolean enabled)
mDefaultRouteSet.set(enabled);
|
protected final void | dispatchConfigurationChanged()
// TODO: include snapshot of other fields when sending
mTarget.obtainMessage(EVENT_CONFIGURATION_CHANGED, getNetworkInfo()).sendToTarget();
|
protected final void | dispatchStateChanged()
// TODO: include snapshot of other fields when sending
mTarget.obtainMessage(EVENT_STATE_CHANGED, getNetworkInfo()).sendToTarget();
|
public LinkProperties | getLinkProperties()
return new LinkProperties(mLinkProperties);
|
public LinkQualityInfo | getLinkQualityInfo()
return null;
|
public Network | getNetwork()
return mNetwork;
|
public NetworkCapabilities | getNetworkCapabilities()
return new NetworkCapabilities(mNetworkCapabilities);
|
public NetworkInfo | getNetworkInfo()
return new NetworkInfo(mNetworkInfo);
|
public java.lang.String | getNetworkInterfaceName()
if (mLinkProperties != null) {
return mLinkProperties.getInterfaceName();
} else {
return null;
}
|
protected android.os.Handler | getTargetHandler()
return mTarget;
|
public boolean | isAvailable()
return mNetworkInfo.isAvailable();
|
public boolean | isDefaultRouteSet()
return mDefaultRouteSet.get();
|
public boolean | isPrivateDnsRouteSet()
return mPrivateDnsRouteSet.get();
|
public boolean | isTeardownRequested()
return mTeardownRequested.get();
|
public void | privateDnsRouteSet(boolean enabled)
mPrivateDnsRouteSet.set(enabled);
|
public void | setDependencyMet(boolean met)
// Base tracker doesn't handle dependencies
|
public void | setNetId(int netId)
mNetwork = new Network(netId);
|
public void | setPolicyDataEnable(boolean enabled)
// Base tracker doesn't handle enabled flags
|
public boolean | setRadio(boolean turnOn)
// Base tracker doesn't handle radios
return true;
|
public void | setTeardownRequested(boolean isRequested)
mTeardownRequested.set(isRequested);
|
public void | setUserDataEnable(boolean enabled)
// Base tracker doesn't handle enabled flags
|
public void | startMonitoring(android.content.Context context, android.os.Handler target)
mContext = Preconditions.checkNotNull(context);
mTarget = Preconditions.checkNotNull(target);
startMonitoringInternal();
|
protected void | startMonitoringInternal()
|
public void | startSampling(SamplingDataTracker.SamplingSnapshot s)
// nothing to do
|
public void | stopSampling(SamplingDataTracker.SamplingSnapshot s)
// nothing to do
|
public void | supplyMessenger(android.os.Messenger messenger)
// not supported on this network
|