Searched refs:mAttributes (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/av/drm/common/
H A DDrmInfo.cpp41 return mAttributes.size();
45 mAttributes.add(key, value);
50 if (NAME_NOT_FOUND != mAttributes.indexOfKey(key)) {
51 return mAttributes.valueFor(key);
57 return mAttributes.indexOfKey(key);
75 return (mIndex < mDrmInfo->mAttributes.size());
79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex);
103 return mIndex < mDrmInfo->mAttributes.size();
107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java35 private final int mAttributes; field in class:UsbEndpoint
45 mAttributes = attributes;
93 return mAttributes;
109 return mAttributes & UsbConstants.USB_ENDPOINT_XFERTYPE_MASK;
132 return "UsbEndpoint[mAddress=" + mAddress + ",mAttributes=" + mAttributes +
157 parcel.writeInt(mAttributes);
H A DUsbConfiguration.java39 private final int mAttributes; field in class:UsbConfiguration
62 mAttributes = attributes;
92 return (mAttributes & ATTR_SELF_POWERED) != 0;
102 return (mAttributes & ATTR_REMOTE_WAKEUP) != 0;
143 ",mName=" + mName + ",mAttributes=" + mAttributes +
178 parcel.writeInt(mAttributes);
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java39 private final HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in class:DrmInfo
97 mAttributes.put(key, value);
108 return mAttributes.get(key);
118 return mAttributes.keySet().iterator();
128 return mAttributes.values().iterator();
H A DDrmEvent.java52 private HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in class:DrmEvent
72 mAttributes = attributes;
126 return mAttributes.get(key);
/frameworks/base/media/java/android/media/
H A DAudioFocusInfo.java32 private AudioAttributes mAttributes; field in class:AudioFocusInfo
52 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa;
66 public AudioAttributes getAttributes() { return mAttributes; }
113 mAttributes.writeToParcel(dest, flags);
124 return Objects.hash(mAttributes, mClientId, mPackageName, mGainRequest, mFlags);
137 if (!mAttributes.equals(other.mAttributes)) {
H A DExifInterface.java122 private HashMap<String, String> mAttributes; field in class:ExifInterface
149 return mAttributes.get(tag);
161 String value = mAttributes.get(tag);
179 String value = mAttributes.get(tag);
200 mAttributes.put(tag, value);
204 * Initialize mAttributes with the attributes from the file mFilename.
206 * mAttributes is a HashMap which stores the Exif attributes of the file.
218 mAttributes = new HashMap<String, String>();
249 mAttributes.put(attrName, attrValue);
267 int size = mAttributes
[all...]
H A DSoundPool.java132 private final AudioAttributes mAttributes; field in class:SoundPool
162 mAttributes = attributes;
496 if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) {
505 mAttributes.getUsage(),
H A DAudioTrack.java277 private final AudioAttributes mAttributes; field in class:AudioTrack
499 mAttributes = new AudioAttributes.Builder(attributes).build();
508 int initResult = native_setup(new WeakReference<AudioTrack>(this), mAttributes,
563 private AudioAttributes mAttributes; field in class:AudioTrack.Builder
588 mAttributes = attributes;
681 if (mAttributes == null) {
682 mAttributes = new AudioAttributes.Builder()
702 mAttributes, mFormat, mBufferSizeInBytes, mMode, mSessionId);
1586 if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) {
2075 if ((mAttributes
[all...]
H A DAudioRecord.java425 private AudioAttributes mAttributes; field in class:AudioRecord.Builder
447 mAttributes = new AudioAttributes.Builder()
472 mAttributes = attributes;
555 if (mAttributes == null) {
556 mAttributes = new AudioAttributes.Builder()
569 mAttributes, mFormat, mBufferSizeInBytes, mSessionId);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DXMLNode.java16 private final Map<String, NodeAttribute> mAttributes; field in class:XMLNode
26 mAttributes = new HashMap<String, NodeAttribute>();
30 mAttributes.put(attributes.getQName(n), new NodeAttribute(attributes.getQName(n),
70 NodeAttribute urn = mAttributes.get(OMAConstants.ATTR_URN);
89 return Collections.unmodifiableMap(mAttributes);
93 NodeAttribute nodeAttribute = mAttributes.get(name);
108 sb.append(indent).append('<').append(mTag).append("> ").append(mAttributes.values());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeLayoutParamsMapAttributes.java34 private final Map<String, String> mAttributes; field in class:BridgeLayoutParamsMapAttributes
37 mAttributes = attributes;
43 return mAttributes.get(name);
/frameworks/base/core/java/android/print/
H A DPrintJobInfo.java159 private PrintAttributes mAttributes; field in class:PrintJobInfo
188 mAttributes = other.mAttributes;
212 mAttributes = (PrintAttributes) parcel.readParcelable(null);
468 return mAttributes;
479 mAttributes = attributes;
609 parcel.writeParcelable(mAttributes, flags);
626 builder.append(", attributes: " + (mAttributes != null
627 ? mAttributes.toString() : null));
701 mPrototype.mAttributes
[all...]
/frameworks/base/libs/hwui/
H A DProgram.cpp102 mAttributes.add(name, slot);
108 mAttributes.add(name, bindingSlot);
113 ssize_t index = mAttributes.indexOfKey(name);
115 return mAttributes.valueAt(index);
/frameworks/base/tools/aapt2/
H A DBindingXmlPullParser.cpp90 mAttributes.emplace_back(*attr);
109 mAttributes.push_back(XmlPullParser::Attribute{
121 mAttributes.clear();
198 return mAttributes.begin();
205 return mAttributes.end();
212 return mAttributes.size();
H A DBindingXmlPullParser.h82 std::vector<XmlPullParser::Attribute> mAttributes; member in class:aapt::BindingXmlPullParser
/frameworks/base/services/core/java/com/android/server/audio/
H A DFocusRequester.java67 private final AudioAttributes mAttributes; field in class:FocusRequester
85 mAttributes = aa;
140 return mAttributes;
199 + " -- attr: " + mAttributes);
330 return new AudioFocusInfo(mAttributes, mClientId, mPackageName,
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java191 private PrintAttributes mAttributes;
200 mAttributes = newPrintAttributes;
215 mAttributes);
218 mAttributes.getColorMode());
317 private PrintAttributes mAttributes;
328 mAttributes = newPrintAttributes;
428 mAttributes);
430 mAttributes.getColorMode());
/frameworks/base/tools/aapt/
H A DXMLNode.cpp704 return mAttributes;
710 for (size_t i=0; i<mAttributes.size(); i++) {
711 const attribute_entry& ae(mAttributes.itemAt(i));
723 for (size_t i=0; i<mAttributes.size(); i++) {
724 attribute_entry * ae = &mAttributes.editItemAt(i);
821 mAttributes.add(e);
822 mAttributeOrder.add(e.index, mAttributes.size()-1);
833 if (index >= mAttributes.size()) {
837 const attribute_entry& e = mAttributes[index];
840 mAttributes
[all...]
/frameworks/av/include/drm/
H A DDrmInfo.h170 KeyedVector<String8, String8> mAttributes; member in class:android::DrmInfo
/frameworks/av/include/media/
H A DAudioRecord.h242 audio_source_t inputSource() const { return mAttributes.source; }
619 audio_attributes_t mAttributes; member in class:android::AudioRecord
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp185 memset(&mAttributes, 0, sizeof(audio_attributes_t));
186 mAttributes.source = inputSource;
189 memcpy(&mAttributes, pAttributes, sizeof(audio_attributes_t));
191 mAttributes.source, mAttributes.flags, mAttributes.tags);
523 status_t status = AudioSystem::getInputForAttr(&mAttributes, &input,
532 mAttributes.source, mSampleRate, mFormat, mChannelMask, mSessionId, mFlags);
H A DAudioTrack.cpp172 mAttributes.content_type = AUDIO_CONTENT_TYPE_UNKNOWN;
173 mAttributes.usage = AUDIO_USAGE_UNKNOWN;
174 mAttributes.flags = 0x0;
175 strcpy(mAttributes.tags, "");
352 memcpy(&mAttributes, pAttributes, sizeof(audio_attributes_t));
354 mAttributes.usage, mAttributes.content_type, mAttributes.flags, mAttributes.tags);
356 if ((mAttributes
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h179 const audio_attributes_t* attributes() { return &mAttributes; }
220 audio_attributes_t mAttributes; member in class:android::SoundPool
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1359 mAttributes = (audio_attributes_t *) calloc(1, sizeof(audio_attributes_t));
1360 if (mAttributes != NULL) {
1361 memcpy(mAttributes, attr, sizeof(audio_attributes_t));
1365 mAttributes = NULL;
1374 free(mAttributes);
1482 free(mAttributes);
1483 mAttributes = NULL;
1485 if (mAttributes == NULL) {
1486 mAttributes = (audio_attributes_t *) calloc(1, sizeof(audio_attributes_t));
1488 memcpy(mAttributes, attribute
[all...]

Completed in 498 milliseconds

12