Home
last modified time | relevance | path

Searched refs:AppSearchAttributionSource (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchAttributionSourceUnitTest.java23 import android.app.appsearch.aidl.AppSearchAttributionSource;
33 AppSearchAttributionSource appSearchAttributionSource1 = in testSameAttributionSource()
34 new AppSearchAttributionSource("testPackageName1", /* callingUid= */ 1, in testSameAttributionSource()
36 AppSearchAttributionSource appSearchAttributionSource2 = in testSameAttributionSource()
37 new AppSearchAttributionSource("testPackageName1", /* callingUid= */ 1, in testSameAttributionSource()
48 AppSearchAttributionSource appSearchAttributionSource1 = in testDifferentAttributionSource()
49 new AppSearchAttributionSource("testPackageName1", /* callingUid= */ 1, in testDifferentAttributionSource()
51 AppSearchAttributionSource appSearchAttributionSource2 = in testDifferentAttributionSource()
52 new AppSearchAttributionSource("testPackageName2", /* callingUid= */ 2, in testDifferentAttributionSource()
66 new AppSearchAttributionSource( in testPackageNamesNull()
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchAttributionSource.java49 public final class AppSearchAttributionSource extends AbstractSafeParcelable { class
51 public static final Parcelable.Creator<AppSearchAttributionSource> CREATOR =
80 AppSearchAttributionSource( in AppSearchAttributionSource() method in AppSearchAttributionSource
112 private AppSearchAttributionSource(@NonNull Compat compat) { in AppSearchAttributionSource() method in AppSearchAttributionSource
127 public AppSearchAttributionSource( in AppSearchAttributionSource() method in AppSearchAttributionSource
160 private static AppSearchAttributionSource toAppSearchAttributionSource( in toAppSearchAttributionSource()
162 return new AppSearchAttributionSource(new Api31Impl(attributionSource, pid)); in toAppSearchAttributionSource()
175 private static AppSearchAttributionSource toAppSearchAttributionSource( in toAppSearchAttributionSource()
177 return new AppSearchAttributionSource(new Api19Impl(packageName, uid, pid)); in toAppSearchAttributionSource()
185 public static AppSearchAttributionSource createAttributionSource( in createAttributionSource()
[all …]
DInitializeAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
62 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in InitializeAidlRequest()
71 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DPersistToDiskAidlRequest.java42 private final AppSearchAttributionSource mCallerAttributionSource;
61 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in PersistToDiskAidlRequest()
70 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DGetStorageInfoAidlRequest.java42 private final AppSearchAttributionSource mCallerAttributionSource;
67 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetStorageInfoAidlRequest()
78 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DGetNamespacesAidlRequest.java41 private final AppSearchAttributionSource mCallerAttributionSource;
64 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetNamespacesAidlRequest()
75 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DExecuteAppFunctionAidlRequest.java47 private final AppSearchAttributionSource mCallerAttributionSource;
59 @Param(id = 2) @NonNull AppSearchAttributionSource callerAttributionSource, in ExecuteAppFunctionAidlRequest()
75 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DUnregisterObserverCallbackAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
67 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in UnregisterObserverCallbackAidlRequest()
78 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DInvalidateNextPageTokenAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
72 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in InvalidateNextPageTokenAidlRequest()
85 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DRegisterObserverCallbackAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
73 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in RegisterObserverCallbackAidlRequest()
86 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DPutDocumentsAidlRequest.java42 private final AppSearchAttributionSource mCallerAttributionSource;
72 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in PutDocumentsAidlRequest()
85 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DRemoveByDocumentIdAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
72 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in RemoveByDocumentIdAidlRequest()
85 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DGlobalSearchAidlRequest.java44 private final AppSearchAttributionSource mCallerAttributionSource;
78 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GlobalSearchAidlRequest()
93 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DGetSchemaAidlRequest.java42 private final AppSearchAttributionSource mCallerAttributionSource;
74 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetSchemaAidlRequest()
89 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DGetDocumentsAidlRequest.java44 private final AppSearchAttributionSource mCallerAttributionSource;
90 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetDocumentsAidlRequest()
107 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DSearchSuggestionAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
77 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in SearchSuggestionAidlRequest()
92 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DRemoveByQueryAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
77 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in RemoveByQueryAidlRequest()
92 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DReportUsageAidlRequest.java43 private final AppSearchAttributionSource mCallerAttributionSource;
82 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in ReportUsageAidlRequest()
99 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DSearchAidlRequest.java44 private final AppSearchAttributionSource mCallerAttributionSource;
78 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in SearchAidlRequest()
93 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
DGetNextPageAidlRequest.java45 private final AppSearchAttributionSource mCallerAttributionSource;
84 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetNextPageAidlRequest()
101 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java68 import android.app.appsearch.aidl.AppSearchAttributionSource;
300 AppSearchAttributionSource.createAttributionSource(mContext, in testCallingPackageDoesntExistsInTargetUser()
318 AppSearchAttributionSource.createAttributionSource(mContext, mCallingPid), in testSetSchemaStatsLogging()
344 AppSearchAttributionSource.createAttributionSource(mContext, in testLocalGetSchemaStatsLogging()
359 AppSearchAttributionSource.createAttributionSource(mContext, in testGlobalGetSchemaStatsLogging()
374 AppSearchAttributionSource.createAttributionSource(mContext, in testGetNamespacesStatsLogging()
388 AppSearchAttributionSource.createAttributionSource(mContext, in testPutDocumentsStatsLogging()
502 AppSearchAttributionSource.createAttributionSource(mContext, mCallingPid), in testPutDocumentsStatsLogging_takenActions()
555 AppSearchAttributionSource.createAttributionSource(mContext, in testLocalGetDocumentsStatsLogging()
574 AppSearchAttributionSource.createAttributionSource(mContext, in testGlobalGetDocumentsStatsLogging()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/
DFrameworkCallerAccess.java21 import android.app.appsearch.aidl.AppSearchAttributionSource;
34 private final AppSearchAttributionSource mAttributionSource;
51 @NonNull AppSearchAttributionSource callerAttributionSource, in FrameworkCallerAccess()
62 public AppSearchAttributionSource getCallingAttributionSource() { in getCallingAttributionSource()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImplTest.java40 import android.app.appsearch.aidl.AppSearchAttributionSource;
83 private AppSearchAttributionSource mAttributionSource;
89 mAttributionSource = AppSearchAttributionSource.createAttributionSource(context, in setUp()
217 new FrameworkCallerAccess(new AppSearchAttributionSource(packageNameFoo, uidFoo, in testSetVisibility_visibleToPackages()
232 new FrameworkCallerAccess(new AppSearchAttributionSource(packageNameFoo, uidFoo, in testSetVisibility_visibleToPackages()
247 new FrameworkCallerAccess(new AppSearchAttributionSource(packageNameFoo, uidFoo, in testSetVisibility_visibleToPackages()
261 new FrameworkCallerAccess(new AppSearchAttributionSource(packageNameBar, uidBar, in testSetVisibility_visibleToPackages()
274 new FrameworkCallerAccess(new AppSearchAttributionSource(packageNameFoo, uidFoo, in testSetVisibility_visibleToPackages()
282 new FrameworkCallerAccess(new AppSearchAttributionSource(packageNameBar, uidBar, in testSetVisibility_visibleToPackages()
906 new FrameworkCallerAccess(new AppSearchAttributionSource("A", 1, in testPublicVisibility_mockPackageManager()
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchManager.java23 import android.app.appsearch.aidl.AppSearchAttributionSource;
218 AppSearchAttributionSource.createAttributionSource( in createSearchSession()
245 AppSearchAttributionSource.createAttributionSource( in createGlobalSearchSession()
277 AppSearchAttributionSource.createAttributionSource( in createEnterpriseGlobalSearchSession()
DEnterpriseGlobalSearchSession.java22 import android.app.appsearch.aidl.AppSearchAttributionSource;
51 @NonNull AppSearchAttributionSource attributionSource, in createEnterpriseGlobalSearchSession()
71 @NonNull AppSearchAttributionSource callerAttributionSource) { in EnterpriseGlobalSearchSession()

12