/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 | 39 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 D | DrmInfo.java | 39 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 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 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 D | ExifInterface.java | 122 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 D | SoundPool.java | 132 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 D | AudioTrack.java | 277 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 D | AudioRecord.java | 425 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 D | XMLNode.java | 16 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 D | BridgeLayoutParamsMapAttributes.java | 34 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 D | PrintJobInfo.java | 159 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 D | Program.cpp | 102 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 D | BindingXmlPullParser.cpp | 90 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 D | BindingXmlPullParser.h | 82 std::vector<XmlPullParser::Attribute> mAttributes; member in class:aapt::BindingXmlPullParser
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | FocusRequester.java | 67 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 D | PrintHelperKitkat.java | 191 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 D | XMLNode.cpp | 704 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 D | DrmInfo.h | 170 KeyedVector<String8, String8> mAttributes; member in class:android::DrmInfo
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 242 audio_source_t inputSource() const { return mAttributes.source; } 619 audio_attributes_t mAttributes; member in class:android::AudioRecord
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 185 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 D | AudioTrack.cpp | 172 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 D | SoundPool.h | 179 const audio_attributes_t* attributes() { return &mAttributes; } 220 audio_attributes_t mAttributes; member in class:android::SoundPool
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1359 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...] |