/packages/apps/Settings/src/com/android/settings/development/bluetooth/ |
D | BluetoothSampleRateDialogPreferenceController.java | 62 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in writeConfigurationValues() local 63 if (currentConfig != null) { in writeConfigurationValues() 65 currentConfig.getCodecType())); in writeConfigurationValues() 98 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in getSelectableIndex() local 99 if (currentConfig != null) { in getSelectableIndex() 101 getSelectableByCodecType(currentConfig.getCodecType()).getSampleRate(); in getSelectableIndex()
|
D | BluetoothChannelModeDialogPreferenceController.java | 62 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in writeConfigurationValues() local 63 if (currentConfig != null) { in writeConfigurationValues() 65 currentConfig.getCodecType())); in writeConfigurationValues() 92 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in getSelectableIndex() local 93 if (currentConfig != null) { in getSelectableIndex() 95 getSelectableByCodecType(currentConfig.getCodecType()).getChannelMode(); in getSelectableIndex()
|
D | BluetoothBitPerSampleDialogPreferenceController.java | 62 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in writeConfigurationValues() local 63 if (currentConfig != null) { in writeConfigurationValues() 65 currentConfig.getCodecType())); in writeConfigurationValues() 95 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in getSelectableIndex() local 96 if (currentConfig != null) { in getSelectableIndex() 98 getSelectableByCodecType(currentConfig.getCodecType()).getBitsPerSample(); in getSelectableIndex()
|
D | BluetoothQualityDialogPreferenceController.java | 96 final BluetoothCodecConfig currentConfig = getCurrentCodecConfig(); in updateState() local 97 if (currentConfig != null in updateState() 98 && currentConfig.getCodecType() == BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC) { in updateState()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | SystemBarConfigs.java | 187 SystemBarConfig currentConfig = mSystemBarConfigMap.get(side); in updateInsetPaddings() local 189 if (currentConfig == null) return; in updateInsetPaddings() 244 currentConfig.setPaddingBySide(LEFT, defaultLeftPadding); in updateInsetPaddings() 245 currentConfig.setPaddingBySide(RIGHT, defaultRightPadding); in updateInsetPaddings() 246 currentConfig.setPaddingBySide(TOP, defaultTopPadding); in updateInsetPaddings() 247 currentConfig.setPaddingBySide(BOTTOM, defaultBottomPadding); in updateInsetPaddings() 250 if (mLeftNavBarEnabled && currentConfig.getZOrder() < mSystemBarConfigMap.get( in updateInsetPaddings() 252 currentConfig.setPaddingBySide(LEFT, in updateInsetPaddings() 257 if (mRightNavBarEnabled && currentConfig.getZOrder() < mSystemBarConfigMap.get( in updateInsetPaddings() 259 currentConfig.setPaddingBySide(RIGHT, in updateInsetPaddings() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModesBackend.java | 80 ZenModeConfig currentConfig = mNotificationManager.getZenModeConfig(); in getModes() local 81 modes.add(getManualDndMode(currentConfig)); in getModes() 87 isRuleActive(ruleId, currentConfig))); in getModes() 104 ZenModeConfig currentConfig = mNotificationManager.getZenModeConfig(); in getMode() local 106 return getManualDndMode(currentConfig); in getMode() 112 return new ZenMode(id, rule, isRuleActive(id, currentConfig)); in getMode()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsQueryScheduler.java | 94 @NonNull QueryTaskConfig currentConfig, in scheduleNextRun() 99 final QueryTaskConfig nextRunConfig = currentConfig.getConfigForNextRun(); in scheduleNextRun()
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | NetworkPolicyTestUtils.java | 234 final WifiConfiguration currentConfig = getWifiConfiguration(ssid); in setWifiMeteredStatus() local 235 currentConfig.meteredOverride = metered in setWifiMeteredStatus() 238 getWifiManager().save(currentConfig, createActionListener( in setWifiMeteredStatus() 253 getWifiManager().connect(currentConfig, createActionListener( in setWifiMeteredStatus()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 957 SoftApConfiguration currentConfig = new SoftApConfiguration.Builder() in testCheckConfigurationChangeNeedToRestart() local 974 assertFalse(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 981 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 993 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 1000 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 1007 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 1013 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 1019 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 1027 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() 1036 assertTrue(ApConfigUtil.checkConfigurationChangeNeedToRestart(currentConfig, in testCheckConfigurationChangeNeedToRestart() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 1305 SoftApConfiguration currentConfig, SoftApConfiguration newConfig) { 1306 return !Objects.equals(currentConfig.getWifiSsid(), newConfig.getWifiSsid()) 1307 || !Objects.equals(currentConfig.getBssid(), newConfig.getBssid()) 1308 || currentConfig.getSecurityType() != newConfig.getSecurityType() 1309 || !Objects.equals(currentConfig.getPassphrase(), newConfig.getPassphrase()) 1310 || currentConfig.isHiddenSsid() != newConfig.isHiddenSsid() 1311 || currentConfig.getBand() != newConfig.getBand() 1312 || currentConfig.getChannel() != newConfig.getChannel() 1313 || (SdkLevel.isAtLeastS() && !currentConfig.getChannels().toString()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHalAidlImpl.java | 261 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in getCurrentNetworkId() local 262 if (currentConfig == null) { in getCurrentNetworkId() 265 return currentConfig.networkId; in getCurrentNetworkId() 687 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in connectToNetwork() local 688 if (actualSsid == null && WifiConfigurationUtil.isSameNetwork(config, currentConfig)) { in connectToNetwork() 691 String networkSelectionBSSIDCurrent = currentConfig.getNetworkSelectionStatus() in connectToNetwork() 3550 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in updateOnLinkedNetworkRoaming() local 3551 if (linkedNetworkHandles == null || currentHandle == null || currentConfig == null) { in updateOnLinkedNetworkRoaming() 3554 if (fromFramework ? currentConfig.networkId == newNetworkId in updateOnLinkedNetworkRoaming() 3583 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in updateLinkedNetworks() local [all …]
|
D | SupplicantStaIfaceHalHidlImpl.java | 313 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in getCurrentNetworkId() local 314 if (currentConfig == null) { in getCurrentNetworkId() 317 return currentConfig.networkId; in getCurrentNetworkId() 1021 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in connectToNetwork() local 1022 if (actualSsid == null && WifiConfigurationUtil.isSameNetwork(config, currentConfig)) { in connectToNetwork() 1026 currentConfig.getNetworkSelectionStatus().getNetworkSelectionBSSID(); in connectToNetwork() 3829 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in updateOnLinkedNetworkRoaming() local 3830 if (linkedNetworkHandles == null || currentHandle == null || currentConfig == null) { in updateOnLinkedNetworkRoaming() 3833 if (fromFramework ? currentConfig.networkId == newNetworkId in updateOnLinkedNetworkRoaming() 3863 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in updateLinkedNetworks() local [all …]
|
D | ClientModeImpl.java | 1233 WifiConfiguration currentConfig = getConnectedWifiConfiguration(); in onNetworkRemoved() local 1234 if (currentConfig != null && currentConfig.isLinked(config)) { in onNetworkRemoved() 1236 updateLinkedNetworks(currentConfig); in onNetworkRemoved() 4900 WifiConfiguration currentConfig = in processMessageImpl() local 4902 if (currentConfig != null) { in processMessageImpl() 4903 mIpClient.setHttpProxy(currentConfig.getHttpProxy()); in processMessageImpl() 4916 WifiConfiguration currentConfig = in processMessageImpl() local 4918 if (currentConfig != null) { in processMessageImpl() 4937 WifiConfiguration currentConfig = in processMessageImpl() local 4941 if (currentConfig != null && currentConfig.isLinked(updatedConfig)) { in processMessageImpl() [all …]
|
D | WifiServiceImpl.java | 4737 WifiConfiguration currentConfig = 4739 if (currentConfig != null 4740 && !currentConfig.getNetworkSelectionStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherSettingsTest.java | 451 SoftApConfiguration currentConfig = new SoftApConfiguration.Builder() in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost() local 455 when(mWifiTetherViewModel.getSoftApConfiguration()).thenReturn(currentConfig); in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost() 461 assertThat(newConfig.getBand()).isEqualTo(currentConfig.getBand()); in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost() 466 SoftApConfiguration currentConfig = new SoftApConfiguration.Builder() in buildNewConfig_securityTypeChangeToOpen_setSecurityTypeCorrectly() local 470 when(mWifiTetherViewModel.getSoftApConfiguration()).thenReturn(currentConfig); in buildNewConfig_securityTypeChangeToOpen_setSecurityTypeCorrectly()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSettings.java | 316 SoftApConfiguration currentConfig = mWifiTetherViewModel.getSoftApConfiguration(); in buildNewConfig() local 317 SoftApConfiguration.Builder configBuilder = new SoftApConfiguration.Builder(currentConfig); in buildNewConfig() 321 ? currentConfig.getSecurityType() in buildNewConfig()
|
/packages/apps/Settings/src/com/android/settings/notification/history/ |
D | NotificationSbnAdapter.java | 86 Configuration currentConfig = mContext.getResources().getConfiguration(); in NotificationSbnAdapter() local 87 mInNightMode = (currentConfig.uiMode & Configuration.UI_MODE_NIGHT_MASK) in NotificationSbnAdapter()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 7656 WifiConfiguration currentConfig = WifiConfigurationTestUtil.createPskNetwork(); in testRemoveExcessNetworksOnAdd() local 7657 currentConfig.status = WifiConfiguration.Status.CURRENT; in testRemoveExcessNetworksOnAdd() 7658 currentConfig.isCurrentlyConnected = true; in testRemoveExcessNetworksOnAdd() 7683 configsInDeletionOrder.add(currentConfig); in testRemoveExcessNetworksOnAdd() 7725 WifiConfiguration currentConfig = WifiConfigurationTestUtil.createPskNetwork(); in testRemoveExcessAppAddedNetworksOnAdd() local 7726 currentConfig.status = WifiConfiguration.Status.CURRENT; in testRemoveExcessAppAddedNetworksOnAdd() 7727 currentConfig.isCurrentlyConnected = true; in testRemoveExcessAppAddedNetworksOnAdd() 7754 appAddedConfigsInDeletionOrder.add(currentConfig); in testRemoveExcessAppAddedNetworksOnAdd()
|
D | ClientModeImplTest.java | 3750 WifiConfiguration currentConfig = new WifiConfiguration(); in makeLastSelectedWifiConfiguration() local 3751 currentConfig.networkId = lastSelectedNetworkId; in makeLastSelectedWifiConfiguration() 3752 return currentConfig; in makeLastSelectedWifiConfiguration() 3763 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testIsRecentlySelectedByTheUser_SameNetworkNotExpired() local 3765 assertTrue(mCmi.isRecentlySelectedByTheUser(currentConfig)); in testIsRecentlySelectedByTheUser_SameNetworkNotExpired() 3776 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testIsRecentlySelectedByTheUser_SameNetworkExpired() local 3778 assertFalse(mCmi.isRecentlySelectedByTheUser(currentConfig)); in testIsRecentlySelectedByTheUser_SameNetworkExpired() 3788 WifiConfiguration currentConfig = makeLastSelectedWifiConfiguration(5, in testIsRecentlySelectedByTheUser_DifferentNetwork() local 3790 currentConfig.networkId = 4; in testIsRecentlySelectedByTheUser_DifferentNetwork() 3791 assertFalse(mCmi.isRecentlySelectedByTheUser(currentConfig)); in testIsRecentlySelectedByTheUser_DifferentNetwork()
|