/frameworks/av/drm/common/ |
H A D | DrmInfo.cpp | 41 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 D | UsbEndpoint.java | 35 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 D | UsbConfiguration.java | 42 private final int mAttributes; field in class:UsbConfiguration 65 mAttributes = attributes; 95 return (mAttributes & ATTR_SELF_POWERED) != 0; 105 return (mAttributes & ATTR_REMOTE_WAKEUP) != 0; 146 ",mName=" + mName + ",mAttributes=" + mAttributes + 181 parcel.writeInt(mAttributes);
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 40 private final HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in class:DrmInfo 98 mAttributes.put(key, value); 109 return mAttributes.get(key); 119 return mAttributes.keySet().iterator(); 129 return mAttributes.values().iterator();
|
H A D | DrmEvent.java | 52 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 D | AudioFocusInfo.java | 32 private final AudioAttributes mAttributes; field in class:AudioFocusInfo 54 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa; 70 public AudioAttributes getAttributes() { return mAttributes; } 123 mAttributes.writeToParcel(dest, flags); 136 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); 149 if (!mAttributes.equals(other.mAttributes)) {
|
H A D | PlayerBase.java | 56 protected AudioAttributes mAttributes; field in class:PlayerBase 85 mAttributes = attr; 109 new PlayerIdCard(mImplType, mAttributes, new IPlayerWrapper(this))); 130 mAttributes = attr; 267 mAttributes.getUsage(), 314 if ((mAttributes.getAllFlags() & AudioAttributes.FLAG_BYPASS_INTERRUPTION_POLICY) != 0) { 318 if (((mAttributes.getAllFlags() & AudioAttributes.FLAG_AUDIBILITY_ENFORCED) != 0) 319 && (mAttributes.getUsage() == AudioAttributes.USAGE_ASSISTANCE_SONIFICATION)) { 503 public final AudioAttributes mAttributes; field in class:PlayerBase.PlayerIdCard 508 mAttributes [all...] |
H A D | ExifInterface.java | 1296 private final HashMap[] mAttributes = new HashMap[EXIF_TAGS.length]; field in class:ExifInterface 1410 Object value = mAttributes[i].get(tag); 1531 mAttributes[i].remove(tag); 1557 mAttributes[i].put(tag, ExifAttribute.createByte(value)); 1562 mAttributes[i].put(tag, ExifAttribute.createString(value)); 1571 mAttributes[i].put(tag, 1581 mAttributes[i].put(tag, 1591 mAttributes[i].put(tag, 1603 mAttributes[i].put(tag, 1615 mAttributes[ [all...] |
H A D | AudioTrack.java | 544 if (shouldEnablePowerSaving(mAttributes, format, bufferSizeInBytes, mode)) { 545 mAttributes = new AudioAttributes.Builder(mAttributes) 546 .replaceFlags((mAttributes.getAllFlags() 595 int initResult = native_setup(new WeakReference<AudioTrack>(this), mAttributes, 659 null /*mAttributes - NA*/, 717 private AudioAttributes mAttributes; field in class:AudioTrack.Builder 743 mAttributes = attributes; 861 if (mAttributes == null) { 862 mAttributes [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioSourceDescriptor.h | 37 mDevice(device), mAttributes(*attributes), mUid(uid) {} 45 const audio_attributes_t mAttributes; member in class:android::AudioSourceDescriptor
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUResponse.java | 20 private final Map<String, String> mAttributes; field in class:OSUResponse 40 mAttributes = new HashMap<>(); 46 mAttributes.put(attribute, value); 49 mAttributes = null; 88 return mAttributes;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | XMLNode.java | 18 private final Map<String, NodeAttribute> mAttributes; field in class:XMLNode 39 mAttributes = new HashMap<>(); 43 mAttributes.put(attributes.getQName(n), new NodeAttribute(attributes.getQName(n), 56 mAttributes = new HashMap<>(attributes == null ? 0 : attributes.size()); 60 mAttributes.put(entry.getKey(), 107 NodeAttribute urn = mAttributes.get(OMAConstants.SppMOAttribute); 152 return Collections.unmodifiableMap(mAttributes); 156 Map<String, String> map = new HashMap<>(mAttributes.size()); 157 for (Map.Entry<String, NodeAttribute> entry : mAttributes.entrySet()) { 164 NodeAttribute nodeAttribute = mAttributes [all...] |
H A D | OMANode.java | 17 private final Map<String, String> mAttributes; field in class:OMANode 23 mAttributes = avps; 38 return mAttributes; 94 if (mAttributes != null && !mAttributes.isEmpty()) { 95 for (Map.Entry<String, String> avp : mAttributes.entrySet()) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeLayoutParamsMapAttributes.java | 34 private final Map<String, String> mAttributes; field in class:BridgeLayoutParamsMapAttributes 37 mAttributes = attributes; 43 return mAttributes.get(name);
|
/frameworks/support/exifinterface/src/android/support/media/ |
H A D | ExifInterface.java | 1273 private final HashMap<String, ExifAttribute>[] mAttributes = new HashMap[EXIF_TAGS.length]; field in class:ExifInterface 1341 ExifAttribute value = mAttributes[i].get(tag); 1464 mAttributes[i].remove(tag); 1489 mAttributes[i].put(tag, ExifAttribute.createByte(value)); 1494 mAttributes[i].put(tag, ExifAttribute.createString(value)); 1503 mAttributes[i].put(tag, 1513 mAttributes[i].put(tag, 1523 mAttributes[i].put(tag, 1535 mAttributes[i].put(tag, 1547 mAttributes[ [all...] |
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 99 mAttributes.add(name, slot); 105 mAttributes.add(name, bindingSlot); 110 ssize_t index = mAttributes.indexOfKey(name); 112 return mAttributes.valueAt(index);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | LayoutParserWrapper.java | 49 private List<Attribute> mAttributes; field in class:LayoutParserWrapper 112 mAttributes = count > 0 ? new ArrayList<Attribute>(count) : 115 mAttributes.add(new Attribute(mDelegate.getAttributeNamespace(i), 127 mAttributes = null; 177 if (mAttributes == null) { 184 for (Attribute attribute : mAttributes) {
|
/frameworks/base/core/java/android/print/ |
H A D | PrintJobInfo.java | 178 private PrintAttributes mAttributes; field in class:PrintJobInfo 216 mAttributes = other.mAttributes; 243 mAttributes = (PrintAttributes) parcel.readParcelable(null); 525 return mAttributes; 536 mAttributes = attributes; 659 parcel.writeParcelable(mAttributes, flags); 680 builder.append(", attributes: " + (mAttributes != null 681 ? mAttributes.toString() : null)); 794 mPrototype.mAttributes [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | FocusRequester.java | 74 private final AudioAttributes mAttributes; field in class:FocusRequester 92 mAttributes = aa; 109 mAttributes = afi.getAttributes(); 174 return mAttributes; 237 + " -- attr: " + mAttributes 452 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName,
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 710 return mAttributes; 716 for (size_t i=0; i<mAttributes.size(); i++) { 717 const attribute_entry& ae(mAttributes.itemAt(i)); 728 for (size_t i = 0; i < mAttributes.size(); i++) { 729 const attribute_entry& ae(mAttributes.itemAt(i)); 741 for (size_t i=0; i<mAttributes.size(); i++) { 742 attribute_entry * ae = &mAttributes.editItemAt(i); 839 mAttributes.add(e); 840 mAttributeOrder.add(e.index, mAttributes.size()-1); 851 if (index >= mAttributes [all...] |
/frameworks/av/include/drm/ |
H A D | DrmInfo.h | 170 KeyedVector<String8, String8> mAttributes; member in class:android::DrmInfo
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioSourceDescriptor.cpp | 38 snprintf(buffer, SIZE, "mStream: %d\n", audio_attributes_to_stream_type(&mAttributes));
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 248 private PrintAttributes mAttributes; 257 mAttributes = newPrintAttributes; 271 writeBitmap(mAttributes, fittingMode, bitmap, fileDescriptor, 453 private PrintAttributes mAttributes; 465 mAttributes = newPrintAttributes; 518 mediaSize = mAttributes.getMediaSize(); 587 writeBitmap(mAttributes, fittingMode, mBitmap, fileDescriptor, cancellationSignal,
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 244 audio_source_t inputSource() const { return mAttributes.source; } 654 audio_attributes_t mAttributes; member in class:android::AudioRecord
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 188 memset(&mAttributes, 0, sizeof(audio_attributes_t)); 189 mAttributes.source = inputSource; 192 memcpy(&mAttributes, pAttributes, sizeof(audio_attributes_t)); 194 mAttributes.source, mAttributes.flags, mAttributes.tags); 541 status = AudioSystem::getInputForAttr(&mAttributes, &input, 552 mSessionId, mAttributes.source, mSampleRate, mFormat, mChannelMask, mFlags);
|