Home
last modified time | relevance | path

Searched refs:getErrorMessage (Results 1 – 25 of 107) sorted by relevance

12345

/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DCtsOdpManagerTests.java272 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteNoOp()
295 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithRenderAndLogging()
314 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithRender()
335 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithOutputData()
352 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadRemoteData()
368 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadUserData()
388 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWithLogging()
413 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadLog()
428 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteReadLog()
498 assertTrue(receiver.getErrorMessage(), receiver.isSuccess()); in testExecuteWriteAndReadLocalData()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java290 assertThat(response.getErrorMessage()).isNull(); in testSwitchUser_success()
305 assertThat(result.getErrorMessage()).isNull(); in testSwitchUserId_success()
317 assertThat(response.getErrorMessage()).isNull(); in testSwitchUser_remoteException()
332 assertThat(result.getErrorMessage()).isNull(); in testSwitchUserId_remoteException()
343 assertThat(response.getErrorMessage()).isNull(); in testSwitchUser_runtimeException()
357 assertThat(result.getErrorMessage()).isNull(); in testSwitchUserId_runtimeException()
369 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_success()
382 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_remoteException()
394 assertThat(result.getErrorMessage()).isNull(); in testLogoutUser_runtimeException()
492 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserIdentificationAssociationResponseTest.java37 assertThat(response.getErrorMessage()).isNull(); in testFailure_noMessage()
47 assertThat(response.getErrorMessage()).isEqualTo("D'OH!"); in testFailure_withMessage()
77 assertThat(response.getErrorMessage()).isNull(); in testSuccess_noMessage()
87 assertThat(response.getErrorMessage()).isEqualTo("D'OH!"); in testSuccess_withMessage()
DUserCreationResultTest.java45 assertThat(result.getErrorMessage()).isNull(); in testConstructor_statusOnly()
58 assertThat(result.getErrorMessage()).isNull(); in testConstructor_statusAndUserOnly()
DCarUserServiceTest.java1926 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_umCreateReturnsNull()
1946 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_umCreateThrowsException()
1967 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_internalHalFailure()
1987 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_halFailure()
2008 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_halTimeout()
2030 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_halServiceThrowsRuntimeException()
2051 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_halNotSupported_success()
2102 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success()
2136 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_guest_success()
2235 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success_nullName()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DFledgeErrorResponseTest.java42 expect.that(response.getErrorMessage()).isEqualTo(notImplementedMessage); in testBuildFledgeErrorResponse()
61 expect.that(fromParcel.getErrorMessage()).isEqualTo(notImplementedMessage); in testWriteToParcel()
77 expect.that(fromParcel.getErrorMessage()).isNull(); in testWriteToParcelEmptyMessage()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java198 + result.getErrorMessage()); in createAppSearchSessionAsync()
201 result.getResultCode(), result.getErrorMessage())); in createAppSearchSessionAsync()
255 + result.getErrorMessage()); in setPersonSchemaAsync()
258 result.getResultCode(), result.getErrorMessage())); in setPersonSchemaAsync()
374 firstFailure.getErrorMessage())); in indexContactsAsync()
474 firstFailure.getErrorMessage())); in removeContactsByIdAsync()
633 callback.getResultCode(), callback.getErrorMessage()));
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/access/
DPermissionAccessResolverTest.java48 public void getErrorMessage() { in getErrorMessage() method in PermissionAccessResolverTest
50 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessage()
DUserConsentAccessResolverTest.java97 public void getErrorMessage() { in getErrorMessage() method in UserConsentAccessResolverTest
102 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessage()
DAppPackageAccessResolverTest.java191 public void getErrorMessage() { in getErrorMessage() method in AppPackageAccessResolverTest
197 .getErrorMessage()); in getErrorMessage()
DDevContextAccessResolverTest.java364 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessageRegister()
376 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessageRegisterWebSource()
389 assertEquals(ERROR_MESSAGE, mClassUnderTest.getErrorMessage()); in getErrorMessageRegisterWebTrigger()
DKillSwitchAccessResolverTest.java59 assertEquals(ERROR_MESSAGE, new KillSwitchAccessResolver(() -> false).getErrorMessage()); in testGetErrorMessage()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DFetchCustomAudienceImplTest.java333 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_invalidPackageName_throws()
362 RATE_LIMIT_REACHED_ERROR_MESSAGE, callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_throttled_throws()
395 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_failedForegroundCheck_throws()
428 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_failedEnrollmentCheck_throws()
461 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_appCannotUsePPAPI_throws()
535 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_invalidRequest_quotaExhausted_throws()
570 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_invalidRequest_invalidName_throws()
602 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_invalidRequest_invalidActivationTime_throws()
631 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_invalidRequest_invalidExpirationTime_throws()
666 callback.mFledgeErrorResponse.getErrorMessage()); in testImpl_invalidRequest_invalidUserBiddingSignals_throws()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/measurement/
DMeasurementErrorResponseTest.java45 expect.that(response.getErrorMessage()).isNull(); in testDefaults()
118 expect.that(response.getErrorMessage()).isEqualTo(ERROR_MESSAGE); in verifyExample()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollErrorDialog.kt31 import com.android.settings.biometrics.fingerprint.FingerprintErrorDialog.getErrorMessage in <lambda>()
102 getErrorMessage(errorMsgId) in Context()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DSearchSessionUtil.java63 failedResult.getResultCode(), failedResult.getErrorMessage()); in sendSystemErrorToCallback()
173 entry.getValue().getErrorMessage()); in createGetDocumentCallback()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java171 public String getErrorMessage() { in getErrorMessage() method in AppSearchResult
239 otherFailedResult.getResultCode(), otherFailedResult.getErrorMessage()); in newFailedResult()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityStore.java343 internalSetSchemaResponse.getErrorMessage()); in setLatestSchemaAndDocuments()
361 internalSetAndroidVOverlaySchemaResponse.getErrorMessage()); in setLatestSchemaAndDocuments()
408 internalSetSchemaResponse.getErrorMessage()); in migrateVisibilityOverlayDatabase()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintErrorDialog.java110 errMsg = host.getText(getErrorMessage(errMsgId)); in showErrorDialog()
142 public static int getErrorMessage(int errMsgId) { in getErrorMessage() method in FingerprintErrorDialog
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/access/
DIAccessResolver.java34 String getErrorMessage(); in getErrorMessage() method
DPermissionAccessResolver.java43 public String getErrorMessage() { in getErrorMessage() method in PermissionAccessResolver
DKillSwitchAccessResolver.java40 public String getErrorMessage() { in getErrorMessage() method in KillSwitchAccessResolver
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementServiceImpl.java520 LoggerFactory.getMeasurementLogger().e(resolver.getErrorMessage()); in getMeasurementApiStatus()
612 LoggerFactory.getMeasurementLogger().e(resolver.getErrorMessage()); in performRegistration()
617 .setErrorMessage(resolver.getErrorMessage()) in performRegistration()
656 LoggerFactory.getMeasurementLogger().e(resolver.getErrorMessage()); in performDeletion()
661 .setErrorMessage(resolver.getErrorMessage()) in performDeletion()
/packages/providers/MediaProvider/src/com/android/providers/media/leveldb/
DLevelDBResult.java40 public String getErrorMessage() { in getErrorMessage() method in LevelDBResult
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchResultInternalTest.java40 assertThat(result.getErrorMessage()).startsWith("NullPointerException"); in testMapNullPointerException()

12345