/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/ |
D | VideoConfigTest.cpp | 63 VideoConfig config1; member in VideoConfigTest 74 config1.setMediaDirection(kMediaDirection); in SetUp() 75 config1.setRemoteAddress(kRemoteAddress); in SetUp() 76 config1.setRemotePort(kRemotePort); in SetUp() 77 config1.setRtcpConfig(rtcp); in SetUp() 78 config1.setMaxMtuBytes(kMtu); in SetUp() 79 config1.setDscp(kDscp); in SetUp() 80 config1.setRxPayloadTypeNumber(kRxPayload); in SetUp() 81 config1.setTxPayloadTypeNumber(kTxPayload); in SetUp() 82 config1.setSamplingRateKHz(kSamplingRate); in SetUp() [all …]
|
D | TextConfigTest.cpp | 47 TextConfig config1; member in TextConfigTest 59 config1.setMediaDirection(kMediaDirection); in SetUp() 60 config1.setRemoteAddress(kRemoteAddress); in SetUp() 61 config1.setRemotePort(kRemotePort); in SetUp() 62 config1.setRtcpConfig(rtcp); in SetUp() 63 config1.setDscp(kDscp); in SetUp() 64 config1.setRxPayloadTypeNumber(kRxPayload); in SetUp() 65 config1.setTxPayloadTypeNumber(kTxPayload); in SetUp() 66 config1.setSamplingRateKHz(kSamplingRate); in SetUp() 67 config1.setCodecType(kCodecType); in SetUp() [all …]
|
D | AudioConfigTest.cpp | 67 AudioConfig config1; member in AudioConfigTest 92 config1.setMediaDirection(kMediaDirection); in SetUp() 93 config1.setRemoteAddress(kRemoteAddress); in SetUp() 94 config1.setRemotePort(kRemotePort); in SetUp() 95 config1.setRtcpConfig(rtcp); in SetUp() 96 config1.setDscp(kDscp); in SetUp() 97 config1.setRxPayloadTypeNumber(kRxPayload); in SetUp() 98 config1.setTxPayloadTypeNumber(kTxPayload); in SetUp() 99 config1.setSamplingRateKHz(kSamplingRate); in SetUp() 100 config1.setAnbrMode(anbr); in SetUp() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/ |
D | PasspointConfigurationTest.java | 400 PasspointConfiguration config1 = PasspointTestUtils.createConfig(); in validateUniqueId() local 403 assertEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueId() 414 PasspointConfiguration config1 = PasspointTestUtils.createConfig(); in validateUniqueIdDifferentHomeSpSameFqdn() local 423 assertEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentHomeSpSameFqdn() 434 PasspointConfiguration config1 = PasspointTestUtils.createConfig(); in validateUniqueIdSameHomeSpDifferentFqdn() local 442 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdSameHomeSpDifferentFqdn() 453 PasspointConfiguration config1 = PasspointTestUtils.createConfig(); in validateUniqueIdDifferentSimCredential() local 462 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentSimCredential() 473 PasspointConfiguration config1 = PasspointTestUtils.createConfig(); in validateUniqueIdDifferentRealm() local 481 assertNotEquals(config1.getUniqueId(), config2.getUniqueId()); in validateUniqueIdDifferentRealm() [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | UidMap_test.cpp | 339 ConfigKey config1(1, StringToId("config1")); in TEST() local 340 m.OnConfigUpdated(config1); in TEST() 348 m.mLastUpdatePerConfigKey[config1] = 2; in TEST() 351 m.appendUidMap(/* timestamp */ 3, config1, /* includeVersionStrings */ true, in TEST() 366 ConfigKey config1(1, StringToId("config1")); in TEST() local 367 m.OnConfigUpdated(config1); in TEST() 376 m.appendUidMap(/* timestamp */ 3, config1, /* includeVersionStrings */ true, in TEST() 391 ConfigKey config1(1, StringToId("config1")); in TEST() local 392 m.OnConfigUpdated(config1); in TEST() 404 m.appendUidMap(/* timestamp */ 3, config1, /* includeVersionStrings */ true, in TEST() [all …]
|
D | StatsLogProcessor_test.cpp | 486 StatsdConfig config1; in TEST() local 488 config1.set_id(cfgId1); in TEST() 490 *config1.add_atom_matcher() = wakelockAcquireMatcher; in TEST() 494 auto countMetric1 = config1.add_count_metric(); in TEST() 499 auto countMetric2 = config1.add_count_metric(); in TEST() 594 const LogEventFilter::AtomIdSet atomIdsList = CreateAtomIdSetFromConfig(config1); in TEST() 597 processor.OnConfigUpdated(1, cfgKey1, config1); in TEST() 719 CreateStatsLogProcessor(timeBase2, timeBase2, config1, cfgKey1); in TEST() 835 StatsdConfig config1; in TEST() local 836 config1.set_id(12341); in TEST() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | AttributionConfigTest.java | 99 final AttributionConfig config1 = createExample(); in testHashCode_equals() local 101 final Set<AttributionConfig> configSet1 = Set.of(config1); in testHashCode_equals() 103 assertEquals(config1.hashCode(), config2.hashCode()); in testHashCode_equals() 104 assertEquals(config1, config2); in testHashCode_equals() 110 final AttributionConfig config1 = createExample(); in testHashCode_notEquals() local 143 final Set<AttributionConfig> configSet1 = Set.of(config1); in testHashCode_notEquals() 145 assertNotEquals(config1.hashCode(), config2.hashCode()); in testHashCode_notEquals() 146 assertNotEquals(config1, config2); in testHashCode_notEquals()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | MulticastRoutingConfigTest.kt | 80 val config1 = configSelectedWithAddress1AndAddress2() in toString_equalObjects_returnsEqualStrings() constant 83 val str1 = config1.toString() in toString_equalObjects_returnsEqualStrings() 91 val config1 = configSelected() in toString_unequalObjects_returnsUnequalStrings() constant 94 val str1 = config1.toString() in toString_unequalObjects_returnsUnequalStrings()
|
D | IpSecTransformTest.java | 132 IpSecTransform config1 = new IpSecTransform(null, config); in testCreateTransformsWithSameConfigEqual() local 135 assertEquals(config1, config2); in testCreateTransformsWithSameConfigEqual()
|
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/ |
D | TextConfigTest.java | 106 TextConfig config1 = createTextConfig(); in testEqual() local 108 assertThat(config1).isEqualTo(config2); in testEqual() 113 TextConfig config1 = createTextConfig(); in testNotEqual() local 133 assertThat(config1).isNotEqualTo(config2); in testNotEqual() 152 assertThat(config1).isNotEqualTo(config3); in testNotEqual()
|
D | AudioConfigTest.java | 135 AudioConfig config1 = createAudioConfig(); in testEqual() local 139 assertThat(config1).isEqualTo(config2); in testEqual() 144 AudioConfig config1 = createAudioConfig(); in testNotEqual() local 168 assertThat(config1).isNotEqualTo(config2); in testNotEqual()
|
D | VideoConfigTest.java | 115 VideoConfig config1 = createVideoConfig(); in testEqual() local 117 assertThat(config1).isEqualTo(config2); in testEqual() 122 VideoConfig config1 = createVideoConfig(); in testNotEqual() local 153 assertThat(config1).isNotEqualTo(config2); in testNotEqual()
|
/packages/modules/Bluetooth/system/gd/storage/ |
D | classic_device_test.cc | 69 ConfigCache config1(10, Device::kLinkKeyProperties); in TEST() local 71 ASSERT_NE(&config1, &config2); in TEST() 72 ConfigCache* smaller_config_ptr = &config1; in TEST() 74 if (&config2 < &config1) { in TEST() 76 larger_config_ptr = &config1; in TEST()
|
D | le_device_test.cc | 69 ConfigCache config1(10, Device::kLinkKeyProperties); in TEST() local 71 ASSERT_NE(&config1, &config2); in TEST() 72 ConfigCache* smaller_config_ptr = &config1; in TEST() 74 if (&config2 < &config1) { in TEST() 76 larger_config_ptr = &config1; in TEST()
|
D | device_test.cc | 241 ConfigCache config1(10, Device::kLinkKeyProperties); in TEST() local 243 ASSERT_NE(&config1, &config2); in TEST() 244 ConfigCache* smaller_config_ptr = &config1; in TEST() 246 if (&config2 < &config1) { in TEST() 248 larger_config_ptr = &config1; in TEST()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | DeviceFoldedViewModelTest.java | 51 final Configuration config1 = new Configuration(); in testLiveData() local 52 config1.smallestScreenWidthDp = 601; in testLiveData() 53 mViewModel.onConfigurationChanged(config1); in testLiveData()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 280 final WifiConfiguration config1 = CONFIGS.get(0); in testPutRemoveClear() local 283 switchUser(UserHandle.getUserHandleForUid(config1.creatorUid).getIdentifier()); in testPutRemoveClear() 287 assertNull(mConfigs.put(config1)); in testPutRemoveClear() 289 configs.add(config1); in testPutRemoveClear() 294 config2.networkId = config1.networkId; in testPutRemoveClear() 295 assertEquals(config1, mConfigs.put(config2)); in testPutRemoveClear()
|
D | WifiCarrierInfoManagerTest.java | 2288 WifiConfiguration config1 = WifiConfigurationTestUtil.createOpenNetwork(); in testShouldDisableMacRandomization() local 2290 config1.carrierId = DATA_CARRIER_ID; in testShouldDisableMacRandomization() 2291 config1.subscriptionId = DATA_SUBID; in testShouldDisableMacRandomization() 2298 WifiInfo.sanitizeSsid(config1.SSID), in testShouldDisableMacRandomization() 2308 assertTrue(mWifiCarrierInfoManager.shouldDisableMacRandomization(config1.SSID, in testShouldDisableMacRandomization() 2309 config1.carrierId, config1.subscriptionId)); in testShouldDisableMacRandomization() 2317 assertFalse(mWifiCarrierInfoManager.shouldDisableMacRandomization(config1.SSID, in testShouldDisableMacRandomization() 2318 config1.carrierId, config1.subscriptionId)); in testShouldDisableMacRandomization() 2328 WifiConfiguration config1 = WifiConfigurationTestUtil.createOpenNetwork(); in testOnlyDisableMacRandomizationOnCarrierNetworks() local 2330 config1.carrierId = DATA_CARRIER_ID; in testOnlyDisableMacRandomizationOnCarrierNetworks() [all …]
|
D | ActiveModeWardenTest.java | 3057 WifiConfiguration config1 = new WifiConfiguration(); in requestAdditionalClientModeManager() local 3058 config1.SSID = TEST_SSID_1; in requestAdditionalClientModeManager() 3059 when(mClientModeManager.getConnectedWifiConfiguration()).thenReturn(config1); in requestAdditionalClientModeManager() 3166 WifiConfiguration config1 = new WifiConfiguration(); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() local 3167 config1.SSID = TEST_SSID_1; in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 3168 when(mClientModeManager.getConnectedWifiConfiguration()).thenReturn(config1); in requestRemoveAdditionalClientModeManagerWhenNotAllowed() 3319 WifiConfiguration config1 = new WifiConfiguration(); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() local 3320 config1.SSID = TEST_SSID_1; in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 3321 when(mClientModeManager.getConnectedWifiConfiguration()).thenReturn(config1); in requestAdditionalClientModeManagerWhenConnectingToPrimaryBssid() 3759 WifiConfiguration config1 = new WifiConfiguration(); in requestHighPrioSecondaryTransientClientModeManagerWhenConnectedToLocalOnlyBssid() local [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandler.java | 124 fakeReportConfigs.sort((config1, config2) -> { in assignAttributionModeAndGenerateFakeReports() argument 125 UnsignedLong triggerData1 = triggerSpecs.getTriggerDataFromIndex(config1[0]); in assignAttributionModeAndGenerateFakeReports() 129 return Integer.valueOf(config1[1]).compareTo(Integer.valueOf(config2[1])); in assignAttributionModeAndGenerateFakeReports()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 961 public static boolean isSameNetwork(WifiConfiguration config, WifiConfiguration config1) { in isSameNetwork() argument 962 if (config == null && config1 == null) { in isSameNetwork() 965 if (config == null || config1 == null) { in isSameNetwork() 968 if (config.networkId != config1.networkId) { in isSameNetwork() 971 if (!Objects.equals(config.SSID, config1.SSID)) { in isSameNetwork() 975 config1.getNetworkSelectionStatus().getCandidateSecurityParams())) { in isSameNetwork() 978 if (WifiConfigurationUtil.hasCredentialChanged(config, config1)) { in isSameNetwork() 981 if (config.isWifi7Enabled() != config1.isWifi7Enabled()) { in isSameNetwork()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/ |
D | AdSelectionFromOutcomesInputTest.java | 112 AdSelectionFromOutcomesConfig config1 = in testNotEqualInputsHaveDifferentHashCode() local 121 AdSelectionFromOutcomesInput obj1 = createAdSelectionFromOutcomesInput(config1); in testNotEqualInputsHaveDifferentHashCode()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSSatelliteNetworkTest.kt | 116 val config1 = NativeUidRangeConfig( in doTestSatelliteNetworkFallbackUids() constant 121 netdInOrder.verify(netd).networkAddUidRangesParcel(config1) in doTestSatelliteNetworkFallbackUids() 132 netdInOrder.verify(netd).networkRemoveUidRangesParcel(config1) in doTestSatelliteNetworkFallbackUids()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityToDocumentConverterTest.java | 295 SchemaVisibilityConfig config1 = in testToGenericDocumentAndBack() local 325 .addSchemaTypeVisibleToConfig("someSchema", config1) in testToGenericDocumentAndBack()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PowerHalServiceUnitTest.java | 361 var config1 = new AidlHalPropConfig( in testPerDisplayBrightnessChange_perDisplayMaxSupported() local 367 mPowerHalService.takeProperties(List.of(config1, config2)); in testPerDisplayBrightnessChange_perDisplayMaxSupported() 398 var config1 = new AidlHalPropConfig( in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported() local 404 mPowerHalService.takeProperties(List.of(config1, config2)); in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported()
|