/frameworks/native/vulkan/vkjson/ |
D | vkjson.cc | 502 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceFeatures* features) { in Iterate() argument 504 visitor->Visit("robustBufferAccess", &features->robustBufferAccess) && in Iterate() 505 visitor->Visit("fullDrawIndexUint32", &features->fullDrawIndexUint32) && in Iterate() 506 visitor->Visit("imageCubeArray", &features->imageCubeArray) && in Iterate() 507 visitor->Visit("independentBlend", &features->independentBlend) && in Iterate() 508 visitor->Visit("geometryShader", &features->geometryShader) && in Iterate() 509 visitor->Visit("tessellationShader", &features->tessellationShader) && in Iterate() 510 visitor->Visit("sampleRateShading", &features->sampleRateShading) && in Iterate() 511 visitor->Visit("dualSrcBlend", &features->dualSrcBlend) && in Iterate() 512 visitor->Visit("logicOp", &features->logicOp) && in Iterate() [all …]
|
D | vkjson_instance.cc | 125 VkPhysicalDeviceFeatures2KHR features = { in VkJsonGetDevice() local 135 features.pNext; in VkJsonGetDevice() 136 features.pNext = in VkJsonGetDevice() 145 .pNext = features.pNext; in VkJsonGetDevice() 146 features.pNext = &device.ext_shader_float16_int8_features in VkJsonGetDevice() 149 vkpGetPhysicalDeviceFeatures2KHR(physical_device, &features); in VkJsonGetDevice() 150 device.features = features.features; in VkJsonGetDevice() 153 vkGetPhysicalDeviceFeatures(physical_device, &device.features); in VkJsonGetDevice()
|
/frameworks/compile/libbcc/lib/ |
D | CompilerConfig.cpp | 38 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/ml/nn/runtime/test/specs/V1_0/ |
D | svdf.mod.py | 18 features = 4 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 60 state_in: [0 for _ in range(batches * memory_size * features)], 127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | svdf_bias_present.mod.py | 18 features = 4 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 60 state_in: [0 for _ in range(batches * memory_size * features)], 127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | svdf2.mod.py | 18 features = 8 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 75 state_in: [0 for _ in range(batches * memory_size * features)], 142 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | hashtable_lookup_float.mod.py | 20 features = 2 variable 22 table = [x for x in range(rows * features)] 24 for j in range(features): 25 table[i * features + j] = i + j / 10. 31 value = Input("value", "TENSOR_FLOAT32", "{%d, %d}" % (rows, features)) 32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (lookups, features))
|
D | embedding_lookup.mod.py | 20 features = 4 variable 22 actual_values = [x for x in range(rows * columns * features)] 25 for k in range(features): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features)) 31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | svdf_bias_present_float16.mod.py | 18 features = 4 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT16", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT16", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features)) 60 state_in: [0 for _ in range(batches * memory_size * features)], 127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | svdf_float16.mod.py | 18 features = 4 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT16", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT16", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*features)) 60 state_in: [0 for _ in range(batches * memory_size * features)], 127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | embedding_lookup_v1_2.mod.py | 20 features = 4 variable 22 actual_values = [x for x in range(rows * columns * features)] 25 for k in range(features): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 31 "{%d, %d, %d}" % (rows, columns, features)) 33 "{%d, %d, %d}" % (lookups, columns, features))
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | svdf2_relaxed.mod.py | 18 features = 8 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 76 state_in: [0 for _ in range(batches * memory_size * features)], 143 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | svdf_relaxed.mod.py | 18 features = 4 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 61 state_in: [0 for _ in range(batches * memory_size * features)], 128 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | svdf_bias_present_relaxed.mod.py | 18 features = 4 variable 20 units = int(features / rank) 27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size)) 28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size)) 30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 33 …te_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features)) 61 state_in: [0 for _ in range(batches * memory_size * features)], 128 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
|
D | hashtable_lookup_float_relaxed.mod.py | 20 features = 2 variable 22 table = [x for x in range(rows * features)] 24 for j in range(features): 25 table[i * features + j] = i + j / 10. 31 value = Input("value", "TENSOR_FLOAT32", "{%d, %d}" % (rows, features)) 32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (lookups, features))
|
D | embedding_lookup_relaxed.mod.py | 20 features = 4 variable 22 actual_values = [x for x in range(rows * columns * features)] 25 for k in range(features): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features)) 31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | embedding_lookup_v1_3.mod.py | 20 features = 4 variable 22 actual_values = [x for x in range(rows * columns * features)] 25 for k in range(features): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 31 "{%d, %d, %d}" % (rows, columns, features)) 33 "{%d, %d, %d}" % (lookups, columns, features))
|
D | embedding_lookup_quant8_signed.mod.py | 20 features = 4 variable 22 actual_values = [x for x in range(rows * columns * features)] 25 for k in range(features): 26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100. 31 "{%d, %d, %d}" % (rows, columns, features)) 33 "{%d, %d, %d}" % (lookups, columns, features))
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | InfoMediaDeviceTest.java | 118 final ArrayList<String> features = new ArrayList<>(); in getDrawableResIdByFeature_returnCorrectResId() local 119 features.add(FEATURE_REMOTE_VIDEO_PLAYBACK); in getDrawableResIdByFeature_returnCorrectResId() 120 when(mRouteInfo.getFeatures()).thenReturn(features); in getDrawableResIdByFeature_returnCorrectResId() 125 features.clear(); in getDrawableResIdByFeature_returnCorrectResId() 126 features.add(FEATURE_REMOTE_AUDIO_PLAYBACK); in getDrawableResIdByFeature_returnCorrectResId() 127 when(mRouteInfo.getFeatures()).thenReturn(features); in getDrawableResIdByFeature_returnCorrectResId() 132 features.clear(); in getDrawableResIdByFeature_returnCorrectResId() 133 features.add(FEATURE_REMOTE_GROUP_PLAYBACK); in getDrawableResIdByFeature_returnCorrectResId() 134 when(mRouteInfo.getFeatures()).thenReturn(features); in getDrawableResIdByFeature_returnCorrectResId()
|
/frameworks/base/core/java/android/content/pm/ |
D | FeatureGroupInfo.java | 33 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/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsResolverTest.java | 146 HashSet<String> features = new HashSet<>(); in testAddDevicePackageToCache() local 147 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddDevicePackageToCache() 148 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddDevicePackageToCache() 149 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddDevicePackageToCache() 150 setupPackageQuery(TEST_DEVICE_DEFAULT_NAME, features, true); in testAddDevicePackageToCache() 160 assertTrue(isImsServiceInfoEqual(TEST_DEVICE_DEFAULT_NAME, features, testCachedService)); in testAddDevicePackageToCache() 172 HashSet<String> features = new HashSet<>(); in testAddCarrierPackageToCache() local 173 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddCarrierPackageToCache() 174 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddCarrierPackageToCache() 175 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddCarrierPackageToCache() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/compat/ |
D | ImsService.java | 186 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature() local 187 if (features == null) { in addImsFeature() 189 features = new SparseArray<>(); in addImsFeature() 190 mFeaturesBySlot.put(slotId, features); in addImsFeature() 192 features.put(featureType, f); in addImsFeature() 200 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeature() local 201 if (features == null) { in removeImsFeature() 206 ImsFeature f = features.get(featureType); in removeImsFeature() 214 features.remove(featureType); in removeImsFeature()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsService.java | 241 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in addImsFeature() local 242 if (features == null) { in addImsFeature() 244 features = new SparseArray<>(); in addImsFeature() 245 mFeaturesBySlot.put(slotId, features); in addImsFeature() 247 features.put(featureType, f); in addImsFeature() 255 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); in removeImsFeature() local 256 if (features == null) { in removeImsFeature() 261 ImsFeature f = features.get(featureType); in removeImsFeature() 269 features.remove(featureType); in removeImsFeature()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | SoftApCapability.java | 109 public boolean areFeaturesSupported(@HotspotFeatures long features) { in areFeaturesSupported() argument 110 return (mSupportedFeatures & features) == features; in areFeaturesSupported() 132 public SoftApCapability(@HotspotFeatures long features) { in SoftApCapability() argument 133 mSupportedFeatures = features; in SoftApCapability()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SettingsSidecarImpl.java | 147 List<SidecarDisplayFeature> features = new ArrayList<SidecarDisplayFeature>(); in readDisplayFeatures() local 151 return features; in readDisplayFeatures() 159 return features; in readDisplayFeatures() 162 return features; in readDisplayFeatures() 199 features.add(feature); in readDisplayFeatures() 207 return features; in readDisplayFeatures()
|