Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DApnEditorTest.java253 final String errMsg = mApnEditorUT.validateApnData(); in testValidateApnData_validData_shouldReturnNull() local
256 assertThat(errMsg).isNull(); in testValidateApnData_validData_shouldReturnNull()
268 final String errMsg = mApnEditorUT.validateApnData(); in testValidateApn_apnNameNotSet_shouldReturnErrorMessage() local
271 assertThat(errMsg).isEqualTo(mResources.getString(R.string.error_name_empty)); in testValidateApn_apnNameNotSet_shouldReturnErrorMessage()
283 final String errMsg = mApnEditorUT.validateApnData(); in testValidateApnData_apnNotSet_shouldReturnErrorMessage() local
286 assertThat(errMsg).isEqualTo(mResources.getString(R.string.error_apn_empty)); in testValidateApnData_apnNotSet_shouldReturnErrorMessage()
299 final String errMsg = mApnEditorUT.validateApnData(); in testValidateApnData_mccInvalid_shouldReturnErrorMessage() local
302 assertThat(errMsg).isEqualTo(mResources.getString(R.string.error_mcc_not3)); in testValidateApnData_mccInvalid_shouldReturnErrorMessage()
315 final String errMsg = mApnEditorUT.validateApnData(); in testValidateApnData_mncInvalid_shouldReturnErrorMessage() local
318 assertThat(errMsg).isEqualTo(mResources.getString(R.string.error_mnc_not23)); in testValidateApnData_mncInvalid_shouldReturnErrorMessage()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionConfiguration.java80 String errMsg = " not provided"; in IkeSessionConfiguration() local
81 Objects.requireNonNull(ikeConnInfo, "ikeConnInfo" + errMsg); in IkeSessionConfiguration()
82 Objects.requireNonNull(remoteVendorIds, "remoteVendorIds" + errMsg); in IkeSessionConfiguration()
83 Objects.requireNonNull(enabledExtensions, "enabledExtensions" + errMsg); in IkeSessionConfiguration()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/
DTestSetupInstrumentation.java58 protected void fail(String errMsg) { in fail() argument
59 Log.e(TAG, errMsg); in fail()
61 result.putString("error", errMsg); in fail()