Home
last modified time | relevance | path

Searched refs:oldConfig (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioMirrorRequestHandler.java235 int[] oldConfig; in calculateAudioConfigurationAfterRemovingZonesFromRequestId() local
238 oldConfig = mRequestIdToZones.get(requestId, /* valueIfKeyNotFound= */ null); in calculateAudioConfigurationAfterRemovingZonesFromRequestId()
241 if (oldConfig == null) { in calculateAudioConfigurationAfterRemovingZonesFromRequestId()
248 for (int index = 0; index < oldConfig.length; index++) { in calculateAudioConfigurationAfterRemovingZonesFromRequestId()
249 int zoneId = oldConfig[index]; in calculateAudioConfigurationAfterRemovingZonesFromRequestId()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetConfigStore.java134 IpConfiguration oldConfig = mIpConfigurations.put(iface, config); in write() local
135 modified = !config.equals(oldConfig); in write()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DMulticastRoutingCoordinatorService.java187 final MulticastRoutingConfig oldConfig = getMulticastRoutingConfig(iifName, oifName); in applyMulticastRoutingConfig() local
189 if (oldConfig.equals(newConfig)) return; in applyMulticastRoutingConfig()
191 int oldMode = oldConfig.getForwardingMode(); in applyMulticastRoutingConfig()
206 ? oldConfig.getListeningAddresses() in applyMulticastRoutingConfig()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachine.java1537 VirtualMachineConfig oldConfig = mConfig; in setConfig() local
1538 if (!oldConfig.isCompatibleWith(newConfig)) { in setConfig()
1543 if (oldConfig != newConfig) { in setConfig()
1550 return oldConfig; in setConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java7154 WifiConfiguration oldConfig = new WifiConfiguration(mConnectedNetwork); in verifyDisconnectOnMarkingNetworkMetered() local
7159 listener.onNetworkUpdated(mConnectedNetwork, oldConfig, false); in verifyDisconnectOnMarkingNetworkMetered()
7179 WifiConfiguration oldConfig = new WifiConfiguration(mConnectedNetwork); in verifyUpdateCapabilitiesOnMarkingNetworkUnmetered() local
7184 listener.onNetworkUpdated(mConnectedNetwork, oldConfig, false); in verifyUpdateCapabilitiesOnMarkingNetworkUnmetered()
7208 WifiConfiguration oldConfig = new WifiConfiguration(mConnectedNetwork); in verifyDisconnectOnMarkingNetworkAutoMeteredWithMeteredHint() local
7217 listener.onNetworkUpdated(mConnectedNetwork, oldConfig, false); in verifyDisconnectOnMarkingNetworkAutoMeteredWithMeteredHint()
7236 WifiConfiguration oldConfig = new WifiConfiguration(mConnectedNetwork); in verifyUpdateCapabilitiesOnMarkingNetworkAutoMeteredWithoutMeteredHint() local
7245 listener.onNetworkUpdated(mConnectedNetwork, oldConfig, false); in verifyUpdateCapabilitiesOnMarkingNetworkAutoMeteredWithoutMeteredHint()
7268 WifiConfiguration oldConfig = new WifiConfiguration(mConnectedNetwork); in verifyDoNothingMarkingNetworkAutoMeteredWithMeteredHint() local
7277 listener.onNetworkUpdated(mConnectedNetwork, oldConfig, false); in verifyDoNothingMarkingNetworkAutoMeteredWithMeteredHint()
[all …]
DWifiConfigManagerTest.java781 WifiConfiguration oldConfig = wifiConfigCaptor.getAllValues().get(0); in testUpdateSingleOpenNetwork() local
787 assertEquals(openNetwork.networkId, oldConfig.networkId); in testUpdateSingleOpenNetwork()
788 assertTrue(oldConfig.trusted); in testUpdateSingleOpenNetwork()
789 assertFalse(oldConfig.oemPaid); in testUpdateSingleOpenNetwork()
790 assertFalse(oldConfig.oemPrivate); in testUpdateSingleOpenNetwork()
791 assertNull(oldConfig.BSSID); in testUpdateSingleOpenNetwork()
847 WifiConfiguration oldConfig = wifiConfigCaptor.getAllValues().get(0); in testUpdateSingleOpenNetworkInBlockList() local
853 assertEquals(openNetwork.networkId, oldConfig.networkId); in testUpdateSingleOpenNetworkInBlockList()
854 assertTrue(oldConfig.trusted); in testUpdateSingleOpenNetworkInBlockList()
855 assertFalse(oldConfig.oemPaid); in testUpdateSingleOpenNetworkInBlockList()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java1489 Configuration oldConfig = activity.getResources().getConfiguration();
1490 boolean isFoldUnfold = isTablet(oldConfig) != isTablet(newConfig);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9719 final LocalNetworkConfig oldConfig,
9722 oldConfig == null ? MulticastRoutingConfig.CONFIG_FORWARD_NONE :
9723 oldConfig.getUpstreamMulticastRoutingConfig();
9725 oldConfig == null ? MulticastRoutingConfig.CONFIG_FORWARD_NONE :
9726 oldConfig.getDownstreamMulticastRoutingConfig();
9785 @Nullable final LocalNetworkConfig oldConfig,
9802 (null == oldConfig) ? null : oldConfig.getUpstreamSelector();
9854 maybeApplyMulticastRoutingConfig(nai, oldConfig, newConfig);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1243 public void onNetworkUpdated(WifiConfiguration newConfig, WifiConfiguration oldConfig, in onNetworkUpdated() argument
1247 mWifiNative.removeNetworkCachedData(oldConfig.networkId); in onNetworkUpdated()
1256 if (newConfig.isWifi7Enabled() != oldConfig.isWifi7Enabled()) { in onNetworkUpdated()
1266 boolean wasMetered = WifiConfiguration.isMetered(oldConfig, mWifiInfo); in onNetworkUpdated()
1269 && (!SdkLevel.isAtLeastT() || newConfig.trusted == oldConfig.trusted)) { in onNetworkUpdated()
DWifiConfigManager.java177 @NonNull WifiConfiguration newConfig, @NonNull WifiConfiguration oldConfig, in onNetworkUpdated() argument
202 default void onSecurityParamsUpdate(@NonNull WifiConfiguration oldConfig, in onSecurityParamsUpdate() argument
DWifiConnectivityManager.java1251 public void onNetworkUpdated(WifiConfiguration newConfig, WifiConfiguration oldConfig, in onNetworkUpdated() argument