Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 162) sorted by relevance

1234567

/frameworks/native/vulkan/vkjson/
Dvkjson.cc562 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceFeatures* features) { in Iterate() argument
564 visitor->Visit("robustBufferAccess", &features->robustBufferAccess) && in Iterate()
565 visitor->Visit("fullDrawIndexUint32", &features->fullDrawIndexUint32) && in Iterate()
566 visitor->Visit("imageCubeArray", &features->imageCubeArray) && in Iterate()
567 visitor->Visit("independentBlend", &features->independentBlend) && in Iterate()
568 visitor->Visit("geometryShader", &features->geometryShader) && in Iterate()
569 visitor->Visit("tessellationShader", &features->tessellationShader) && in Iterate()
570 visitor->Visit("sampleRateShading", &features->sampleRateShading) && in Iterate()
571 visitor->Visit("dualSrcBlend", &features->dualSrcBlend) && in Iterate()
572 visitor->Visit("logicOp", &features->logicOp) && in Iterate()
[all …]
Dvkjson_instance.cc92 VkPhysicalDeviceFeatures2 features = { in VkJsonGetDevice() local
102 features.pNext; in VkJsonGetDevice()
103 features.pNext = in VkJsonGetDevice()
112 .pNext = features.pNext; in VkJsonGetDevice()
113 features.pNext = &device.ext_shader_float16_int8_features in VkJsonGetDevice()
116 vkGetPhysicalDeviceFeatures2(physical_device, &features); in VkJsonGetDevice()
117 device.features = features.features; in VkJsonGetDevice()
189 device.bit16_storage_features.pNext = features.pNext; in VkJsonGetDevice()
190 features.pNext = &device.bit16_storage_features; in VkJsonGetDevice()
194 device.multiview_features.pNext = features.pNext; in VkJsonGetDevice()
[all …]
Dvkjson.h79 VkPhysicalDeviceVulkan12Features features; member
84 VkPhysicalDeviceVulkan13Features features; member
90 memset(&features, 0, sizeof(VkPhysicalDeviceFeatures)); in VkJsonDevice()
115 VkPhysicalDeviceFeatures features; member
/frameworks/minikin/libs/minikin/
DFontFeatureUtils.cpp24 std::vector<FontFeature> features; in parse() local
34 features.push_back({feature.tag, feature.value}); in parse()
37 return features; in parse()
41 std::vector<hb_feature_t> features; in cleanAndAddDefaultFontFeatures() local
50 features.push_back(no_liga); in cleanAndAddDefaultFontFeatures()
51 features.push_back(no_clig); in cleanAndAddDefaultFontFeatures()
70 features.push_back({feature.tag, feature.value, 0, ~0u}); in cleanAndAddDefaultFontFeatures()
75 features.push_back(chws); in cleanAndAddDefaultFontFeatures()
78 return features; in cleanAndAddDefaultFontFeatures()
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp38 llvm::StringMap<bool> features; in AddX86NativeCPUFeatures() local
39 if (llvm::sys::getHostCPUFeatures(features)) { in AddX86NativeCPUFeatures()
40 for (const auto& f : features) in AddX86NativeCPUFeatures()
109 llvm::StringMap<bool> features; in initializeArch() local
110 llvm::sys::getHostCPUFeatures(features); in initializeArch()
132 if (features.count("hwdiv-arm") && features["hwdiv-arm"]) in initializeArch()
135 if (features.count("hwdiv") && features["hwdiv"]) in initializeArch()
142 if (features.count("fp16") && features["fp16"]) in initializeArch()
150 if (features.count("neon") && features["neon"]) in initializeArch()
/frameworks/base/telephony/java/android/telephony/ims/compat/
DImsService.java190 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature() local
191 if (features == null) { in addImsFeature()
193 features = new SparseArray<>(); in addImsFeature()
194 mFeaturesBySlot.put(slotId, features); in addImsFeature()
196 features.put(featureType, f); in addImsFeature()
204 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeatureStatusCallback() local
205 if (features == null) { in addImsFeatureStatusCallback()
210 ImsFeature f = features.get(featureType); in addImsFeatureStatusCallback()
221 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeatureStatusCallback() local
222 if (features == null) { in removeImsFeatureStatusCallback()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java157 HashSet<String> features = new HashSet<>(); in testAddDevicePackageToCache() local
158 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddDevicePackageToCache()
159 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddDevicePackageToCache()
160 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddDevicePackageToCache()
161 setupPackageQuery(TEST_DEVICE_DEFAULT_NAME, features, true); in testAddDevicePackageToCache()
171 assertTrue(isImsServiceInfoEqual(TEST_DEVICE_DEFAULT_NAME, features, testCachedService)); in testAddDevicePackageToCache()
183 HashSet<String> features = new HashSet<>(); in testAddCarrierPackageToCache() local
184 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddCarrierPackageToCache()
185 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddCarrierPackageToCache()
186 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddCarrierPackageToCache()
[all …]
/frameworks/base/core/java/android/content/pm/
DFeatureGroupInfo.java33 public FeatureInfo[] features; field in FeatureGroupInfo
39 features = other.features; in FeatureGroupInfo()
49 dest.writeTypedArray(features, flags); in writeToParcel()
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatScaleProviderUpdatableTest.java206 FeatureInfo[] features = new FeatureInfo[1]; in hasFeatureAutomotive_requiredTrue_returnsFalse() local
207 features[0] = new FeatureInfo(); in hasFeatureAutomotive_requiredTrue_returnsFalse()
208 features[0].name = FEATURE_AUTOMOTIVE; in hasFeatureAutomotive_requiredTrue_returnsFalse()
209 features[0].flags = FLAG_REQUIRED; in hasFeatureAutomotive_requiredTrue_returnsFalse()
210 mPackageInfo.reqFeatures = features; in hasFeatureAutomotive_requiredTrue_returnsFalse()
219 FeatureInfo[] features = new FeatureInfo[1]; in hasFeatureAutomotive_requiredFalse_returnsFalse() local
220 features[0] = new FeatureInfo(); in hasFeatureAutomotive_requiredFalse_returnsFalse()
221 features[0].name = FEATURE_AUTOMOTIVE; in hasFeatureAutomotive_requiredFalse_returnsFalse()
222 mPackageInfo.reqFeatures = features; in hasFeatureAutomotive_requiredFalse_returnsFalse()
308 FeatureInfo[] features = new FeatureInfo[1]; in matchDisplay_scalesPackage() local
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java513 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeatureStatusCallback() local
514 if (features == null) { in addImsFeatureStatusCallback()
519 ImsFeature f = features.get(featureType); in addImsFeatureStatusCallback()
530 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeatureStatusCallback() local
531 if (features == null) { in removeImsFeatureStatusCallback()
536 ImsFeature f = features.get(featureType); in removeImsFeatureStatusCallback()
546 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature() local
547 if (features == null) { in addImsFeature()
549 features = new SparseArray<>(); in addImsFeature()
550 mFeaturesBySlot.put(slotId, features); in addImsFeature()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DF2fsUtils.java189 final File[] features = sKernelFeatures.listFiles(); in isCompressionEnabledInKernel() local
190 if (features == null || features.length == 0) { in isCompressionEnabledInKernel()
196 for (int i = features.length - 1; i >= 0; --i) { in isCompressionEnabledInKernel()
197 final File feature = features[i]; in isCompressionEnabledInKernel()
198 if (COMPRESSION_FEATURE.equals(features[i].getName())) { in isCompressionEnabledInKernel()
243 final String[] features = configLines.get(0).split(","); in isCompressionEnabledOnUserData() local
244 for (int i = features.length - 1; i >= 0; --i) { in isCompressionEnabledOnUserData()
245 if (COMPRESSION_FEATURE.equals(features[i].trim())) { in isCompressionEnabledOnUserData()
/frameworks/rs/toolkit/
DUtils.cpp30 uint64_t features = android_getCpuFeatures(); in cpuSupportsSimd() local
32 if (family == ANDROID_CPU_FAMILY_ARM && (features & ANDROID_CPU_ARM_FEATURE_NEON)) { in cpuSupportsSimd()
35 } else if (family == ANDROID_CPU_FAMILY_ARM64 && (features & ANDROID_CPU_ARM64_FEATURE_ASIMD)) { in cpuSupportsSimd()
39 (features & ANDROID_CPU_X86_FEATURE_SSSE3)) { in cpuSupportsSimd()
/frameworks/minikin/include/minikin/
DFontFeature.h49 std::vector<hb_feature_t> cleanAndAddDefaultFontFeatures(const MinikinPaint& features);
58 inline std::ostream& operator<<(std::ostream& os, const std::vector<FontFeature>& features) {
59 for (size_t i = 0; i < features.size(); ++i) {
63 os << features;
DHasher.h60 inline Hasher& update(const std::vector<FontFeature>& features) { in update() argument
61 uint32_t size = features.size(); in update()
63 for (const FontFeature& feature : features) { in update()
/frameworks/base/services/core/java/com/android/server/wm/
DRootDisplayArea.java87 List<Feature> features = mFeatures; in placeImeContainer() local
88 for (int i = 0; i < features.size(); i++) { in placeImeContainer()
89 Feature feature = features.get(i); in placeImeContainer()
149 void onHierarchyBuilt(ArrayList<Feature> features, DisplayArea.Tokens[] areaForLayer, in onHierarchyBuilt() argument
155 mFeatures = Collections.unmodifiableList(features); in onHierarchyBuilt()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsRegistrationTests.java128 final ArraySet<String> features = new ArraySet<>(); in testRegistrationCallbackOnRegistered() local
129 features.add("feature1"); in testRegistrationCallbackOnRegistered()
130 features.add("feature2"); in testRegistrationCallbackOnRegistered()
132 ImsRegistrationImplBase.REGISTRATION_TECH_LTE).setFeatureTags(features).build(); in testRegistrationCallbackOnRegistered()
220 final ArraySet<String> features = new ArraySet<>(); in testRegistrationCallbackSendCurrentState() local
221 features.add("feature1"); in testRegistrationCallbackSendCurrentState()
222 features.add("feature2"); in testRegistrationCallbackSendCurrentState()
224 ImsRegistrationImplBase.REGISTRATION_TECH_LTE).setFeatureTags(features).build(); in testRegistrationCallbackSendCurrentState()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp32 ui::Transform::RotationFlags rotation, ftl::Flags<Features> features) in draw() argument
34 const size_t loopCount = features.test(Features::Spinner) ? 6 : 1; in draw()
35 const bool isSetByHwc = features.test(Features::SetByHwc); in draw()
81 if (features.test(Features::Spinner)) { in draw()
111 if (features.test(Features::RenderRate)) { in draw()
159 ftl::Flags<Features> features) { in create() argument
161 std::make_unique<RefreshRateOverlay>(ConstructorTag{}, range, features); in create()
171 ftl::Flags<Features> features) in RefreshRateOverlay() argument
173 mFeatures(features), in RefreshRateOverlay()
/frameworks/av/media/module/libmediaformatshaper/
DCodecSeeding.cpp43 preloadTuning_t *features; member
130 if (p->features != nullptr) { in addMediaDefaults()
132 preloadTuning_t *q = &p->features[j]; in addMediaDefaults()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java93 if ((mOpts.features & ExtendedOptions.FEATURE_STATE_CHANGES) != 0) { in onOptsChanged()
692 public final int features; field in ExtendedBitmapDrawable.ExtendedOptions
771 public ExtendedOptions(final int features) { in ExtendedOptions() argument
772 this(features, null, null); in ExtendedOptions()
778 public ExtendedOptions(final int features, final Drawable placeholder, in ExtendedOptions() argument
780 this.features = features; in ExtendedOptions()
802 if ((features & FEATURE_ORDERED_DISPLAY) != 0 && decodeAggregator == null) { in validate()
807 if ((features & FEATURE_PARALLAX) != 0 && parallaxSpeedMultiplier <= 1) { in validate()
812 if ((features & FEATURE_STATE_CHANGES) != 0) { in validate()
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncSchedule.cpp59 VsyncSchedule::VsyncSchedule(ftl::NonNull<DisplayModePtr> modePtr, FeatureFlags features, in VsyncSchedule() argument
65 mController(createController(modePtr->getPhysicalDisplayId(), *mTracker, features)), in VsyncSchedule()
66 mTracer(features.test(Feature::kTracePredictedVsync) in VsyncSchedule()
141 FeatureFlags features) { in createController() argument
144 const bool hasKernelIdleTimer = features.test(Feature::kKernelIdleTimer); in createController()
149 reactor->setIgnorePresentFences(!features.test(Feature::kPresentFences)); in createController()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java48 String[] features, boolean isEncoder) { in getMediaCodec() argument
64 if (features != null) { in getMediaCodec()
65 for (String feature : features) { in getMediaCodec()
/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dcomponents_expected_proto.txt106 features {
110 features {
114 features {
120 features {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java512 Set<ImsFeatureConfiguration.FeatureSlotPair> features = in handleMessage() local
515 dynamicQueryComplete(name, features); in handleMessage()
551 Set<ImsFeatureConfiguration.FeatureSlotPair> features) {
552 Log.d(TAG, "onComplete called for name: " + name + printFeatures(features));
553 handleFeaturesChanged(name, features);
1226 Set<ImsFeatureConfiguration.FeatureSlotPair> features) { in bindImsServiceWithFeatures() argument
1228 if (shouldFeaturesCauseBind(features)) { in bindImsServiceWithFeatures()
1234 + features); in bindImsServiceWithFeatures()
1236 controller.changeImsServiceFeatures(features, slotIdToSubIdMap); in bindImsServiceWithFeatures()
1246 + " with features: " + features); in bindImsServiceWithFeatures()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceSource.java330 List<Integer> features = new ArrayList<>(); in getRcFeatures() local
335 features.add(Constants.RC_PROFILE_SOURCE_HANDLES_ROOT_MENU); in getRcFeatures()
340 features.add(Constants.RC_PROFILE_SOURCE_HANDLES_SETUP_MENU); in getRcFeatures()
345 features.add(Constants.RC_PROFILE_SOURCE_HANDLES_CONTENTS_MENU); in getRcFeatures()
350 features.add(Constants.RC_PROFILE_SOURCE_HANDLES_TOP_MENU); in getRcFeatures()
355 features.add(Constants.RC_PROFILE_SOURCE_HANDLES_MEDIA_CONTEXT_SENSITIVE_MENU); in getRcFeatures()
357 return features; in getRcFeatures()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSidecarHelper.java99 final List<SidecarDisplayFeature> features = new ArrayList<>(); in calculateDisplayFeatures() local
109 features.add(feature); in calculateDisplayFeatures()
111 return Collections.unmodifiableList(features); in calculateDisplayFeatures()

1234567