Searched defs:attributes (Results 1 - 25 of 69) sorted by relevance

123

/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/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/core/java/android/os/
H A DNullVibrator.java45 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { argument
53 AudioAttributes attributes) {
52 vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attributes) argument
H A DVibrator.java74 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example,
79 public void vibrate(long milliseconds, AudioAttributes attributes) { argument
80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes);
126 * @param attributes {@link AudioAttributes} corresponding to the vibration. For example,
131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { argument
132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes);
141 AudioAttributes attributes);
149 AudioAttributes attributes);
140 vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) argument
148 vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attributes) argument
H A DSystemVibrator.java62 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { argument
68 mService.vibrate(uid, opPkg, milliseconds, usageForAttributes(attributes), mToken);
79 AudioAttributes attributes) {
89 mService.vibratePattern(uid, opPkg, pattern, repeat, usageForAttributes(attributes),
99 private static int usageForAttributes(AudioAttributes attributes) { argument
100 return attributes != null ? attributes.getUsage() : AudioAttributes.USAGE_UNKNOWN;
78 vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attributes) argument
/frameworks/base/core/java/android/print/pdf/
H A DPrintedPdfDocument.java29 * This class is a helper for creating a PDF file for given print attributes. It is useful for
33 * attributes and these precomputed values can be accessed via {@link #getPageWidth()},
81 * @param attributes The print attributes.
83 public PrintedPdfDocument(@NonNull Context context, @NonNull PrintAttributes attributes) { argument
84 MediaSize mediaSize = attributes.getMediaSize();
86 // Compute the size of the target canvas from the attributes.
92 // Compute the content size from the attributes.
93 Margins minMargins = attributes.getMinMargins();
108 * from the print attributes passe
[all...]
/frameworks/base/drm/java/android/drm/
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
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
/frameworks/compile/libbcc/lib/Support/
H A DCompilerConfig.cpp108 std::vector<std::string> attributes; local
116 attributes.push_back("+vfp3");
118 attributes.push_back("+d16");
125 attributes.push_back("+neon");
128 attributes.push_back("-neon");
129 attributes.push_back("-neonfp");
136 attributes.push_back("+hwdiv-arm");
139 attributes.push_back("+hwdiv");
146 attributes.push_back("+fp16");
154 attributes
[all...]
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp29 Attribute attributes[] = { variable
79 for (int attr = 0 ; attr<sizeof(attributes)/sizeof(Attribute) ; attr++) {
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
82 printf("\t%-32s: %10d (0x%08x)\n", attributes[attr].name, value, value);
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAParser.java38 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
42 mCurrent = new XMLNode(mCurrent, qName, attributes);
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpDataIO.java94 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
100 String pkg = attributes.getValue("package");
101 String dateString = attributes.getValue("date");
117 String className = attributes.getValue("name");
118 String classLoader = attributes.getValue("classloader");
/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);
H A DUsbConfiguration.java44 * Mask for "self-powered" bit in the configuration's attributes.
50 * Mask for "remote wakeup" bit in the configuration's attributes.
59 public UsbConfiguration(int id, String name, int attributes, int maxPower) { argument
62 mAttributes = attributes;
86 * Returns the self-powered attribute value configuration's attributes field.
96 * Returns the remote-wakeup attribute value configuration's attributes field.
97 * This attributes that the device may signal the host to wake from suspend.
158 int attributes = in.readInt();
161 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUResponse.java22 protected OSUResponse(XMLNode root, OSUMessageType messageType, String... attributes) argument
39 if (attributes != null) {
41 for (String attribute : attributes) {
H A DXMLParser.java39 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
43 mCurrent = new XMLNode(mCurrent, qName, attributes);
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessMethodAdapters.java128 L.e(element, "@BindingAdapter %s has %d attributes and %d value " +
191 private static void warnAttributeNamespaces(Element element, String[] attributes) { argument
192 for (String attribute : attributes) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DOMAParser.java43 public void startElement(String uri, String localName, String qName, Attributes attributes) argument
47 mCurrent = new XMLNode(mCurrent, qName, attributes);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyMix.cpp107 status_t AudioPolicyMixCollection::getOutputForAttr(audio_attributes_t attributes, uid_t uid, argument
137 if (strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
138 strncmp(attributes.tags + strlen("addr="),
150 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) {
159 if (mix->mCriteria[j].mValue.mUsage == attributes.usage) {
215 if (attributes.usage == AUDIO_USAGE_VIRTUAL_SOURCE &&
216 strncmp(attributes.tags, "addr=", strlen("addr=")) == 0 &&
217 strncmp(attributes.tags + strlen("addr="),
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java42 AudioAttributes attributes; field in class:AsyncPlayer.Command
46 return "{ code=" + code + " looping=" + looping + " attr=" + attributes
60 player.setAudioAttributes(cmd.attributes);
187 * @param attributes the non-null {@link AudioAttributes} to use.
192 @NonNull AudioAttributes attributes) throws IllegalArgumentException {
193 if (context == null || uri == null || attributes == null) {
202 cmd.attributes = attributes;
191 play(@onNull Context context, @NonNull Uri uri, boolean looping, @NonNull AudioAttributes attributes) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeLayoutParamsMapAttributes.java36 public BridgeLayoutParamsMapAttributes(Map<String, String> attributes) { argument
37 mAttributes = attributes;
/frameworks/wilhelm/src/
H A Dlocks.c158 * attributes
162 void object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, argument
165 void object_unlock_exclusive_attributes(IObject *thiz, unsigned attributes)
189 // first synchronously handle updates to attributes here, while object is still locked.
191 unsigned asynchronous = attributes;
192 while (attributes) {
194 unsigned bit = ctz(attributes);
202 attributes &= ~(1 << bit);
205 // any remaining attributes are handled asynchronously in the sync thread
/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java205 Attributes attributes = manifest.getAttributes(name);
207 if (attributes == null) {
234 final String hash = attributes.getValue(algorithm + "-Digest");
371 Attributes attributes = new Attributes();
374 StrictJarManifestReader im = new StrictJarManifestReader(sfBytes, attributes);
383 attributes.getValue(
420 if (attributes.get(Attributes.Name.SIGNATURE_VERSION) == null) {
425 String createdBy = attributes.getValue("Created-By");
436 if (!verify(attributes, digestAttribute, manifestBytes, 0, mainAttributesEnd, false, true)) {
443 if (!verify(attributes, digestAttribut
472 verify(Attributes attributes, String entry, byte[] data, int start, int end, boolean ignoreSecondEndline, boolean ignorable) argument
[all...]

Completed in 5652 milliseconds

123