Home
last modified time | relevance | path

Searched refs:FeatureInfo (Results 1 – 25 of 40) 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.java303 public FeatureInfo[] reqFeatures;
556 reqFeatures = source.createTypedArray(FeatureInfo.CREATOR); in PackageInfo()
DIPackageManager.aidl27 import android.content.pm.FeatureInfo;
DPackageParser.java748 pi.reqFeatures = new FeatureInfo[N]; in generatePackageInfo()
2101 FeatureInfo fi = parseUsesFeature(res, parser); in parseBaseApkCommon()
2114 ArrayList<FeatureInfo> features = null; in parseBaseApkCommon()
2124 FeatureInfo featureInfo = parseUsesFeature(res, parser); in parseBaseApkCommon()
2127 featureInfo.flags |= FeatureInfo.FLAG_REQUIRED; in parseBaseApkCommon()
2138 group.features = new FeatureInfo[features.size()]; in parseBaseApkCommon()
2658 private FeatureInfo parseUsesFeature(Resources res, AttributeSet attrs) { in parseUsesFeature()
2659 FeatureInfo fi = new FeatureInfo(); in parseUsesFeature()
2671 FeatureInfo.GL_ES_VERSION_UNDEFINED); in parseUsesFeature()
2675 fi.flags |= FeatureInfo.FLAG_REQUIRED; in parseUsesFeature()
[all …]
/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/services/core/java/com/android/server/pm/parsing/pkg/
DPkgPackageInfo.java24 import android.content.pm.FeatureInfo;
141 List<FeatureInfo> getReqFeatures(); in getReqFeatures()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageParsingTestBase.kt24 import android.content.pm.FeatureInfo in <lambda>()
287 protected fun FeatureInfo.dumpToString() = """ in <lambda>() method
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageRead.java26 import android.content.pm.FeatureInfo;
194 List<FeatureInfo> getReqFeatures(); in getReqFeatures()
DParsingPackage.java26 import android.content.pm.FeatureInfo;
92 ParsingPackage addReqFeature(FeatureInfo reqFeature); in addReqFeature()
DParsingPackageUtils.java44 import android.content.pm.FeatureInfo;
1387 FeatureInfo fi = parseFeatureInfo(res, parser); in parseUsesFeature()
1399 private static FeatureInfo parseFeatureInfo(Resources res, AttributeSet attrs) { in parseFeatureInfo()
1400 FeatureInfo fi = new FeatureInfo(); in parseFeatureInfo()
1409 FeatureInfo.GL_ES_VERSION_UNDEFINED); in parseFeatureInfo()
1412 fi.flags |= FeatureInfo.FLAG_REQUIRED; in parseFeatureInfo()
1424 ArrayList<FeatureInfo> features = null; in parseFeatureGroup()
1436 FeatureInfo featureInfo = parseFeatureInfo(res, parser); in parseFeatureGroup()
1439 featureInfo.flags |= FeatureInfo.FLAG_REQUIRED; in parseFeatureGroup()
1450 group.features = new FeatureInfo[features.size()]; in parseFeatureGroup()
DParsingPackageImpl.java32 import android.content.pm.FeatureInfo;
216 private List<FeatureInfo> reqFeatures = emptyList();
646 public ParsingPackageImpl addReqFeature(FeatureInfo reqFeature) { in addReqFeature()
1281 this.reqFeatures = in.createTypedArrayList(FeatureInfo.CREATOR);
1553 public List<FeatureInfo> getReqFeatures() {
DPackageInfoWithoutStateUtils.java30 import android.content.pm.FeatureInfo;
251 pi.reqFeatures = new FeatureInfo[size]; in generateWithoutComponentsUnchecked()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java26 import android.content.pm.FeatureInfo;
316 for (FeatureInfo feature : pkgInfo.reqFeatures) { in installPackage()
318 (feature.flags & FeatureInfo.FLAG_REQUIRED) != 0) { in installPackage()
/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/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/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java26 import android.content.pm.FeatureInfo;
433 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
434 return new FeatureInfo[0]; in getSystemAvailableFeatures()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java25 import android.content.pm.FeatureInfo;
133 final ArrayMap<String, FeatureInfo> mAvailableFeatures = new ArrayMap<>();
294 public ArrayMap<String, FeatureInfo> getAvailableFeatures() { in getAvailableFeatures()
1314 FeatureInfo fi = mAvailableFeatures.get(name); in addFeature()
1316 fi = new FeatureInfo(); in addFeature()
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py156 class FeatureInfo(BaseInfo): class
793 ai = FeatureInfo(feature)
798 ei = FeatureInfo(feature)
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java28 import android.content.pm.FeatureInfo;
935 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java48 import android.content.pm.FeatureInfo;
639 public FeatureInfo[] getSystemAvailableFeatures() { in getSystemAvailableFeatures()
641 ParceledListSlice<FeatureInfo> parceledList = in getSystemAvailableFeatures()
644 return new FeatureInfo[0]; in getSystemAvailableFeatures()
646 final List<FeatureInfo> list = parceledList.getList(); in getSystemAvailableFeatures()
647 final FeatureInfo[] res = new FeatureInfo[list.size()]; in getSystemAvailableFeatures()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DMockSystem.kt23 import android.content.pm.FeatureInfo in <lambda>()
197 private val DEFAULT_AVAILABLE_FEATURES_MAP = ArrayMap<String, FeatureInfo>()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java34 import android.content.pm.FeatureInfo;
675 final List<FeatureInfo> list = mInterface.getSystemAvailableFeatures().getList(); in runListFeatures()
678 Collections.sort(list, new Comparator<FeatureInfo>() { in runListFeatures()
679 public int compare(FeatureInfo o1, FeatureInfo o2) { in runListFeatures()
689 FeatureInfo fi = list.get(p); in runListFeatures()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java35 import android.content.pm.FeatureInfo;
889 .addReqFeature(new FeatureInfo()) in setKnownFields()

12