Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DPackageInfo.java285 public FeatureInfo[] reqFeatures; field in PackageInfo
469 dest.writeTypedArray(reqFeatures, parcelableFlags); in writeToParcel()
533 reqFeatures = source.createTypedArray(FeatureInfo.CREATOR); in PackageInfo()
DPackageParser.java706 N = p.reqFeatures != null ? p.reqFeatures.size() : 0; in generatePackageInfo()
708 pi.reqFeatures = new FeatureInfo[N]; in generatePackageInfo()
709 p.reqFeatures.toArray(pi.reqFeatures); in generatePackageInfo()
2188 pkg.reqFeatures = ArrayUtils.add(pkg.reqFeatures, fi); in parseBaseApkCommon()
6560 public ArrayList<FeatureInfo> reqFeatures = null; field in Package
7090 reqFeatures = new ArrayList<>(); in Package()
7091 dest.readParcelableList(reqFeatures, boot); in Package()
7092 if (reqFeatures.size() == 0) { in Package()
7093 reqFeatures = null; in Package()
7226 dest.writeParcelableList(reqFeatures, flags); in writeToParcel()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java352 FeatureInfo[] reqFeatures = getPackageInfo(pkg, userId).reqFeatures; in checkUsesFeature() local
354 int numFeatures = ArrayUtils.size(reqFeatures); in checkUsesFeature()
356 if (requiredFeature.equals(reqFeatures[i].name)) return; in checkUsesFeature()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java312 if (pkg.reqFeatures != null) { in installPackage()
313 for (FeatureInfo feature : pkg.reqFeatures) { in installPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java537 pkg.reqFeatures = new ArrayList<>(); in setKnownFields()
538 pkg.reqFeatures.add(new FeatureInfo()); in setKnownFields()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8562 field public android.content.pm.FeatureInfo[] reqFeatures;
/frameworks/base/api/
Dcurrent.txt11380 field public android.content.pm.FeatureInfo[] reqFeatures;