Home
last modified time | relevance | path

Searched refs:callerAccess (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityUtilTest.java26 CallerAccess callerAccess = new CallerAccess("package1"); in testIsSchemaSearchableByCaller_selfAccessDefaultAllowed() local
29 callerAccess, in testIsSchemaSearchableByCaller_selfAccessDefaultAllowed()
37 callerAccess, in testIsSchemaSearchableByCaller_selfAccessDefaultAllowed()
47 CallerAccess callerAccess = in testIsSchemaSearchableByCaller_selfAccessNotAllowed() local
56 callerAccess, in testIsSchemaSearchableByCaller_selfAccessNotAllowed()
64 callerAccess, in testIsSchemaSearchableByCaller_selfAccessNotAllowed()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityUtil.java48 @NonNull CallerAccess callerAccess, in isSchemaSearchableByCaller()
53 Objects.requireNonNull(callerAccess); in isSchemaSearchableByCaller()
59 if (callerAccess.doesCallerHaveSelfAccess() in isSchemaSearchableByCaller()
60 && callerAccess.getCallingPackageName().equals(targetPackageName)) { in isSchemaSearchableByCaller()
67 callerAccess, targetPackageName, prefixedSchema, visibilityStore); in isSchemaSearchableByCaller()
DVisibilityChecker.java35 @NonNull CallerAccess callerAccess, in isSchemaSearchableByCaller()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibilityCheckerImpl.java74 @NonNull CallerAccess callerAccess, in isSchemaSearchableByCaller()
78 Objects.requireNonNull(callerAccess); in isSchemaSearchableByCaller()
85 FrameworkCallerAccess frameworkCallerAccess = (FrameworkCallerAccess) callerAccess; in isSchemaSearchableByCaller()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSearchSpecToProtoConverter.java213 @NonNull CallerAccess callerAccess, in removeInaccessibleSchemaFilter()
217 callerAccess, in removeInaccessibleSchemaFilter()
241 @NonNull CallerAccess callerAccess, in removeInaccessibleSchemaFilterCached()
257 callerAccess, in removeInaccessibleSchemaFilterCached()
271 callerAccess, in removeInaccessibleSchemaFilterCached()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java4827 @NonNull CallerAccess callerAccess, in getGlobalDocumentNoAccessNoFileHasSameException()
4831 return callerAccess.getCallingPackageName().equals("visiblePackage"); in getGlobalDocumentNoAccessNoFileHasSameException()
5410 @NonNull CallerAccess callerAccess, in testGetSchema_global_partialAccess()
5488 @NonNull CallerAccess callerAccess, in testGetSchema_global_publicAcl()
5495 .get(callerAccess.getCallingPackageName()) in testGetSchema_global_publicAcl()
5593 @NonNull CallerAccess callerAccess, in testGetSchema_global_publicAcl_removal()
5600 .get(callerAccess.getCallingPackageName()) in testGetSchema_global_publicAcl_removal()
5925 @NonNull CallerAccess callerAccess, in testDispatchObserver_differentPackage_withVisStore_accept()
5929 return callerAccess.getCallingPackageName().equals(fakeListeningPackage); in testDispatchObserver_differentPackage_withVisStore_accept()
6347 @NonNull CallerAccess callerAccess, in testAddObserver_schemaChange_visibilityOnly()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DAppSearchImpl.java885 @NonNull CallerAccess callerAccess) in getSchema() argument
905 callerAccess, in getSchema()
1207 @NonNull CallerAccess callerAccess) in globalGetDocument() argument
1221 callerAccess, in globalGetDocument()
1446 @NonNull CallerAccess callerAccess, in globalQuery() argument
1455 callerAccess.getCallingPackageName()) in globalQuery()
1515 callerAccess, mVisibilityStoreLocked, mVisibilityCheckerLocked); in globalQuery()
1528 callerAccess.getCallingPackageName(), searchResultPage.getNextPageToken()); in globalQuery()