Searched refs:attributes (Results 1 - 25 of 193) sorted by relevance

12345678

/frameworks/native/vulkan/doc/implementors_guide/
H A Dimplementors_guide.conf0 [attributes]
/frameworks/base/sax/java/android/sax/
H A DStartElementListener.java29 * @param attributes from the element
31 void start(Attributes attributes); argument
H A DRootElement.java111 Attributes attributes) throws SAXException {
116 startRoot(uri, localName, attributes);
134 start(child, attributes);
140 void startRoot(String uri, String localName, Attributes attributes) argument
150 start(root, attributes);
153 void start(Element e, Attributes attributes) { argument
158 e.startElementListener.start(attributes);
110 startElement(String uri, String localName, String qName, Attributes attributes) argument
/frameworks/layoutlib/bridge/tests/src/android/util/
H A DBridgeXmlPullAttributesTest.java52 BridgeXmlPullAttributes attributes = new BridgeXmlPullAttributes(
74 assertEquals(123, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES,
76 assertEquals(123, attributes.getAttributeIntValue(0, 500));
78 assertEquals(500, attributes.getAttributeIntValue(BridgeConstants.NS_RESOURCES,
80 assertEquals(500, attributes.getAttributeIntValue(2, 500));
83 assertEquals(1, attributes.getAttributeIntValue("http://custom",
85 assertEquals(1, attributes.getAttributeIntValue(1, 500));
86 assertEquals(2, attributes.getAttributeIntValue("http://custom",
88 assertEquals(2, attributes.getAttributeIntValue(1, 500));
92 attributes
[all...]
/frameworks/base/core/java/android/net/
H A DScoredNetwork.java37 * Key used with the {@link #attributes} bundle to define the badging curve.
43 "android.net.attributes.key.BADGING_CURVE";
45 * Extra used with {@link #attributes} to specify whether the
58 "android.net.attributes.key.HAS_CAPTIVE_PORTAL";
61 * Key used with the {@link #attributes} bundle to define the rankingScoreOffset int value.
67 "android.net.attributes.key.RANKING_SCORE_OFFSET";
92 * An additional collection of optional attributes set by
99 public final Bundle attributes; field in class:ScoredNetwork
130 this(networkKey, rssiCurve, meteredHint, null /* attributes */);
145 * @param attributes optiona
147 ScoredNetwork(NetworkKey networkKey, RssiCurve rssiCurve, boolean meteredHint, @Nullable Bundle attributes) argument
[all...]
/frameworks/compile/libbcc/lib/
H A DCompilerConfig.cpp37 void AddX86NativeCPUFeatures(std::vector<std::string>* attributes) { argument
41 attributes->push_back((f.second ? '+' : '-') + f.first().str());
46 attributes->push_back("-avx");
105 std::vector<std::string> attributes; local
113 attributes.push_back("+vfp3");
115 attributes.push_back("+d16");
122 attributes.push_back("+neon");
125 attributes.push_back("-neon");
126 attributes.push_back("-neonfp");
133 attributes
[all...]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DMDnsUtils.java39 Map<String,byte[]> attributes = networkDevice.getAttributes();
40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
41 String ty = getString(attributes.get(ATTRIBUTE__TY));
42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
43 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
51 Map<String,byte[]> attributes = networkDevice.getAttributes();
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DMDnsUtils.java36 Map<String, byte[]> attributes = networkDevice.getAttributes();
37 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
38 String ty = getString(attributes.get(ATTRIBUTE__TY));
39 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
40 String usbMdl = getString(attributes.get(ATTRIBUTE__USB_MDL));
41 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
51 Map<String, byte[]> attributes = networkDevice.getAttributes();
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
/frameworks/base/core/java/android/os/
H A DSystemVibrator.java71 VibrationEffect effect, AudioAttributes attributes) {
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
83 private static int usageForAttributes(AudioAttributes attributes) { argument
84 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN;
70 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
H A DNullVibrator.java48 VibrationEffect effect, AudioAttributes attributes) {
47 vibrate(int uid, String opPkg, VibrationEffect effect, AudioAttributes attributes) argument
/frameworks/native/libs/vr/libdvr/
H A Ddvr_surface.cpp32 bool ConvertSurfaceAttributes(const DvrSurfaceAttribute* attributes, argument
38 switch (attributes[i].value.type) {
40 value = attributes[i].value.int32_value;
43 value = attributes[i].value.int64_value;
49 value = static_cast<bool>(attributes[i].value.bool_value);
52 value = attributes[i].value.float_value;
55 ArrayCopy(&value, attributes[i].value.float2_value);
58 ArrayCopy(&value, attributes[i].value.float3_value);
61 ArrayCopy(&value, attributes[i].value.float4_value);
64 ArrayCopy(&value, attributes[
91 dvrSurfaceCreate(const DvrSurfaceAttribute* attributes, size_t attribute_count, DvrSurface** out_surface) argument
124 dvrSurfaceSetAttributes(DvrSurface* surface, const DvrSurfaceAttribute* attributes, size_t attribute_count) argument
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmEvent.java39 * The key that is used in the <code>attributes</code> HashMap to pass the return status.
43 * The key that is used in the <code>attributes</code> HashMap to pass the
60 * @param attributes Attributes for extensible information.
63 HashMap<String, Object> attributes) {
71 if (null != attributes) {
72 mAttributes = attributes;
122 * @return One of the attributes or null if no mapping for
62 DrmEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes) argument
H A DDrmErrorEvent.java93 * @param attributes Attributes for extensible information. Could be any
97 HashMap<String, Object> attributes) {
98 super(uniqueId, type, message, attributes);
96 DrmErrorEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes) argument
H A DDrmInfoEvent.java84 * @param attributes Attributes for extensible information. Could be any
88 HashMap<String, Object> attributes) {
89 super(uniqueId, type, message, attributes);
87 DrmInfoEvent(int uniqueId, int type, String message, HashMap<String, Object> attributes) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java278 private void addImportCommand(Attributes attributes) throws SAXException { argument
279 String packageName = getRequiredAttribute(attributes, "package");
283 private void addLibraryCommand(Attributes attributes) throws SAXException { argument
284 String libraryName = getRequiredAttribute(attributes, "name");
288 private void addConnectCommand(Attributes attributes) { argument
295 String sourceTag = attributes.getValue("source");
308 sourceFilterName = attributes.getValue("sourceFilter");
309 sourcePortName = attributes.getValue("sourcePort");
312 String targetTag = attributes.getValue("target");
325 targetFilterName = attributes
354 addVarCommand(Attributes attributes) argument
371 beginFilter(Attributes attributes) argument
381 addFilterInput(Attributes attributes) argument
409 getAssignmentValue(Attributes attributes) argument
433 getRequiredAttribute(Attributes attributes, String name) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { argument
45 mAttributes = attributes;
88 * Returns the endpoint's attributes field.
90 * @return the endpoint's attributes
140 int attributes = in.readInt();
143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
H A DPrinterFilterSamsung.java95 Map<String,byte[]> attributes = resolvedDevice.getAttributes();
96 String usb_mfg = MDNSUtils.getString(attributes.get(ATTR_USB_MFG));
98 usb_mfg = MDNSUtils.getString(attributes.get(ATTR_MFG));
101 String usb_mdl = MDNSUtils.getString(attributes.get(ATTR_USB_MDL));
103 usb_mdl = MDNSUtils.getString(attributes.get(ATTR_MDL));
110 modelName = MDNSUtils.getString(attributes.get(ATTR_PRODUCT));
112 modelName = MDNSUtils.getString(attributes.get(ATTR_TY));
/frameworks/av/media/libaudioclient/tests/
H A Dtest_create_audiotrack.cpp71 audio_attributes_t attributes; local
108 memset(&attributes, 0, sizeof(attributes));
109 attributes.content_type = contentType;
110 attributes.usage = usage;
131 &attributes,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSourceDescriptor.h35 AudioSourceDescriptor(const sp<DeviceDescriptor> device, const audio_attributes_t *attributes, argument
37 mDevice(device), mAttributes(*attributes), mUid(uid) {}
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DIPdfEditor.aidl29 void applyPrintAttributes(in PrintAttributes attributes);
H A DIPdfRenderer.aidl30 in PrintAttributes attributes, in ParcelFileDescriptor destination);
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/writer/
H A DEntityCursorConverterWriterTest.kt84 attributes: Map<String, String> = mapOf()) {
85 generate(input, attributes)
93 fun generate(input: String, attributes: Map<String, String> = mapOf()): CompileTester {
94 return singleEntity(input, attributes) { entity, invocation ->
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java58 public void start(Attributes attributes) { argument
71 public void start(Attributes attributes) { argument
245 public void start(Attributes attributes) {
246 String url = attributes.getValue("", "url");
255 public void start(Attributes attributes) {
256 String url = attributes.getValue("", "url");
265 public void start(Attributes attributes) {
266 String url = attributes.getValue("", "url");
303 public void start(Attributes attributes) {
304 String seconds = attributes
339 start(Attributes attributes) argument
362 startElement(String uri, String localName, String qName, Attributes attributes) argument
[all...]
/frameworks/av/drm/libmediadrm/protos/
H A Dmetrics.proto49 // Represents the attributes associated with this counter instance.
50 optional Attributes attributes = 2;
62 // Represents the attributes assocated with this distribution metric
64 optional Attributes attributes = 6;
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_display_manager-test.cpp117 DvrSurfaceAttribute attributes[] = { local
122 attributes, std::extent<decltype(attributes)>::value, &surface);
239 std::vector<DvrSurfaceAttribute> attributes; local
246 attributes.resize(count);
248 surface_state_.get(), surface_index, attributes.data(), count);
252 attributes.resize(return_count);
253 return {std::move(attributes)};
525 // Get attributes for an invalid surface index.
542 auto attributes local
701 auto attributes = attribute_status.take(); local
[all...]

Completed in 406 milliseconds

12345678