Home
last modified time | relevance | path

Searched refs:packageIdentifier (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobAccessMode.java118 final PackageIdentifier packageIdentifier = mAllowedPackages.valueAt(i); in isAccessAllowedForCaller() local
119 if (packageIdentifier.packageName.equals(callingPackage) in isAccessAllowedForCaller()
120 && pm.hasSigningCertificate(callingPackage, packageIdentifier.certificate, in isAccessAllowedForCaller()
157 final PackageIdentifier packageIdentifier = mAllowedPackages.valueAt(i); in writeToXml() local
158 XmlUtils.writeStringAttribute(out, ATTR_PACKAGE, packageIdentifier.packageName); in writeToXml()
159 XmlUtils.writeByteArrayAttribute(out, ATTR_CERTIFICATE, packageIdentifier.certificate); in writeToXml()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/
DVisibleToPackagesDocument.java93 public Builder setPackageIdentifier(@NonNull PackageIdentifier packageIdentifier) { in setPackageIdentifier() argument
94 return setPropertyString(PACKAGE_NAME_PROPERTY, packageIdentifier.getPackageName()) in setPackageIdentifier()
96 packageIdentifier.getSha256Certificate()); in setPackageIdentifier()
DVisibilityStoreImpl.java181 PackageIdentifier packageIdentifier = in VisibilityStoreImpl() local
189 packageIdentifiers.add(packageIdentifier); in VisibilityStoreImpl()
308 for (PackageIdentifier packageIdentifier : packageIdentifiers) { in isSchemaVisibleToPackages()
319 PackageUtil.getPackageUid(mUserContext, packageIdentifier.getPackageName()); in isSchemaVisibleToPackages()
329 packageIdentifier.getPackageName(), in isSchemaVisibleToPackages()
330 packageIdentifier.getSha256Certificate(), in isSchemaVisibleToPackages()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DSetSchemaRequest.java264 @NonNull PackageIdentifier packageIdentifier) { in setSchemaTypeVisibilityForPackage() argument
266 Objects.requireNonNull(packageIdentifier); in setSchemaTypeVisibilityForPackage()
274 packageIdentifiers.add(packageIdentifier); in setSchemaTypeVisibilityForPackage()
281 packageIdentifiers.remove(packageIdentifier); in setSchemaTypeVisibilityForPackage()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchSession.java158 for (PackageIdentifier packageIdentifier : entry.getValue()) { in setSchema()
159 packageIdentifierBundles.add(packageIdentifier.getBundle()); in setSchema()