/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/util/ |
H A D | PrefixUtil.java | 21 import android.app.appsearch.exceptions.AppSearchException; 106 public static String removePrefix(@NonNull String prefixedString) throws AppSearchException { in removePrefix() 114 throw new AppSearchException( in removePrefix() 130 public static String getPrefix(@NonNull String prefixedString) throws AppSearchException { in getPrefix() 133 throw new AppSearchException( in getPrefix() 189 throws AppSearchException { in removePrefixesFromDocument() 195 throw new AppSearchException( in removePrefixesFromDocument() 220 throw new AppSearchException( in removePrefixesFromDocument()
|
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/exceptions/ |
H A D | AppSearchException.java | 29 public class AppSearchException extends Exception { class 37 public AppSearchException(@AppSearchResult.ResultCode int resultCode) { in AppSearchException() method in AppSearchException 48 public AppSearchException( in AppSearchException() method in AppSearchException 63 public AppSearchException( in AppSearchException() method in AppSearchException
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/ |
H A D | AppSearchImpl.java | 226 throws AppSearchException { in create() 236 throws AppSearchException { in AppSearchImpl() 374 } catch (AppSearchException e) { in close() 415 throws AppSearchException { in setSchema() 520 throws AppSearchException { in getSchema() 579 throws AppSearchException { in getNamespaces() 623 throws AppSearchException { in putDocument() 700 throws AppSearchException { in enforceLimitConfigLocked() 776 throws AppSearchException { in getDocument() 845 throws AppSearchException { in query() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/ |
H A D | AppSearchImplTest.java | 399 AppSearchException e = in testRemoveDatabasesFromDocumentThrowsException() 424 AppSearchException e = in testNestedRemoveDatabasesFromDocumentThrowsException() 534 AppSearchException e = in testReset() 977 AppSearchException e = in testGetNextPageWithDifferentPackage_query() 1095 AppSearchException e = in testGetNextPageWithDifferentPackage_globalQuery() 1157 AppSearchException e = in testInvalidateNextPageToken_query() 1210 AppSearchException e = in testInvalidateNextPageTokenWithDifferentPackage_query() 1277 AppSearchException e = in testInvalidateNextPageToken_globalQuery() 1337 AppSearchException e = in testInvalidateNextPageTokenWithDifferentPackage_globalQuery() 2637 AppSearchException e = in testLimitConfig_DocumentSize() [all …]
|
H A D | AppSearchLoggerTest.java | 28 import android.app.appsearch.exceptions.AppSearchException; 596 AppSearchException exception = in testLoggingStats_putDocument_failure() 598 AppSearchException.class, in testLoggingStats_putDocument_failure() 794 AppSearchException exception = in testLoggingStats_remove_failure() 796 AppSearchException.class, in testLoggingStats_remove_failure()
|
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
H A D | AppSearchResult.java | 21 import android.app.appsearch.exceptions.AppSearchException; 223 if (t instanceof AppSearchException in throwableToFailedResult() 224 && ((AppSearchException) t).getResultCode() == RESULT_NOT_FOUND) { in throwableToFailedResult() 230 if (t instanceof AppSearchException) { in throwableToFailedResult() 231 return ((AppSearchException) t).toAppSearchResult(); in throwableToFailedResult()
|
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/util/ |
H A D | SchemaMigrationUtil.java | 24 import android.app.appsearch.exceptions.AppSearchException; 78 throws AppSearchException { in checkDeletedAndIncompatibleAfterMigration() 97 throws AppSearchException { in checkDeletedAndIncompatible() 105 throw new AppSearchException(AppSearchResult.RESULT_INVALID_SCHEMA, newMessage); in checkDeletedAndIncompatible()
|
/aosp12/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/ |
H A D | AppSearchMigrationHelper.java | 28 import android.app.appsearch.exceptions.AppSearchException; 96 throws IOException, AppSearchException, InterruptedException, ExecutionException { in queryAndTransform() 117 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in queryAndTransform() 183 throws IOException, AppSearchException { in readAndTransform() 209 throw new AppSearchException( in readAndTransform()
|
H A D | AppSearchSession.java | 26 import android.app.appsearch.exceptions.AppSearchException; 881 Throwable throwable = new AppSearchException( in sendSystemErrorToCallback()
|
/aosp12/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/ |
H A D | GlobalSearchSessionShimImpl.java | 28 import android.app.appsearch.exceptions.AppSearchException; 98 @NonNull AppSearchResult<T> result) throws AppSearchException { in transformResult() 100 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in transformResult()
|
H A D | AppSearchSessionShimImpl.java | 39 import android.app.appsearch.exceptions.AppSearchException; 204 @NonNull AppSearchResult<T> result) throws AppSearchException { in transformResult() 206 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in transformResult()
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/ |
H A D | VisibilityStoreImpl.java | 26 import android.app.appsearch.exceptions.AppSearchException; 95 throws AppSearchException { in create() 100 throws AppSearchException { in VisibilityStoreImpl() 154 } catch (AppSearchException e) { in VisibilityStoreImpl() 206 throws AppSearchException { in setVisibility()
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
H A D | VisibilityStore.java | 20 import android.app.appsearch.exceptions.AppSearchException; 59 throws AppSearchException; in setVisibility()
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/ |
H A D | AppSearchUserInstanceManager.java | 20 import android.app.appsearch.exceptions.AppSearchException; 103 throws AppSearchException { in getOrCreateUserInstance() 179 throws AppSearchException { in createUserInstance()
|
H A D | AppSearchManagerService.java | 39 import android.app.appsearch.exceptions.AppSearchException; 1014 throw new AppSearchException( in reportUsage() 1561 } catch (AppSearchException e) { in checkForOptimize() 1582 } catch (AppSearchException e) { in checkForOptimize()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/appsearch/ |
H A D | AppSearchSessionUnitTest.java | 25 import android.app.appsearch.exceptions.AppSearchException; 101 assertThat(executionException.getCause()).isInstanceOf(AppSearchException.class); in testPutDocument_throwsNullException() 102 AppSearchException appSearchException = (AppSearchException) executionException.getCause(); in testPutDocument_throwsNullException()
|
/aosp12/frameworks/base/apex/appsearch/framework/api/ |
H A D | current.txt | 451 public class AppSearchException extends java.lang.Exception { 452 ctor public AppSearchException(int); 453 ctor public AppSearchException(int, @Nullable String); 454 ctor public AppSearchException(int, @Nullable String, @Nullable Throwable);
|
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/stats/ |
H A D | PlatformLogger.java | 21 import android.app.appsearch.exceptions.AppSearchException;
|