Home
last modified time | relevance | path

Searched refs:FeatureInfo (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
DFeatureInfo.java37 public class FeatureInfo implements Parcelable { class
80 public FeatureInfo() { in FeatureInfo() method in FeatureInfo
83 public FeatureInfo(FeatureInfo orig) { in FeatureInfo() method in FeatureInfo
129 …lic static final @android.annotation.NonNull Creator<FeatureInfo> CREATOR = new Creator<FeatureInf…
131 public FeatureInfo createFromParcel(Parcel source) {
132 return new FeatureInfo(source);
135 public FeatureInfo[] newArray(int size) {
136 return new FeatureInfo[size];
140 private FeatureInfo(Parcel source) { in FeatureInfo() method in FeatureInfo
DFeatureGroupInfo.java33 public FeatureInfo[] features;
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
DFeatureInfo.aidl19 parcelable FeatureInfo;
DPackageInfo.java285 public FeatureInfo[] reqFeatures;
533 reqFeatures = source.createTypedArray(FeatureInfo.CREATOR); in PackageInfo()
DIPackageManager.aidl27 import android.content.pm.FeatureInfo;
DPackageParser.java708 pi.reqFeatures = new FeatureInfo[N]; in generatePackageInfo()
2187 FeatureInfo fi = parseUsesFeature(res, parser); in parseBaseApkCommon()
2200 ArrayList<FeatureInfo> features = null; in parseBaseApkCommon()
2210 FeatureInfo featureInfo = parseUsesFeature(res, parser); in parseBaseApkCommon()
2213 featureInfo.flags |= FeatureInfo.FLAG_REQUIRED; in parseBaseApkCommon()
2224 group.features = new FeatureInfo[features.size()]; in parseBaseApkCommon()
2723 private FeatureInfo parseUsesFeature(Resources res, AttributeSet attrs) { in parseUsesFeature()
2724 FeatureInfo fi = new FeatureInfo(); in parseUsesFeature()
2736 FeatureInfo.GL_ES_VERSION_UNDEFINED); in parseUsesFeature()
2740 fi.flags |= FeatureInfo.FLAG_REQUIRED; in parseUsesFeature()
[all …]
DPackageManager.java4638 public abstract FeatureInfo[] getSystemAvailableFeatures(); in getSystemAvailableFeatures()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTestUtils.java8 import android.content.pm.FeatureInfo;
73 final FeatureInfo[] featuresList = packageManager.getSystemAvailableFeatures(); in isFeatureAvailable()
74 for (FeatureInfo f : featuresList) { in isFeatureAvailable()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java25 import android.content.pm.FeatureInfo;
313 for (FeatureInfo feature : pkg.reqFeatures) { in installPackage()
315 (feature.flags & FeatureInfo.FLAG_REQUIRED) != 0) { in installPackage()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java23 import android.content.pm.FeatureInfo;
105 final ArrayMap<String, FeatureInfo> mAvailableFeatures = new ArrayMap<>();
236 public ArrayMap<String, FeatureInfo> getAvailableFeatures() { in getAvailableFeatures()
982 FeatureInfo fi = mAvailableFeatures.get(name); in addFeature()
984 fi = new FeatureInfo(); in addFeature()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java10 import android.content.pm.FeatureInfo;
388 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
389 return new FeatureInfo[0]; in getSystemAvailableFeatures()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java28 import android.content.pm.FeatureInfo;
386 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
387 return new FeatureInfo[0]; in getSystemAvailableFeatures()
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py156 class FeatureInfo(BaseInfo): class
793 ai = FeatureInfo(feature)
798 ei = FeatureInfo(feature)
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java39 import android.content.pm.FeatureInfo;
352 FeatureInfo[] reqFeatures = getPackageInfo(pkg, userId).reqFeatures; in checkUsesFeature()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java36 import android.content.pm.FeatureInfo;
586 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
588 ParceledListSlice<FeatureInfo> parceledList = in getSystemAvailableFeatures()
591 return new FeatureInfo[0]; in getSystemAvailableFeatures()
593 final List<FeatureInfo> list = parceledList.getList(); in getSystemAvailableFeatures()
594 final FeatureInfo[] res = new FeatureInfo[list.size()]; in getSystemAvailableFeatures()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java28 import android.content.pm.FeatureInfo;
935 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java37 import android.content.pm.FeatureInfo;
550 final List<FeatureInfo> list = mInterface.getSystemAvailableFeatures().getList(); in runListFeatures()
553 Collections.sort(list, new Comparator<FeatureInfo>() { in runListFeatures()
554 public int compare(FeatureInfo o1, FeatureInfo o2) { in runListFeatures()
564 FeatureInfo fi = list.get(p); in runListFeatures()
DPackageManagerService.java145 import android.content.pm.FeatureInfo;
728 final ArrayMap<String, FeatureInfo> mAvailableFeatures;
5572 public @NonNull ParceledListSlice<FeatureInfo> getSystemAvailableFeatures() { in getSystemAvailableFeatures()
5574 ArrayList<FeatureInfo> res; in getSystemAvailableFeatures()
5579 final FeatureInfo fi = new FeatureInfo(); in getSystemAvailableFeatures()
5581 FeatureInfo.GL_ES_VERSION_UNDEFINED); in getSystemAvailableFeatures()
5591 final FeatureInfo feat = mAvailableFeatures.get(name); in hasSystemFeature()
22160 for (FeatureInfo feat : mAvailableFeatures.values()) {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java29 import android.content.pm.FeatureInfo;
538 pkg.reqFeatures.add(new FeatureInfo()); in setKnownFields()
/frameworks/base/test-mock/api/
Dcurrent.txt256 method @Deprecated public android.content.pm.FeatureInfo[] getSystemAvailableFeatures();
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java52 import android.content.pm.FeatureInfo;
2155 FeatureInfo[] features = pm.getSystemAvailableFeatures();
/frameworks/base/config/
Dpreloaded-classes889 android.content.pm.FeatureInfo$1
890 android.content.pm.FeatureInfo
Dboot-image-profile.txt4067 HSPLandroid/content/pm/FeatureInfo$1;-><init>()V
4068 HSPLandroid/content/pm/FeatureInfo$1;->createFromParcel(Landroid/os/Parcel;)Landroid/content/pm/Fea…
4069 HSPLandroid/content/pm/FeatureInfo$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
4070 HSPLandroid/content/pm/FeatureInfo;->writeToParcel(Landroid/os/Parcel;I)V
4412 …Feature(Landroid/content/res/Resources;Landroid/util/AttributeSet;)Landroid/content/pm/FeatureInfo;
32998 Landroid/content/pm/FeatureInfo$1;
32999 Landroid/content/pm/FeatureInfo;
40813 …droid/app/ApplicationPackageManager;->getSystemAvailableFeatures()[Landroid/content/pm/FeatureInfo;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8460 field public android.content.pm.FeatureInfo[] features;
8463 public class FeatureInfo implements android.os.Parcelable {
8464 ctor public FeatureInfo();
8465 ctor public FeatureInfo(android.content.pm.FeatureInfo);
8469 field public static final android.os.Parcelable.Creator<android.content.pm.FeatureInfo> CREATOR;
8562 field public android.content.pm.FeatureInfo[] reqFeatures;
8740 method public abstract android.content.pm.FeatureInfo[] getSystemAvailableFeatures();
29381 method public android.content.pm.FeatureInfo[] getSystemAvailableFeatures();
/frameworks/base/api/
Dcurrent.txt11210 field public android.content.pm.FeatureInfo[] features;
11213 public class FeatureInfo implements android.os.Parcelable {
11214 ctor public FeatureInfo();
11215 ctor public FeatureInfo(android.content.pm.FeatureInfo);
11219 …field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.FeatureInfo> C…
11380 field public android.content.pm.FeatureInfo[] reqFeatures;
11618 method @NonNull public abstract android.content.pm.FeatureInfo[] getSystemAvailableFeatures();

12