HomeSort by relevance Sort by last modified time
    Searched refs:FeatureInfo (Results 1 - 25 of 47) sorted by null

1 2

  /frameworks/base/core/java/android/content/pm/
FeatureInfo.aidl 19 parcelable FeatureInfo;
FeatureInfo.java 36 public class FeatureInfo implements Parcelable {
79 public FeatureInfo() {
82 public FeatureInfo(FeatureInfo orig) {
92 return "FeatureInfo{"
96 return "FeatureInfo{"
116 public static final Creator<FeatureInfo> CREATOR = new Creator<FeatureInfo>() {
118 public FeatureInfo createFromParcel(Parcel source) {
119 return new FeatureInfo(source)
    [all...]
FeatureGroupInfo.java 31 * @see FeatureInfo#FLAG_REQUIRED
33 public FeatureInfo[] features;
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
PackageInfo.java 207 * @see FeatureInfo#FLAG_REQUIRED
209 public FeatureInfo[] reqFeatures;
217 * @see FeatureInfo#FLAG_REQUIRED
367 reqFeatures = source.createTypedArray(FeatureInfo.CREATOR);
IPackageManager.aidl 27 import android.content.pm.FeatureInfo;
  /cts/tests/tests/content/src/android/content/pm/cts/
FeatureGroupInfoTest.java 19 import android.content.pm.FeatureInfo;
38 FeatureInfo[] expectedFeatures = new FeatureInfo[] {
44 createFeatureGroup(new FeatureInfo[] {
46 createFeatureGroup(new FeatureInfo[] {
50 createFeatureGroup(new FeatureInfo[] {
66 private static void assertFeatureInfosMatch(FeatureInfo[] actualFeatures,
67 FeatureInfo[] expectedFeatures) {
92 * Helper method to create FeatureInfo objects.
94 private static FeatureInfo createFeatureInfo(String name, boolean required)
    [all...]
FeatureTest.java 21 import android.content.pm.FeatureInfo;
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
CameraBinderTestUtils.java 8 import android.content.pm.FeatureInfo;
73 final FeatureInfo[] featuresList = packageManager.getSystemAvailableFeatures();
74 for (FeatureInfo f : featuresList) {
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
FeatureDeviceInfo.java 18 import android.content.pm.FeatureInfo;
45 FeatureInfo[] featureInfos = packageManager.getSystemAvailableFeatures();
47 for (FeatureInfo featureInfo : featureInfos) {
48 if (featureInfo.name != null) {
51 if (sdkFeatures.contains(featureInfo.name)) {
53 sdkFeatures.remove(featureInfo.name);
57 int version = featureInfo.version;
58 addFeature(store, featureInfo.name, type, true, version);
60 addFeature(store, featureInfo.name, type, true)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
VulkanFeaturesTest.java 20 import android.content.pm.FeatureInfo;
47 FeatureInfo mVulkanHardwareLevel = null;
48 FeatureInfo mVulkanHardwareVersion = null;
60 FeatureInfo features[] = mPm.getSystemAvailableFeatures();
62 for (FeatureInfo feature : features) {
  /cts/tests/acceleration/src/android/acceleration/cts/
BaseAccelerationTest.java 24 import android.content.pm.FeatureInfo;
76 /** @see FeatureInfo#getGlEsVersion() */
  /cts/tests/tests/graphics/src/android/opengl/cts/
OpenGlEsVersionTest.java 23 import android.content.pm.FeatureInfo;
264 FeatureInfo[] featureInfos = packageManager.getSystemAvailableFeatures();
266 for (FeatureInfo featureInfo : featureInfos) {
268 if (featureInfo.name == null) {
269 if (featureInfo.reqGlEsVersion != FeatureInfo.GL_ES_VERSION_UNDEFINED) {
270 return featureInfo.reqGlEsVersion;
280 /** @see FeatureInfo#getGlEsVersion() */
285 /** @see FeatureInfo#getGlEsVersion() *
    [all...]
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java 25 import android.content.pm.FeatureInfo;
275 FeatureInfo[] featureInfos = packageManager.getSystemAvailableFeatures();
277 for (FeatureInfo featureInfo : featureInfos) {
278 if (featureInfo.name != null && !checkedFeatures.contains(featureInfo.name)) {
279 addFeature(features, featureInfo.name, "other", true);
341 FeatureInfo[] featureInfos = packageManager.getSystemAvailableFeatures();
343 for (FeatureInfo featureInfo : featureInfos)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
StubPackageManager.java 8 import android.content.pm.FeatureInfo;
132 @Override public FeatureInfo[] getSystemAvailableFeatures() {
133 return new FeatureInfo[0];
  /frameworks/base/core/java/com/android/server/
SystemConfig.java 23 import android.content.pm.FeatureInfo;
75 final ArrayMap<String, FeatureInfo> mAvailableFeatures = new ArrayMap<>();
146 public ArrayMap<String, FeatureInfo> getAvailableFeatures() {
505 FeatureInfo fi = mAvailableFeatures.get(name);
507 fi = new FeatureInfo();
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgePackageManager.java 28 import android.content.pm.FeatureInfo;
320 public FeatureInfo[] getSystemAvailableFeatures() {
321 return new FeatureInfo[0];
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageInstallerService.java 23 import android.content.pm.FeatureInfo;
306 for (FeatureInfo feature : pkg.reqFeatures) {
308 (feature.flags & FeatureInfo.FLAG_REQUIRED) != 0) {
  /frameworks/base/services/core/java/com/android/server/pm/
PackageManagerShellCommand.java 26 import android.content.pm.FeatureInfo;
426 final List<FeatureInfo> list = mInterface.getSystemAvailableFeatures().getList();
429 Collections.sort(list, new Comparator<FeatureInfo>() {
430 public int compare(FeatureInfo o1, FeatureInfo o2) {
440 FeatureInfo fi = list.get(p);
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
FeatureSummaryActivity.java 30 import android.content.pm.FeatureInfo;
266 for (FeatureInfo fi : getPackageManager().getSystemAvailableFeatures()) {
  /cts/tests/app/src/android/app/cts/
SystemFeaturesTest.java 27 import android.content.pm.FeatureInfo;
75 for (FeatureInfo feature : mPackageManager.getSystemAvailableFeatures()) {
  /frameworks/base/test-runner/src/android/test/mock/
MockPackageManager.java 29 import android.content.pm.FeatureInfo;
836 public FeatureInfo[] getSystemAvailableFeatures() {
  /external/vulkan-validation-layers/
reg.py 124 # FeatureInfo - registry information about an API <feature>
136 class FeatureInfo(BaseInfo):
314 featureInfo = FeatureInfo(feature)
315 self.addElementInfo(feature, featureInfo, 'feature', self.apidict)
319 featureInfo = FeatureInfo(feature)
320 self.addElementInfo(feature, featureInfo, 'extension', self.extdict)
345 enum.attrib['extnumber'] = featureInfo.number
600 # Get all matching API versions & add to list of FeatureInfo
    [all...]
  /sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
ConfigGenerator.java 22 import android.content.pm.FeatureInfo;
564 FeatureInfo[] features = packageMgr.getSystemAvailableFeatures();
565 for (FeatureInfo feature : features) {
  /frameworks/base/core/java/android/app/
ApplicationPackageManager.java 34 import android.content.pm.FeatureInfo;
465 public FeatureInfo[] getSystemAvailableFeatures() {
467 ParceledListSlice<FeatureInfo> parceledList =
470 return new FeatureInfo[0];
472 final List<FeatureInfo> list = parceledList.getList();
473 final FeatureInfo[] res = new FeatureInfo[list.size()];
    [all...]
  /frameworks/native/opengl/tools/glgen2/registry/
reg.py 149 # FeatureInfo - registry information about an API <feature>
156 class FeatureInfo(BaseInfo):
228 # sortProcedure - takes a list of FeatureInfo objects and sorts
    [all...]

Completed in 2720 milliseconds

1 2