/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/exception/ |
D | JSExecutionExceptionTest.java | 27 public static final String ERROR_MESSAGE = "error_message"; field in JSExecutionExceptionTest 31 JSExecutionException exception = new JSExecutionException(ERROR_MESSAGE); in testJSExecutionExceptionTestWithErrorMsg() 32 assertEquals(exception.getMessage(), ERROR_MESSAGE); in testJSExecutionExceptionTestWithErrorMsg() local 38 JSExecutionException exception = new JSExecutionException(ERROR_MESSAGE, t); in testJSExecutionExceptionTestWithCauseAndErrorMsg() 39 assertEquals(exception.getMessage(), ERROR_MESSAGE); in testJSExecutionExceptionTestWithCauseAndErrorMsg() local
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/common/ |
D | ServiceUnavailableExceptionTest.java | 26 public static final String ERROR_MESSAGE = "error_message"; field in ServiceUnavailableExceptionTest 37 ServiceUnavailableException exception = new ServiceUnavailableException(ERROR_MESSAGE); in testAdServicesUnavailableException_correctErrorMsg() 39 expect.that(exception).hasMessageThat().isEqualTo(ERROR_MESSAGE); in testAdServicesUnavailableException_correctErrorMsg() 44 ServiceUnavailableException exception = new ServiceUnavailableException(ERROR_MESSAGE); in testAdServicesUnavailableException_isOfTypeIllegalStateException()
|
D | ProviderServiceInternalExceptionTest.java | 27 public static final String ERROR_MESSAGE = "error_message"; field in ProviderServiceInternalExceptionTest 39 new ProviderServiceInternalException(ERROR_MESSAGE); in testProviderServiceInternalException_correctErrorMsg() 41 expect.that(exception).hasMessageThat().isEqualTo(ERROR_MESSAGE); in testProviderServiceInternalException_correctErrorMsg() 47 new ProviderServiceInternalException(ERROR_MESSAGE); in testProviderServiceInternalException_isOfTypeIllegalStateException()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | EthernetNetworkManagementExceptionTest.java | 36 private static final String ERROR_MESSAGE = "Test error message"; field in EthernetNetworkManagementExceptionTest 41 new EthernetNetworkManagementException(ERROR_MESSAGE); in testEthernetNetworkManagementExceptionParcelable() 49 new EthernetNetworkManagementException(ERROR_MESSAGE); in testEthernetNetworkManagementExceptionHasExpectedErrorMessage() 51 assertEquals(ERROR_MESSAGE, e.getMessage()); in testEthernetNetworkManagementExceptionHasExpectedErrorMessage()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | SimpleUserPickerFragment.java | 67 private static final int ERROR_MESSAGE = 0; field in SimpleUserPickerFragment 281 setMessage(ERROR_MESSAGE, in stopUser() 288 setMessage(ERROR_MESSAGE, in stopUser() 309 setMessage(ERROR_MESSAGE, in stopUser() 321 setMessage(ERROR_MESSAGE, "Invalid user"); in switchUser() 337 setMessage(ERROR_MESSAGE, in startUserVisibleOnDisplay() 352 setMessage(ERROR_MESSAGE, "Cannot create user without a name"); in createUser() 364 setMessage(ERROR_MESSAGE, "Timed out creating user after " + TIMEOUT_MS + "ms..."); in createUser() 370 setMessage(ERROR_MESSAGE, "Interrupted while creating user"); in createUser() 374 setMessage(ERROR_MESSAGE, "Encountered Exception while creating user " + name); in createUser() [all …]
|
D | ProfileUserFragment.java | 58 private static final int ERROR_MESSAGE = 0; field in ProfileUserFragment 199 setMessage(ERROR_MESSAGE, e); in createUser() 221 setMessage(ERROR_MESSAGE, e); in removeUser() 296 setMessage(ERROR_MESSAGE, e.getMessage()); in assignUserToZone() 301 setMessage(ERROR_MESSAGE, "Failed to assign user " + userId + " to zone " in assignUserToZone() 324 case ERROR_MESSAGE: in setMessage()
|
/packages/services/Telecomm/scripts/ |
D | aosp_tag_preupload.py | 14 ERROR_MESSAGE = """ variable 49 print(ERROR_MESSAGE) 64 print(ERROR_MESSAGE)
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | ErrorWrapperTest.java | 34 private static final String ERROR_MESSAGE = "message"; field in ErrorWrapperTest 42 DIALOG_TITLE_ID, LazyStringResource.of(ERROR_MESSAGE), in constructor_works() 47 ERROR_MESSAGE); in constructor_works()
|
D | ErrorDialogUtilsTest.java | 37 private static final String ERROR_MESSAGE = "message"; field in ErrorDialogUtilsTest 43 LazyStringResource.of(ERROR_MESSAGE), 51 .putExtra(ErrorDialogUtils.EXTRA_ERROR_MESSAGE_RES, ERROR_MESSAGE)
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | QosCallbackExceptionTest.java | 43 private static final String ERROR_MESSAGE = "Test Error Message"; field in QosCallbackExceptionTest 47 final Throwable testcause = new Throwable(ERROR_MESSAGE); in testQosCallbackException() 51 final QosCallbackException exceptionMsg = new QosCallbackException(ERROR_MESSAGE); in testQosCallbackException() 52 assertEquals(ERROR_MESSAGE, exceptionMsg.getMessage()); in testQosCallbackException()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/ |
D | MeasurementErrorResponseTest.java | 37 private static final String ERROR_MESSAGE = "Error message"; field in MeasurementErrorResponseTest 112 .setErrorMessage(ERROR_MESSAGE) in createExample() 118 expect.that(response.getErrorMessage()).isEqualTo(ERROR_MESSAGE); in verifyExample()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/ |
D | PermissionAccessResolver.java | 25 private static final String ERROR_MESSAGE = "Unauthorized caller. Permission not requested."; field in PermissionAccessResolver 44 return ERROR_MESSAGE; in getErrorMessage()
|
D | KillSwitchAccessResolver.java | 27 private static final String ERROR_MESSAGE = "Measurement API is disabled by kill-switch."; field in KillSwitchAccessResolver 41 return ERROR_MESSAGE; in getErrorMessage()
|
D | UserConsentAccessResolver.java | 38 private static final String ERROR_MESSAGE = "User has not consented."; field in UserConsentAccessResolver 60 return ERROR_MESSAGE; in getErrorMessage()
|
D | AppPackageAccessResolver.java | 27 private static final String ERROR_MESSAGE = "Package %s is not allowed to call the API."; field in AppPackageAccessResolver 56 return String.format(ERROR_MESSAGE, mPackageName); in getErrorMessage()
|
D | ConsentNotifiedAccessResolver.java | 38 private static final String ERROR_MESSAGE = "Consent notification has not been displayed."; field in ConsentNotifiedAccessResolver 83 return ERROR_MESSAGE; in getErrorMessage()
|
D | ForegroundEnforcementAccessResolver.java | 35 private static final String ERROR_MESSAGE = "Measurement API was not called from foreground."; field in ForegroundEnforcementAccessResolver 86 return ERROR_MESSAGE; in getErrorMessage()
|
D | DevContextAccessResolver.java | 35 private static final String ERROR_MESSAGE = "Localhost is only permitted on user-debug builds " field in DevContextAccessResolver 98 return ERROR_MESSAGE; in getErrorMessage()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/access/ |
D | PermissionAccessResolverTest.java | 31 private static final String ERROR_MESSAGE = "Unauthorized caller. Permission not requested."; field in PermissionAccessResolverTest 50 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessage()
|
D | KillSwitchAccessResolverTest.java | 32 private static final String ERROR_MESSAGE = "Measurement API is disabled by kill-switch."; field in KillSwitchAccessResolverTest 59 assertEquals(ERROR_MESSAGE, new KillSwitchAccessResolver(() -> false).getErrorMessage()); in testGetErrorMessage()
|
D | UserConsentAccessResolverTest.java | 48 private static final String ERROR_MESSAGE = "User has not consented."; field in UserConsentAccessResolverTest 102 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessage()
|
D | DevContextAccessResolverTest.java | 50 private static final String ERROR_MESSAGE = "Localhost is only permitted on user-debug builds " field in DevContextAccessResolverTest 364 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessageRegister() 376 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessageRegisterWebSource() 389 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessageRegisterWebTrigger()
|
D | ForegroundEnforcementAccessResolverTest.java | 48 private static final String ERROR_MESSAGE = "Measurement API was not called from foreground."; field in ForegroundEnforcementAccessResolverTest 183 ERROR_MESSAGE, in testGetErrorMessage()
|
/packages/apps/TV/src/com/android/tv/ |
D | LauncherActivity.java | 38 public static final String ERROR_MESSAGE = "com.android.tv.LauncherActivity.ErrorMessage"; field in LauncherActivity 82 intent.putExtra(ERROR_MESSAGE, getResources().getString(R.string.msg_missing_app)); in onCreate()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | EapFailureNotifierTest.java | 84 private static final String ERROR_MESSAGE = "Error Message"; field in EapFailureNotifierTest 105 anyString())).thenReturn(ERROR_MESSAGE); in setUp() 110 ERROR_MESSAGE + " : " + EapFailureNotifier in setUp()
|