/frameworks/av/drm/common/ |
D | DrmInfo.cpp | 41 return mAttributes.size(); in getCount() 45 mAttributes.add(key, value); in put() 50 if (NAME_NOT_FOUND != mAttributes.indexOfKey(key)) { in get() 51 return mAttributes.valueFor(key); in get() 57 return mAttributes.indexOfKey(key); in indexOfKey() 75 return (mIndex < mDrmInfo->mAttributes.size()); in hasNext() 79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex); in next() 103 return mIndex < mDrmInfo->mAttributes.size(); in hasNext() 107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); in next()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbEndpoint.java | 35 private final int mAttributes; field in UsbEndpoint 45 mAttributes = attributes; in UsbEndpoint() 93 return mAttributes; in getAttributes() 109 return mAttributes & UsbConstants.USB_ENDPOINT_XFERTYPE_MASK; in getType() 132 return "UsbEndpoint[mAddress=" + mAddress + ",mAttributes=" + mAttributes + in toString() 157 parcel.writeInt(mAttributes); in writeToParcel()
|
D | UsbConfiguration.java | 42 private final int mAttributes; field in UsbConfiguration 65 mAttributes = attributes; in UsbConfiguration() 95 return (mAttributes & ATTR_SELF_POWERED) != 0; in isSelfPowered() 105 return (mAttributes & ATTR_REMOTE_WAKEUP) != 0; in isRemoteWakeup() 146 ",mName=" + mName + ",mAttributes=" + mAttributes + in toString() 181 parcel.writeInt(mAttributes); in writeToParcel()
|
/frameworks/base/media/java/android/media/ |
D | ExifInterface.java | 1301 private final HashMap[] mAttributes = new HashMap[EXIF_TAGS.length]; field in ExifInterface 1415 Object value = mAttributes[i].get(tag); in getExifAttribute() 1536 mAttributes[i].remove(tag); in setAttribute() 1562 mAttributes[i].put(tag, ExifAttribute.createByte(value)); in setAttribute() 1567 mAttributes[i].put(tag, ExifAttribute.createString(value)); in setAttribute() 1576 mAttributes[i].put(tag, in setAttribute() 1586 mAttributes[i].put(tag, in setAttribute() 1596 mAttributes[i].put(tag, in setAttribute() 1608 mAttributes[i].put(tag, in setAttribute() 1620 mAttributes[i].put(tag, in setAttribute() [all …]
|
D | AudioFocusInfo.java | 32 private final AudioAttributes mAttributes; field in AudioFocusInfo 54 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa; in AudioFocusInfo() 70 public AudioAttributes getAttributes() { return mAttributes; } in getAttributes() 123 mAttributes.writeToParcel(dest, flags); in writeToParcel() 136 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode() 149 if (!mAttributes.equals(other.mAttributes)) { in equals()
|
D | PlayerBase.java | 56 protected AudioAttributes mAttributes; field in PlayerBase 85 mAttributes = attr; in PlayerBase() 109 new PlayerIdCard(mImplType, mAttributes, new IPlayerWrapper(this))); in baseRegisterPlayer() 130 boolean attributesChanged = (mAttributes != attr); in baseUpdateAudioAttributes() 131 mAttributes = attr; in baseUpdateAudioAttributes() 265 mAttributes.getUsage(), in updateAppOpsPlayAudio_sync() 314 if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { in isRestricted_sync() 318 if (((mAttributes.getAllFlags() & AudioAttributes.FLAG_AUDIBILITY_ENFORCED) != 0) in isRestricted_sync() 319 && (mAttributes.getUsage() == AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)) { in isRestricted_sync() 503 public final AudioAttributes mAttributes; field in PlayerBase.PlayerIdCard [all …]
|
D | AudioTrack.java | 551 if (shouldEnablePowerSaving(mAttributes, format, bufferSizeInBytes, mode)) { in AudioTrack() 552 mAttributes = new AudioAttributes.Builder(mAttributes) in AudioTrack() 553 .replaceFlags((mAttributes.getAllFlags() in AudioTrack() 602 int initResult = native_setup(new WeakReference<AudioTrack>(this), mAttributes, in AudioTrack() 613 if ((mAttributes.getFlags() & AudioAttributes.FLAG_HW_AV_SYNC) != 0) { in AudioTrack() 734 private AudioAttributes mAttributes; field in AudioTrack.Builder 760 mAttributes = attributes; in setAudioAttributes() 878 if (mAttributes == null) { in build() 879 mAttributes = new AudioAttributes.Builder() in build() 885 mAttributes = new AudioAttributes.Builder(mAttributes) in build() [all …]
|
D | AudioRecord.java | 479 private AudioAttributes mAttributes; field in AudioRecord.Builder 501 mAttributes = new AudioAttributes.Builder() in setAudioSource() 526 mAttributes = attributes; in setAudioAttributes() 609 if (mAttributes == null) { in build() 610 mAttributes = new AudioAttributes.Builder() in build() 623 mAttributes, mFormat, mBufferSizeInBytes, mSessionId); in build()
|
/frameworks/support/exifinterface/src/android/support/media/ |
D | ExifInterface.java | 3678 private final HashMap<String, ExifAttribute>[] mAttributes = new HashMap[EXIF_TAGS.length]; field in ExifInterface 3753 ExifAttribute value = mAttributes[i].get(tag); in getExifAttribute() 3883 mAttributes[i].remove(tag); in setAttribute() 3908 mAttributes[i].put(tag, ExifAttribute.createByte(value)); in setAttribute() 3913 mAttributes[i].put(tag, ExifAttribute.createString(value)); in setAttribute() 3922 mAttributes[i].put(tag, in setAttribute() 3932 mAttributes[i].put(tag, in setAttribute() 3942 mAttributes[i].put(tag, in setAttribute() 3954 mAttributes[i].put(tag, in setAttribute() 3966 mAttributes[i].put(tag, in setAttribute() [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | XMLNode.java | 18 private final Map<String, NodeAttribute> mAttributes; field in XMLNode 39 mAttributes = new HashMap<>(); in XMLNode() 43 mAttributes.put(attributes.getQName(n), new NodeAttribute(attributes.getQName(n), in XMLNode() 56 mAttributes = new HashMap<>(attributes == null ? 0 : attributes.size()); in XMLNode() 60 mAttributes.put(entry.getKey(), in XMLNode() 107 NodeAttribute urn = mAttributes.get(OMAConstants.SppMOAttribute); in close() 152 return Collections.unmodifiableMap(mAttributes); in getAttributes() 156 Map<String, String> map = new HashMap<>(mAttributes.size()); in getTextualAttributes() 157 for (Map.Entry<String, NodeAttribute> entry : mAttributes.entrySet()) { in getTextualAttributes() 164 NodeAttribute nodeAttribute = mAttributes.get(name); in getAttributeValue() [all …]
|
D | OMANode.java | 17 private final Map<String, String> mAttributes; field in OMANode 23 mAttributes = avps; in OMANode() 38 return mAttributes; in getAttributes() 94 if (mAttributes != null && !mAttributes.isEmpty()) { in toXml() 95 for (Map.Entry<String, String> avp : mAttributes.entrySet()) { in toXml()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmInfo.java | 40 private final HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in DrmInfo 98 mAttributes.put(key, value); in put() 109 return mAttributes.get(key); in get() 119 return mAttributes.keySet().iterator(); in keyIterator() 129 return mAttributes.values().iterator(); in iterator()
|
D | DrmEvent.java | 52 private HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in DrmEvent 72 mAttributes = attributes; in DrmEvent() 126 return mAttributes.get(key); in getAttribute()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUResponse.java | 20 private final Map<String, String> mAttributes; field in OSUResponse 40 mAttributes = new HashMap<>(); in OSUResponse() 46 mAttributes.put(attribute, value); in OSUResponse() 49 mAttributes = null; in OSUResponse() 88 return mAttributes; in getAttributes()
|
/frameworks/base/core/java/android/print/ |
D | PrintJobInfo.java | 178 private PrintAttributes mAttributes; field in PrintJobInfo 216 mAttributes = other.mAttributes; in PrintJobInfo() 243 mAttributes = (PrintAttributes) parcel.readParcelable(null); in PrintJobInfo() 525 return mAttributes; in getAttributes() 536 mAttributes = attributes; in setAttributes() 659 parcel.writeParcelable(mAttributes, flags); in writeToParcel() 680 builder.append(", attributes: " + (mAttributes != null in toString() 681 ? mAttributes.toString() : null)); in toString() 794 mPrototype.mAttributes = attributes; in setAttributes()
|
D | PrintAttributes.java | 1389 private final PrintAttributes mAttributes = new PrintAttributes(); field in PrintAttributes.Builder 1398 mAttributes.setMediaSize(mediaSize); in setMediaSize() 1409 mAttributes.setResolution(resolution); in setResolution() 1421 mAttributes.setMinMargins(margins); in setMinMargins() 1435 mAttributes.setColorMode(colorMode); in setColorMode() 1450 mAttributes.setDuplexMode(duplexMode); in setDuplexMode() 1460 return mAttributes; in build()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 710 return mAttributes; in getAttributes() 716 for (size_t i=0; i<mAttributes.size(); i++) { in getAttribute() 717 const attribute_entry& ae(mAttributes.itemAt(i)); in getAttribute() 728 for (size_t i = 0; i < mAttributes.size(); i++) { in removeAttribute() 729 const attribute_entry& ae(mAttributes.itemAt(i)); in removeAttribute() 741 for (size_t i=0; i<mAttributes.size(); i++) { in editAttribute() 742 attribute_entry * ae = &mAttributes.editItemAt(i); in editAttribute() 839 mAttributes.add(e); in addAttribute() 840 mAttributeOrder.add(e.index, mAttributes.size()-1); in addAttribute() 851 if (index >= mAttributes.size()) { in removeAttribute() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapper.java | 49 private List<Attribute> mAttributes; field in LayoutParserWrapper 112 mAttributes = count > 0 ? new ArrayList<Attribute>(count) : in peekNext() 115 mAttributes.add(new Attribute(mDelegate.getAttributeNamespace(i), in peekNext() 127 mAttributes = null; in reset() 177 if (mAttributes == null) { in getAttributeValue() 184 for (Attribute attribute : mAttributes) { in getAttributeValue()
|
/frameworks/base/libs/hwui/ |
D | Program.cpp | 99 mAttributes.add(name, slot); in addAttrib() 105 mAttributes.add(name, bindingSlot); in bindAttrib() 110 ssize_t index = mAttributes.indexOfKey(name); in getAttrib() 112 return mAttributes.valueAt(index); in getAttrib()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeLayoutParamsMapAttributes.java | 34 private final Map<String, String> mAttributes; field in BridgeLayoutParamsMapAttributes 37 mAttributes = attributes; in BridgeLayoutParamsMapAttributes() 43 return mAttributes.get(name); in getAttributeValue()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FocusRequester.java | 74 private final AudioAttributes mAttributes; field in FocusRequester 92 mAttributes = aa; in FocusRequester() 109 mAttributes = afi.getAttributes(); in FocusRequester() 174 return mAttributes; in getAudioAttributes() 237 + " -- attr: " + mAttributes in dump() 452 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioSourceDescriptor.h | 37 mDevice(device), mAttributes(*attributes), mUid(uid) {} in AudioSourceDescriptor() 45 const audio_attributes_t mAttributes; variable
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbEndpointDescriptor.java | 56 private byte mAttributes; // 3:1 Various flags field in UsbEndpointDescriptor 89 return mAttributes; in getAttributes() 111 mAttributes = stream.getByte(); in parseRawDescriptors()
|
/frameworks/support/core-utils/java/android/support/v4/print/ |
D | PrintHelper.java | 370 private PrintAttributes mAttributes; in printBitmap() 379 mAttributes = newPrintAttributes; in printBitmap() 394 writeBitmap(mAttributes, fittingMode, bitmap, fileDescriptor, in printBitmap() 581 private PrintAttributes mAttributes; in printBitmap() 593 mAttributes = newPrintAttributes; in printBitmap() 646 mediaSize = mAttributes.getMediaSize(); in printBitmap() 716 writeBitmap(mAttributes, fittingMode, mBitmap, fileDescriptor, in printBitmap()
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 189 memset(&mAttributes, 0, sizeof(audio_attributes_t)); in set() 190 mAttributes.source = inputSource; in set() 193 memcpy(&mAttributes, pAttributes, sizeof(audio_attributes_t)); in set() 195 mAttributes.source, mAttributes.flags, mAttributes.tags); in set() 566 status = AudioSystem::getInputForAttr(&mAttributes, &input, in openRecord_l() 577 mSessionId, mAttributes.source, mSampleRate, mFormat, mChannelMask, mFlags); in openRecord_l()
|