Home
last modified time | relevance | path

Searched refs:mAttributes (Results 1 – 25 of 30) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java35 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()
H A DUsbConfiguration.java43 private final int mAttributes; field in UsbConfiguration
66 mAttributes = attributes; in UsbConfiguration()
96 return (mAttributes & ATTR_SELF_POWERED) != 0; in isSelfPowered()
106 return (mAttributes & ATTR_REMOTE_WAKEUP) != 0; in isRemoteWakeup()
117 return mAttributes; in getAttributes()
158 ",mName=" + mName + ",mAttributes=" + mAttributes + in toString()
194 parcel.writeInt(mAttributes); in writeToParcel()
/aosp14/frameworks/base/media/java/android/media/
H A DAudioFocusInfo.java34 private final @NonNull AudioAttributes mAttributes; field in AudioFocusInfo
60 mAttributes = aa == null ? new AudioAttributes.Builder().build() : aa; in AudioFocusInfo()
86 return mAttributes; in getAttributes()
140 mAttributes.writeToParcel(dest, flags); in writeToParcel()
153 return Objects.hash(mAttributes, mClientUid, mClientId, mPackageName, mGainRequest, mFlags); in hashCode()
165 if (!mAttributes.equals(other.mAttributes)) { in equals()
H A DExifInterface.java1822 mAttributes[i].remove(tag); in setAttribute()
1865 mAttributes[i].put(tag, in setAttribute()
1875 mAttributes[i].put(tag, in setAttribute()
1885 mAttributes[i].put(tag, in setAttribute()
1897 mAttributes[i].put(tag, in setAttribute()
1909 mAttributes[i].put(tag, in setAttribute()
1919 mAttributes[i].put(tag, in setAttribute()
1958 mAttributes[i].remove(tag); in removeAttribute()
4520 mAttributes[IFD_TYPE_THUMBNAIL] = mAttributes[IFD_TYPE_PREVIEW]; in validateImages()
5226 if (mAttributes[firstIfdType].isEmpty() || mAttributes[secondIfdType].isEmpty()) { in swapBasedOnImageSize()
[all …]
H A DPlayerBase.java59 protected AudioAttributes mAttributes; field in PlayerBase
106 mAttributes = attr; in PlayerBase()
124 new PlayerIdCard(mImplType, mAttributes, new IPlayerWrapper(this), in baseRegisterPlayer()
145 mAttributes = attr; in baseUpdateAudioAttributes()
449 public final AudioAttributes mAttributes; field in PlayerBase.PlayerIdCard
456 mAttributes = attr; in PlayerIdCard()
474 mAttributes.writeToParcel(dest, 0); in writeToParcel()
496 mAttributes = AudioAttributes.CREATOR.createFromParcel(in); in PlayerIdCard()
511 return ((mPlayerType == that.mPlayerType) && mAttributes.equals(that.mAttributes) in equals()
H A DAudioTrack.java820 mAttributes = new AudioAttributes.Builder(mAttributes) in AudioTrack()
821 .replaceFlags((mAttributes.getAllFlags() in AudioTrack()
1091 private AudioAttributes mAttributes; field in AudioTrack.Builder
1134 mAttributes = attributes; in setAudioAttributes()
1377 if (mAttributes == null) { in build()
1378 mAttributes = new AudioAttributes.Builder() in build()
1384 mAttributes = new AudioAttributes.Builder(mAttributes) in build()
1385 .replaceFlags((mAttributes.getAllFlags() in build()
1396 mAttributes = new AudioAttributes.Builder(mAttributes) in build()
1397 .replaceFlags((mAttributes.getAllFlags() in build()
[all …]
H A DAudioRecord.java601 private AudioAttributes mAttributes; field in AudioRecord.Builder
636 mAttributes = new AudioAttributes.Builder() in setAudioSource()
675 mAttributes = attributes; in setAudioAttributes()
727 mAttributes == null, in setAudioPlaybackCaptureConfig()
1006 if (mAttributes == null) { in build()
1007 mAttributes = new AudioAttributes.Builder() in build()
1013 mAttributes = new AudioAttributes.Builder(mAttributes) in build()
1021 int source = mAttributes.getCapturePreset(); in build()
1032 mAttributes = new AudioAttributes.Builder(mAttributes) in build()
1041 mAttributes = new AudioAttributes.Builder(mAttributes) in build()
[all …]
H A DSoundPool.java134 private final AudioAttributes mAttributes; field in SoundPool
166 mAttributes = attributes; in SoundPool()
H A DTtmlRenderer.java263 out.append(node.mAttributes); in extractTtmlFragment()
298 public final String mAttributes; field in TtmlNode
309 this.mAttributes = attributes; in TtmlNode()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbEndpointDescriptor.java59 private int mAttributes; // 3:1 Various flags field in UsbEndpointDescriptor
94 return mAttributes; in getAttributes()
131 + Integer.toHexString(mAttributes & MASK_ATTRIBS_TRANSTYPE) in toAndroid()
132 + " sync:" + Integer.toHexString(mAttributes & MASK_ATTRIBS_SYNCTYPE) in toAndroid()
133 + " usage:" + Integer.toHexString(mAttributes & MASK_ATTRIBS_USEAGE)); in toAndroid()
135 return new UsbEndpoint(mEndpointAddress, mAttributes, mPacketSize, mInterval); in toAndroid()
141 mAttributes = stream.getUnsignedByte(); in parseRawDescriptors()
/aosp14/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java42 private final HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in DrmInfo
100 mAttributes.put(key, value); in put()
111 return mAttributes.get(key); in get()
121 return mAttributes.keySet().iterator(); in keyIterator()
131 return mAttributes.values().iterator(); in iterator()
H A DDrmEvent.java54 private HashMap<String, Object> mAttributes = new HashMap<String, Object>(); field in DrmEvent
74 mAttributes = attributes; in DrmEvent()
128 return mAttributes.get(key); in getAttribute()
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DPublishAttributes.java49 private PublishAttributes mAttributes; field in PublishAttributes.Builder
56 mAttributes = new PublishAttributes(publishState); in Builder()
65 mAttributes.mSipDetails = details; in setSipDetails()
77 mAttributes.mPresenceTuples = tuples; in setPresenceTuples()
85 return mAttributes; in build()
/aosp14/frameworks/base/core/java/android/print/
H A DPrintJobInfo.java185 private PrintAttributes mAttributes; field in PrintJobInfo
223 mAttributes = other.mAttributes; in PrintJobInfo()
250mAttributes = (PrintAttributes) parcel.readParcelable(null, android.print.PrintAttributes.class); in PrintJobInfo()
532 return mAttributes; in getAttributes()
543 mAttributes = attributes; in setAttributes()
677 parcel.writeParcelable(mAttributes, flags); in writeToParcel()
698 builder.append(", attributes: " + (mAttributes != null in toString()
699 ? mAttributes.toString() : null)); in toString()
812 mPrototype.mAttributes = attributes; in setAttributes()
H A DPrintAttributes.java1441 private final PrintAttributes mAttributes = new PrintAttributes(); field in PrintAttributes.Builder
1450 mAttributes.setMediaSize(mediaSize); in setMediaSize()
1461 mAttributes.setResolution(resolution); in setResolution()
1473 mAttributes.setMinMargins(margins); in setMinMargins()
1487 mAttributes.setColorMode(colorMode); in setColorMode()
1502 mAttributes.setDuplexMode(duplexMode); in setDuplexMode()
1512 return mAttributes; in build()
/aosp14/frameworks/base/tools/aapt/
H A DXMLNode.cpp707 return mAttributes; in getAttributes()
836 mAttributes.add(e); in addAttribute()
848 if (index >= mAttributes.size()) { in removeAttribute()
855 mAttributes.removeAt(index); in removeAttribute()
980 const size_t N = mAttributes.size(); in parseValues()
1018 const size_t N = mAttributes.size(); in assignResourceIds()
1076 copy->mAttributes = mAttributes; in clone()
1160 int N = mAttributes.size(); in print()
1357 const int NA = mAttributes.size(); in collect_strings()
1392 const int NA = mAttributes.size(); in collect_attr_strings()
[all …]
H A DXMLNode.h199 Vector<attribute_entry> mAttributes; variable
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DFocusRequester.java80 private final @NonNull AudioAttributes mAttributes; field in FocusRequester
99 mAttributes = aa; in FocusRequester()
117 mAttributes = afi.getAttributes(); in FocusRequester()
186 return mAttributes; in getAudioAttributes()
250 + " -- attr: " + mAttributes in dump()
537 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
H A DAudioServiceEvents.java122 Integer.toHexString(mState.mAttributes.getInternalType())) in eventToString()
124 .append(" addr:").append(mState.mAttributes.getAddress()) in eventToString()
125 .append(" name:").append(mState.mAttributes.getName()) in eventToString()
H A DAudioDeviceInventory.java417 public final AudioDeviceAttributes mAttributes; field in AudioDeviceInventory.WiredDeviceConnectionState
424 mAttributes = attributes; in WiredDeviceConnectionState()
750 int type = wdcs.mAttributes.getInternalType(); in onSetWiredDeviceConnectionState()
756 .set(MediaMetrics.Property.ADDRESS, wdcs.mAttributes.getAddress()) in onSetWiredDeviceConnectionState()
765 wdcs.mAttributes.getInternalType())) { in onSetWiredDeviceConnectionState()
768 if (deviceInfo.getInternalType() == wdcs.mAttributes.getInternalType()) { in onSetWiredDeviceConnectionState()
781 if (!handleDeviceConnection(wdcs.mAttributes, in onSetWiredDeviceConnectionState()
800 wdcs.mAttributes.getInternalType())) { in onSetWiredDeviceConnectionState()
806 + "attributes change for type=" + wdcs.mAttributes.getType()); in onSetWiredDeviceConnectionState()
810 wdcs.mAttributes.getAddress(), wdcs.mAttributes.getName()); in onSetWiredDeviceConnectionState()
/aosp14/frameworks/base/media/jni/soundpool/
H A DStreamManager.h403 const audio_attributes_t* getAttributes() const { return &mAttributes; } in getAttributes()
439 const audio_attributes_t mAttributes; variable
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java56 private HashMap<String, VertexAttribute> mAttributes = new HashMap<String, VertexAttribute>(); field in ImageShader
632 for (VertexAttribute attr : mAttributes.values()) { in pushAttributes()
760 VertexAttribute result = mAttributes.get(name); in getProgramAttribute()
765 mAttributes.put(name, result); in getProgramAttribute()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java168 private AudioAttributes mAttributes; field in NotificationRecord
238 mAttributes = calculateAttributes(); in NotificationRecord()
533 pw.println(prefix + "mAttributes= " + mAttributes); in dump()
1004 return mAttributes != null && mAttributes.getUsage() == usage; in isAudioAttributesUsage()
1174 return mAttributes; in getAudioAttributes()
/aosp14/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java90 private AudioAttributes mAttributes; field in SeekBarVolumizer
193 mAttributes = getAudioAttributesForLegacyStreamType( in SeekBarVolumizer()
/aosp14/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java2247 private ArrayList<Pair<String, String>> mAttributes; field in AssistStructure.HtmlInfoNode
2269 if (mAttributes == null && mNames != null) { in getAttributes()
2270 mAttributes = new ArrayList<>(mNames.length); in getAttributes()
2273 mAttributes.add(i, pair); in getAttributes()
2276 return mAttributes; in getAttributes()

12