/packages/modules/StatsD/statsd/tests/e2e/ |
D | ConfigUpdate_e2e_test.cpp | 144 StatsdConfig newConfig; in TEST_F() local 145 newConfig.add_allowed_log_source("AID_ROOT"); in TEST_F() 147 *newConfig.add_atom_matcher() = screenOnMatcher; in TEST_F() 148 *newConfig.add_atom_matcher() = batteryPluggedUsbMatcher; in TEST_F() 149 *newConfig.add_atom_matcher() = syncStartMatcher; in TEST_F() 150 *newConfig.add_atom_matcher() = *combinationMatcher; in TEST_F() 151 *newConfig.add_atom_matcher() = wakelockAcquireMatcher; in TEST_F() 152 *newConfig.add_atom_matcher() = screenOffMatcher; in TEST_F() 153 *newConfig.add_atom_matcher() = unpluggedMatcher; in TEST_F() 154 *newConfig.add_predicate() = *combinationPredicate; in TEST_F() [all …]
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | VehiclePropConfigBuilder.java | 47 VehiclePropConfig newConfig = new VehiclePropConfig(); in clone() local 49 newConfig.prop = propConfig.prop; in clone() 50 newConfig.access = propConfig.access; in clone() 51 newConfig.changeMode = propConfig.changeMode; in clone() 52 newConfig.configString = propConfig.configString; in clone() 53 newConfig.minSampleRate = propConfig.minSampleRate; in clone() 54 newConfig.maxSampleRate = propConfig.maxSampleRate; in clone() 55 newConfig.configArray.addAll(propConfig.configArray); in clone() 65 newConfig.areaConfigs.add(newArea); in clone() 68 return newConfig; in clone()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 186 WifiConfiguration newConfig) { in hasIpChanged() argument 187 if (existingConfig.getIpAssignment() != newConfig.getIpAssignment()) { in hasIpChanged() 190 if (newConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in hasIpChanged() 192 newConfig.getStaticIpConfiguration()); in hasIpChanged() 207 WifiConfiguration newConfig) { in hasProxyChanged() argument 209 return newConfig.getProxySettings() != IpConfiguration.ProxySettings.NONE; in hasProxyChanged() 211 if (newConfig.getProxySettings() != existingConfig.getProxySettings()) { in hasProxyChanged() 214 return !Objects.equals(existingConfig.getHttpProxy(), newConfig.getHttpProxy()); in hasProxyChanged() 226 WifiConfiguration newConfig) { in hasMacRandomizationSettingsChanged() argument 228 return newConfig.macRandomizationSetting != WifiConfiguration.RANDOMIZATION_AUTO; in hasMacRandomizationSettingsChanged() [all …]
|
D | SoftApManager.java | 277 private void updateChangeableConfiguration(SoftApConfiguration newConfig) { in updateChangeableConfiguration() argument 278 if (mCurrentSoftApConfiguration == null || newConfig == null) { in updateChangeableConfiguration() 286 .setAllowedClientList(newConfig.getAllowedClientList()) in updateChangeableConfiguration() 287 .setBlockedClientList(newConfig.getBlockedClientList()) in updateChangeableConfiguration() 288 .setClientControlByUserEnabled(newConfig.isClientControlByUserEnabled()) in updateChangeableConfiguration() 289 .setMaxNumberOfClients(newConfig.getMaxNumberOfClients()) in updateChangeableConfiguration() 290 .setShutdownTimeoutMillis(newConfig.getShutdownTimeoutMillis()) in updateChangeableConfiguration() 291 .setAutoShutdownEnabled(newConfig.isAutoShutdownEnabled()); in updateChangeableConfiguration() 294 newConfig.isBridgedModeOpportunisticShutdownEnabledInternal()); in updateChangeableConfiguration() 939 SoftApConfiguration newConfig = (SoftApConfiguration) message.obj; in processMessage() local [all …]
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 149 StatsdConfig newConfig; in TEST_F() local 154 *newConfig.add_atom_matcher() = newMatcher; in TEST_F() 160 EXPECT_TRUE(determineMatcherUpdateStatus(newConfig, 0, oldAtomMatchingTrackerMap, in TEST_F() 173 StatsdConfig newConfig; in TEST_F() local 178 *newConfig.add_atom_matcher() = newMatcher; in TEST_F() 184 EXPECT_TRUE(determineMatcherUpdateStatus(newConfig, 0, oldAtomMatchingTrackerMap, in TEST_F() 211 StatsdConfig newConfig; in TEST_F() local 214 *newConfig.add_atom_matcher() = matcher2; in TEST_F() 216 *newConfig.add_atom_matcher() = matcher3; in TEST_F() 218 *newConfig.add_atom_matcher() = matcher1; in TEST_F() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiMeteredPreferenceController2.java | 95 final WifiConfiguration newConfig = dialog.getController().getConfig(); in onSubmit() local 96 if (newConfig == null) { in onSubmit() 100 if (getWifiEntryMeteredChoice(newConfig) != mWifiEntry.getMeteredChoice()) { in onSubmit() 101 mWifiEntry.setMeteredChoice(getWifiEntryMeteredChoice(newConfig)); in onSubmit() 102 onPreferenceChange(mPreference, String.valueOf(newConfig.meteredOverride)); in onSubmit()
|
D | WifiPrivacyPreferenceController2.java | 136 final WifiConfiguration newConfig = dialog.getController().getConfig(); in onSubmit() local 137 if (newConfig == null) { in onSubmit() 141 if (getWifiEntryPrivacy(newConfig) != mWifiEntry.getPrivacy()) { in onSubmit() 142 mWifiEntry.setPrivacy(getWifiEntryPrivacy(newConfig)); in onSubmit() 143 onPreferenceChange(mPreference, String.valueOf(newConfig.macRandomizationSetting)); in onSubmit()
|
/packages/modules/StatsD/statsd/tests/ |
D | MetricsManager_test.cpp | 228 StatsdConfig newConfig; in TEST() local 229 newConfig.add_allowed_log_source("AID_ROOT"); in TEST() 230 newConfig.add_allowed_log_source(app2); in TEST() 231 newConfig.add_default_pull_packages("AID_SYSTEM"); in TEST() 232 newConfig.add_default_pull_packages("AID_STATSD"); in TEST() 234 pullAtomPackages = newConfig.add_pull_atom_packages(); in TEST() 239 pullAtomPackages = newConfig.add_pull_atom_packages(); in TEST() 244 metricsManager.updateConfig(newConfig, timeBaseSec, timeBaseSec, anomalyAlarmMonitor, in TEST()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackActivity.java | 69 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 70 super.onConfigurationChanged(newConfig); in onConfigurationChanged() 73 (int) (newConfig.screenWidthDp * density), in onConfigurationChanged() 74 (int) (newConfig.screenHeightDp * density)); in onConfigurationChanged()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 828 SoftApConfiguration currentConfig, SoftApConfiguration newConfig) { in checkConfigurationChangeNeedToRestart() argument 829 return !Objects.equals(currentConfig.getSsid(), newConfig.getSsid()) in checkConfigurationChangeNeedToRestart() 830 || !Objects.equals(currentConfig.getBssid(), newConfig.getBssid()) in checkConfigurationChangeNeedToRestart() 831 || currentConfig.getSecurityType() != newConfig.getSecurityType() in checkConfigurationChangeNeedToRestart() 832 || !Objects.equals(currentConfig.getPassphrase(), newConfig.getPassphrase()) in checkConfigurationChangeNeedToRestart() 833 || currentConfig.isHiddenSsid() != newConfig.isHiddenSsid() in checkConfigurationChangeNeedToRestart() 834 || currentConfig.getBand() != newConfig.getBand() in checkConfigurationChangeNeedToRestart() 835 || currentConfig.getChannel() != newConfig.getChannel() in checkConfigurationChangeNeedToRestart() 837 .equals(newConfig.getChannels().toString())); in checkConfigurationChangeNeedToRestart()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentsActivity.java | 135 public void onMultiWindowModeChanged(boolean isInMultiWindowMode, Configuration newConfig) { in onMultiWindowModeChanged() argument 137 super.onMultiWindowModeChanged(isInMultiWindowMode, newConfig); in onMultiWindowModeChanged() 305 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 306 int diff = newConfig.diff(mOldConfig); in onConfigurationChanged() 310 mOldConfig.setTo(newConfig); in onConfigurationChanged() 311 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/ |
D | InitialConfigurationTest.java | 83 final InitialConfiguration newConfig = InitialConfiguration.copy(mConfig); in assertNotEqualsAfterChange() local 84 mutator.accept(newConfig); in assertNotEqualsAfterChange() 85 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
|
D | ProvisioningConfigurationTest.java | 205 final ProvisioningConfiguration newConfig = new ProvisioningConfiguration(mConfig); in assertNotEqualsAfterChange() local 206 mutator.accept(newConfig); in assertNotEqualsAfterChange() 207 assertNotEquals(mConfig, newConfig); in assertNotEqualsAfterChange()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertDialogTest.java | 266 Configuration newConfig = new Configuration(); in testOnConfigurationChanged() local 272 newConfig.orientation = Configuration.ORIENTATION_LANDSCAPE; in testOnConfigurationChanged() 273 activity.onConfigurationChanged(newConfig); in testOnConfigurationChanged() 276 newConfig.orientation = Configuration.ORIENTATION_PORTRAIT; in testOnConfigurationChanged() 277 activity.onConfigurationChanged(newConfig); in testOnConfigurationChanged()
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
D | AppCompatPreferenceActivity.java | 93 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 94 super.onConfigurationChanged(newConfig); in onConfigurationChanged() 95 getDelegate().onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | VolumeUI.java | 113 protected void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 114 super.onConfigurationChanged(newConfig); in onConfigurationChanged() 117 mVolumeDialogComponent.onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 1024 WifiConfiguration newConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedNullExistingConfigDefaultNewConfig() local 1025 assertFalse(WifiConfigurationUtil.hasMacRandomizationSettingsChanged(null, newConfig)); in testHasMacRandomizationSettingsChangedNullExistingConfigDefaultNewConfig() 1034 WifiConfiguration newConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedNullExistingConfigModifiedNewConfig() local 1035 newConfig.macRandomizationSetting = WifiConfiguration.RANDOMIZATION_NONE; in testHasMacRandomizationSettingsChangedNullExistingConfigModifiedNewConfig() 1036 assertTrue(WifiConfigurationUtil.hasMacRandomizationSettingsChanged(null, newConfig)); in testHasMacRandomizationSettingsChangedNullExistingConfigModifiedNewConfig() 1046 WifiConfiguration newConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsDifferent() local 1047 newConfig.macRandomizationSetting = WifiConfiguration.RANDOMIZATION_NONE; in testHasMacRandomizationSettingsChangedFieldsDifferent() 1049 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsDifferent() 1060 WifiConfiguration newConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsSame() local 1061 newConfig.macRandomizationSetting = WifiConfiguration.RANDOMIZATION_NONE; in testHasMacRandomizationSettingsChangedFieldsSame() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherApBandPreferenceController.java | 67 SoftApConfiguration newConfig = new SoftApConfiguration.Builder(config) in updateState() local 70 setCarSoftApConfig(newConfig); in updateState() 71 mBand = newConfig.getBand(); in updateState()
|
/packages/services/Car/car-test-lib/src/android/car/test/util/ |
D | VehicleHalTestingHelper.java | 30 public static VehiclePropConfig newConfig(int prop) { in newConfig() method in VehicleHalTestingHelper 42 VehiclePropConfig config = newConfig(prop); in newSubscribableConfig()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 896 PasspointConfiguration newConfig = createTestConfigWithUserCredential(TEST_FQDN, in addSavedProviderWithExistingConfig() local 898 PasspointProvider newProvider = createMockProvider(newConfig); in addSavedProviderWithExistingConfig() 899 when(mObjectFactory.makePasspointProvider(eq(newConfig), eq(mWifiKeyStore), in addSavedProviderWithExistingConfig() 904 assertTrue(mManager.addOrUpdateProvider(newConfig, TEST_CREATOR_UID, TEST_PACKAGE, in addSavedProviderWithExistingConfig() 911 assertTrue(installedConfigs.contains(newConfig)); in addSavedProviderWithExistingConfig() 920 assertTrue(newConfig.equals(newProviders.get(0).getConfig()) in addSavedProviderWithExistingConfig() 921 || newConfig.equals(newProviders.get(1).getConfig())); in addSavedProviderWithExistingConfig() 2176 PasspointConfiguration newConfig = createTestConfigWithUserCredential(TEST_FQDN, in addSuggestionProviderWithExistingConfig() local 2178 PasspointProvider newProvider = createMockProvider(newConfig); in addSuggestionProviderWithExistingConfig() 2181 when(mObjectFactory.makePasspointProvider(eq(newConfig), eq(mWifiKeyStore), in addSuggestionProviderWithExistingConfig() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferenceActivity.java | 151 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 152 super.onConfigurationChanged(newConfig); in onConfigurationChanged() 153 mCompatDelegate.onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | ChannelPanelActivity.java | 68 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument 69 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | AffordanceHolderLayout.java | 174 protected void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 175 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/ |
D | MainActivity.java | 66 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument 67 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | SettingsPanelActivity.java | 99 public void onConfigurationChanged(@NonNull Configuration newConfig) { in onConfigurationChanged() argument 100 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
|