Home
last modified time | relevance | path

Searched refs:mApnData (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java127 ApnData mApnData; field in ApnEditor
289 mApnData = getApnDataFromUri(uri); in onCreate()
291 mApnData = new ApnData(sProjection.length); in onCreate()
296 boolean isUserEdited = mApnData.getInteger(EDITED_INDEX, Telephony.Carriers.USER_EDITED) in onCreate()
301 if (!isUserEdited && (mApnData.getInteger(USER_EDITABLE_INDEX, 1) == 0 in onCreate()
302 || apnTypesMatch(mReadOnlyApnTypes, mApnData.getString(TYPE_INDEX)))) { in onCreate()
493 mName.setText(mApnData.getString(NAME_INDEX)); in fillUI()
494 mApn.setText(mApnData.getString(APN_INDEX)); in fillUI()
495 mProxy.setText(mApnData.getString(PROXY_INDEX)); in fillUI()
496 mPort.setText(mApnData.getString(PORT_INDEX)); in fillUI()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java126 ApnData mApnData; field in ApnEditor
351 mApnData = getApnDataFromUri(uri); in onCreate()
353 mApnData = new ApnData(sProjection.length); in onCreate()
356 final boolean isUserEdited = mApnData.getInteger(EDITED_INDEX, in onCreate()
361 if (!isUserEdited && (mApnData.getInteger(USER_EDITABLE_INDEX, 1) == 0 in onCreate()
362 || apnTypesMatch(mReadOnlyApnTypes, mApnData.getString(TYPE_INDEX)))) { in onCreate()
557 mName.setText(mApnData.getString(NAME_INDEX)); in fillUI()
558 mApn.setText(mApnData.getString(APN_INDEX)); in fillUI()
559 mProxy.setText(mApnData.getString(PROXY_INDEX)); in fillUI()
560 mPort.setText(mApnData.getString(PORT_INDEX)); in fillUI()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DApnEditorTest.java129 mApnEditorUT.mApnData = new FakeApnData(APN_DATA); in setUp()
249 mApnEditorUT.mApnData = new FakeApnData(APN_DATA); in testValidateApnData_validData_shouldReturnNull()
264 mApnEditorUT.mApnData = apnData; in testValidateApn_apnNameNotSet_shouldReturnErrorMessage()
279 mApnEditorUT.mApnData = apnData; in testValidateApnData_apnNotSet_shouldReturnErrorMessage()
295 mApnEditorUT.mApnData = apnData; in testValidateApnData_mccInvalid_shouldReturnErrorMessage()
311 mApnEditorUT.mApnData = apnData; in testValidateApnData_mncInvalid_shouldReturnErrorMessage()
324 mApnEditorUT.mApnData = new FakeApnData(APN_DATA); in testSaveApnData_pressBackButtonWithValidApnData_shouldSaveApnData()
339 mApnEditorUT.mApnData = new FakeApnData(APN_DATA); in testSaveApnData_pressSaveButtonWithValidApnData_shouldSaveApnData()
359 mApnEditorUT.mApnData = apnData; in testSaveApnData_apnDataInvalid_shouldNotSaveApnData()
377 mApnEditorUT.mApnData = new FakeApnData(APN_DATA, apnUri); in testDeleteApnData_shouldDeleteData()
[all …]