Home
last modified time | relevance | path

Searched refs:testParams (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackServiceTest.kt156 val testParams = DhcpServingParamsParcel() in prepareDumpVersionTest() constant
157 testParams.linkMtu = 1500 in prepareDumpVersionTest()
158 testParams.dhcpLeaseTimeSecs = 3600L in prepareDumpVersionTest()
159 testParams.serverAddr = inet4AddressToIntHTH( in prepareDumpVersionTest()
161 testParams.serverAddrPrefixLength = 24 in prepareDumpVersionTest()
167 connector.makeDhcpServer(TEST_IFACE, testParams, mockDhcpCb) in prepareDumpVersionTest()
210 connector.makeDhcpServer(TEST_IFACE, testParams, mockDhcpCb) in prepareDumpVersionTest()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DMscsParamsTest.java133 MscsParams testParams = createTestMscsParams(); in testDifferentObjectComparison() local
135 assertFalse(testParams.equals(defaultParams)); in testDifferentObjectComparison()
136 assertNotEquals(testParams.hashCode(), defaultParams.hashCode()); in testDifferentObjectComparison()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp479 std::array<int, aidl::android::net::IDnsResolver::RESOLVER_PARAMS_COUNT> testParams = { in TEST_F() local
490 .setParams(testParams) in TEST_F()
510 ASSERT_EQ(static_cast<size_t>(IDnsResolver::RESOLVER_PARAMS_COUNT), testParams.size()); in TEST_F()
511 EXPECT_EQ(testParams[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY], in TEST_F()
513 EXPECT_EQ(testParams[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD], in TEST_F()
515 EXPECT_EQ(testParams[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES], in TEST_F()
517 EXPECT_EQ(testParams[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES], in TEST_F()
519 EXPECT_EQ(testParams[IDnsResolver::RESOLVER_PARAMS_BASE_TIMEOUT_MSEC], in TEST_F()
521 EXPECT_EQ(testParams[IDnsResolver::RESOLVER_PARAMS_RETRY_COUNT], in TEST_F()
/packages/modules/NetworkStack/tests/unit/src/android/net/networkstack/
DModuleNetworkStackClientTest.kt119 val testParams = DhcpServingParamsParcel() in testDhcpServerAvailableImmediately() constant
120 ModuleNetworkStackClient.getInstance(mContext).makeDhcpServer(TEST_IFNAME, testParams, in testDhcpServerAvailableImmediately()
122 verify(mConnector).makeDhcpServer(TEST_IFNAME, testParams, mDhcpServerCb) in testDhcpServerAvailableImmediately()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DProvisionFullyManagedDeviceTaskTest.java143 final ProvisioningParams testParams = new ProvisioningParams.Builder() in testCanOptOutOfGrantingSensorsPermissions() local
148 ProvisionFullyManagedDeviceTask task = createProvisioningTask(testParams); in testCanOptOutOfGrantingSensorsPermissions()
/packages/modules/Uwb/service/support_lib/test/com/google/uwb/support/fira/
DFiraPoseUpdateParamsTest.java27 public void testParams() { in testParams() method in FiraPoseUpdateParamsTest