Searched refs:IpClient (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 131 @Mock private IpClient.Dependencies mDependencies; 169 private IpClient makeIpClient(String ifname) throws Exception { in makeIpClient() 171 final IpClient ipc = new IpClient(mContext, ifname, mCb, mObserverRegistry, in makeIpClient() 202 final IpClient ipc = new IpClient(mContext, null, mCb, mObserverRegistry, in testNullInterfaceNameMostDefinitelyThrows() 216 final IpClient ipc = new IpClient(mContext, ifname, null, mObserverRegistry, in testNullCallbackMostDefinitelyThrows() 228 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() 237 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately() 257 private IpClient doProvisioningWithDefaultConfiguration() throws Exception { in doProvisioningWithDefaultConfiguration() 258 final IpClient ipc = makeIpClient(TEST_IFNAME); in doProvisioningWithDefaultConfiguration() 312 final IpClient ipc = doProvisioningWithDefaultConfiguration(); in doDefaultIPv6ProvisioningConfigurationAndProvisioningLossTest() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 45 import android.net.ip.IpClient; 173 public IpClient makeIpClient(@NonNull Context context, @NonNull String ifName, in makeIpClient() 176 return new IpClient(context, ifName, cb, observerRegistry, nsServiceManager); in makeIpClient() 193 private final ArrayList<WeakReference<IpClient>> mIpClients = new ArrayList<>(); 379 final IpClient ipClient = mDeps.makeIpClient( in makeIpClient() 383 final Iterator<WeakReference<IpClient>> it = mIpClients.iterator(); in makeIpClient() 385 final IpClient ipc = it.next().get(); in makeIpClient() 443 final ArrayList<IpClient> ipClients = new ArrayList<>(); in dump() 446 for (WeakReference<IpClient> ipcRef : mIpClients) { in dump() 447 final IpClient ipc = ipcRef.get(); in dump() [all …]
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 149 public class IpClient extends StateMachine { class 153 private static final Class[] sMessageClasses = { IpClient.class, DhcpClient.class }; 622 public IpClient(Context context, String ifName, IIpClientCallbacks callback, in IpClient() method in IpClient 628 IpClient(Context context, String ifName, IIpClientCallbacks callback, in IpClient() method in IpClient 631 super(IpClient.class.getSimpleName() + "." + ifName); in IpClient() 753 IpClient.this.completedPreDhcpAction(); in completedPreDhcpAction() 758 IpClient.this.confirmConfiguration(); in confirmConfiguration() 763 IpClient.this.readPacketFilterComplete(data); in readPacketFilterComplete() 768 IpClient.this.shutdown(); in shutdown() 773 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 81 private val mockIpClient = mock(IpClient::class.java)
|
/packages/modules/NetworkStack/ |
D | proguard.flags | 1 -keepclassmembers class android.net.ip.IpClient {
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 270 protected IpClient mIpc; 355 protected class Dependencies extends IpClient.Dependencies { 522 mDependencies.setDeviceConfigProperty(IpClient.CONFIG_MIN_RDNSS_LIFETIME, 67); 597 private IpClient makeIpClient() throws Exception { 598 IpClient ipc = new IpClient(mContext, mIfaceName, mCb, mNetworkObserverRegistry,
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 67 import android.net.ip.IpClient; 217 private static final int PUBLIC_BASE = IpClient.DHCPCLIENT_CMD_BASE; 256 private static final int PRIVATE_BASE = IpClient.DHCPCLIENT_CMD_BASE + 100;
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 47 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;
|