Home
last modified time | relevance | path

Searched refs:customizedConfig (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/apn/
DApnStatus.kt55 val customizedConfig: CustomizedConfig = CustomizedConfig() constant in com.android.settings.network.apn.ApnData
85 !customizedConfig.readOnlyApn && in isFieldEnabled()
86 fieldName.all { it !in customizedConfig.readOnlyApnFields } in isFieldEnabled()
129 apnDataInit.copy(customizedConfig = getCarrierCustomizedConfig(apnDataInit, configManager)) in getApnDataInit()
133 apnType = getPreSelectedApnType(apnDataInit.customizedConfig) in getApnDataInit()
211 val customizedConfig = CustomizedConfig( in getCarrierCustomizedConfig() constant
229 if (customizedConfig.readOnlyApnTypes.isNotEmpty()) { in getCarrierCustomizedConfig()
230 log("read only APN type: " + customizedConfig.readOnlyApnTypes) in getCarrierCustomizedConfig()
232 customizedConfig.defaultApnTypes?.takeIf { it.isNotEmpty() }?.let { in getCarrierCustomizedConfig()
235 if (customizedConfig.defaultApnProtocol.isNotEmpty()) { in getCarrierCustomizedConfig()
[all …]
DApnTypes.kt125 fun getPreSelectedApnType(customizedConfig: CustomizedConfig): String = in getPreSelectedApnType()
126 (customizedConfig.defaultApnTypes in getPreSelectedApnType()
127 ?: defaultPreSelectedApnTypes(customizedConfig.readOnlyApnTypes)) in getPreSelectedApnType()
DApnEditPageProvider.kt120 if (!apnData.customizedConfig.readOnlyApn) { in ApnPage()
132 if (!apnData.newApn && !apnData.customizedConfig.readOnlyApn in ApnPage()
133 && apnData.customizedConfig.isAddApnAllowed in ApnPage()
DApnTypeCheckBox.kt39 ApnTypes.getOptions(context, apnData.apnType, apnData.customizedConfig.readOnlyApnTypes) in ApnTypeCheckBox()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/
DApnTypesTest.kt85 val customizedConfig = CustomizedConfig( in getPreSelectedApnType_readOnlyApnTypes() constant
89 val apnType = ApnTypes.getPreSelectedApnType(customizedConfig) in getPreSelectedApnType_readOnlyApnTypes()
DApnStatusTest.kt70 val apnData = ApnData(customizedConfig = CustomizedConfig(readOnlyApn = true)) in isFieldEnabled_readOnlyApn()
80 customizedConfig = CustomizedConfig( in isFieldEnabled_readOnlyApnFields()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java4012 SoftApConfiguration customizedConfig = new SoftApConfiguration.Builder() in testCustomLohs_GeneratesSsidIfAbsent() local
4016 eq(mContext), eq(customizedConfig), any())) in testCustomLohs_GeneratesSsidIfAbsent()
4024 customizedConfig, mExtras)).isEqualTo(REQUEST_REGISTERED); in testCustomLohs_GeneratesSsidIfAbsent()
4027 eq(mContext), eq(customizedConfig), any()); in testCustomLohs_GeneratesSsidIfAbsent()
4046 SoftApConfiguration customizedConfig = customizedConfigBuilder.build(); in testCustomLohs_ForwardsBssid() local
4048 eq(mContext), eq(customizedConfig), any())) in testCustomLohs_ForwardsBssid()
4049 .thenReturn(customizedConfig); in testCustomLohs_ForwardsBssid()
4055 customizedConfig, mExtras)).isEqualTo(REQUEST_REGISTERED); in testCustomLohs_ForwardsBssid()
4060 eq(mContext), eq(customizedConfig), any()); in testCustomLohs_ForwardsBssid()
10732 SoftApConfiguration customizedConfig = new SoftApConfiguration.Builder(lohsConfig) in testFailureCallbacksTriggeredWhenSoftApFailsBecauseNonSupportedConfiguration() local
[all …]