Home
last modified time | relevance | path

Searched refs:isFieldEnabled (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditPageProvider.kt162 enabled = apnData.isFieldEnabled(Telephony.Carriers.NAME), in ApnPage()
168 enabled = apnData.isFieldEnabled(Telephony.Carriers.APN), in ApnPage()
174 enabled = apnData.isFieldEnabled(Telephony.Carriers.PROXY), in ApnPage()
179 enabled = apnData.isFieldEnabled(Telephony.Carriers.PORT), in ApnPage()
184 enabled = apnData.isFieldEnabled(Telephony.Carriers.USER), in ApnPage()
189 enabled = apnData.isFieldEnabled(Telephony.Carriers.PASSWORD), in ApnPage()
194 enabled = apnData.isFieldEnabled(Telephony.Carriers.SERVER), in ApnPage()
206 enabled = apnData.isFieldEnabled(Telephony.Carriers.MMSC), in ApnPage()
211 enabled = apnData.isFieldEnabled(Telephony.Carriers.MMSPROXY), in ApnPage()
216 enabled = apnData.isFieldEnabled(Telephony.Carriers.MMSPORT), in ApnPage()
[all …]
DApnNetworkTypeCheckBox.kt33 enabled = apnData.isFieldEnabled( in ApnNetworkTypeCheckBox()
DApnTypeCheckBox.kt50 enabled = apnData.isFieldEnabled(Telephony.Carriers.TYPE), in ApnTypeCheckBox()
DApnStatus.kt84 fun isFieldEnabled(vararg fieldName: String): Boolean = in isFieldEnabled() method in com.android.settings.network.apn.ApnData
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/
DApnStatusTest.kt63 val enabled = apnData.isFieldEnabled(Telephony.Carriers.NAME) in isFieldEnabled_default()
72 val enabled = apnData.isFieldEnabled(Telephony.Carriers.NAME) in isFieldEnabled_readOnlyApn()
85 assertThat(apnData.isFieldEnabled(Telephony.Carriers.NAME)).isFalse() in isFieldEnabled_readOnlyApnFields()
86 assertThat(apnData.isFieldEnabled(Telephony.Carriers.PROXY)).isFalse() in isFieldEnabled_readOnlyApnFields()
87 assertThat(apnData.isFieldEnabled(Telephony.Carriers.APN)).isTrue() in isFieldEnabled_readOnlyApnFields()