Searched refs:IpClient (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 118 @Mock private IpClient.Dependencies mDependencies; 156 private IpClient makeIpClient(String ifname) throws Exception { in makeIpClient() 158 final IpClient ipc = new IpClient(mContext, ifname, mCb, mObserverRegistry, in makeIpClient() 189 final IpClient ipc = new IpClient(mContext, null, mCb, mObserverRegistry, in testNullInterfaceNameMostDefinitelyThrows() 203 final IpClient ipc = new IpClient(mContext, ifname, null, mObserverRegistry, in testNullCallbackMostDefinitelyThrows() 215 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() 224 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately() 244 private IpClient doProvisioningWithDefaultConfiguration() throws Exception { in doProvisioningWithDefaultConfiguration() 245 final IpClient ipc = makeIpClient(TEST_IFNAME); in doProvisioningWithDefaultConfiguration() 299 final IpClient ipc = doProvisioningWithDefaultConfiguration(); in doDefaultIPv6ProvisioningConfigurationAndProvisioningLossTest() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 43 import android.net.ip.IpClient; 170 public IpClient makeIpClient(@NonNull Context context, @NonNull String ifName, in makeIpClient() 173 return new IpClient(context, ifName, cb, observerRegistry, nsServiceManager); in makeIpClient() 190 private final ArrayList<WeakReference<IpClient>> mIpClients = new ArrayList<>(); 376 final IpClient ipClient = mDeps.makeIpClient( in makeIpClient() 380 final Iterator<WeakReference<IpClient>> it = mIpClients.iterator(); in makeIpClient() 382 final IpClient ipc = it.next().get(); in makeIpClient() 431 final ArrayList<IpClient> ipClients = new ArrayList<>(); in dump() 434 for (WeakReference<IpClient> ipcRef : mIpClients) { in dump() 435 final IpClient ipc = ipcRef.get(); in dump() [all …]
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 121 public class IpClient extends StateMachine { class 125 private static final Class[] sMessageClasses = { IpClient.class, DhcpClient.class }; 556 public IpClient(Context context, String ifName, IIpClientCallbacks callback, in IpClient() method in IpClient 562 IpClient(Context context, String ifName, IIpClientCallbacks callback, in IpClient() method in IpClient 565 super(IpClient.class.getSimpleName() + "." + ifName); in IpClient() 671 IpClient.this.completedPreDhcpAction(); in completedPreDhcpAction() 676 IpClient.this.confirmConfiguration(); in confirmConfiguration() 681 IpClient.this.readPacketFilterComplete(data); in readPacketFilterComplete() 686 IpClient.this.shutdown(); in shutdown() 691 IpClient.this.startProvisioning(ProvisioningConfiguration.fromStableParcelable(req)); in startProvisioning() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/ |
D | NetworkStackServiceTest.kt | 31 import android.net.ip.IpClient 78 private val mockIpClient = mock(IpClient::class.java)
|
/packages/modules/NetworkStack/ |
D | proguard.flags | 1 -keepclassmembers class android.net.ip.IpClient {
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 65 import android.net.ip.IpClient; 211 private static final int PUBLIC_BASE = IpClient.DHCPCLIENT_CMD_BASE; 249 private static final int PRIVATE_BASE = IpClient.DHCPCLIENT_CMD_BASE + 100;
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 219 private IpClient mIpc; 275 private class Dependencies extends IpClient.Dependencies { 389 mDependencies.setDeviceConfigProperty(IpClient.CONFIG_MIN_RDNSS_LIFETIME, 67); 460 mIpc = new IpClient(mContext, mIfaceName, mCb, mNetworkObserverRegistry,
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 46 import android.net.ip.IpClient.IpClientCallbacksWrapper;
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 51 import android.net.ip.IpClient.IpClientCallbacksWrapper;
|