Home
last modified time | relevance | path

Searched defs:e (Results 1 – 25 of 26) sorted by relevance

12

/appsearch/appsearch/src/main/java/androidx/appsearch/util/
DExceptionUtil.java41 public static void handleException(@NonNull Exception e) { in handleException()
53 public static void handleRemoteException(@NonNull RemoteException e) { in handleRemoteException()
63 private static void rethrowRuntimeException(RuntimeException e) { in rethrowRuntimeException()
/appsearch/appsearch/src/androidTest/java/androidx/appsearch/cts/exceptions/
DAppSearchExceptionCtsTest.java29 AppSearchException e = new AppSearchException(AppSearchResult.RESULT_IO_ERROR); in testNoMessageException() local
40 AppSearchException e = in testExceptionWithMessage() local
53 AppSearchException e = new AppSearchException(AppSearchResult.RESULT_INVALID_ARGUMENT, in testExceptionWithThrowable() local
/appsearch/appsearch-local-storage/src/androidTest/java/androidx/appsearch/localstorage/util/
DPrefixUtilTest.java91 AppSearchException e = assertThrows(AppSearchException.class, () -> PrefixUtil.removePrefix( in testRemovePrefix_missingDelimiter() local
109 AppSearchException e = assertThrows(AppSearchException.class, () -> PrefixUtil.getPrefix( in testGetPrefix_missingDelimiter() local
191 AppSearchException e = assertThrows(AppSearchException.class, in testRemovePrefixesFromDocument_multiplePrefixNames() local
212 AppSearchException e = assertThrows(AppSearchException.class, in testRemovePrefixesFromDocument_multiplePrefixNamesFromNested() local
/appsearch/appsearch-local-storage/src/androidTest/java/androidx/appsearch/localstorage/visibilitystore/
DVisibilityStoreTest.java181 AppSearchException e = assertThrows(AppSearchException.class, in testRemoveVisibility() local
257 AppSearchException e = assertThrows(AppSearchException.class, in testSetGetAndRemoveOverlayVisibility() local
338 AppSearchException e = assertThrows(AppSearchException.class, in testSetVisibility_removeOverlay_publicAcl() local
373 AppSearchException e = assertThrows(AppSearchException.class, in testSetVisibility_removeOverlay_visibleToConfig() local
DVisibilityStoreMigrationFromV2Test.java211 AppSearchException e = assertThrows(AppSearchException.class, in testVisibilityMigration_from2() local
/appsearch/appsearch/src/androidTest/java/androidx/appsearch/cts/app/
DPropertyPathCtsTest.java38 Throwable e; in testPropertyPathInvalid() local
132 Throwable e; in testPathSegmentInvalid() local
DSearchSuggestionSpecCtsTest.java73 IllegalStateException e = assertThrows(IllegalStateException.class, in testDocumentIdFilterMustMatchNamespaceFilter() local
105 IllegalStateException e = assertThrows(IllegalStateException.class, in testPropertyFilterMustMatchSchemaFilter() local
DAppSearchSchemaCtsTest.java115 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in testDuplicateProperties() local
622 IllegalStateException e = in testInvalidStringPropertyConfigsJoinableValueType() local
921 IllegalArgumentException e = in testInvalidDocumentPropertyConfig_indexableNestedProperties() local
DGetSchemaResponseCtsTest.java241 Exception e = assertThrows(UnsupportedOperationException.class, in setVisibility_setFalse() local
346 Exception e = assertThrows(UnsupportedOperationException.class, in testVisibility_publicVisibility_notSupported() local
DPutDocumentsRequestCtsTest.java72 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in duplicateIdForNormalAndTakenActionGenericDocumentThrowsException() local
DSearchSpecCtsTest.java292 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in testBuildSearchSpec_searchSourceLogTag_exceedLengthLimitation() local
779 IllegalStateException e = assertThrows(IllegalStateException.class, () -> in testInvalidJoinSpecConfig() local
DAppSearchSessionCtsTestBase.java1150 Exception e = assertThrows(UnsupportedOperationException.class, in testSetSchema_publiclyVisible_unsupported() local
1194 Exception e = assertThrows(UnsupportedOperationException.class, in testSetSchema_visibleToConfig_unsupported() local
1256 UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, () -> in testGetSchema_longPropertyIndexingTypeRange_notSupported() local
1329 UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, () -> in testGetSchema_joinableValueTypeQualifiedId_notSupported() local
3800 UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, in testQuery_unsupportedAdvancedRanking() local
6720 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in testRemoveQueryWithJoinSpecThrowsException() local
6776 IllegalStateException e = assertThrows(IllegalStateException.class, () -> in testCallAfterClose() local
7652 Exception e = assertThrows(IllegalArgumentException.class, () -> in testRfc822_unsupportedFeature_throwsException() local
8949 Exception e = assertThrows(UnsupportedOperationException.class, () -> mDb1.search( in testJoin_unsupportedFeature_throwsException() local
9843 UnsupportedOperationException e = in testGetSchema_parentTypes_notSupported() local
[all …]
DGlobalSearchSessionCtsTestBase.java1554 UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, in testGlobalGetSchema_notSupported() local
1567 UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, in testGlobalGetByDocumentId_notSupported() local
DGenericDocumentCtsTest.java692 Exception e = assertThrows(IllegalArgumentException.class, in testNestedProperties_buildBlankPaths() local
/appsearch/appsearch/src/androidTest/java/androidx/appsearch/exceptions/
DIllegalSchemaExceptionTest.java26 IllegalSchemaException e = new IllegalSchemaException("ERROR MESSAGE"); in testExceptionWithMessage() local
/appsearch/appsearch/src/androidTest/java/androidx/appsearch/app/
DAppSearchResultInternalTest.java29 NullPointerException e = assertThrows(NullPointerException.class, () -> { in testMapNullPointerException() local
DAppSearchSessionPlatformInternalTest.java82 UnsupportedOperationException e = assertThrows(UnsupportedOperationException.class, () -> in testGetSchema_deletePropagationTypePropagateFrom_notSupported() local
DAppSearchSchemaInternalTest.java106 IllegalStateException e = in testSetDeletePropagationTypeWithoutJoinableValueTypeQualifiedId_throwsException() local
/appsearch/appsearch-play-services-storage/src/androidTest/java/androidx/appsearch/playservicesstorage/
DPlayServicesStorageTest.java42 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in testSearchContext_withInvalidDatabaseName() local
/appsearch/appsearch-platform-storage/src/androidTest/java/androidx/appsearch/platformstorage/converter/
DAppSearchResultToPlatformConverterTest.java64 ExecutionException e = assertThrows(ExecutionException.class, future::get); in testPlatformAppSearchResultToFuture_catchException() local
/appsearch/appsearch-platform-storage/src/androidTest/java/androidx/appsearch/platformstorage/
DPlatformStorageTest.java74 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in testSearchContext_withInvalidDatabaseName() local
/appsearch/appsearch-local-storage/src/androidTest/java/androidx/appsearch/localstorage/
DAppSearchImplTest.java415 AppSearchException e = assertThrows(AppSearchException.class, () -> in testRemoveDatabasesFromDocumentThrowsException() local
437 AppSearchException e = assertThrows(AppSearchException.class, () -> in testNestedRemoveDatabasesFromDocumentThrowsException() local
537 AppSearchException e = assertThrows( in testReset() local
1603 AppSearchException e = assertThrows(AppSearchException.class, in testSearchSuggestion_emptyPrefix() local
1717 AppSearchException e = assertThrows(AppSearchException.class, in testGetNextPageWithDifferentPackage_query() local
1839 AppSearchException e = assertThrows(AppSearchException.class, in testGetNextPageWithDifferentPackage_globalQuery() local
1905 AppSearchException e = assertThrows(AppSearchException.class, in testInvalidateNextPageToken_query() local
2006 AppSearchException e = assertThrows(AppSearchException.class, in testInvalidateNextPageTokenWithDifferentPackage_query() local
2075 AppSearchException e = assertThrows(AppSearchException.class, in testInvalidateNextPageToken_globalQuery() local
2135 AppSearchException e = assertThrows(AppSearchException.class, in testInvalidateNextPageTokenWithDifferentPackage_globalQuery() local
[all …]
DLocalStorageTest.java87 IllegalArgumentException e = assertThrows(IllegalArgumentException.class, in testSearchContext_withInvalidDatabaseName() local
/appsearch/appsearch/src/androidTest/java/androidx/appsearch/util/
DIndentingStringBuilderTest.java45 Exception e = assertThrows(IllegalStateException.class, in testDecreaseIndentLevel_throwsException() local
/appsearch/appsearch-local-storage/src/androidTest/java/androidx/appsearch/localstorage/converter/
DSearchResultToProtoConverterTest.java185 Exception e = assertThrows(AppSearchException.class, in testToSearchResultProtoWithDoublyNested() local

12