Home
last modified time | relevance | path

Searched refs:AppSearchResultParcel (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java52 public final class AppSearchResultParcel<ValueType> extends AbstractSafeParcelable { class
56 public static final Parcelable.Creator<AppSearchResultParcel> CREATOR =
59 public AppSearchResultParcel createFromParcel(Parcel in) {
78 private static final Parcelable.Creator<AppSearchResultParcel> CREATOR_WITHOUT_BLOB =
143 AppSearchResultParcel( in AppSearchResultParcel() method in AppSearchResultParcel
215 public static AppSearchResultParcel fromVoid() { in fromVoid()
216 return new AppSearchResultParcel.Builder<>(AppSearchResult.RESULT_OK).build(); in fromVoid()
221 public static AppSearchResultParcel fromFailedResult(AppSearchResult failedResult) { in fromFailedResult()
227 return new AppSearchResultParcel.Builder<>(failedResult.getResultCode()) in fromFailedResult()
236 public static AppSearchResultParcel<InternalSetSchemaResponse> fromInternalSetSchemaResponse( in fromInternalSetSchemaResponse()
[all …]
DAppSearchBatchResultParcel.java63 AppSearchResultParcel appSearchResultParcel =
64 AppSearchResultParcel.directlyReadFromParcel(unmarshallParcel);
97 AppSearchResultParcel<GenericDocumentParcel> appSearchResultParcel; in fromStringToGenericDocumentParcel()
104 AppSearchResultParcel.fromGenericDocumentParcel(genericDocumentParcel); in fromStringToGenericDocumentParcel()
106 appSearchResultParcel = AppSearchResultParcel.fromFailedResult(entry.getValue()); in fromStringToGenericDocumentParcel()
119 AppSearchResultParcel<Void> appSearchResultParcel; in fromStringToVoid()
123 appSearchResultParcel = AppSearchResultParcel.fromVoid(); in fromStringToVoid()
125 appSearchResultParcel = AppSearchResultParcel.fromFailedResult(entry.getValue()); in fromStringToVoid()
142 .getParcelable(key, AppSearchResultParcel.class) in getResult()
162 AppSearchResultParcel<ValueType> appSearchResultParcel = in writeToParcel()
[all …]
DIAppSearchResultCallback.aidl18 import android.app.appsearch.aidl.AppSearchResultParcel;
22 void onResult(in AppSearchResultParcel resultParcel); in onResult()
DIAppSearchBatchResultCallback.aidl19 import android.app.appsearch.aidl.AppSearchResultParcel;
24 void onSystemError(in AppSearchResultParcel resultParcel); in onSystemError()
DIAppSearchManager.aidl22 import android.app.appsearch.aidl.AppSearchResultParcel;
309 AppSearchResultParcel registerObserverCallback( in registerObserverCallback()
321 AppSearchResultParcel unregisterObserverCallback( in unregisterObserverCallback()
DAppSearchResultParcel.aidl19 parcelable AppSearchResultParcel<ValueType>;
/packages/modules/AppSearch/framework/java/android/app/appsearch/functions/
DAppFunctionService.java25 import android.app.appsearch.aidl.AppSearchResultParcel;
84 AppSearchResultParcel appSearchResultParcel;
89 AppSearchResultParcel
94 AppSearchResultParcel.fromFailedResult(
103 safeCallback.onResult(AppSearchResultParcel.fromFailedResult(failedResult));
DSafeOneTimeAppSearchResultCallback.java22 import android.app.appsearch.aidl.AppSearchResultParcel;
63 onResult(AppSearchResultParcel.fromFailedResult(result)); in onFailedResult()
66 public void onResult(@NonNull AppSearchResultParcel<?> result) { in onResult()
DAppFunctionManager.java28 import android.app.appsearch.aidl.AppSearchResultParcel;
109 public void onResult(AppSearchResultParcel result) { in executeAppFunction()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchSession.java27 import android.app.appsearch.aidl.AppSearchResultParcel;
143 public void onResult(AppSearchResultParcel resultParcel) { in initialize()
258 public void onResult(AppSearchResultParcel resultParcel) { in getSchema()
304 public void onResult(AppSearchResultParcel resultParcel) { in getNamespaces()
375 public void onSystemError(AppSearchResultParcel resultParcel) { in put()
636 public void onResult(AppSearchResultParcel resultParcel) { in searchSuggestion()
704 public void onResult(AppSearchResultParcel resultParcel) { in reportUsage()
766 public void onSystemError(AppSearchResultParcel resultParcel) { in remove()
825 public void onResult(AppSearchResultParcel resultParcel) { in remove()
863 public void onResult(AppSearchResultParcel resultParcel) { in getStorageInfo()
[all …]
DReadOnlyGlobalSearchSession.java24 import android.app.appsearch.aidl.AppSearchResultParcel;
88 public void onResult(AppSearchResultParcel resultParcel) { in initialize()
227 public void onResult(AppSearchResultParcel resultParcel) { in getSchema()
DGlobalSearchSession.java24 import android.app.appsearch.aidl.AppSearchResultParcel;
227 public void onResult(AppSearchResultParcel resultParcel) { in reportSystemUsage()
343 AppSearchResultParcel<Void> resultParcel; in registerObserverCallback()
412 AppSearchResultParcel<Void> resultParcel; in unregisterObserverCallback()
DSearchSessionUtil.java22 import android.app.appsearch.aidl.AppSearchResultParcel;
181 public void onSystemError(AppSearchResultParcel result) { in createGetDocumentCallback()
DAppSearchMigrationHelper.java28 import android.app.appsearch.aidl.AppSearchResultParcel;
161 public void onResult(AppSearchResultParcel resultParcel) { in queryAndTransform()
219 public void onResult(AppSearchResultParcel resultParcel) { in putMigratedDocuments()
DSearchResults.java27 import android.app.appsearch.aidl.AppSearchResultParcel;
195 public void onResult(AppSearchResultParcel resultParcel) { in wrapCallback()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java55 import android.app.appsearch.aidl.AppSearchResultParcel;
476 invokeCallbackOnResult(callback, AppSearchResultParcel in setSchema()
512 invokeCallbackOnResult(callback, AppSearchResultParcel.fromFailedResult( in setSchema()
569 invokeCallbackOnResult(callback, AppSearchResultParcel.fromGetSchemaResponse( in getSchema()
604 invokeCallbackOnResult(callback, AppSearchResultParcel in getSchema()
611 invokeCallbackOnResult(callback, AppSearchResultParcel.fromFailedResult( in getSchema()
675 invokeCallbackOnResult(callback, AppSearchResultParcel in getNamespaces()
682 invokeCallbackOnResult(callback, AppSearchResultParcel.fromFailedResult( in getNamespaces()
1052 AppSearchResultParcel.fromSearchResultPage(searchResultPage)); in search()
1057 invokeCallbackOnResult(callback, AppSearchResultParcel.fromFailedResult( in search()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java30 import android.app.appsearch.aidl.AppSearchResultParcel;
163 errorCallback, AppSearchResultParcel.fromFailedResult(failedResult)); in verifyIncomingCallWithCallback()
380 AppSearchResultParcel.fromFailedResult( in executeLambdaForUserAsync()
391 errorCallback, AppSearchResultParcel.fromFailedResult(failedResult)); in executeLambdaForUserAsync()
509 IAppSearchResultCallback callback, AppSearchResultParcel<?> resultParcel) { in invokeCallbackOnResult()
541 callback.onSystemError(AppSearchResultParcel.fromFailedResult(result)); in invokeCallbackOnError()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java70 import android.app.appsearch.aidl.AppSearchResultParcel;
829 AppSearchResultParcel<Void> resultParcel = in testRegisterObserverCallbackStatsLogging()
855 AppSearchResultParcel<Void> resultParcel = in testUnregisterObserverCallbackStatsLogging()
1885 AppSearchResultParcel<Void> resultParcel = in verifyRegisterObserverCallbackResult()
1929 AppSearchResultParcel<Void> resultParcel = in verifyUnregisterObserverCallbackResult()
2064 public void onResult(AppSearchResultParcel appSearchResultParcel) { in onResult()
2086 public void onSystemError(AppSearchResultParcel appSearchResultParcel) { in onSystemError()
2159 callback.onResult(AppSearchResultParcel.fromExecuteAppFunctionResponse( in executeAppFunction()
2162 callback.onResult(AppSearchResultParcel.fromFailedResult(mResult)); in executeAppFunction()