/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/ |
D | AppSearchAttributionSourceUnitTest.java | 23 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/ |
D | AppSearchAttributionSource.java | 49 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 …]
|
D | InitializeAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 62 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in InitializeAidlRequest() 71 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | PersistToDiskAidlRequest.java | 42 private final AppSearchAttributionSource mCallerAttributionSource; 61 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in PersistToDiskAidlRequest() 70 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | GetStorageInfoAidlRequest.java | 42 private final AppSearchAttributionSource mCallerAttributionSource; 67 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetStorageInfoAidlRequest() 78 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | GetNamespacesAidlRequest.java | 41 private final AppSearchAttributionSource mCallerAttributionSource; 64 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetNamespacesAidlRequest() 75 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | ExecuteAppFunctionAidlRequest.java | 47 private final AppSearchAttributionSource mCallerAttributionSource; 59 @Param(id = 2) @NonNull AppSearchAttributionSource callerAttributionSource, in ExecuteAppFunctionAidlRequest() 75 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | UnregisterObserverCallbackAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 67 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in UnregisterObserverCallbackAidlRequest() 78 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | InvalidateNextPageTokenAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 72 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in InvalidateNextPageTokenAidlRequest() 85 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | RegisterObserverCallbackAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 73 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in RegisterObserverCallbackAidlRequest() 86 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | PutDocumentsAidlRequest.java | 42 private final AppSearchAttributionSource mCallerAttributionSource; 72 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in PutDocumentsAidlRequest() 85 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | RemoveByDocumentIdAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 72 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in RemoveByDocumentIdAidlRequest() 85 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | GlobalSearchAidlRequest.java | 44 private final AppSearchAttributionSource mCallerAttributionSource; 78 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GlobalSearchAidlRequest() 93 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | GetSchemaAidlRequest.java | 42 private final AppSearchAttributionSource mCallerAttributionSource; 74 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetSchemaAidlRequest() 89 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | GetDocumentsAidlRequest.java | 44 private final AppSearchAttributionSource mCallerAttributionSource; 90 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in GetDocumentsAidlRequest() 107 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | SearchSuggestionAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 77 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in SearchSuggestionAidlRequest() 92 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | RemoveByQueryAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 77 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in RemoveByQueryAidlRequest() 92 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | ReportUsageAidlRequest.java | 43 private final AppSearchAttributionSource mCallerAttributionSource; 82 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in ReportUsageAidlRequest() 99 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | SearchAidlRequest.java | 44 private final AppSearchAttributionSource mCallerAttributionSource; 78 @Param(id = 1) @NonNull AppSearchAttributionSource callerAttributionSource, in SearchAidlRequest() 93 public AppSearchAttributionSource getCallerAttributionSource() { in getCallerAttributionSource()
|
D | GetNextPageAidlRequest.java | 45 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/ |
D | AppSearchManagerServiceTest.java | 68 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/ |
D | FrameworkCallerAccess.java | 21 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/ |
D | VisibilityCheckerImplTest.java | 40 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/ |
D | AppSearchManager.java | 23 import android.app.appsearch.aidl.AppSearchAttributionSource; 218 AppSearchAttributionSource.createAttributionSource( in createSearchSession() 245 AppSearchAttributionSource.createAttributionSource( in createGlobalSearchSession() 277 AppSearchAttributionSource.createAttributionSource( in createEnterpriseGlobalSearchSession()
|
D | EnterpriseGlobalSearchSession.java | 22 import android.app.appsearch.aidl.AppSearchAttributionSource; 51 @NonNull AppSearchAttributionSource attributionSource, in createEnterpriseGlobalSearchSession() 71 @NonNull AppSearchAttributionSource callerAttributionSource) { in EnterpriseGlobalSearchSession()
|