/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStore.java | 32 import android.app.appsearch.exceptions.AppSearchException; 84 public VisibilityStore(@NonNull AppSearchImpl appSearchImpl) throws AppSearchException { in VisibilityStore() 125 throw new AppSearchException( in VisibilityStore() 140 throws AppSearchException { in setVisibility() 180 } catch (AppSearchException e) { in setVisibility() 201 throws AppSearchException { in removeVisibility() 213 } catch (AppSearchException e) { in removeVisibility() 234 } catch (AppSearchException e) { in removeVisibility() 264 throws AppSearchException { in loadVisibilityConfigMap() 285 } catch (AppSearchException e) { in loadVisibilityConfigMap() [all …]
|
D | VisibilityStoreMigrationHelperFromV1.java | 24 import android.app.appsearch.exceptions.AppSearchException; 53 @NonNull AppSearchImpl appSearchImpl) throws AppSearchException { in getVisibilityDocumentsInVersion1() 72 } catch (AppSearchException e) { in getVisibilityDocumentsInVersion1()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/util/ |
D | PrefixUtilTest.java | 23 import android.app.appsearch.exceptions.AppSearchException; 84 public void testRemovePrefix() throws AppSearchException { in testRemovePrefix() 91 AppSearchException e = in testRemovePrefix_missingDelimiter() 92 assertThrows(AppSearchException.class, () -> PrefixUtil.removePrefix("foo$bar")); in testRemovePrefix_missingDelimiter() 97 e = assertThrows(AppSearchException.class, () -> PrefixUtil.removePrefix("foo")); in testRemovePrefix_missingDelimiter() 104 public void testGetPrefix() throws AppSearchException { in testGetPrefix() 111 AppSearchException e = in testGetPrefix_missingDelimiter() 112 assertThrows(AppSearchException.class, () -> PrefixUtil.getPrefix("foo$bar")); in testGetPrefix_missingDelimiter() 117 e = assertThrows(AppSearchException.class, () -> PrefixUtil.getPrefix("foo")); in testGetPrefix_missingDelimiter() 157 public void testRemovePrefixesFromDocument() throws AppSearchException { in testRemovePrefixesFromDocument() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | SyncAppSearchBase.java | 23 import android.app.appsearch.exceptions.AppSearchException; 40 Consumer<Consumer<AppSearchResult<T>>> operation) throws AppSearchException { in executeAppSearchResultOperation() 53 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in executeAppSearchResultOperation() 59 throw new AppSearchException( in executeAppSearchResultOperation() 62 throw new AppSearchException( in executeAppSearchResultOperation() 70 Consumer<BatchResultCallback<T, V>> operation) throws AppSearchException { in executeAppSearchBatchResultOperation() 95 throw new AppSearchException( in executeAppSearchBatchResultOperation() 98 throw new AppSearchException( in executeAppSearchBatchResultOperation()
|
D | AppSearchHelper.java | 31 import android.app.appsearch.exceptions.AppSearchException; 82 throws AppSearchException { in createAppSearchHelper() 110 private void initializeAppSearchSessions() throws AppSearchException { in initializeAppSearchSessions() 133 throws AppSearchException { in setSchemasForPackages() 169 public void indexApps(@NonNull List<MobileApplication> apps) throws AppSearchException { in indexApps() 183 throw new AppSearchException( in indexApps() 234 } catch (AppSearchException e) { in collectUpdatedTimestampFromAllPages()
|
D | SyncAppSearchSessionImpl.java | 26 import android.app.appsearch.exceptions.AppSearchException; 39 throws AppSearchException { in SyncAppSearchSessionImpl() 63 throws AppSearchException { in setSchema() 75 throws AppSearchException { in put()
|
D | AppsIndexerImpl.java | 21 import android.app.appsearch.exceptions.AppSearchException; 52 public AppsIndexerImpl(@NonNull Context context) throws AppSearchException { in AppsIndexerImpl() 67 public void doUpdate(@NonNull AppsIndexerSettings settings) throws AppSearchException { in doUpdate() 131 } catch (AppSearchException e) { in doUpdate()
|
D | SyncAppSearchSession.java | 27 import android.app.appsearch.exceptions.AppSearchException; 45 throws AppSearchException; in setSchema() 54 throws AppSearchException; in put()
|
D | AppsIndexerUserInstance.java | 23 import android.app.appsearch.exceptions.AppSearchException; 93 throws AppSearchException { in createInstance() 110 throws AppSearchException { in createInstance() 217 } catch (AppSearchException e) { in doUpdate()
|
D | SyncSearchResults.java | 21 import android.app.appsearch.exceptions.AppSearchException; 38 List<SearchResult> getNextPage() throws AppSearchException; in getNextPage()
|
D | SyncSearchResultsImpl.java | 21 import android.app.appsearch.exceptions.AppSearchException; 37 public List<SearchResult> getNextPage() throws AppSearchException { in getNextPage()
|
D | SyncGlobalSearchSessionImpl.java | 22 import android.app.appsearch.exceptions.AppSearchException; 34 throws AppSearchException { in SyncGlobalSearchSessionImpl()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/util/ |
D | PrefixUtil.java | 21 import android.app.appsearch.exceptions.AppSearchException; 108 public static String removePrefix(@NonNull String prefixedString) throws AppSearchException { in removePrefix() 113 throw new AppSearchException( in removePrefix() 132 public static String getPrefix(@NonNull String prefixedString) throws AppSearchException { in getPrefix() 135 throw new AppSearchException( in getPrefix() 190 throws AppSearchException { in removePrefixesFromDocument() 196 throw new AppSearchException( in removePrefixesFromDocument() 221 throw new AppSearchException( in removePrefixesFromDocument() 246 @NonNull SchemaTypeConfigProto.Builder typeConfigBuilder) throws AppSearchException { in removePrefixesFromSchemaType()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 49 import android.app.appsearch.exceptions.AppSearchException; 271 throws AppSearchException { in create() 285 throws AppSearchException { in AppSearchImpl() 409 } catch (AppSearchException e) { in AppSearchImpl() 457 } catch (AppSearchException e) { in close() 498 throws AppSearchException { in setSchema() 549 throws AppSearchException { in doSetSchemaWithChangeNotificationLocked() 734 throws AppSearchException { in doSetSchemaNoChangeNotificationLocked() 780 } catch (AppSearchException e) { in doSetSchemaNoChangeNotificationLocked() 886 throws AppSearchException { in getSchema() [all …]
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/exceptions/ |
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
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | AppSearchResult.java | 22 import android.app.appsearch.exceptions.AppSearchException; 249 if (t instanceof AppSearchException in throwableToFailedResult() 250 && ((AppSearchException) t).getResultCode() == RESULT_NOT_FOUND) { in throwableToFailedResult() 258 if (t instanceof AppSearchException) { in throwableToFailedResult() 259 return ((AppSearchException) t).toAppSearchResult(); in throwableToFailedResult()
|
D | PutDocumentsRequest.java | 23 import android.app.appsearch.exceptions.AppSearchException; 176 @NonNull GenericDocument... takenActionGenericDocuments) throws AppSearchException { in addTakenActionGenericDocuments() 195 throws AppSearchException { in addTakenActionGenericDocuments()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/ |
D | VisibilityStoreTest.java | 31 import android.app.appsearch.exceptions.AppSearchException; 180 AppSearchException e = in testRemoveVisibility() 182 AppSearchException.class, in testRemoveVisibility() 263 AppSearchException e = in testSetGetAndRemoveOverlayVisibility() 265 AppSearchException.class, in testSetGetAndRemoveOverlayVisibility() 351 AppSearchException e = in testSetVisibility_removeOverlay_publicAcl() 353 AppSearchException.class, in testSetVisibility_removeOverlay_publicAcl() 391 AppSearchException e = in testSetVisibility_removeOverlay_visibleToConfig() 393 AppSearchException.class, in testSetVisibility_removeOverlay_visibleToConfig()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 49 import android.app.appsearch.exceptions.AppSearchException; 447 AppSearchException e = in testRemoveDatabasesFromDocumentThrowsException() 449 AppSearchException.class, () -> removePrefixesFromDocument(actualDocument)); in testRemoveDatabasesFromDocumentThrowsException() 472 AppSearchException e = in testNestedRemoveDatabasesFromDocumentThrowsException() 474 AppSearchException.class, () -> removePrefixesFromDocument(actualDocument)); in testNestedRemoveDatabasesFromDocumentThrowsException() 578 AppSearchException e = in testReset() 580 AppSearchException.class, in testReset() 1624 AppSearchException e = in testSearchSuggestion_emptyPrefix() 1626 AppSearchException.class, in testSearchSuggestion_emptyPrefix() 1745 AppSearchException e = in testGetNextPageWithDifferentPackage_query() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | SearchResultToProtoConverter.java | 28 import android.app.appsearch.exceptions.AppSearchException; 63 throws AppSearchException { in toSearchResultPage() 86 throws AppSearchException { in toUnprefixedSearchResult() 116 throw new AppSearchException( in toUnprefixedSearchResult()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/util/ |
D | SchemaMigrationUtil.java | 26 import android.app.appsearch.exceptions.AppSearchException; 81 throws AppSearchException { in checkDeletedAndIncompatibleAfterMigration() 99 throw new AppSearchException( in checkDeletedAndIncompatibleAfterMigration()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchMigrationHelper.java | 33 import android.app.appsearch.exceptions.AppSearchException; 137 throws IOException, AppSearchException, InterruptedException, ExecutionException { in queryAndTransform() 169 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in queryAndTransform() 255 throws IOException, AppSearchException { in readAndTransform() 283 throw new AppSearchException( in readAndTransform()
|
D | GlobalSearchSession.java | 32 import android.app.appsearch.exceptions.AppSearchException; 269 throws AppSearchException { in registerObserverCallback() 362 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in registerObserverCallback() 395 throws AppSearchException { in unregisterObserverCallback() 429 throw new AppSearchException(result.getResultCode(), result.getErrorMessage()); in unregisterObserverCallback()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 82 import android.app.appsearch.exceptions.AppSearchException; 338 } catch (AppSearchException | RuntimeException e) { in handlePackageRemoved() 374 } catch (AppSearchException | RuntimeException e) { in onUserUnlocking() 420 public void doFullyPersistForUser(@UserIdInt int userId) throws AppSearchException { in doFullyPersistForUser() 508 } catch (AppSearchException | RuntimeException e) { in setSchema() 607 } catch (AppSearchException | RuntimeException e) { in getSchema() 678 } catch (AppSearchException | RuntimeException e) { in getNamespaces() 764 } catch (AppSearchException | RuntimeException e) { in putDocuments() 794 } catch (AppSearchException | RuntimeException e) { in putDocuments() 822 } catch (AppSearchException | RuntimeException e) { in putDocuments() [all …]
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | AppSearchHelper.java | 35 import android.app.appsearch.exceptions.AppSearchException; 200 new AppSearchException( in createAppSearchSessionAsync() 257 new AppSearchException( in setPersonSchemaAsync() 372 new AppSearchException( in indexContactsAsync() 472 new AppSearchException( in removeContactsByIdAsync() 632 new AppSearchException(
|